[Bug 406144] New: Broken tight encoding
https://bugzilla.novell.com/show_bug.cgi?id=406144 Summary: Broken tight encoding Product: openSUSE 11.0 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: X.Org AssignedTo: sndirsch@novell.com ReportedBy: schwab@novell.com QAContact: xorg-maintainer-bugs@forge.provo.novell.com Found By: --- The Xvnc server as well as the vnc server module don't implement the tight encoding correctly. When connecting over vnc to an other-endian system (both big->little and little->big) while forcing tight encoding (with vncviewer -encodings tight) there are wrong colors and other artefacts. There are no such problems when using krfb as the server, thus the client appears to be correct. Other encodings appear to be working correctly, as well as the Xvnc server on SLES10. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=406144 User sndirsch@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=406144#c1 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |schwab@novell.com --- Comment #1 from Stefan Dirsch <sndirsch@novell.com> 2008-07-03 08:03:03 MDT --- Oh well. Another VNC issue. Does this happen in all color depths? If not, which Xvnc/vncviewer color depth combinations do work? Which don't? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=406144 User schwab@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=406144#c2 Andreas Schwab <schwab@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Info Provider|schwab@novell.com |sndirsch@novell.com --- Comment #2 from Andreas Schwab <schwab@novell.com> 2008-07-03 08:12:06 MDT --- How can I find out? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=406144 User sndirsch@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=406144#c3 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Info Provider|sndirsch@novell.com |schwab@novell.com --- Comment #3 from Stefan Dirsch <sndirsch@novell.com> 2008-07-03 08:19:39 MDT --- Use -depth <16|24> option for Xvnc. Start vncviewer on top of a 16/24 bit color depth display. I think you can fake the latter by starting vncviewer inside a Xnest server given the appropriate color depth. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=406144 User schwab@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=406144#c4 Andreas Schwab <schwab@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|schwab@novell.com | --- Comment #4 from Andreas Schwab <schwab@novell.com> 2008-07-03 08:41:29 MDT --- Doesn't change anything. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=406144 User sndirsch@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=406144#c5 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Summary|Broken tight encoding |Xvnc: Broken tight encoding to an other-endian | |system --- Comment #5 from Stefan Dirsch <sndirsch@novell.com> 2008-07-03 08:46:44 MDT --- Ok. BTW, on SLES10 we also used xf4vnc. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=406144 User schwab@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=406144#c6 Andreas Schwab <schwab@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Xvnc: Broken tight encoding to an other-endian |Xvnc: Broken tight encoding |system | --- Comment #6 from Andreas Schwab <schwab@novell.com> 2008-07-03 09:04:29 MDT --- Actually it's not an endian bug. Using a same-endian server shows the same broken behaviour. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=406144 User sndirsch@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=406144#c7 --- Comment #7 from Stefan Dirsch <sndirsch@novell.com> 2008-07-03 09:15:05 MDT --- Oops. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=406144 User sndirsch@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=406144#c8 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |schwab@novell.com --- Comment #8 from Stefan Dirsch <sndirsch@novell.com> 2008-07-03 12:37:49 MDT --- This smells like another duplicate of Bug #389386. Please test the updated packages (Bug #389386, comment #51). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=406144 User schwab@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=406144#c9 Andreas Schwab <schwab@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|schwab@novell.com | --- Comment #9 from Andreas Schwab <schwab@novell.com> 2008-07-04 06:41:55 MDT --- Doesn't change anything. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=406144 User sndirsch@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=406144#c10 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Xvnc: Broken tight encoding |Xvnc: Broken tight encoding (not the default) --- Comment #10 from Stefan Dirsch <sndirsch@novell.com> 2008-07-04 07:27:40 MDT --- At least tight encoding is not the default. At least not for vncviewer of our tightvnc package. -encodings encoding-list TightVNC supports several different compression methods to encode screen updates; this option specifies a set of them to use in order of preference. Encodings are specified separated with spaces, and must thus be enclosed in quotes if more than one is specified. Available encodings, in default order for a remote connection, are "copyrect tight hextile zlib corre rre raw". For a local connection (to the same machine), the default order to try is "raw copyrect tight hextile zlib corre rre". Raw encoding is always assumed as a last option if no other encoding can be used for some reason. For more information on encodings, see the section ENCODINGS below. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=406144 User schwab@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=406144#c11 Andreas Schwab <schwab@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Xvnc: Broken tight encoding (not the default) |Xvnc: Broken tight encoding --- Comment #11 from Andreas Schwab <schwab@novell.com> 2008-07-04 08:02:04 MDT --- copyrect is not a full encoding on its own, it is just used for certain operations. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=406144 User sndirsch@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=406144#c12 --- Comment #12 from Stefan Dirsch <sndirsch@novell.com> 2008-07-04 08:36:06 MDT --- Correct. CopyRect The Copy Rectangle encoding is efficient when something is being moved; the only data sent is the location of a rectangle from which data should be copied to the current location. Copyrect could also be used to efficiently transmit a repeated pattern. Could it be that you're seing JPEG artefacts here? Tight Like Zlib encoding, Tight encoding uses zlib library to compress the pixel data, but it pre-processes data to maximize compres‐ sion ratios, and to minimize CPU usage on compression. Also, JPEG compression may be used to encode color-rich screen areas (see the description of -quality and -nojpeg options above). Tight encoding is usually the best choice for low-bandwidth net‐ work environments (e.g. slow modem connections). So it might be worth a try with playing -quality / -nojpeg. But probably you tried this already, didn't you? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=406144 User schwab@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=406144#c13 --- Comment #13 from Andreas Schwab <schwab@novell.com> 2008-07-04 08:52:53 MDT --- Completely wrong colors cannot be caused by jpeg artefacts, but jpeg compression is indeed part of the problem. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=406144 User sndirsch@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=406144#c14 --- Comment #14 from Stefan Dirsch <sndirsch@novell.com> 2008-07-04 08:59:17 MDT --- So if you disable jpeg compression colors are correct or does it just eliminate the artefacts? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=406144 User schwab@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=406144#c15 --- Comment #15 from Andreas Schwab <schwab@novell.com> 2008-07-04 09:08:33 MDT --- Yes, the colors are correct and there are no more distorted parts. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=406144 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Xvnc: Broken tight encoding |Xvnc: jpeg compression causes wrong colors and | |artefacts with tight encoding forced -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=406144 User sndirsch@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=406144#c16 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |max@novell.com --- Comment #16 from Stefan Dirsch <sndirsch@novell.com> 2008-07-14 09:05:10 MDT --- Just gave it a try. 'vncviewer -quality <0-7> -encodings tight' looks broken. 'vncviewer -compresslevel <9-2> -encodings tight' looks broken. 'vncviewer -quality <9,8> -encodings tight' works for me. 'vncviewer -compresslevel <0,1> -encodings tight' works for me. --> quality = 9 - compresslevel ? 'vncviewer -nojpeg -encodings tight' works of course (disables jpeg compression completely). Last resort would be to disable compresslevel 2-9 / quality 0-7 in Xvnc for tightencoding. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=406144 User sndirsch@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=406144#c17 --- Comment #17 from Stefan Dirsch <sndirsch@novell.com> 2008-07-14 09:26:00 MDT --- I'm rather clueless how and where to fix this in Xvnc sources. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=406144 User sndirsch@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=406144#c18 --- Comment #18 from Stefan Dirsch <sndirsch@novell.com> 2008-07-15 14:16:06 MDT --- I've contacted the developer(s). http://sourceforge.net/mailarchive/forum.php?thread_name=20080715121730.GA29771%40suse.de&forum_name=xf4vnc-devel -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=406144 User sndirsch@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=406144#c19 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Normal |Minor --- Comment #19 from Stefan Dirsch <sndirsch@novell.com> 2008-07-16 14:34:23 MDT --- Assuming other VNC clients don't force tight encoding by default I think this is a minor issue. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=406144 User schwab@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=406144#c20 Andreas Schwab <schwab@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Minor |Normal --- Comment #20 from Andreas Schwab <schwab@novell.com> 2008-07-16 16:26:45 MDT --- The default for krdc with medium quality is tight encoding. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=406144 User sndirsch@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=406144#c21 --- Comment #21 from Stefan Dirsch <sndirsch@novell.com> 2008-07-16 23:15:32 MDT --- Thanks. Will try to reproduce also with krdc. There are also other VNC clients on different platforms (Windows, Java running in a webbrowser, ...). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=406144 User sndirsch@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=406144#c22 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Xvnc: jpeg compression causes wrong colors and |Xvnc: JPEG compression in tight encoding causes |artefacts with tight encoding forced |wrong colors/artefacts, if VNC client runs on a | |display with a different color depth than Xvnc. --- Comment #22 from Stefan Dirsch <sndirsch@novell.com> 2008-07-17 03:04:32 MDT --- http://sourceforge.net/tracker/index.php?func=detail&aid=2020401&group_id=48178&atid=452220 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=406144 User sndirsch@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=406144#c23 --- Comment #23 from Stefan Dirsch <sndirsch@novell.com> 2008-07-17 03:10:55 MDT --- (In reply to comment #20 from Andreas Schwab)
The default for krdc with medium quality is tight encoding.
I can reproduce the issue with kdrc VNC client when using medium and low quality (krdc running on a 24bit(32bpp) display, "Xvnc -depth 16"). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=406144 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P4 - Low -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=406144 User sndirsch@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=406144#c24 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |http://sourceforge.net/tracker/index.php?func=de | |tail&aid=2020401&group_id=48178&atid=452220 Status|ASSIGNED |RESOLVED Resolution| |UPSTREAM --- Comment #24 from Stefan Dirsch <sndirsch@novell.com> 2008-09-19 18:48:21 MDT --- Reported upstream. See URL. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=406144 User sndirsch@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=406144#c25 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andrew@joako.net --- Comment #25 from Stefan Dirsch <sndirsch@novell.com> 2008-10-02 06:43:18 MDT --- *** Bug 430811 has been marked as a duplicate of this bug. *** https://bugzilla.novell.com/show_bug.cgi?id=430811 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com