Bug 37643 - Regression in 2.6.39 : ICC profile loading does not have any effect anymore
Summary: Regression in 2.6.39 : ICC profile loading does not have any effect anymore
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/nouveau (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Nouveau Project
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-26 13:02 UTC by Guillaume Castagnino
Modified: 2011-06-18 05:28 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Guillaume Castagnino 2011-05-26 13:02:37 UTC
When I load my ICC profile, there is no error. moreover, when reading the LUT, the ICC profile is in memory from informations I get from argyllcms tool.
BUT : there is no visual change : the ICC profile has no more effect. Visually, it's a no-op operation with 2.6.39.
Downgrading to 2.6.38.7 fixes the issue.


Configuration :
- xorg 1.10.1.902
- x11-drivers/xf86-video-nouveau GIT from 20110323 (last git change)
- kernel 2.6.39 (nouveau DRM, KMS enabled)
- nvidia quadro NVS 290 (NV86)


- Loading the ICC profile inside the LUT :
$ argyll-dispwin -v -I /usr/share/color/icc/SyncMaster214T.icc
About to open dispwin object on the display
About to install '/usr/share/color/icc/SyncMaster214T.icc' as display's default profile
Installed '/usr/share/color/icc/SyncMaster214T.icc' and made it the default
About to destroy dispwin object

- Then checking the LUT state :
$ argyll-dispwin -v -V /usr/share/color/icc/SyncMaster214T.icc
About to open dispwin object on the display
Verify: '/usr/share/color/icc/SyncMaster214T.icc' IS loaded (discrepancy 0.0%)
About to destroy dispwin object


When I load the profile, Xorg.0.log output this logs lines :
[385923.064] (II) NOUVEAU(0): EDID vendor "SAM", prod id 464
[385923.064] (II) NOUVEAU(0): Using hsync ranges from config file
[385923.064] (II) NOUVEAU(0): Using vrefresh ranges from config file
[385923.064] (II) NOUVEAU(0): Printing DDC gathered Modelines:
[385923.064] (II) NOUVEAU(0): Modeline "1600x1200"x0.0  162.00  1600 1664 1856 2160  1200 1201 1204 1250 +hsync +vsync (75.0 kHz)
[385923.064] (II) NOUVEAU(0): Modeline "800x600"x0.0   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz)
[385923.064] (II) NOUVEAU(0): Modeline "800x600"x0.0   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz)
[385923.064] (II) NOUVEAU(0): Modeline "640x480"x0.0   31.50  640 656 720 840  480 481 484 500 -hsync -vsync (37.5 kHz)
[385923.064] (II) NOUVEAU(0): Modeline "640x480"x0.0   31.50  640 664 704 832  480 489 492 520 -hsync -vsync (37.9 kHz)
[385923.064] (II) NOUVEAU(0): Modeline "640x480"x0.0   30.24  640 704 768 864  480 483 486 525 -hsync -vsync (35.0 kHz)
[385923.064] (II) NOUVEAU(0): Modeline "640x480"x0.0   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz)
[385923.064] (II) NOUVEAU(0): Modeline "720x400"x0.0   28.32  720 738 846 900  400 412 414 449 -hsync +vsync (31.5 kHz)
[385923.064] (II) NOUVEAU(0): Modeline "1280x1024"x0.0  135.00  1280 1296 1440 1688  1024 1025 1028 1066 +hsync +vsync (80.0 kHz)
[385923.064] (II) NOUVEAU(0): Modeline "1024x768"x0.0   78.75  1024 1040 1136 1312  768 769 772 800 +hsync +vsync (60.0 kHz)
[385923.064] (II) NOUVEAU(0): Modeline "1024x768"x0.0   75.00  1024 1048 1184 1328  768 771 777 806 -hsync -vsync (56.5 kHz)
[385923.064] (II) NOUVEAU(0): Modeline "1024x768"x0.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz)
[385923.064] (II) NOUVEAU(0): Modeline "832x624"x0.0   57.28  832 864 928 1152  624 625 628 667 -hsync -vsync (49.7 kHz)
[385923.064] (II) NOUVEAU(0): Modeline "800x600"x0.0   49.50  800 816 896 1056  600 601 604 625 +hsync +vsync (46.9 kHz)
[385923.064] (II) NOUVEAU(0): Modeline "800x600"x0.0   50.00  800 856 976 1040  600 637 643 666 +hsync +vsync (48.1 kHz)
[385923.064] (II) NOUVEAU(0): Modeline "1152x864"x0.0  108.00  1152 1216 1344 1600  864 865 868 900 +hsync +vsync (67.5 kHz)
[385923.064] (II) NOUVEAU(0): Modeline "1280x1024"x0.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz)
[385923.064] (II) NOUVEAU(0): Modeline "1280x960"x0.0  108.00  1280 1376 1488 1800  960 961 964 1000 +hsync +vsync (60.0 kHz)



If you need some more information, just ask !

Thanks.
Comment 1 Christian Herzog 2011-06-05 22:54:34 UTC
same here. The nouveau driver ignores ICC profiles from both dispwin (Argyllcms) and gnome-color-manager.
Comment 2 Emil Velikov 2011-06-18 05:28:18 UTC
The issue has been bisected and fixed in nouveau-git [1] by commit f66b3d55 (drm/nv50/disp: fix gamma with page flipping overlay turned on)


[1] http://cgit.freedesktop.org/nouveau/linux-2.6/


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.