Calibration fails on Fedora 24 prerelease
Closed this issue · 6 comments
As per our discussion at LGM, here's the details from the crash:
tigert@crypt0nite:$ /usr/libexec/colord-session --verbose$
14:06:27 Verbose debugging enabled (on console 1)
14:06:27 CdMain: acquired name: org.freedesktop.ColorHelper
14:07:02 CdMain: :1.97:Start(xrandr-AU Optronics,colorhug2-00)
14:07:02 Quality: medium
14:07:02 Whitepoint: 6500K
14:07:02 Gamma: 2.40
14:07:02 Title: ThinkPad X230 ColorHug2 High
14:07:02 Device kind: lcd
**
libcolord:ERROR:cd-sensor.c:1630:cd_sensor_finalize: assertion failed: (ret > 0)
Aborted (core dumped)
tigert@crypt0nite:
So I think this might have been fixed with d9c9255 -- can you tell me the version of colord installed? 1.3.2 should be the fixed version. Thanks!
Looks like I have 1.3.2..?
Installed Packages
Name : colord
Arch : x86_64
Epoch : 0
Version : 1.3.2
Release : 3.fc24
Size : 2.0 M
Repo : @System
From repo : updates-testing
I rebuilt with that patch and it fixes the assertion issue, but now I get an USB error. I did update the firmware on the device, if that matters, when it showed a new version available.
Anyway, no assertion failed error this time, but instead I get this:
10:16:26 CdMain: :1.98:Start(xrandr-Dell Inc.-DELL U2713H-C6F0K31G0FPL,colorhug2-01)
10:16:26 Quality: high
10:16:26 Whitepoint: 6500K
10:16:26 Gamma: 2.40
10:16:26 Title: DELL U2713H ColorHUG2 High
10:16:26 Device kind: lcd
10:16:26 CdMain: Emitting InteractionRequired(0,attach the sensor to the screen,/usr/share/colord/icons/colorhug2-attach.svg)
10:16:30 CdMain: :1.98:Resume()
10:16:30 CdMain: Emitting UpdateGamma(2 elements)
10:16:31 CdMain: Emitting UpdateSample(1.000000,1.000000,1.000000)
10:16:31 CdMain: Emitting Finished(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))
This is on my Fedora 24 with colord-1.3.2-3.fc24.x86_64.rpm that I rebuilt with the above patch.
This is very odd. Can you reproduce this if you unplug and replug the device? I've never seen this before. Thanks.
Gah, got caught up with other things at work, will give this a shot asap.
I'm on Arch with 1.3.2 and get kinda the same error:
20:52:19 Verbose debugging enabled (on console 1)
20:52:19 CdMain: acquired name: org.freedesktop.ColorHelper
20:52:40 CdMain: :1.109:Start(xrandr-LVDS1,colorhug2-01)
20:52:40 Quality: medium
20:52:40 Whitepoint: 0K
20:52:40 Gamma: 2.40
20:52:40 Title: ThinkPad T420
20:52:40 Device kind: lcd
20:52:41 CdMain: Emitting InteractionRequired(0,attach the sensor to
the screen,/usr/share/colord/icons/colorhug2-attach.svg)
20:52:43 CdMain: :1.109:Resume()
20:52:43 CdMain: Emitting UpdateGamma(2 elements)
20:52:43 CdMain: Emitting UpdateSample(1.000000,1.000000,1.000000)
20:52:44 CdMain: Emitting Finished(1,usb:00:01:02: Invalid read:
retval=0x0a [Invalid value] cmd=0x35 [get-remote-hash](expected 0x35 [get-remote-hash]) len=64 (expected 22 or 64))
**
libcolord:ERROR:cd-sensor.c:1630:cd_sensor_finalize: assertion failed: (ret > 0)
Update: DisplayCAL worked.