[argyllcms] Re: dispwin sets the wrong X.org _ICC_PROFILE atom

  • From: Niccolò Belli <darkbasic@xxxxxxxxxxxxxxx>
  • To: Graeme Gill <graeme@xxxxxxxxxxxxx>
  • Date: Wed, 16 Nov 2016 13:20:13 +0100

On mercoledì 16 novembre 2016 07:48:45 CET, Graeme Gill wrote:

Actually, it seems that you are talking about the XRANDR Output property
atom, rather than the root window atom ?

Eyeballing the dispwin code, I can't figure any way that it can get it wrong. Are you
sure it's dispwin and not colord that messing this up ? (i.e. can you check the output
of  "xrandr --prop" against what darktable-cmstest is showing ?)

I uninstalled colord-kde (colord is stil installed because it's needed by other packages) and I still have this issue. This is after the boot:

$ darktable-cmstest darktable-cmstest version 2.2.0rc0+86~gfbf1767
this executable was built with colord support enabled
darktable itself was built with colord support enabled

eDP1    the X atom and colord returned the same profile
       X atom: _ICC_PROFILE (0 bytes)
               description: (none)
       colord: "(none)"
               description: (file not found)

DP1-1   the X atom and colord returned the same profile
       X atom: _ICC_PROFILE_1 (0 bytes)
               description: (none)
       colord: "(none)"
               description: (file not found)

DP1-8   the X atom and colord returned the same profile
       X atom: _ICC_PROFILE_2 (0 bytes)
               description: (none)
       colord: "(none)"
               description: (file not found)

Better check your system setup
- some monitors lacked a profile
You may experience inconsistent color rendition between color managed applications

And this is after a dispwin -L:

$ darktable-cmstest
darktable-cmstest version 2.2.0rc0+86~gfbf1767
this executable was built with colord support enabled
darktable itself was built with colord support enabled

eDP1    the X atom and colord returned different profiles
       X atom: _ICC_PROFILE (2815280 bytes)
description: U2515H #1 2016-09-25 18-25 D6500 2.2 M-S XYZLUT+MTX
       colord: "(none)"
               description: (file not found)

DP1-1   the X atom and colord returned the same profile
       X atom: _ICC_PROFILE_1 (0 bytes)
               description: (none)
colord: "(none)" description: (file not found) DP1-8 the X atom and colord returned the same profile X atom: _ICC_PROFILE_2 (0 bytes) description: (none) colord: "(none)" description: (file not found) Better check your system setup - some monitors reported different profiles - some monitors lacked a profile You may experience inconsistent color rendition between color managed applications


I didn't even make a profile for my eDP1 monitor, it simply assiociated the profile for DP1-1 to eDP1 instead. Also it didn't load the profile for DP1-8 which I made.

$ xrandr --prop
Screen 0: minimum 8 x 8, current 5120 x 1440, maximum 32767 x 32767
eDP1 connected (normal left inverted right x axis y axis)
EDID: 00ffffffffffff004d10211400000000
               32180104a51d11780ede50a3544c9926
               0f505400000001010101010101010101
               010101010101cd9180a0c00834703020
               350026a5100000180000001000000000
               00000000000000000000000000fe0030
               35503748864c513133335a3100000000
               0002410328001200000b010a2020001a
BACKLIGHT: 469 range: (0, 937)
Backlight: 469 range: (0, 937)
scaling mode: Full aspect supported: None, Full, Center, Full aspect
Broadcast RGB: Automatic supported: Automatic, Full, Limited 16:235
audio: auto supported: force-dvi, off, auto, on
  3200x1800     59.98 +
2560x1440 60.00 2048x1536 60.00 1920x1440 60.00 1856x1392 60.01 1792x1344 60.01 2048x1152 60.00 1920x1080 60.00 1600x1200 60.00 1400x1050 59.98 1600x900 60.00 1280x1024 60.02 1280x960 60.00 1368x768 60.00 1280x720 60.00 1024x768 60.00 1024x576 60.00 960x540 60.00 800x600 60.32 56.25 864x486 60.00 640x480 59.94 720x405 60.00 640x360 60.00 DP1 disconnected (normal left inverted right x axis y axis)
Broadcast RGB: Automatic supported: Automatic, Full, Limited 16:235
audio: auto supported: force-dvi, off, auto, on
DP1-1 connected 2560x1440+2560+0 (normal left inverted right x axis y axis) 550mm x 310mm
_ICC_PROFILE: 0 42 245 48 97 114 103 108 2 32 0 0 109 110 116 114 82 71 66 32 88 89 90 32 7 224 0 9 0 25 0 20 0 44 0 36 97 99 115 112 42 110 105 120 0 0 0 0 0 0 172 16 0 0 208 110 0 0 0 0 0 0 0 0 0 0 0 0 0 0 246 214 0 1 0 0 0 0 211 45 97 114 103 108 54 104 18 4 254 85 208 125 160 199 6 215 164 56 127 132 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 26 100 101 115 99 0 0 1 188 0 0 0 142 99 112 114 116 0 0 2 76 0 0 0 80 100 109 110 100 0 0 2 156 0 0 0 101 100 109 100 100 0 0 3 4 0 0 0 102 108 117 109 105 0 0 3 108 0 0 0 20 119 116 112 116 0 0 3 128 0 0 0 20 98 107 112 116 0 0 3 148 0 0 0 20 99 108 114 116 0 0 3 168 0 0 0 126 118 99 103 116 0 0 4 40 0 0 6 18 65 50 66 48 0 0 10 60 0 3 170 122 66 50 65 48 0 3 180 184 0 3 176 122 114 88 89 90 0 7 101 52 0 0 0 20 103 88 89 90 0 7 101 72 0 0 0 20 98 88 89 90 0 7 101 92 0 0 0 20 114 84 82 67 0 7 101 112 0 0 2 12 103 84 82 67 0 7 103 124 0 0 2 12 98 84 82 67 0 7 105 136 0 0 2 12 116 97 114 103 0 7 107 148 0 31 207 184 68 101 118 68 0 7 107 148 0 31 207 184 67 73 69 68 0 7 107 148 0 31 207 184 97 114 116 115 0 39 59 76 0 0 0 44 65 50 66 49 0 0 10 60 0 3 170 122 66 50 65 49 EDID: 00ffffffffffff0010ac6ed04c5a3230
               07190104a5371f783e4455a9554d9d26
               0f5054a54b00b300d100714fa9408180
               778001010101565e00a0a0a029503020
               350029372100001a000000ff00395832
               565935324430325a4c0a000000fc0044
               454c4c205532353135480a20000000fd
               0038561e711e010a202020202020018b
               02031cf14f1005040302071601141f12
               132021222309070783010000023a8018
               71382d40582c450029372100001e011d
               8018711c1620582c250029372100009e
               011d007251d01e206e28550029372100
               001e8c0ad08a20e02d10103e96002937
               21000018483f00ca808030401a501300
               29372100001e00000000000000000057
Broadcast RGB: Automatic supported: Automatic, Full, Limited 16:235
audio: auto supported: force-dvi, off, auto, on
  2560x1440     59.95*+
2048x1152 60.00 1920x1200 59.88 1920x1080 60.00 50.00 59.94 30.00 25.00 24.00 29.97 23.98 1600x1200 60.00 1680x1050 59.95 1280x1024 75.02 60.02 1200x960 59.99 1152x864 75.00 1280x720 60.00 50.00 59.94 1024x768 75.03 60.00 800x600 75.00 60.32 720x576 50.00 720x480 60.00 59.94 640x480 75.00 60.00 59.94 720x400 70.08 DP1-8 connected primary 2560x1440+0+0 (normal left inverted right x axis y axis) 550mm x 310mm
EDID: 00ffffffffffff0010ac6ed04c4b3430
               07190104a5371f783e4455a9554d9d26
               0f5054a54b00b300d100714fa9408180
               778001010101565e00a0a0a029503020
               350029372100001a000000ff00395832
               565935324430344b4c0a000000fc0044
               454c4c205532353135480a20000000fd
               0038561e711e010a20202020202001a5
               02031cf14f1005040302071601141f12
               132021222309070783010000023a8018
               71382d40582c450029372100001e011d
               8018711c1620582c250029372100009e
               011d007251d01e206e28550029372100
               001e8c0ad08a20e02d10103e96002937
               21000018483f00ca808030401a501300
               29372100001e00000000000000000057
Broadcast RGB: Automatic supported: Automatic, Full, Limited 16:235
audio: auto supported: force-dvi, off, auto, on
  2560x1440     59.95*+
2048x1152 60.00 1920x1200 59.88 1920x1080 60.00 50.00 59.94 30.00 25.00 24.00 29.97 23.98 1600x1200 60.00 1680x1050 59.95 1280x1024 75.02 60.02 1200x960 59.99 1152x864 75.00 1280x720 60.00 50.00 59.94 1024x768 75.03 60.00 800x600 75.00 60.32 720x576 50.00 720x480 60.00 59.94 640x480 75.00 60.00 59.94 720x400 70.08 HDMI1 disconnected (normal left inverted right x axis y axis)
aspect ratio: Automatic supported: Automatic, 4:3, 16:9
Broadcast RGB: Automatic supported: Automatic, Full, Limited 16:235
audio: auto supported: force-dvi, off, auto, on
VIRTUAL1 disconnected (normal left inverted right x axis y axis)

Other related posts: