The colors in Xorg 7.2 are swapped at depths above 8bpp on the xorg fbdev driver. This was observed on two separate machines that were configured with GXT4500 and similar framebuffers, with the gxt4500 kernel driver. Colors were normal on 8bpp, but were swapped at higher settings. This issue occurred independently of card(all gxt4500 supported cards), resolution, or UseFBDev setting. Colors were as expected at 8bpp. The framebuffer console was unaffected. Reproducible: Always Steps to Reproduce: 1.Set up a 2008.0 ppc64 system with a GXT4500P or similar card, with 64bit userland. 2.Configure a system with a kernel that uses the gxt4500 framebuffer kernel driver. 3.Build xorg-x11 7.2 ebuild, with xorg-drivers 1.3.0.0-r5. 4.Use fbdev driver in xorg.conf. An example will be attached of an xorg.conf that will work. 5.Launch xorg with any window manager or application. TWM can be used as an example. Actual Results: Cyan colors were swapped for yellows, golds were swapped with light blues, blues were swapped with reds. Grays, whites, and blacks remained unchanged. Expected Results: The colors should not have been swapped at any color depth. Note: emerge --info will be pasted into attachments due to length. The kernel is a stock 2.6.21.1 kernel. An initial solution to this issue was to copy over an old libfbdevhw.so over the new one. This fixed the color swapping issue. If the old drivers can be built This is the output from emerge --search for xorg-server and xorg-x11 on a working machine: * x11-base/xorg-server Latest version available: 1.3.0.0-r5 Latest version installed: 1.1.1-r1 Size of files: 9,046 kB Homepage: http://xorg.freedesktop.org/ Description: X.Org X servers License: xorg-server MIT * x11-base/xorg-x11 Latest version available: 7.2 Latest version installed: 7.1 Size of files: 0 kB Homepage: http://xorg.freedesktop.org Description: An X11 implementation maintained by the X.Org Foundation (meta package) License: as-is This is the output from emerge --search for xorg-server and xorg-x11 where the bug occurred: * x11-base/xorg-server Latest version available: 1.3.0.0-r5 Latest version installed: 1.3.0.0-r5 Size of files: 9,046 kB Homepage: http://xorg.freedesktop.org/ Description: X.Org X servers License: xorg-server MIT * x11-base/xorg-x11 Latest version available: 7.2 Latest version installed: 7.2 Size of files: 0 kB Homepage: http://xorg.freedesktop.org Description: An X11 implementation maintained by the X.Org Foundation (meta package) License: as-is
Created attachment 158471 [details] emerge --info of system with issue
Created attachment 158473 [details] emerge --info of system that had a working xorg setup
Created attachment 158477 [details] xorg.conf used to test color swapping issue
Could you give sync and give xorg-server-1.4.2 a shot?
Created attachment 158705 [details] Xorg log after sync and emerge of xorg-server 1.4.2
Trying xorg-server 1.4.2 was unsuccessful - see new attachment. If it requires more packages to emerge, I'll be glad to do so.
Please file a bug at bugs.freedesktop.org in the xorg product with your Xorg.0.log and xorg.conf from 1.4.2, and post the URL here so we can track it. Thanks!
(In reply to comment #7) > Please file a bug at bugs.freedesktop.org in the xorg product with your > Xorg.0.log and xorg.conf from 1.4.2, and post the URL here so we can track it. > Thanks! > This is for both issues as seen in the log, and refer to here when submitting upstream as well?
(In reply to comment #7) > Please file a bug at bugs.freedesktop.org in the xorg product with your > Xorg.0.log and xorg.conf from 1.4.2, and post the URL here so we can track it. > Thanks! > It has been reported upstream as bug 16569. URL: https://bugs.freedesktop.org/show_bug.cgi?id=16569
I apologize if this comes as bugspam - this is to clarify the following: The reference to 16569 is not to Gentoo's 16569(unrelated), but freedesktop's 16569.
Unfortunately I didn't read your attachment showing that you didn't follow the post-installation instructions of xorg-server, and I assumed that you had actually reproduced the issue on 1.4.2. Please do so.
Created attachment 159037 [details] Xorg log after emerge of xorg-server 1.4.2 and required post-install packages This obsoletes 158705, which only pulled the server and not the packages it needed. This is the log of what happens with 1.4.2, screenshot to follow.
Created attachment 159059 [details] The actual captured output in Xorg 1.4.2.
Created attachment 159061 [details] Output as done via a screen capture. This is what should be displayed on the screen. The previous attachment shows what it actually looks like on screen. Screen captures initiated by the test system will not show the color swap.