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

  • From: Niccolò Belli <darkbasic@xxxxxxxxxxxxxxx>
  • To: Tobias Ellinghaus <houz@xxxxxx>
  • Date: Sat, 26 Nov 2016 00:26:44 +0100

On sabato 26 novembre 2016 00:10:26 CET, Tobias Ellinghaus wrote:

Am Freitag, 25. November 2016, 23:51:52 CET schrieb Niccolò Belli:
On venerdì 25 novembre 2016 16:43:04 CET, Tobias Ellinghaus wrote: ...

Looking at this part as an example:

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

The X atom mentioned should match the content shown, so _ICC_PROFILE has the profile U25...
The part that might be buggy is the mapping between _ICC_PROFILE and eDP1. All of these things lack either documentation or sample code how to use it in the real world without learning about several decades of X11 naming conventions and nomenclature. It also seems to be undefined in the case that xrandr is used.

The code of darktable-cmstest is here:

https://github.com/darktable-org/darktable/blob/master/src/cmstest/main.c

I fixed a potential bug in there recently, maybe try compiling it standalone (see comment in the top of the file for how) and check if it shows a different result.

Still no luck with very latest git version.


$ darktable-cmstest darktable-cmstest version 2.2.0rc1+28~g59b6cbe
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)


Niccolò Belli

Other related posts: