Bug 707773

Summary: Display color profiles not working (nvidia video card)
Product: [Fedora] Fedora Reporter: arturj <artur>
Component: gnome-color-managerAssignee: Richard Hughes <richard>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: mikeywoll, rhughes, richard
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-11-15 12:33:31 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description arturj 2011-05-25 21:37:36 UTC
Description of problem:
~/.xsession-errors states the following lines:

(gcm-apply:10458): Gcm-WARNING **: no EDID data for device

(gcm-apply:10458): Gcm-WARNING **: failed to set gamma: no data in the CLUT array


Version-Release number of selected component (if applicable):
Fedora 15 on Workstation PC with nvidia video card, tested with both the propertiary driver as well as the nvidia nouveau driver - same result.

How reproducible:
Set any color profile for display and re-login

Steps to Reproduce:
1. install gnome-color-manager
2. set any color profile for your monitor (has also no effect)
3. re-login and check ~/.xsession-errors file 
  
Actual results:
color profiles have no effect on display

Expected results:
color/gamma should change at login (e.g. if blueisch test-profile has been selected before)

Additional info:

Comment 1 Richard Hughes 2011-05-26 07:12:45 UTC
(In reply to comment #0)
> Description of problem:
> ~/.xsession-errors states the following lines:
> (gcm-apply:10458): Gcm-WARNING **: no EDID data for device
> (gcm-apply:10458): Gcm-WARNING **: failed to set gamma: no data in the CLUT
> array

Ouch, no EDID data. What monitor hardware is this?

> Version-Release number of selected component (if applicable):
> Fedora 15 on Workstation PC with nvidia video card, tested with both the
> propertiary driver as well as the nvidia nouveau driver - same result.

Could you please switch to the nouveau driver, and then issue "gcm-apply -v" and attach the full output as an attachment to this bug please. Thanks!

Richard.

Comment 2 arturj 2011-05-26 07:34:23 UTC
My minitor is a "Samsung Syncmaster 226BW 22 Zoll Wide Screen TFT-Monitor DVI", connected via DVI to an NVIDIA 8800GT, running the akmod-nvidia package from repository.

How can I switch the driver without deinstallation?

Comment 3 Richard Hughes 2011-05-26 08:25:11 UTC
(In reply to comment #2)
> How can I switch the driver without deinstallation?

Can't you just edit /etc/X11/xorg.conf ? -- otherwise removing akmod-nvidia and rebooting is probably the best way to do it.

Comment 4 arturj 2011-06-03 12:20:55 UTC
Here is the requested output of "gcm-applay -v" which has no other effect:

14:18:34	Verbose debugging enabled (on console 1)
14:18:34	loading: 1
14:18:34	adding devices of type XRandR
14:18:35	PNPID: SAM
14:18:35	Serial: 1296380466
14:18:35	gamma is reported as 2,200000
14:18:35	red x=0,643555,y=0,332031
14:18:35	green x=0,286133,y=0,602539
14:18:35	blue x=0,152344,y=0,079102
14:18:35	white x=0,313477,y=0,329102
14:18:35	monitor name: SyncMaster
14:18:35	serial number: HS4P500405
14:18:35	ascii string: (null)
14:18:35	checksum: 7472a3ab323777dbfc90fb9f5ba6a468
14:18:35	loading: /usr/share/hwdata/pnp.ids
14:18:35	asking to add xrandr_samsung_electric_company_syncmaster_hs4p500405
14:18:35	whitepoint = 0,312700,0,329001 [1,000000]
14:18:35	color temperature = 6500
14:18:35	whitepoint = 0,345703,0,358538 [1,000000]
14:18:35	color temperature = 5000
14:18:35	loading: 0
14:18:35	auto-profile edid /home/artur/.local/share/icc/edid-7472a3ab323777dbfc90fb9f5ba6a468.icc exists
14:18:35	applying default profile for device: xrandr_samsung_electric_company_syncmaster_hs4p500405
14:18:35	setting output ICC profile atom from /usr/share/color/icc/AdobeGammaTest.icm
14:18:35	setting root window ICC profile atom from /usr/share/color/icc/AdobeGammaTest.icm

Comment 5 arturj 2011-06-03 12:24:29 UTC
Here is a different output when trying to apply the auto-generated display profile:

14:23:01	Verbose debugging enabled (on console 1)
14:23:01	loading: 1
14:23:01	adding devices of type XRandR
14:23:02	PNPID: SAM
14:23:02	Serial: 1296380466
14:23:02	gamma is reported as 2,200000
14:23:02	red x=0,643555,y=0,332031
14:23:02	green x=0,286133,y=0,602539
14:23:02	blue x=0,152344,y=0,079102
14:23:02	white x=0,313477,y=0,329102
14:23:02	monitor name: SyncMaster
14:23:02	serial number: HS4P500405
14:23:02	ascii string: (null)
14:23:02	checksum: 7472a3ab323777dbfc90fb9f5ba6a468
14:23:02	loading: /usr/share/hwdata/pnp.ids
14:23:02	asking to add xrandr_samsung_electric_company_syncmaster_hs4p500405
14:23:02	whitepoint = 0,345703,0,358538 [1,000000]
14:23:02	color temperature = 5000
14:23:02	whitepoint = 0,312700,0,329001 [1,000000]
14:23:02	color temperature = 6500
14:23:02	loading: 0
14:23:02	auto-profile edid /home/artur/.local/share/icc/edid-7472a3ab323777dbfc90fb9f5ba6a468.icc exists
14:23:02	applying default profile for device: xrandr_samsung_electric_company_syncmaster_hs4p500405
14:23:02	profile does not have any VCGT data
14:23:02	falling back to dummy gamma
14:23:02	setting output ICC profile atom from /home/artur/.local/share/icc/edid-7472a3ab323777dbfc90fb9f5ba6a468.icc
14:23:02	setting root window ICC profile atom from /home/artur/.local/share/icc/edid-7472a3ab323777dbfc90fb9f5ba6a468.icc

Comment 6 arturj 2011-06-03 12:26:34 UTC
Another output when trying to apply a profile from the internet which I use for years now with ubuntu without any problems so far:

14:25:08	Verbose debugging enabled (on console 1)
14:25:08	loading: 1
14:25:08	adding devices of type XRandR
14:25:08	PNPID: SAM
14:25:08	Serial: 1296380466
14:25:08	gamma is reported as 2,200000
14:25:08	red x=0,643555,y=0,332031
14:25:08	green x=0,286133,y=0,602539
14:25:08	blue x=0,152344,y=0,079102
14:25:08	white x=0,313477,y=0,329102
14:25:08	monitor name: SyncMaster
14:25:08	serial number: HS4P500405
14:25:08	ascii string: (null)
14:25:08	checksum: 7472a3ab323777dbfc90fb9f5ba6a468
14:25:08	loading: /usr/share/hwdata/pnp.ids
14:25:08	asking to add xrandr_samsung_electric_company_syncmaster_hs4p500405
14:25:08	whitepoint = 0,313136,0,323532 [1,000000]
14:25:08	color temperature = 6500
14:25:08	whitepoint = 0,312700,0,329001 [1,000000]
14:25:08	color temperature = 6500
14:25:08	whitepoint = 0,345703,0,358538 [1,000000]
14:25:08	color temperature = 5000
14:25:08	loading: 0
14:25:08	auto-profile edid /home/artur/.local/share/icc/edid-7472a3ab323777dbfc90fb9f5ba6a468.icc exists
14:25:08	applying default profile for device: xrandr_samsung_electric_company_syncmaster_hs4p500405
14:25:08	setting output ICC profile atom from /home/artur/.local/share/icc/226BW(Digital)-factory-Bri75-R52-G46-B50.icm
14:25:08	setting root window ICC profile atom from /home/artur/.local/share/icc/226BW(Digital)-factory-Bri75-R52-G46-B50.icm

Comment 7 Richard Hughes 2011-06-03 13:40:06 UTC
(In reply to comment #6)
> 14:25:08 asking to add xrandr_samsung_electric_company_syncmaster_hs4p500405

This shows you're getting the EDID data now. I assume it's working with the free drivers and not working with the binary drivers?

Comment 8 arturj 2011-06-03 16:06:13 UTC
No, its not working at all like posted above - no visual effect when applying any profile.

Comment 9 mikeywoll 2011-07-28 04:45:27 UTC
(In reply to comment #8)
> No, its not working at all like posted above - no visual effect when applying
> any profile.

I can confirm this bug exists with an Nvidia NV86 based card using the nouveau driver. There is a known bug in the version of the nouveau driver packaged for FC15.  The bug has been fixed in the current version.  The solution was to build a new version of the driver from one of the nouveau daily snapshots available on the project website. The new version will only build against kernel 3.0.0, which I installed from Rawhide.  Gnome-color-manager now works as expected. Ideally a new version of the nouveau driver should be packaged for FC15.

Sincerely,

Mike Wollenberg

Comment 10 Richard Hughes 2011-11-15 12:33:31 UTC
Great, thanks.