Hi, I have two monitors connected to a machine running Manjaro Gnome. I am trying to get night mode to work on both of the connected monitors. However, night mode is only working on Monitor-2 (DP-2) and not on Monitor-1 (DP-1).
How do I get night mode to work on both monitors ?
System graphics info - please let me know if anything else is needed to help diagnose the problem.
$ inxi --edid
Graphics:
Device-1: Intel HD Graphics 630 vendor: Lenovo driver: i915 v: kernel
arch: Gen-9.5 process: Intel 14nm built: 2016-20 ports: active: DP-1,DP-2
empty: DP-3, HDMI-A-1, HDMI-A-2, HDMI-A-3 bus-ID: 00:02.0
chip-ID: 8086:5912 class-ID: 0300
Display: wayland server: X.org v: 1.21.1.11 with: Xwayland v: 23.2.4
compositor: gnome-shell v: 45.4 driver: X: loaded: modesetting
alternate: fbdev,vesa dri: iris gpu: i915 display-ID: 0
Monitor-1: DP-1 model: Lenovo P24q-10 serial: U4P00001 built: 2018
res: 2560x1440 dpi: 123 gamma: 1.2 chroma: red: x: 0.663 y: 0.325 green:
x: 0.271 y: 0.627 blue: x: 0.145 y: 0.051 white: x: 0.314 y: 0.329
size: 527x296mm (20.75x11.65") diag: 604mm (23.8") ratio: 16:9
modes: 2560x1440, 1920x1200, 1920x1080, 1920x1080i, 1680x1050, 1600x900,
1280x1024, 1440x900, 1280x720, 1024x768, 800x600, 720x480, 640x480,
720x400
Monitor-2: DP-2 model: Lenovo P24q-10 serial: U4P00001 built: 2018
res: 2560x1440 dpi: 123 gamma: 1.2 chroma: red: x: 0.663 y: 0.325 green:
x: 0.271 y: 0.627 blue: x: 0.145 y: 0.051 white: x: 0.314 y: 0.329
size: 527x296mm (20.75x11.65") diag: 604mm (23.8") ratio: 16:9
modes: 2560x1440, 1920x1200, 1920x1080, 1920x1080i, 1680x1050, 1600x900,
1280x1024, 1440x900, 1280x720, 1024x768, 800x600, 720x480, 640x480,
720x400
API: EGL v: 1.5 hw: drv: intel iris platforms: device: 0 drv: iris
device: 1 drv: swrast surfaceless: drv: iris wayland: drv: iris x11:
drv: iris inactive: gbm
API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa v: 23.3.5-manjaro1.1
glx-v: 1.4 direct-render: yes renderer: Mesa Intel HD Graphics 630 (KBL GT2)
device-ID: 8086:5912 memory: 15.03 GiB unified: yes display-ID: :0.0
I have already tried assigning an ICC profile to each of the two monitors, but night mode still does not work on Monitor-1. The commands below were sourced from section 3.4 of this Arch wiki page, which covers adding ICC profiles to Wayland.
$ colormgr get-profiles
[...]
Object Path: /org/freedesktop/ColorManager/profiles/icc_bf13042b1b4cff0fc22de8c24d1eccd6
Owner: root
Format: ColorSpace..
Title: Lenovo Group Limited 24"
Qualifier: RGB..
Type: display-device
Colorspace: rgb
Gamma Table: No
System Wide: Yes
Filename: /usr/share/color/icc/colord/edid-e46fb22fd30f259800e55a937cfd3eac.icc
Profile ID: icc-bf13042b1b4cff0fc22de8c24d1eccd6
Metadata: FILE_checksum=bf13042b1b4cff0fc22de8c24d1eccd6
$ colormgr get-devices
Object Path: /org/freedesktop/ColorManager/devices/xrandr_DP_1_rousseau_1000
Owner: rousseau
Created: March 1 2024, 02:01:18 AM
Modified: March 1 2024, 02:01:18 AM
Type: display
Enabled: Yes
Embedded: No
Model: P24q-10
Vendor: Lenovo
Serial: U4P00001
Scope: temp
Colorspace: rgb
Device ID: xrandr-DP-1
Profile 1: icc-bf13042b1b4cff0fc22de8c24d1eccd6
/usr/share/color/icc/colord/edid-e46fb22fd30f259800e55a937cfd3eac.icc
Metadata: OutputEdidMd5=e46fb22fd30f259800e55a937cfd3eac
Metadata: OutputPriority=primary
Metadata: XRANDR_name=DP-1
Object Path: /org/freedesktop/ColorManager/devices/xrandr_DP_2_rousseau_1000
Owner: rousseau
Created: March 1 2024, 02:01:18 AM
Modified: March 1 2024, 02:01:18 AM
Type: display
Enabled: Yes
Embedded: No
Model: P24q-10
Vendor: Lenovo
Serial: U4P00001
Scope: temp
Colorspace: rgb
Device ID: xrandr-DP-2
Profile 1: icc-bf13042b1b4cff0fc22de8c24d1eccd6
/usr/share/color/icc/colord/edid-e46fb22fd30f259800e55a937cfd3eac.icc
Metadata: OutputEdidMd5=e46fb22fd30f259800e55a937cfd3eac
Metadata: OutputPriority=secondary
Metadata: XRANDR_name=DP-2
$ colormgr device-add-profile xrandr-DP-1 icc-bf13042b1b4cff0fc22de8c24d1eccd6
profile object path '/org/freedesktop/ColorManager/profiles/icc_bf13042b1b4cff0fc22de8c24d1eccd6' has already been added
$ colormgr device-add-profile xrandr-DP-2 icc-bf13042b1b4cff0fc22de8c24d1eccd6
profile object path '/org/freedesktop/ColorManager/profiles/icc_bf13042b1b4cff0fc22de8c24d1eccd6' has already been added
Also, in the interest of transparency, I would point out that I messed around last night with displaycal in an unsuccessful attempt to create a custom ICC profile for each monitor… I hope that these attempts have not messed up anything.
Any help would be greatly appreciated ! Many thanks.