Bug 97015 - colord cannot find X-Rite i1 Display Pro
Summary: colord cannot find X-Rite i1 Display Pro
Status: ASSIGNED
Alias: None
Product: colord
Classification: Unclassified
Component: daemon (show other bugs)
Version: unspecified
Hardware: Other Linux (All)
: medium normal
Assignee: Richard Hughes
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-21 09:55 UTC by fede@inventati.org
Modified: 2017-06-14 07:57 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description fede@inventati.org 2016-07-21 09:55:57 UTC
Note: I can calibrate using the same device if I use either gcm-calibrate or
DispcalGUI.  I cannot calibrate when I use gnome-color-manager or run
colord manually.

I stopped colord and restarted in verbose mode:

  sudo killall colord
  sudo /usr/libexec/colord --verbose


colord can't find my device:

19:41:00	CdDeviceDb: get devices
19:41:00	adding color management device: /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2 [/dev/bus/usb/001/005]
19:41:00	helper image /usr/share/colord/icons/i1-display3-attach.svg found
19:41:00	helper image /usr/share/colord/icons/i1-display3-calibrate.svg not found
19:41:00	helper image /usr/share/colord/icons/i1-display3-screen.svg not found
19:41:00	Trying to load sensor driver: /usr/lib64/colord-sensors/libcolord_sensor_i1-display3.so
19:41:00	opening module libcolord_sensor_i1-display3.so failed : /usr/lib64/colord-sensors/libcolord_sensor_i1-display3.so: cannot open shared object file: No such file or directory
19:41:00	Trying to fall back to : libcolord_sensor_argyll
19:41:00	CdSensorClient: failed to load native sensor: Failed to find device Xrite i1 DisplayPro, ColorMunki Display
19:41:00	emit: added
19:41:00	CdMain: add sensor: i1-display3-00
19:41:00	CdSensor: Register interface 8 on /org/freedesktop/ColorManager/sensors/i1_display3_00
19:41:00	CdMain: Emitting SensorAdded(/org/freedesktop/ColorManager/sensors/i1_display3_00)



$ lsusb | grep X-Rite
Bus 001 Device 005: ID 0765:5020 X-Rite, Inc. i1 Display Pro
Comment 1 fede@inventati.org 2016-07-21 11:27:40 UTC
the udev rule is present:

$ cat /usr/lib/udev/rules.d/69-cd-sensors.rules | grep i1-display3
ATTRS{idVendor}=="0765", ATTRS{idProduct}=="5020", ENV{COLORD_SENSOR_KIND}="i1-display3", ENV{COLORD_SENSOR_CAPS}="lcd crt projector ambient"
Comment 2 Richard Hughes 2016-07-21 14:23:31 UTC
Does the UI say Xrite or X-Rite? I guess that string isn't matching...
Comment 3 fede@inventati.org 2016-07-21 16:36:17 UTC
What do you mean with "UI"?
I guess that you do not mean User interface. What else?
Comment 4 fede@inventati.org 2016-07-22 07:56:14 UTC
So colord is looking for a wrong color management device name. Where does it come from? Evidently, not from lsusb.

About the UI... DispcalGUI displays the device as i1 DisplayPro, ColorMunki Display.
Gnome Color Manager does not display any device name. That's why I was confused by your question (assuming that I got it right).

These are the logs in journalctl after attempting a calibration in GCM (sorry, the lines are cut to the right, but I cannot find a way to wrap long lines):


lug 22 09:51:16 localhost.localdomain systemd[1415]: Starting Color management helper...
lug 22 09:51:16 localhost.localdomain dbus-daemon[1453]: Successfully activated service 'org.freedesktop.ColorHelper'
lug 22 09:51:16 localhost.localdomain systemd[1415]: Started Color management helper.
lug 22 09:51:16 localhost.localdomain gnome-control-center.desktop[5500]: Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
lug 22 09:51:16 localhost.localdomain gnome-control-center.desktop[5500]: (gnome-control-center:5500): color-cc-panel-WARNING **: /var/lib/gdm/.local/share/icc/edid-c8532fba12f6d23cd74e78699b6f89b7.icc is not us
lug 22 09:51:34 localhost.localdomain colord[1371]: (colord:1371): Cd-WARNING **: the child exited with return code 1
lug 22 09:51:34 localhost.localdomain gnome-control-center.desktop[5500]: (gnome-control-center:5500): color-cc-panel-WARNING **: calibration failed with code 1: spotread exited unexpectedly
lug 22 09:51:34 localhost.localdomain colord-session[5513]: **
lug 22 09:51:34 localhost.localdomain colord-session[5513]: libcolord:ERROR:cd-sensor.c:1630:cd_sensor_finalize: assertion failed: (ret > 0)
lug 22 09:51:34 localhost.localdomain audit[5513]: ANOM_ABEND auid=4294967295 uid=1000 gid=1000 ses=4294967295 pid=5513 comm="colord-session" exe="/usr/libexec/colord-session" sig=6
lug 22 09:51:34 localhost.localdomain abrt-hook-ccpp[5531]: Process 5513 (colord-session) of user 1000 killed by SIGABRT - dumping core
lug 22 09:51:34 localhost.localdomain systemd[1415]: colord-session.service: Main process exited, code=dumped, status=6/ABRT
lug 22 09:51:34 localhost.localdomain systemd[1415]: colord-session.service: Unit entered failed state.
lug 22 09:51:34 localhost.localdomain colord[1371]: (colord:1371): Cd-WARNING **: no child pid to kill!
lug 22 09:51:34 localhost.localdomain systemd[1415]: colord-session.service: Failed with result 'core-dump'.
lug 22 09:51:34 localhost.localdomain gnome-control-center.desktop[5500]: (gnome-control-center:5500): color-cc-panel-WARNING **: /var/lib/gdm/.local/share/icc/edid-c8532fba12f6d23cd74e78699b6f89b7.icc is not us
lug 22 09:51:34 localhost.localdomain abrt-server[5532]: Deleting problem directory ccpp-2016-07-22-09:51:34-5513 (dup of ccpp-2016-07-20-16:23:58-2857)
lug 22 09:51:34 localhost.localdomain dbus[812]: [system] Activating service name='org.freedesktop.problems' (using servicehelper)
lug 22 09:51:34 localhost.localdomain dbus[812]: [system] Successfully activated service 'org.freedesktop.problems'
lug 22 09:51:37 localhost.localdomain gnome-control-center.desktop[5500]: (gnome-control-center:5500): color-cc-panel-WARNING **: failed to start calibrate: failed to calibrate
lug 22 09:51:44 localhost.localdomain gnome-control-center.desktop[5500]: **
lug 22 09:51:44 localhost.localdomain gnome-control-center.desktop[5500]: libcolord:ERROR:cd-sensor.c:1630:cd_sensor_finalize: assertion failed: (ret > 0)
lug 22 09:51:44 localhost.localdomain audit[5500]: ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=1 pid=5500 comm="gnome-control-c" exe="/usr/bin/gnome-control-center" sig=6
lug 22 09:51:44 localhost.localdomain abrt-hook-ccpp[5555]: Process 5500 (gnome-control-center) of user 1000 killed by SIGABRT - dumping core
lug 22 09:51:44 localhost.localdomain abrt-server[5556]: Deleting problem directory ccpp-2016-07-22-09:51:44-5500 (dup of ccpp-2016-07-20-19:36:06-7699)
lug 22 09:51:47 localhost.localdomain dbus-daemon[1453]: Activating via systemd: service name='org.gnome.Terminal' unit='gnome-terminal-server.service'
lug 22 09:51:47 localhost.localdomain systemd[1415]: Starting GNOME Terminal Server...
Comment 5 Deborah Hearne 2017-06-14 07:54:57 UTC
I am running CentOS 7.  I am using an X-rite colormunki Display.  

It is detecting the following files are missing:
i1-display3-calibrate.svg
i1-display3-screen.svg
libcolord_sensor_i1-display3.so
libcolord_sensor_argyll.so

I checked my computer, these files don't exist in their relative folders.

Below is my output.

[root@localhost ]# /usr/libexec/colord --verbose
00:12:35	Verbose debugging enabled (on console 1)
00:12:35	CdMappingDb: trying to open database '/var/lib/colord/mapping.db'
00:12:35	CdDeviceDb: trying to open database '/var/lib/colord/storage.db'
00:12:35	CdProfileDb: trying to open database '/var/lib/colord/storage.db'
00:12:35	searching for plugins in /usr/lib64/colord-plugins
00:12:35	run cd_plugin_initialize on /usr/lib64/colord-plugins/libcd_plugin_camera.so
00:12:35	finished cd_plugin_initialize
00:12:35	run cd_plugin_initialize on /usr/lib64/colord-plugins/libcd_plugin_scanner.so
00:12:35	finished cd_plugin_initialize
00:12:35	System vendor: 'Gigabyte', System model: 'Z170X-UD5'
00:12:35	CdMain: acquired name: org.freedesktop.ColorManager
00:12:35	Adding metadata CMF_version=1.2.7
00:12:35	Adding metadata GAMUT_coverage(srgb)=1.79
00:12:35	Adding metadata CMF_product=colord
00:12:35	Adding metadata CMF_binary=cd-create-profile
00:12:35	Adding metadata STANDARD_space=adobe-rgb
00:12:35	Adding metadata License=CC0
00:12:35	Adding metadata DATA_source=standard
00:12:35	CdMain: Adding profile /org/freedesktop/ColorManager/profiles/icc_9d0a5a10f47dbb013e74b2fbd9579479
00:12:35	CdMain: Emitting ProfileAdded(/org/freedesktop/ColorManager/profiles/icc_9d0a5a10f47dbb013e74b2fbd9579479)
00:12:35	Adding metadata CMF_version=1.2.7
00:12:35	Adding metadata CMF_product=colord
00:12:35	Adding metadata CMF_binary=cd-create-profile
00:12:35	Adding metadata License=CC0
00:12:35	Adding metadata DATA_source=test
00:12:35	CdMain: Adding profile /org/freedesktop/ColorManager/profiles/icc_d66672b9a259e1c825478a8fbf1f7db8
00:12:35	CdMain: Emitting ProfileAdded(/org/freedesktop/ColorManager/profiles/icc_d66672b9a259e1c825478a8fbf1f7db8)
00:12:35	Adding metadata CMF_version=1.2.7
00:12:35	Adding metadata GAMUT_coverage(srgb)=4.14
00:12:35	Adding metadata CMF_product=colord
00:12:35	Adding metadata CMF_binary=cd-create-profile
00:12:35	Adding metadata STANDARD_space=prophoto-rgb
00:12:35	Adding metadata License=CC0
00:12:35	Adding metadata DATA_source=standard
00:12:35	CdMain: Adding profile /org/freedesktop/ColorManager/profiles/icc_ed567b43665e10efe7d14b327631be18
00:12:35	CdMain: Emitting ProfileAdded(/org/freedesktop/ColorManager/profiles/icc_ed567b43665e10efe7d14b327631be18)
00:12:35	Adding metadata CMF_version=1.2.7
00:12:35	Adding metadata GAMUT_coverage(srgb)=0.80
00:12:35	Adding metadata CMF_product=colord
00:12:35	Adding metadata CMF_binary=cd-create-profile
00:12:35	Adding metadata STANDARD_space=smpte-c-rgb
00:12:35	Adding metadata License=CC0
00:12:35	Adding metadata DATA_source=standard
00:12:35	CdMain: Adding profile /org/freedesktop/ColorManager/profiles/icc_e97a5e7ca1b7930835a0dae873e522d9
00:12:35	CdMain: Emitting ProfileAdded(/org/freedesktop/ColorManager/profiles/icc_e97a5e7ca1b7930835a0dae873e522d9)
00:12:35	Adding metadata CMF_version=1.2.7
00:12:35	Adding metadata CMF_product=colord
00:12:35	Adding metadata CMF_binary=cd-create-profile
00:12:35	Adding metadata STANDARD_space=srgb
00:12:35	Adding metadata License=CC0
00:12:35	Adding metadata DATA_source=standard
00:12:35	CdMain: Adding profile /org/freedesktop/ColorManager/profiles/icc_b02090033e17cd4f6b41d5dcb1b1f137
00:12:35	CdMain: Emitting ProfileAdded(/org/freedesktop/ColorManager/profiles/icc_b02090033e17cd4f6b41d5dcb1b1f137)
00:12:35	Adding metadata CMF_version=1.2.7
00:12:35	Adding metadata CMF_product=colord
00:12:35	Adding metadata License=CC0
00:12:35	Adding metadata CMF_binary=cd-create-profile
00:12:35	CdMain: Adding profile /org/freedesktop/ColorManager/profiles/icc_8843fc3f2c3901f3066ec9f4a64ee1ec
00:12:35	CdMain: Emitting ProfileAdded(/org/freedesktop/ColorManager/profiles/icc_8843fc3f2c3901f3066ec9f4a64ee1ec)
00:12:35	CdDeviceDb: get devices
00:12:35	adding color management device: /sys/devices/pci0000:00/0000:00:14.0/usb1/1-3 [/dev/bus/usb/001/010]
00:12:35	helper image /usr/share/colord/icons/i1-display3-attach.svg found
00:12:35	helper image /usr/share/colord/icons/i1-display3-calibrate.svg not found
00:12:35	helper image /usr/share/colord/icons/i1-display3-screen.svg not found
00:12:35	Trying to load sensor driver: /usr/lib64/colord-sensors/libcolord_sensor_i1-display3.so
00:12:35	opening module libcolord_sensor_i1-display3.so failed : /usr/lib64/colord-sensors/libcolord_sensor_i1-display3.so: cannot open shared object file: No such file or directory
00:12:35	Trying to fall back to : libcolord_sensor_argyll
00:12:35	CdSensorClient: failed to load native sensor: opening module libcolord_sensor_i1-display3.so (and fallback) failed : /usr/lib64/colord-sensors/libcolord_sensor_argyll.so: cannot open shared object file: No such file or directory
00:12:35	emit: added
00:12:35	CdMain: add sensor: i1-display3-00
00:12:35	CdSensor: Register interface 8 on /org/freedesktop/ColorManager/sensors/i1_display3_00
00:12:35	CdMain: Emitting SensorAdded(/org/freedesktop/ColorManager/sensors/i1_display3_00)
00:12:35	run cd_plugin_coldplug on /usr/lib64/colord-plugins/libcd_plugin_camera.so
00:12:35	finished cd_plugin_coldplug
00:12:35	run cd_plugin_coldplug on /usr/lib64/colord-plugins/libcd_plugin_scanner.so
00:12:35	finished cd_plugin_coldplug
00:12:36	CdMain: :1.194:GetSensors()
00:12:36	CdMain: :1.194:GetDevices()
00:15:44	CdMain: :1.194:GetSensors()
00:15:44	CdMain: :1.194:GetDevices()
Comment 6 Deborah Hearne 2017-06-14 07:57:55 UTC
I also wanted to add this:

colormgr get-sensors
Object Path:   /org/freedesktop/ColorManager/sensors/i1_display3_01
Type:          i1-display3
Model:         i1 Display Pro
Vendor:        X-Rite, Inc.
Sensor ID:     i1-display3-01
Metadata:      ImageAttach=/usr/share/colord/icons/i1-display3-attach.svg
Native:        No
Locked:        Yes
Capabilities:  LCD Generic, CRT, Projector, Ambient


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.