agalakhov / xiccd

X color profile daemon
GNU General Public License v3.0
61 stars 16 forks source link

DisplayCAL GUI fails to install a new display profile via xiccd. #8

Open crocket opened 8 years ago

crocket commented 8 years ago

I'm using XFCE with xiccd.

When DisplayCAL tries to install a new display profile after profiling, I see an error message.

colord: Querying for profile 'icc-dcb94124d150c321f7a694e573947cd8' returned no result for 5 secs

The profile appears in colord after a reboot. It may also appear after loggging out and logging in, but I haven't tested.

After the profile appears, if I try to install the profile, I see the following error message.

colord: device id 'xrandr-Arithmos,-TLED24HDTV-16843009' does not exist

If I type colormgr get-profiles, I see a device ID xrandr-TLED24HDTV-16843009. It seems the device id specified in the display profile made by DisplayCAL sticks to https://github.com/hughsie/colord/blob/master/doc/device-and-profile-naming-spec.txt.

Since xiccd seems responsible for registrating display devices with their IDs to colord, this issue could belong to xiccd.

I don't know if the issue resides in xiccd or colord. Could you have a look at this issue?

agalakhov commented 8 years ago

Ok, I'll take a look. Could you try to restart xiccd without rebooting? It will clearly indicate if it really is a xiccd problem.

crocket commented 8 years ago

I'll try to restart xiccd without rebooting and check if there is the new profile in colord when I create a new display profile and install it in DisplayCAL. I'll probably create a new display profile on September 1st.

crocket commented 8 years ago

I just confirmed that the ICC display profile installed by DisplayCAL GUI appears after restarting xiccd.

Also, it seems that xiccd is responsible for registrating display devices with the right IDs. I think xiccd should stick to https://github.com/hughsie/colord/blob/master/doc/device-and-profile-naming-spec.txt

pmjdebruijn commented 7 years ago

Keep in mind that dispcalgui also installs it's own profile loading agent, which might cause race conditions if other profile loading agents are present:

/etc/xdg/autostart/z-displaycal-apply-profiles.desktop