Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed calibration with ColorHug2 #85

Open
csaavedra opened this issue Jan 8, 2019 · 3 comments
Open

Failed calibration with ColorHug2 #85

csaavedra opened this issue Jan 8, 2019 · 3 comments

Comments

@csaavedra
Copy link

Debian testing, colord 1.4.3-3+b1.

Jan 08 18:47:48 patanjali dbus-daemon[1532]: [session uid=1000 pid=1532] Activating via systemd: service name='org.freedesktop.ColorHelper' unit='colord-session.service' requested by ':1.307' (uid=1000 pid=23786 comm="/usr/bin/gnome-control-center color ")
Jan 08 18:47:48 patanjali systemd[1513]: Starting Color management helper...
Jan 08 18:47:48 patanjali dbus-daemon[1532]: [session uid=1000 pid=1532] Successfully activated service 'org.freedesktop.ColorHelper'
Jan 08 18:47:48 patanjali systemd[1513]: Started Color management helper.
Jan 08 18:47:48 patanjali colord[774]: ignoring error: usb:00:02: Invalid read: retval=0x0a [Invalid value] cmd=0x35 [get-remote-hash] (expected 0x35 [get-remote-hash]) len=64 (expected 22 or 64)
Jan 08 18:47:48 patanjali gnome-shell[1566]: meta_window_set_stack_position_no_sync: assertion 'window->stack_position >= 0' failed
Jan 08 18:48:00 patanjali gnome-control-c[23786]: calibration failed with code 1: usb:00:02: Invalid read: retval=0x0a [Invalid value] cmd=0x35 [get-remote-hash] (expected 0x35 [get-remote-hash]) len=64 (expected 22 or 64)
Jan 08 18:48:00 patanjali systemd[1513]: colord-session.service: Main process exited, code=killed, status=15/TERM
Jan 08 18:48:00 patanjali systemd[1513]: colord-session.service: Succeeded.
Jan 08 18:48:04 patanjali gnome-control-c[23786]: failed to start calibrate: failed to calibrate
Jan 08 18:48:04 patanjali org.gnome.Shell.desktop[1566]: libinput error: client bug: timer event17 debounce short: offset negative (-2ms)
Jan 08 18:49:01 patanjali gnome-control-c[23786]: cc_color_calibrate_setup: assertion 'calibrate->device_kind != CD_SENSOR_CAP_UNKNOWN' failed
Jan 08 18:49:01 patanjali kernel: show_signal_msg: 16 callbacks suppressed
Jan 08 18:49:01 patanjali kernel: gnome-control-c[23786]: segfault at 8 ip 000055f9cb9644bf sp 00007ffede895d30 error 4 in gnome-control-center[55f9cb949000+106000]
Jan 08 18:49:01 patanjali kernel: Code: e8 66 51 fe ff 48 89 c7 e8 c6 e4 fe ff eb 99 0f 1f 40 00 48 8b 04 24 48 8d 15 1b ec 0e 00 be 10 00 00 00 48 8d 3d b7 ea 0e 00 <48> 8b 48 08 31 c0 e8 36 72 fe ff e9 6e ff ff ff e8 9c 5c fe ff 66
Jan 08 18:49:01 patanjali systemd[1]: Started Process Core Dump (PID 26798/UID 0).
Jan 08 18:49:02 patanjali systemd-coredump[26799]: Process 23786 (gnome-control-c) of user 1000 dumped core.

@csaavedra
Copy link
Author

Firmware version, 2.0.6 (no updates available).

@csaavedra
Copy link
Author

csaavedra commented Jan 8, 2019

The gnome-control-center crash seems to be a side-effect and a bug there, but just for the record (1:3.30.2-2):

(gdb) list
318	  gtk_widget_show (prefs->button_calib_upload);
319	  ret = cc_color_calibrate_setup (prefs->calibrate,
320	                                  &error);
321	  if (!ret)
322	    {
323	      g_warning ("failed to setup calibrate: %s", error->message);
324	      return;
325	    }
326	
327	  /* actually start the calibration */
(gdb) f 0
#0  0x000055f9cb9644bf in gcm_prefs_calib_apply_cb (widget=<optimized out>, prefs=0x55f9cd1f4150)
    at ../panels/color/cc-color-panel.c:323
323	      g_warning ("failed to setup calibrate: %s", error->message);
(gdb) print error
$1 = (GError_autoptr) 0x0

@JLTastet
Copy link

JLTastet commented Jun 6, 2020

Same or similar issue with Fedora 32. When trying to calibrate my monitor using Gnome Control Center, I randomly get one of the following errors:

  • (gnome-control-center:10212): color-cc-panel-WARNING **: 13:59:58.638: failed to start calibrate: GDBus.Error:org.freedesktop.ColorHelper.FailedToFindSensor: failed to lock: usb:01:00:02: Invalid read: retval=0x0a [Invalid value] cmd=0x35 [get-remote-hash] (expected 0x35 [get-remote-hash]) len=64 (expected 22 or 64)

  • (gnome-control-center:11088): color-cc-panel-WARNING **: 14:05:18.128: failed to start calibrate: GDBus.Error:org.freedesktop.ColorHelper.FailedToFindSensor: failed to lock: Failed to find device 0001:000a

  • (gnome-control-center:11088): color-cc-panel-CRITICAL **: 14:05:40.541: cc_color_calibrate_setup: assertion 'calibrate->device_kind != CD_SENSOR_CAP_UNKNOWN' failed

Everything works fine with DisplayCal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants