Public bug reported:

Fresh install of Artful, using gnome-session to access vanilla GNOME
session on Wayland (also tried on xorg).  Attempting to calibrate
monitors through Gnome Control Center->Devices->Color.  All attempts
ended at the point where I was asked to put the device onto the monitor,
with the error:

Calibration failed!
An internal error occurred that could not be recovered. You can remove the 
calibration device.

Syslog:
Sep 24 12:19:31 desktop kernel: [  262.849675] usb 3-6: new full-speed USB 
device number 7 using xhci_hcd
Sep 24 12:19:32 desktop kernel: [  262.990880] usb 3-6: New USB device found, 
idVendor=0971, idProduct=2007
Sep 24 12:19:32 desktop kernel: [  262.990882] usb 3-6: New USB device strings: 
Mfr=1, Product=2, SerialNumber=0
Sep 24 12:19:32 desktop kernel: [  262.990884] usb 3-6: Product: colormunki
Sep 24 12:19:32 desktop kernel: [  262.990885] usb 3-6: Manufacturer: X-Rite
Sep 24 12:19:32 desktop pulseaudio[953]: W: [pulseaudio] sink-input.c: Failed 
to create sink input: sink is suspended.
Sep 24 12:19:32 desktop gnome-shell[876]: drmModeSetCursor2 failed with 
(Permission denied), drawing cursor with OpenGL from now on
Sep 24 12:19:32 desktop pulseaudio[953]: W: [pulseaudio] sink-input.c: Failed 
to create sink input: sink is suspended.
Sep 24 12:19:32 desktop org.gnome.SettingsDaemon.Color.desktop[1000]: libEGL 
warning: wayland-egl: could not open /dev/dri/card0 (Permission denied)
Sep 24 12:19:32 desktop org.gnome.SettingsDaemon.Color.desktop[1000]: libEGL 
warning: wayland-egl: could not open /dev/dri/card0 (Permission denied)
Sep 24 12:19:32 desktop org.gnome.SettingsDaemon.Color.desktop[1000]: VA error: 
wayland: failed to open /dev/dri/card0: Permission denied (errno 13)
Sep 24 12:19:32 desktop org.gnome.SettingsDaemon.Color.desktop[1000]: libva 
error: va_getDriverName() failed with unknown libva error,driver_name=(null)
Sep 24 12:19:32 desktop org.gnome.SettingsDaemon.Color.desktop[1000]: libva 
error: va_getDriverName() failed with unknown libva error,driver_name=(null)
Sep 24 12:19:32 desktop org.gnome.SettingsDaemon.Color.desktop[1000]: VA error: 
wayland: failed to open /dev/dri/card0: Permission denied (errno 13)
Sep 24 12:19:32 desktop org.gnome.SettingsDaemon.Color.desktop[1000]: libva 
error: va_getDriverName() failed with unknown libva error,driver_name=(null)


I attempted to fix the permissions error for /dev/dri/card0.  Current 
permissions:
rwh@desktop:~$ ls -l /dev/dri/card0
crw-rw----+ 1 root video 226, 0 Sep 24 12:15 /dev/dri/card0

Tried adding my user to video group, which made no difference.  Then made file 
world r/w:
rwh@desktop:~$ sudo chmod o+rw /dev/dri/card0

Which fixed that problem.  Now, in the calibrate wizard, on the second
step (Display Type) I am offered three options (LCD, CRT, Projector)
where I only saw LCD previously.  However, the calibration step failed
the same as before.  Syslog:

Sep 24 12:36:46 desktop kernel: [ 1298.430546] usb 3-6: new full-speed USB 
device number 12 using xhci_hcd
Sep 24 12:36:46 desktop kernel: [ 1298.571756] usb 3-6: New USB device found, 
idVendor=0971, idProduct=2007
Sep 24 12:36:46 desktop kernel: [ 1298.571759] usb 3-6: New USB device strings: 
Mfr=1, Product=2, SerialNumber=0
Sep 24 12:36:46 desktop kernel: [ 1298.571760] usb 3-6: Product: colormunki
Sep 24 12:36:46 desktop kernel: [ 1298.571762] usb 3-6: Manufacturer: X-Rite
Sep 24 12:36:46 desktop pulseaudio[953]: message repeated 3 times: [ W: 
[pulseaudio] sink-input.c: Failed to create sink input: sink is suspended.]
Sep 24 12:36:47 desktop gnome-control-c[5206]: Unable to initialize Clutter: 
Unable to initialize the Clutter backend: no available drivers found.
Sep 24 12:36:47 desktop gnome-control-c[5201]: Unable to initialize Clutter: 
Unable to initialize the Clutter backend: no available drivers found.
Sep 24 12:36:47 desktop gnome-control-c[5201]: Error 71 (Protocol error) 
dispatching to Wayland display.
Sep 24 12:36:47 desktop gnome-control-c[5206]: Error 71 (Protocol error) 
dispatching to Wayland display.
Sep 24 12:37:21 desktop dbus-daemon[4121]: Activating via systemd: service 
name='org.freedesktop.ColorHelper' unit='colord-session.service'
Sep 24 12:37:21 desktop systemd[3601]: Starting Color management helper...
Sep 24 12:37:21 desktop dbus-daemon[4121]: Successfully activated service 
'org.freedesktop.ColorHelper'
Sep 24 12:37:21 desktop systemd[3601]: Started Color management helper.
Sep 24 12:37:21 desktop gnome-control-c[4627]: GtkDialog mapped without a 
transient parent. This is discouraged.
Sep 24 12:37:34 desktop gnome-control-c[4627]: calibration failed with code 1: 
no sensor->get_sample
Sep 24 12:37:35 desktop gnome-control-c[4627]: failed to start calibrate: 
failed to calibrate


I also attempted the same process using a ColorHug, syslog output:

Sep 24 13:40:20 desktop kernel: [ 5112.073831] usb 3-5: new full-speed USB 
device number 27 using xhci_hcd
Sep 24 13:40:20 desktop kernel: [ 5112.216193] usb 3-5: New USB device found, 
idVendor=273f, idProduct=1001
Sep 24 13:40:20 desktop kernel: [ 5112.216198] usb 3-5: New USB device strings: 
Mfr=1, Product=2, SerialNumber=0
Sep 24 13:40:20 desktop kernel: [ 5112.216201] usb 3-5: Product: ColorHug
Sep 24 13:40:20 desktop kernel: [ 5112.216204] usb 3-5: Manufacturer: Hughski 
Ltd.
Sep 24 13:40:20 desktop kernel: [ 5112.218554] hid-generic 0003:273F:1001.0012: 
hiddev0,hidraw0: USB HID v1.11 Device [Hughski Ltd. ColorHug] on 
usb-0000:00:14.0-5/input0
Sep 24 13:40:20 desktop pulseaudio[953]: W: [pulseaudio] sink-input.c: Failed 
to create sink input: sink is suspended.
Sep 24 13:40:20 desktop pulseaudio[953]: W: [pulseaudio] sink-input.c: Failed 
to create sink input: sink is suspended.
Sep 24 13:40:20 desktop gnome-control-c[13696]: Unable to initialize Clutter: 
Unable to initialize the Clutter backend: no available drivers found.
Sep 24 13:40:20 desktop gnome-control-c[13696]: Error 71 (Protocol error) 
dispatching to Wayland display.
Sep 24 13:40:20 desktop gnome-control-c[13686]: Unable to initialize Clutter: 
Unable to initialize the Clutter backend: no available drivers found.
Sep 24 13:40:20 desktop gnome-control-c[13686]: Error 71 (Protocol error) 
dispatching to Wayland display.
Sep 24 13:40:24 desktop gnome-software[7308]: running get-updates with 
refine-flags=require-update-details,require-update-severity with timeout=60 on 
plugin=systemd-updates took 2ms
Sep 24 13:40:43 desktop dbus-daemon[6900]: Activating via systemd: service 
name='org.freedesktop.ColorHelper' unit='colord-session.service'
Sep 24 13:40:43 desktop systemd[3601]: Starting Color management helper...
Sep 24 13:40:43 desktop dbus-daemon[6900]: Successfully activated service 
'org.freedesktop.ColorHelper'
Sep 24 13:40:43 desktop systemd[3601]: Started Color management helper.
Sep 24 13:40:43 desktop colord[1138]: ignoring error: usb:00:05: Invalid read: 
retval=0x0a [Invalid value] cmd=0x35 [get-remote-hash] (expected 0x35 
[get-remote-hash]) len=64 (expected 22 or 64)
Sep 24 13:40:43 desktop gnome-control-c[13694]: GtkDialog mapped without a 
transient parent. This is discouraged.
Sep 24 13:40:49 desktop gnome-control-c[13694]: calibration failed with code 1: 
usb:00:05: Invalid read: retval=0x0a [Invalid value] cmd=0x35 [get-remote-hash] 
(expected 0x35 [get-remote-hash]) len=64 (expected 22 or 64)
Sep 24 13:40:50 desktop gnome-control-c[13694]: failed to start calibrate: 
failed to calibrate


rwh@desktop:~$ lsb_release -rd
Description:    Ubuntu Artful Aardvark (development branch)
Release:        17.10
rwh@desktop:~$ apt-cache policy gnome-control-center
gnome-control-center:
  Installed: 1:3.26.0-0ubuntu2
  Candidate: 1:3.26.0-0ubuntu2
  Version table:
 *** 1:3.26.0-0ubuntu2 500
        500 http://mirror.internode.on.net/pub/ubuntu/ubuntu artful/main amd64 
Packages
        100 /var/lib/dpkg/status

ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: gnome-control-center 1:3.26.0-0ubuntu2
ProcVersionSignature: Ubuntu 4.13.0-11.12-generic 4.13.1
Uname: Linux 4.13.0-11-generic x86_64
ApportVersion: 2.20.7-0ubuntu1
Architecture: amd64
CurrentDesktop: GNOME
Date: Sun Sep 24 13:15:14 2017
ExecutablePath: /usr/bin/gnome-control-center
InstallationDate: Installed on 2017-09-23 (1 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Alpha amd64 (20170919)
ProcEnviron:
 LANGUAGE=en_AU:en
 PATH=(custom, user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_AU.UTF-8
 SHELL=/bin/bash
SourcePackage: gnome-control-center
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: gnome-control-center (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug artful wayland-session

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1719143

Title:
  Unable to calibrate monitors through Gnome Control Center->Color in
  artful

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/1719143/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to