Summary: | KRDC shows wrong colors when connecting to Mac OS X Snow Leopard | ||
---|---|---|---|
Product: | [Applications] krdc | Reporter: | Malte S. Stretz <mss> |
Component: | VNC | Assignee: | Urs Wolfer <uwolfer> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | aelmalinka, alessandro-ghersi, bryan.sutherland, hotsoda, sberthelot, wouter_vanmeir |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Unlisted Binaries | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
Screenshot
RedHat login screen with obviously wrong colors (look at the RedHat logo) |
Description
Malte S. Stretz
2010-08-09 16:25:22 UTC
Created attachment 49947 [details]
Screenshot
The flag next to the date is a German flag. The top left button in the window title is the close button and should be red. And the whole theme should be blueish instead of the brownish way it is displayed.
Created attachment 50697 [details]
RedHat login screen with obviously wrong colors (look at the RedHat logo)
I have the same kind of problem on completely different server. I use a x86_64 host running qemu with vnc. Inside is a RedHat ES4 32bits (x86). The client (krdc) is running slackware on x86_64 with kde 4.5.0 It clearly seems to be en endianness problem though I don't know where it comes from... A blue RedHat logo is somewhat original (R<->B inversion) I noticed that with qemu as a VNC server the colors are wrong, but with "normal" (non vnc server) qemu the colors are also wrong (unless using -vga vmware). Is anyone besides Stéphane using qemu here? PS: using -vga vmware when using -vnc doesn't solve the problem. I have this problem connecting from x86_64 linux, KDE 4.5.1 and to Windows XP Qemu/KVM, RealVNC 4.1.2, to Windows XP/Windows 7 Qemu/KVM, Qemu's internal vnc server. I quickly tested from krdc 4.5.1 to krfb both x86_64 linux and it's correct. At first glance it appears it could be related to qemu, I will try and get a test to a Windows 7, Real VNC 4.1.3 x86_64 later this afternoon, unfortunately I don't have a 32-bit Windows box laying around ATM. If you need me to test other combinations or get more information from these connections let me know and I will do. krdc --version Qt: 4.6.3 KDE Development Platform: 4.5.1 (KDE 4.5.1) KRDC: 4.5.1 (KDE 4.5.1) krfb --version Qt: 4.6.3 KDE Development Platform: 4.5.1 (KDE 4.5.1) Desktop Sharing: 1.0 The problem does occur when using qemu as a VNC server, but it also happens when connecting to Xvnc server. With previous KRDC versions the Xvnc connection was OK. See this bug (looks like a dupe): https://bugs.kde.org/show_bug.cgi?id=250182 Haven't investigated yet why this is happening, but I'm planning to do it. The problem doesn't occur with krfb and x11vnc as vnc server (both based on libvncserver). The problem exists in kde 4.5 krdc when connecting to qemu vnc and Xvnc (and probably OS X vnc). Krdc sends the wrong color info to the server. The problem did not occur with x11vnc and krfb as vnc server, probably because of a bug in these vnc servers (or libvncserver which they both use). This bug was accidentally made by me (sorry) and was in an old patch to support intel amt kvm (vnc server in chipset). A later patch by me fixed this again. This later patch also puts high quality to 32bit colors (like it was), medium to 16 bit and low to 8 bit. This saves lots of bandwidth but makes low quality ugly. The patch is has been in the trunk for some time. Urs, could you merge this later patch in the kde 4.5 branch to fix this problem? This merge fixes it: svn merge -r r1152685:r1157496 svn://anonsvn.kde.org/home/kde/trunk/KDE/kdenetwork/krdc If you don't want this in kde 4.5 then I can make a new small patch to only fix this specific problem. The bug is more specifically that the wrong red shift, blue shift and green shift values are send to the server (initialized by rfbGetClient()), the correct values will be set (callback call to newclient()) after the "client set pixel format" packet was send. (in newer libvncclient newclient() is called sooner so this problem doesn't exist there). In the the trunk in revision r1157496 the colors are correctly initialized before they're used. *** Bug 250182 has been marked as a duplicate of this bug. *** *** Bug 254265 has been marked as a duplicate of this bug. *** SVN commit 1186718 by uwolfer: * Merging in KRDC VNC fixes which fix some bugs with wrong colors. Fixes by Wouter Van Meir. BUG:247149 M +3 -4 qtonly/README M +1 -2 qtonly/main.cpp M +55 -18 vncclientthread.cpp M +12 -3 vncclientthread.h M +0 -6 vncview.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1186718 *** Bug 253167 has been marked as a duplicate of this bug. *** |