Bug 725437 (orangeMesa)

Summary: [NV4b] Mesa from July 24th 2011 gives wrong colours
Product: [Fedora] Fedora Reporter: Martin Kho <rh-bugzilla>
Component: mesaAssignee: Ben Skeggs <bskeggs>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 15CC: ajax, elektrobank01, iarnell, mcepl, travneff
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: [cat:rendering]
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-08-05 11:18:00 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
KDE Wrong Colours
none
KDE Good Colours
none
Xorg.0.log.old
none
dmesg
none
dmesg with drm.debug=0x04
none
xorg log none

Description Martin Kho 2011-07-25 13:42:34 UTC
Description of problem:
After the latest Mesa's update, icons, help dialogs etc in KDE have wrong colours, e.g. the blue Fedora start icon is now brown. See attached screenshots (good_colours and wrong_colours). Desktop effects are enabled.

Version-Release number of selected component (if applicable):
mesa-7.11-0.16.20110709.0.fc15

How reproducible:
Always

Steps to Reproduce:
1. Log in into KDE
2. Enable - if not already done so - desktop effects
3. Look at the Fedora start icon (on the left bottom side).
  
Actual results:
When desktop effects are enabled resp. disabled colours are different.

Expected results:
When desktop effects are enabled resp. disabled colours are the same 

Additional info:

Comment 1 Martin Kho 2011-07-25 13:43:22 UTC
Created attachment 515049 [details]
KDE Wrong Colours

Comment 2 Martin Kho 2011-07-25 13:43:52 UTC
Created attachment 515050 [details]
KDE Good Colours

Comment 3 Martin Kho 2011-07-25 13:46:35 UTC
Created attachment 515051 [details]
Xorg.0.log.old

Xorg.0.org.old is added because for now I've downgraded mesa.

Comment 4 Martin Kho 2011-07-25 13:47:31 UTC
Created attachment 515053 [details]
dmesg

Comment 5 Colin J Thomson 2011-07-25 16:50:37 UTC
Confirmed here also F15/KDE-4.6.5. Rolling back mesa and all is well again.

Comment 6 Iain Arnell 2011-07-26 03:34:02 UTC
Same here. Also running f15/kde and using nouveau driver with NVIDIA NV4b chipset. 7.11-0.16.20110709.0.fc15 produces bad colors with desktop effects enabled; rolling back to 7.11-0.9.20110509.0.fc15 is okay.

Comment 7 Matěj Cepl 2011-07-28 18:56:34 UTC
*** Bug 725177 has been marked as a duplicate of this bug. ***

Comment 8 Matěj Cepl 2011-07-29 00:39:32 UTC
Seems like related to nouveau driver ... reassigning to Ben Skeggs.

Comment 9 Ben Skeggs 2011-07-29 00:54:28 UTC
And with this snapshot? http://koji.fedoraproject.org/koji/buildinfo?buildID=256099

Comment 10 Iain Arnell 2011-07-29 06:51:02 UTC
No change here with mesa-7.11-0.17.20110729.0.fc15. Colors still get swapped.

Comment 11 Martin Kho 2011-07-29 09:17:59 UTC
Hi,

Can this issue be related to this fix?

* Tue Jun 21 2011 Dave Airlie <airlied> 7.11-0.14.20110621.0 - update to latest mesa 7.11 with nvfx g-s fix.

Martin Kho

Comment 12 Andrew 2011-07-31 07:58:52 UTC
Have same issue.

It should be noticed that the current issue is not global. For example, such areas experience problems:
- kde system menu and tray (icons and plasmoids), "shutdown" plasmoid
- kde aplications menu
- konsole commandline

and such are not:
- python and gtk apps
- kde application toolbars and working area
- kde desktop plasmoids

xorg log with logverbose=7 and dmesg with drm.debug=0x04 attached
xorg.conf: none


Components:

$ lspci | grep VGA
01:00.0 VGA compatible controller: nVidia Corporation NV43 [GeForce 6600] (rev a2)

$ uname -r
2.6.38.8-35.fc15.x86_64

KDE 4.6.5
mesa 7.11-0.16.20110709.0 and mesa-7.11-0.17.20110729.0
xorg-x11-drv-nouveau-0.0.16-24.20110324git8378443

mesa packages installed:
$ rpm -qa | grep mesa
mesa-dri-drivers-7.11-0.17.20110729.0.fc15.x86_64
mesa-libGL-7.11-0.17.20110729.0.fc15.x86_64
mesa-libGLU-7.11-0.17.20110729.0.fc15.x86_64
mesa-dri-llvmcore-7.11-0.17.20110729.0.fc15.x86_64
mesa-libGLU-7.11-0.17.20110729.0.fc15.i686
mesa-libGL-7.11-0.17.20110729.0.fc15.i686
mesa-dri-filesystem-7.11-0.17.20110729.0.fc15.x86_64

Comment 13 Andrew 2011-07-31 08:00:17 UTC
Created attachment 515996 [details]
dmesg with drm.debug=0x04

Comment 14 Andrew 2011-07-31 08:00:48 UTC
Created attachment 515997 [details]
xorg log

Comment 15 Andrew 2011-08-01 15:09:17 UTC
Some other info, if it is useful: I have a second machine with exactly same SW but quite different HW (intel video, not nvidia). Current issue doesn't appear there.

Comment 16 Ben Skeggs 2011-08-01 23:34:40 UTC
Another mesa build to try, this one *definitely* has the patch I was thinking of.  Not sure if the previous one did...

http://koji.fedoraproject.org/koji/buildinfo?buildID=256193

Comment 17 Iain Arnell 2011-08-02 03:08:45 UTC
mesa-7.11-0.18.20110730.0.fc15 seems to be working fine for me - colors are back to normal again. Thanks.

Comment 18 Martin Kho 2011-08-02 07:19:20 UTC
Hi Ben,

You did it again! :-) Everything is fine now.

Thanks for your great work.

Martin Kho

Comment 19 Matěj Cepl 2011-08-05 11:18:00 UTC
Thank you for letting us know.