[colord] xrandr id unstable

Sanford Rockowitz rockowitz at minsoft.com
Thu Aug 22 07:49:05 PDT 2013


Hi Alex,

Actually, none of the above (or below, as the email is formatted).   My 
primary desktop is Mate, so I manage profiles myself.  Which is why I 
phrased the post the way I did - it may well be that colord is immune to 
this issue.

Looking through my profiles, I see that only profiles created by 
dispcalGUI store the mapping device id in the profile metatag. None of 
the profiles created by GCM store the mapping device id. This suggests 
that colord makes no use of the field, so would not be affected by the 
variation in IDs.

Sanford



On 08/22/2013 06:51 AM, Alexey Galakhov wrote:
>   Hello,
>
> Which session daemon are you using? Gnome gnome-settings-daemon, KDE
> colord-kde or generic xiccd? The xrandr id is generated by the session
> daemon and not by colord.
>
> Regards,
> Alex
>
> On 08/22/2013 07:37 PM, Sanford Rockowitz wrote:
>> I just stumbled across the following issue because it tripped up one of
>> my utility programs for managing color profiles.   Perhaps its a known
>> anomaly that does not pose a problem for colord, but it surprised me.
>>
>> By xrandr id I mean the identifier that looks like:
>>    xrandr-Dell-DELL P2411H-F8NDP11G119U
>>
>> My understanding of this identifier is that it's constructed by taking
>> the model and serial number directly from the EDID.  The manufacturer
>> field is obtained by looking up the manufacturer code from the EDID in
>> the pnp.ids file.    This value is stored in the Mapping Device ID
>> metatag field of the profile.
>>
>> The problem is that the pnp.ids field can vary from installation to
>> installation (and dispcalGUI even has its own private copy), so if you
>> copy a profile from one installation to another, the stored metatag
>> value may not match the value calculated from the EDID.  As a result,
>> comparisons that should match will fail.   For example, on my Fedora 18
>> installation, manufacturer code 'DEL' maps to manufacturer name 'Dell',
>> but on my Fedora 19 installation (created by cloning the Fedora 18
>> installation and upgrading), it maps to 'Dell Inc.'.
>>
>> Sanford
>>
>>
>>
>> _______________________________________________
>> colord mailing list
>> colord at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/colord



More information about the colord mailing list