linuxmint / cinnamon-control-center

A collection of configuration plugins used in cinnamon-settings
GNU General Public License v2.0
62 stars 66 forks source link

Mint 20: color calibration not working #263

Open schorschii opened 3 years ago

schorschii commented 3 years ago
 * cinnamon-control-center version 4.8.2
 * Distribution - Mint 20.1
 * Graphics hardware *and* driver used - NVIDIA proprietary driver
 * 64 bit

Issue Monitor color calibration does not work in Mint 20.1. It worked in Mint 19.x using the same hardware.

Steps to reproduce

  1. Connect calibration device, e.g. Datacolor Spyder5
  2. Open settings -> Color -> Choose a monitor -> Click "Calibrate..."
  3. Nothing happens when clicking the button, but you can see the following output in the terminal:
    
    Using PAM module (python3-pam)
    /usr/share/cinnamon/cinnamon-settings/cinnamon-settings.py:427: DeprecationWarning: Gtk.Window.set_wmclass is deprecated
    self.window.set_wmclass(wm_class, wm_class)
    Failed to install packages: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.PackageKit was not provided by any .service files

(cinnamon-settings.py:27898): WARNING : 12:35:16.810: failed to install required component



**Expected behaviour**
Calibration window should be opened.

**Other information**
Calibration is working in Ubuntu 20.04.
leigh123linux commented 3 years ago

It doesn't install gnome-color-manager here

$ cinnamon-settings
Using pam module (python3-pampy)
Failed to install packages: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name is not activatable

** (cinnamon-settings.py:1799): WARNING **: 12:20:29.229: failed to install required component

gnome-installer is broken.

https://github.com/linuxmint/cinnamon-control-center/commit/dd8068ba4ca5f44bc1893fa1cb34e9ec67d85d2d

cinnamon-desktop gnome-installer seems to have a missing packagekit dependency

Using PAM module (python3-pam)
/usr/share/cinnamon/cinnamon-settings/cinnamon-settings.py:427: DeprecationWarning: Gtk.Window.set_wmclass is deprecated
  self.window.set_wmclass(wm_class, wm_class)
Failed to install packages: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.PackageKit was not provided by any .service files

** (cinnamon-settings.py:27898): WARNING **: 12:35:16.810: failed to install required component

https://github.com/linuxmint/cinnamon-desktop/blob/master/debian/control

schorschii commented 3 years ago

I manually installed gnome-color-manager but now I get the following error in the terminal when clicking on the "Calibrate..." button:

$ cinnamon-settings color

** (cinnamon-settings.py:44357): WARNING **: 14:01:46.851: failed to run command: Failed to execute child process “/usr/bin/gcm-calibrate” (No such file or directory)
leigh123linux commented 3 years ago

gcm-calibrate was removed

https://gitlab.gnome.org/GNOME/gnome-color-manager/-/commit/5a1bf35e30ff689c727222fae1f31b0d4be4ae9d

schorschii commented 3 years ago

I'm now using DisplayCAL for calibration. I think the "Calibrate..." button should be removed to avoid confusion.

schorschii commented 3 years ago

Just saw your PR #264 . Thanks!