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

  • From: Niccolò Belli <darkbasic@xxxxxxxxxxxxxxx>
  • To: Graeme Gill <graeme@xxxxxxxxxxxxx>
  • Date: Wed, 23 Nov 2016 11:03:17 +0100

On martedì 22 novembre 2016 23:55:35 CET, Graeme Gill wrote:

new_dispwin: return sucessfully
Loading calibration from file '/home/niko/.local/share/DisplayCAL/storage/U2515H #1
2016-09-25 18-25 D6500 2.2 M-S XYZLUT+MTX/U2515H #1 2016-09-25 18-25 D6500 2.2 M-S
XYZLUT+MTX.icc'
Got color vcgt calibration ...

Failed to find device that matches f0afd74779f78cf97e8036fe4e643a75: property match
'OutputEdidMd5'='f0afd74779f78cf97e8036fe4e643a75' does not existInstalling profile
'/home/niko/.local/share/DisplayCAL/storage/U2515H #1 2016-09-25 18-25 D6500 2.2 M-S
XYZLUT+MTX/U2515H #1 2016-09-25 18-25 D6500 2.2 M-S XYZLUT+MTX.icc' failed with error 11
'The EDID or display wasn't matched'

Looks like dispwin is calling out to colord to install the profile, but colord
is doing some kind of check on the display EDID, and rejecting the install. I'm
not sure why, since dispwin is handing it the EDID data obtained from
the XRANDR Output property. Perhaps Richard can shed some light ?

(Maybe colord is assuming it has enumerated the Outputs itself before
being asked to store a profile, and for some reason they were not ??)

Failed to find device that matches f0afd74779f78cf97e8036fe4e643a75: property match 'OutputEdidMd5'='f0afd74779f78cf97e8036fe4e643a75' does not exist

$ colormgr dump
[...]
profile-121 icc-d376f967adbbeaee5dfd4ad20d82f302 /home/niko/.local/share/icc/edid-f0afd74779f78cf97e8036fe4e643a75.icc

$ colormgr get-devices
[...]
Object Path: /org/freedesktop/ColorManager/devices/xrandr_DELL_U2515H_9X2VY52D02ZL_niko_1000
Owner:         niko
Created:       November 23 2016, 09:47:39 AM
Modified:      November 23 2016, 09:47:40 AM
Type:          display
Enabled:       Yes
Embedded:      No
Model:         DELL U2515H
Serial:        9X2VY52D02ZL
Seat:          seat0
Scope:         temp
Colorspace:    rgb
Device ID:     xrandr-DELL U2515H-9X2VY52D02ZL
Profile 1:     icc-d376f967adbbeaee5dfd4ad20d82f302
/home/niko/.local/share/icc/edid-f0afd74779f78cf97e8036fe4e643a75.icc
Metadata:      XRANDR_name=DP1-1
Metadata:      OutputPriority=secondary
Metadata:      OwnerCmdline=/usr/bin/xiccd

As you can see "f0afd74779f78cf97e8036fe4e643a75" is present in the current profile name for the monitor, but colord reports a different EDID for the monitor: icc-d376f967adbbeaee5dfd4ad20d82f302

Maybe a bug in xiccd?

Niccolò Belli

Other related posts: