Night mode does not turn off automatically
Compositor
- [v] niri
- [ ] Hyprland
- [ ] dwl (MangoWC)
- [ ] sway
- [ ] Other (specify)
Distribution
NixOS / home-manager
dms version
dms 1.2-unstable+date=2025-12-13_ca39196
Description
Night mode (configured to turn on/off automatically based on location) stays fully on when display is activated at daytime after a night's sleep.
Expected Behavior
Location-based night mode turns off by itself as appropriate.
Steps to Reproduce
- Configure night mode to turn on/off automatically based on location
- Configure power management such that the computer locks and the display turns off after some idle time (not sure if this is important, but that's what I do)
- Use computer past sunset, observe that night mode has indeed turned on by itself as expected
- Go have some sleep; the display will eventually go to sleep too because 2.
- Unlock computer (causing the display to turn back on) come next day, well past sunrise
- Observe that night mode gamma is fully on and doesn't go away by itself (turning night mode off/on clears the symptoms)
Error Messages/Logs
I'll turn debugging on and update if you need me to (haven't thought to do so up to now, sorry)
nohup: ignoring input
dms 1.2-unstable+date=2025-12-15_306d7b2
INFO go: Spawning quickshell with -p /nix/store/lkv7x1p1ygrbda1a1rygrlk13abbs8ya-dms-shell-1.2-unstable+date=2025-12-15_306d7b2/share/quickshell/dms
██████╗ █████╗ ███╗ ██╗██╗ ██╗
██╔══██╗██╔══██╗████╗ ██║██║ ██╔╝
██║ ██║███████║██╔██╗ ██║█████╔╝
██║ ██║██╔══██║██║╚██╗██║██╔═██╗
██████╔╝██║ ██║██║ ╚████║██║ ██╗
╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═══╝╚═╝ ╚═╝
INFO go: DMS API Server listening on: /run/user/1000/danklinux-3018926.sock
INFO go: API Version: 24
INFO go: Protocol: JSON over Unix socket
INFO go: Request format: {"id": <any>, "method": "...", "params": {...}}
INFO go: Response format: {"id": <any>, "result": {...}} or {"id": <any>, "error": "..."}
INFO go:
INFO go: Initializing managers...
INFO go:
INFO go: Attempting to initialize Wayland gamma control...
INFO go: Wayland gamma control initialized successfully
INFO go: AppPicker manager initialized
INFO go: Attempting to initialize DWL IPC...
INFO go: DWL: starting registry setup
INFO go: DWL: Bound wl_output id=9 registry_name=43
INFO go: DWL: manager not found in registry
INFO go: Network backend detection: NetworkManager present. Using NM API.
INFO go: ExtWorkspace capability detected and will be available on subscription
INFO go: Attempting to initialize WlrOutput management...
INFO go: WlrOutput: starting registry setup
INFO go: WlrOutput: registry setup complete (events will be processed async)
INFO go: WlrOutput management initialized successfully
INFO go:
INFO go: Ready! Capabilities: [plugins gamma browser extworkspace wlroutput]
INFO go: Brightness manager initialized
INFO go: Attempting to initialize clipboard manager...
INFO go: WlrOutput: found zwlr_output_manager_v1
INFO go: WlrOutput: manager bound successfully
INFO go: Bound ext_data_control_manager_v1
INFO go: Bound wl_seat
INFO go: [BluezManager] found adapter: /org/bluez/hci0
INFO go: Sysfs backend initialized with 5 devices
INFO go: Logind backend initialized - will use for brightness control
INFO go: Udev monitor started for backlight/drm/i2c events
WARN go: Screensaver name already owned by another process
INFO go: Freedesktop manager initialized
INFO go: [BluezAgent] registered at /com/danklinux/bluez/agent with capability KeyboardDisplay
INFO go: Bluez manager initialized
INFO go: Data device setup complete
INFO go: Clipboard manager initialized successfully
INFO go: Wayland event dispatcher started
INFO go: Loginctl manager initialized
INFO: Launching config: "/nix/store/lkv7x1p1ygrbda1a1rygrlk13abbs8ya-dms-shell-1.2-unstable+date=2025-12-15_306d7b2/share/quickshell/dms/shell.qml"
INFO: Shell ID: "b9582e32d7eac8f83ccb8fca29cb71fc" Path ID "b9582e32d7eac8f83ccb8fca29cb71fc"
INFO: Saving logs to "/run/user/1000/quickshell/by-id/cfps198mb7t/log.qslog"
INFO go: [SecretAgent] Registered with NetworkManager (id=com.danklinux.NMAgent, unique name=:1.1407, fixed path=/org/freedesktop/NetworkManager/SecretAgent)
INFO go: Network manager initialized
INFO go: Evdev manager initialized
INFO qml: Migrating settings from version 2 to version 3
INFO qml: Per-widget controlCenterButton config now supported via widgetData properties
WARN scene: QML FileView at @Common/SettingsData.qml[1385:5]: Write of /home/cmm/.config/DankMaterialShell/settings.json failed: Permission denied.
INFO qml: AudioService: Sound effects enabled
INFO qml: NetworkService: Initializing...
INFO qml: PolkitService: Initialized successfully
INFO qml: IdleService: Initialized with idle monitoring support
WARN: Tried to register singleton PowerProfileWatcher_QMLTYPE_45(0x7f93ec903ac0) which is not the root component of its file QUrl("qs:@/qs/Services/PowerProfileWatcher.qml")
WARN quickshell.I3.ipc: $I3SOCK is unset. Trying $SWAYSOCK.
WARN quickshell.I3.ipc: $SWAYSOCK and I3SOCK are unset. Cannot connect to socket.
WARN: $HYPRLAND_INSTANCE_SIGNATURE is unset. Cannot connect to hyprland.
WARN scene: @Modals/Common/DankModal.qml[277:13]: Unable to assign [undefined] to bool
WARN scene: @Modals/Common/DankModal.qml[276:13]: Unable to assign [undefined] to bool
WARN scene: @Modals/Common/DankModal.qml[277:13]: Unable to assign [undefined] to bool
WARN scene: @Modals/Common/DankModal.qml[276:13]: Unable to assign [undefined] to bool
WARN scene: @Modals/Common/DankModal.qml[277:13]: Unable to assign [undefined] to bool
WARN scene: @Modals/Common/DankModal.qml[276:13]: Unable to assign [undefined] to bool
WARN scene: @Modals/Common/DankModal.qml[277:13]: Unable to assign [undefined] to bool
WARN scene: @Modals/Common/DankModal.qml[276:13]: Unable to assign [undefined] to bool
WARN scene: @Modals/Common/DankModal.qml[277:13]: Unable to assign [undefined] to bool
WARN scene: @Modals/Common/DankModal.qml[276:13]: Unable to assign [undefined] to bool
WARN scene: @Modals/Common/DankModal.qml[277:13]: Unable to assign [undefined] to bool
WARN scene: @Modals/Common/DankModal.qml[276:13]: Unable to assign [undefined] to bool
WARN scene: @Modals/Common/DankModal.qml[277:13]: Unable to assign [undefined] to bool
WARN scene: @Modals/Common/DankModal.qml[276:13]: Unable to assign [undefined] to bool
WARN scene: @Modals/Common/DankModal.qml[277:13]: Unable to assign [undefined] to bool
WARN scene: @Modals/Common/DankModal.qml[276:13]: Unable to assign [undefined] to bool
INFO: Configuration Loaded
WARN scene: QML FileView at @Common/SettingsData.qml[1415:5]: Read of /home/cmm/.config/DankMaterialShell/plugin_settings.json failed: File does not exist.
WARN scene: QML FileView at @Common/Theme.qml[1204:5]: Read of /home/cmm/.cache/DankMaterialShell/dms-colors.json failed: File does not exist.
WARN qml: I18n: Falling back to built-in English strings
INFO qt.multimedia.ffmpeg: Using Qt multimedia with FFmpeg version 8.0 GPL version 3 or later
Input #0, wav, from '/nix/store/lkv7x1p1ygrbda1a1rygrlk13abbs8ya-dms-shell-1.2-unstable+date=2025-12-15_306d7b2/share/quickshell/dms/assets/sounds/freedesktop/audio-volume-change.wav':
Metadata:
encoder : Lavf62.3.100
Duration: 00:00:00.06, bitrate: 1420 kb/s
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s
Input #0, wav, from '/nix/store/lkv7x1p1ygrbda1a1rygrlk13abbs8ya-dms-shell-1.2-unstable+date=2025-12-15_306d7b2/share/quickshell/dms/assets/sounds/freedesktop/message.wav':
Metadata:
encoder : Lavf62.3.100
Duration: 00:00:00.31, bitrate: 1413 kb/s
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s
Input #0, wav, from '/nix/store/lkv7x1p1ygrbda1a1rygrlk13abbs8ya-dms-shell-1.2-unstable+date=2025-12-15_306d7b2/share/quickshell/dms/assets/sounds/freedesktop/message-new-instant.wav':
Metadata:
encoder : Lavf62.3.100
Duration: 00:00:01.03, bitrate: 1411 kb/s
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s
Input #0, wav, from '/nix/store/lkv7x1p1ygrbda1a1rygrlk13abbs8ya-dms-shell-1.2-unstable+date=2025-12-15_306d7b2/share/quickshell/dms/assets/sounds/plasma/power-unplug.wav':
Metadata:
encoder : Lavf62.3.100
Duration: 00:00:03.00, bitrate: 1411 kb/s
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s
Input #0, wav, from '/nix/store/lkv7x1p1ygrbda1a1rygrlk13abbs8ya-dms-shell-1.2-unstable+date=2025-12-15_306d7b2/share/quickshell/dms/assets/sounds/plasma/power-plug.wav':
Metadata:
encoder : Lavf62.3.100
Duration: 00:00:03.00, bitrate: 1411 kb/s
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s
WARN qt.svg: /etc/profiles/per-user/cmm/share/icons/hicolor/scalable/apps/Alacritty.svg:444:273: Could not resolve property: #linearGradient10962
WARN qt.svg: /etc/profiles/per-user/cmm/share/icons/hicolor/scalable/apps/Alacritty.svg:444:273: Could not resolve property: #linearGradient10962
WARN qt.core.qfuture.continuations: Parent future has 2 result(s), but only the first result will be handled in the continuation.
INFO qml: Detected distribution: NixOS 26.05 (Yarara)
ERROR quickshell.service.pipewire.node: PwNode(0x7f93ebc72080, id=77/bound) has attached device PwDevice(0x7f93ebc974e0, id=47/bound) but no card.profile.device property.
ERROR quickshell.service.pipewire.node: PwNode(0x7f93ebc71fa0, id=79/bound) has attached device PwDevice(0x7f93ef9597e0, id=46/bound) but no card.profile.device property.
INFO qml: CompositorService: Detected Niri with socket: /run/user/1000/niri.wayland-1.3016929.sock
INFO qml: NiriService: Generated wpblur config at /home/cmm/.config/niri/dms/wpblur.kdl
INFO qml: NetworkService: Network capability detected, using DMSNetworkService
INFO qml: NetworkService: Switched to DMSNetworkService, networkAvailable: true
INFO qml: DMSService: Connected (API v24, CLI 1.2-unstable+date=2025-12-15_306d7b2) - ["plugins","network","loginctl","freedesktop","gamma","bluetooth","browser","extworkspace","brightness","wlroutput","evdev","clipboard"]
INFO qml: WlrOutputService: wlr-output-management capability detected
INFO qml: ExtWorkspaceService: ext-workspace available but compositor has native support
INFO qml: CompositorService: Detected Niri with socket: /run/user/1000/niri.wayland-1.3016929.sock
INFO qml: NiriService: Generated wpblur config at /home/cmm/.config/niri/dms/wpblur.kdl
WARN qt.svg: /etc/profiles/per-user/cmm/share/icons/hicolor/scalable/apps/Alacritty.svg:444:273: Could not resolve property: #linearGradient10962
WARN qt.svg: /etc/profiles/per-user/cmm/share/icons/hicolor/scalable/apps/Alacritty.svg:444:273: Could not resolve property: #linearGradient10962
INFO qml: NiriService: Loaded 2 outputs
INFO qml: SessionService: Native inhibitor available: true
INFO qml: NiriService: Generated layout config at /home/cmm/.config/niri/dms/layout.kdl
INFO qml: NiriService: Generated alttab config at /home/cmm/.config/niri/dms/alttab.kdl
INFO go: DDC backend initialized
INFO go: Fetched IP-based location: Rishon LeTsiyyon (31.9642, 34.7876)
WARN qt.svg: /etc/profiles/per-user/cmm/share/icons/hicolor/scalable/apps/Alacritty.svg:444:273: Could not resolve property: #linearGradient10962
WARN qt.svg.draw: The requested buffer size is too big, ignoring
WARN qt.svg.draw: The requested buffer size is too big, ignoring
WARN qt.svg.draw: The requested buffer size is too big, ignoring
WARN qt.svg.draw: The requested buffer size is too big, ignoring
WARN scene: QML PanelWindow at @Modules/WorkspaceOverlays/NiriOverviewOverlay.qml[86:13]: Binding loop detected for property "shouldShowSpotlight":
qs:@/qs/Modules/WorkspaceOverlays/NiriOverviewOverlay.qml:92:17
WARN scene: QML PanelWindow at @Modules/WorkspaceOverlays/NiriOverviewOverlay.qml[86:13]: Binding loop detected for property "shouldShowSpotlight":
qs:@/qs/Modules/WorkspaceOverlays/NiriOverviewOverlay.qml:92:17
WARN scene: QML PanelWindow at @Modules/WorkspaceOverlays/NiriOverviewOverlay.qml[86:13]: Binding loop detected for property "shouldShowSpotlight":
qs:@/qs/Modules/WorkspaceOverlays/NiriOverviewOverlay.qml:92:17
WARN scene: @Modals/Common/DankModal.qml[277:13]: Unable to assign [undefined] to bool
WARN scene: @Modals/Common/DankModal.qml[276:13]: Unable to assign [undefined] to bool
WARN scene: QML QQuickImage at @Widgets/DankCircularImage.qml[21:5]: Cannot open: file:///home/cmm/.face
Input #0, wav, from '/nix/store/lkv7x1p1ygrbda1a1rygrlk13abbs8ya-dms-shell-1.2-unstable+date=2025-12-15_306d7b2/share/quickshell/dms/assets/sounds/freedesktop/audio-volume-change.wav':
Metadata:
encoder : Lavf62.3.100
Duration: 00:00:00.06, bitrate: 1420 kb/s
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s
Input #0, wav, from '/nix/store/lkv7x1p1ygrbda1a1rygrlk13abbs8ya-dms-shell-1.2-unstable+date=2025-12-15_306d7b2/share/quickshell/dms/assets/sounds/freedesktop/message.wav':
Metadata:
encoder : Lavf62.3.100
Duration: 00:00:00.31, bitrate: 1413 kb/s
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s
Input #0, wav, from '/nix/store/lkv7x1p1ygrbda1a1rygrlk13abbs8ya-dms-shell-1.2-unstable+date=2025-12-15_306d7b2/share/quickshell/dms/assets/sounds/freedesktop/message-new-instant.wav':
Metadata:
encoder : Lavf62.3.100
Duration: 00:00:01.03, bitrate: 1411 kb/s
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s
Input #0, wav, from '/nix/store/lkv7x1p1ygrbda1a1rygrlk13abbs8ya-dms-shell-1.2-unstable+date=2025-12-15_306d7b2/share/quickshell/dms/assets/sounds/plasma/power-plug.wav':
Metadata:
encoder : Lavf62.3.100
Duration: 00:00:03.00, bitrate: 1411 kb/s
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s
Input #0, wav, from '/nix/store/lkv7x1p1ygrbda1a1rygrlk13abbs8ya-dms-shell-1.2-unstable+date=2025-12-15_306d7b2/share/quickshell/dms/assets/sounds/plasma/power-unplug.wav':
Metadata:
encoder : Lavf62.3.100
Duration: 00:00:03.00, bitrate: 1411 kb/s
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s
WARN qt.core.qfuture.continuations: Parent future has 2 result(s), but only the first result will be handled in the continuation.
Input #0, wav, from '/nix/store/lkv7x1p1ygrbda1a1rygrlk13abbs8ya-dms-shell-1.2-unstable+date=2025-12-15_306d7b2/share/quickshell/dms/assets/sounds/freedesktop/audio-volume-change.wav':
Metadata:
encoder : Lavf62.3.100
Duration: 00:00:00.06, bitrate: 1420 kb/s
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s
Input #0, wav, from '/nix/store/lkv7x1p1ygrbda1a1rygrlk13abbs8ya-dms-shell-1.2-unstable+date=2025-12-15_306d7b2/share/quickshell/dms/assets/sounds/freedesktop/message.wav':
Metadata:
encoder : Lavf62.3.100
Duration: 00:00:00.31, bitrate: 1413 kb/s
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s
Input #0, wav, from '/nix/store/lkv7x1p1ygrbda1a1rygrlk13abbs8ya-dms-shell-1.2-unstable+date=2025-12-15_306d7b2/share/quickshell/dms/assets/sounds/freedesktop/message-new-instant.wav':
Metadata:
encoder : Lavf62.3.100
Duration: 00:00:01.03, bitrate: 1411 kb/s
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s
Input #0, wav, from '/nix/store/lkv7x1p1ygrbda1a1rygrlk13abbs8ya-dms-shell-1.2-unstable+date=2025-12-15_306d7b2/share/quickshell/dms/assets/sounds/plasma/power-unplug.wav':
Metadata:
encoder : Lavf62.3.100
Duration: 00:00:03.00, bitrate: 1411 kb/s
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s
Input #0, wav, from '/nix/store/lkv7x1p1ygrbda1a1rygrlk13abbs8ya-dms-shell-1.2-unstable+date=2025-12-15_306d7b2/share/quickshell/dms/assets/sounds/plasma/power-plug.wav':
Metadata:
encoder : Lavf62.3.100
Duration: 00:00:03.00, bitrate: 1411 kb/s
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s
quickshell.service.pam.subprocess: Waiting for parent confirmation...
quickshell.service.pam.subprocess: Starting pam session for user "cmm" with config "login" in dir "/etc/pam.d"
quickshell.service.pam.subprocess: Relaying pam message: "Password: " echo: 0 error: 0 responseRequired: 1
quickshell.service.pam.subprocess: Got response for request.quickshell.service.pam.subprocess: Authenticated successfully.
WARN scene: QML QQuickImage at @Widgets/DankCircularImage.qml[21:5]: Cannot open: file:///home/cmm/.face
WARN qt.qpa.wayland.textinput: virtual void QtWaylandClient::QWaylandTextInputv3::enableSurface(wl_surface*) Try to enable surface 0x7f93ecf5fda0 with focusing surface 0x7f93ebd780c0
quickshell.service.pam.subprocess: Waiting for parent confirmation...
quickshell.service.pam.subprocess: Starting pam session for user "cmm" with config "login" in dir "/etc/pam.d"
quickshell.service.pam.subprocess: Relaying pam message: "Password: " echo: 0 error: 0 responseRequired: 1
quickshell.service.pam.subprocess: Got response for request.quickshell.service.pam.subprocess: Authenticated successfully.
WARN qt.svg: /etc/profiles/per-user/cmm/share/icons/hicolor/scalable/apps/Alacritty.svg:444:273: Could not resolve property: #linearGradient10962
WARN qt.svg: /etc/profiles/per-user/cmm/share/icons/hicolor/scalable/apps/Alacritty.svg:444:273: Could not resolve property: #linearGradient10962
WARN qt.svg: /etc/profiles/per-user/cmm/share/icons/hicolor/scalable/apps/Alacritty.svg:444:273: Could not resolve property: #linearGradient10962
WARN qt.svg: /etc/profiles/per-user/cmm/share/icons/hicolor/scalable/apps/Alacritty.svg:444:273: Could not resolve property: #linearGradient10962
WARN qt.svg: /etc/profiles/per-user/cmm/share/icons/hicolor/scalable/apps/Alacritty.svg:444:273: Could not resolve property: #linearGradient10962
WARN qt.qpa.wayland.textinput: virtual void QtWaylandClient::QWaylandTextInputv3::enableSurface(wl_surface*) Try to enable surface 0x7f93ed5fd920 with focusing surface 0x7f93ecf5fda0
WARN scene: QML QQuickImage at @Widgets/DankCircularImage.qml[21:5]: Cannot open: file:///home/cmm/.face
WARN scene: QML FileView at @Common/SettingsData.qml[1385:5]: Write of /home/cmm/.config/DankMaterialShell/settings.json failed: Permission denied.
WARN scene: QML QQuickImage at @Widgets/DankCircularImage.qml[21:5]: Cannot open: file:///home/cmm/.face
Input #0, wav, from '/nix/store/lkv7x1p1ygrbda1a1rygrlk13abbs8ya-dms-shell-1.2-unstable+date=2025-12-15_306d7b2/share/quickshell/dms/assets/sounds/freedesktop/audio-volume-change.wav':
Metadata:
encoder : Lavf62.3.100
Duration: 00:00:00.06, bitrate: 1420 kb/s
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s
Input #0, wav, from '/nix/store/lkv7x1p1ygrbda1a1rygrlk13abbs8ya-dms-shell-1.2-unstable+date=2025-12-15_306d7b2/share/quickshell/dms/assets/sounds/freedesktop/message.wav':
Metadata:
encoder : Lavf62.3.100
Duration: 00:00:00.31, bitrate: 1413 kb/s
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s
Input #0, wav, from '/nix/store/lkv7x1p1ygrbda1a1rygrlk13abbs8ya-dms-shell-1.2-unstable+date=2025-12-15_306d7b2/share/quickshell/dms/assets/sounds/freedesktop/message-new-instant.wav':
Metadata:
encoder : Lavf62.3.100
Duration: 00:00:01.03, bitrate: 1411 kb/s
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s
Input #0, wav, from '/nix/store/lkv7x1p1ygrbda1a1rygrlk13abbs8ya-dms-shell-1.2-unstable+date=2025-12-15_306d7b2/share/quickshell/dms/assets/sounds/plasma/power-unplug.wav':
Metadata:
encoder : Lavf62.3.100
Duration: 00:00:03.00, bitrate: 1411 kb/s
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s
Input #0, wav, from '/nix/store/lkv7x1p1ygrbda1a1rygrlk13abbs8ya-dms-shell-1.2-unstable+date=2025-12-15_306d7b2/share/quickshell/dms/assets/sounds/plasma/power-plug.wav':
Metadata:
encoder : Lavf62.3.100
Duration: 00:00:03.00, bitrate: 1411 kb/s
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s
WARN qt.core.qfuture.continuations: Parent future has 2 result(s), but only the first result will be handled in the continuation.
Input #0, wav, from '/nix/store/lkv7x1p1ygrbda1a1rygrlk13abbs8ya-dms-shell-1.2-unstable+date=2025-12-15_306d7b2/share/quickshell/dms/assets/sounds/freedesktop/audio-volume-change.wav':
Metadata:
encoder : Lavf62.3.100
Duration: 00:00:00.06, bitrate: 1420 kb/s
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s
Input #0, wav, from '/nix/store/lkv7x1p1ygrbda1a1rygrlk13abbs8ya-dms-shell-1.2-unstable+date=2025-12-15_306d7b2/share/quickshell/dms/assets/sounds/freedesktop/message.wav':
Metadata:
encoder : Lavf62.3.100
Duration: 00:00:00.31, bitrate: 1413 kb/s
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s
Input #0, wav, from '/nix/store/lkv7x1p1ygrbda1a1rygrlk13abbs8ya-dms-shell-1.2-unstable+date=2025-12-15_306d7b2/share/quickshell/dms/assets/sounds/freedesktop/message-new-instant.wav':
Metadata:
encoder : Lavf62.3.100
Duration: 00:00:01.03, bitrate: 1411 kb/s
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s
Input #0, wav, from '/nix/store/lkv7x1p1ygrbda1a1rygrlk13abbs8ya-dms-shell-1.2-unstable+date=2025-12-15_306d7b2/share/quickshell/dms/assets/sounds/plasma/power-plug.wav':
Metadata:
encoder : Lavf62.3.100
Duration: 00:00:03.00, bitrate: 1411 kb/s
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s
Input #0, wav, from '/nix/store/lkv7x1p1ygrbda1a1rygrlk13abbs8ya-dms-shell-1.2-unstable+date=2025-12-15_306d7b2/share/quickshell/dms/assets/sounds/plasma/power-unplug.wav':
Metadata:
encoder : Lavf62.3.100
Duration: 00:00:03.00, bitrate: 1411 kb/s
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s
quickshell.service.pam.subprocess: Waiting for parent confirmation...
quickshell.service.pam.subprocess: Starting pam session for user "cmm" with config "login" in dir "/etc/pam.d"
quickshell.service.pam.subprocess: Relaying pam message: "Password: " echo: 0 error: 0 responseRequired: 1
quickshell.service.pam.subprocess: Got response for request.quickshell.service.pam.subprocess: Authenticated successfully.
WARN qt.svg: /etc/profiles/per-user/cmm/share/icons/hicolor/scalable/apps/Alacritty.svg:444:273: Could not resolve property: #linearGradient10962
WARN qt.svg: /etc/profiles/per-user/cmm/share/icons/hicolor/scalable/apps/Alacritty.svg:444:273: Could not resolve property: #linearGradient10962
WARN qt.svg: /etc/profiles/per-user/cmm/share/icons/hicolor/scalable/apps/Alacritty.svg:444:273: Could not resolve property: #linearGradient10962
WARN qt.svg: /etc/profiles/per-user/cmm/share/icons/hicolor/scalable/apps/Alacritty.svg:444:273: Could not resolve property: #linearGradient10962
WARN scene: QML QQuickImage at @Widgets/DankCircularImage.qml[21:5]: Cannot open: file:///home/cmm/.face
WARN qt.qpa.wayland.textinput: virtual void QtWaylandClient::QWaylandTextInputv3::enableSurface(wl_surface*) Try to enable surface 0x7f93ecf84ca0 with focusing surface 0x7f93ecf5f800
Input #0, wav, from '/nix/store/lkv7x1p1ygrbda1a1rygrlk13abbs8ya-dms-shell-1.2-unstable+date=2025-12-15_306d7b2/share/quickshell/dms/assets/sounds/freedesktop/audio-volume-change.wav':
Metadata:
encoder : Lavf62.3.100
Duration: 00:00:00.06, bitrate: 1420 kb/s
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s
Input #0, wav, from '/nix/store/lkv7x1p1ygrbda1a1rygrlk13abbs8ya-dms-shell-1.2-unstable+date=2025-12-15_306d7b2/share/quickshell/dms/assets/sounds/freedesktop/message.wav':
Metadata:
encoder : Lavf62.3.100
Duration: 00:00:00.31, bitrate: 1413 kb/s
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s
Input #0, wav, from '/nix/store/lkv7x1p1ygrbda1a1rygrlk13abbs8ya-dms-shell-1.2-unstable+date=2025-12-15_306d7b2/share/quickshell/dms/assets/sounds/freedesktop/message-new-instant.wav':
Metadata:
encoder : Lavf62.3.100
Duration: 00:00:01.03, bitrate: 1411 kb/s
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s
Input #0, wav, from '/nix/store/lkv7x1p1ygrbda1a1rygrlk13abbs8ya-dms-shell-1.2-unstable+date=2025-12-15_306d7b2/share/quickshell/dms/assets/sounds/plasma/power-plug.wav':
Metadata:
encoder : Lavf62.3.100
Duration: 00:00:03.00, bitrate: 1411 kb/s
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s
Input #0, wav, from '/nix/store/lkv7x1p1ygrbda1a1rygrlk13abbs8ya-dms-shell-1.2-unstable+date=2025-12-15_306d7b2/share/quickshell/dms/assets/sounds/plasma/power-unplug.wav':
Metadata:
encoder : Lavf62.3.100
Duration: 00:00:03.00, bitrate: 1411 kb/s
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s
WARN qt.core.qfuture.continuations: Parent future has 2 result(s), but only the first result will be handled in the continuation.
Input #0, wav, from '/nix/store/lkv7x1p1ygrbda1a1rygrlk13abbs8ya-dms-shell-1.2-unstable+date=2025-12-15_306d7b2/share/quickshell/dms/assets/sounds/freedesktop/audio-volume-change.wav':
Metadata:
encoder : Lavf62.3.100
Duration: 00:00:00.06, bitrate: 1420 kb/s
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s
Input #0, wav, from '/nix/store/lkv7x1p1ygrbda1a1rygrlk13abbs8ya-dms-shell-1.2-unstable+date=2025-12-15_306d7b2/share/quickshell/dms/assets/sounds/freedesktop/message.wav':
Metadata:
encoder : Lavf62.3.100
Duration: 00:00:00.31, bitrate: 1413 kb/s
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s
Input #0, wav, from '/nix/store/lkv7x1p1ygrbda1a1rygrlk13abbs8ya-dms-shell-1.2-unstable+date=2025-12-15_306d7b2/share/quickshell/dms/assets/sounds/freedesktop/message-new-instant.wav':
Metadata:
encoder : Lavf62.3.100
Duration: 00:00:01.03, bitrate: 1411 kb/s
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s
Input #0, wav, from '/nix/store/lkv7x1p1ygrbda1a1rygrlk13abbs8ya-dms-shell-1.2-unstable+date=2025-12-15_306d7b2/share/quickshell/dms/assets/sounds/plasma/power-plug.wav':
Metadata:
encoder : Lavf62.3.100
Duration: 00:00:03.00, bitrate: 1411 kb/s
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s
Input #0, wav, from '/nix/store/lkv7x1p1ygrbda1a1rygrlk13abbs8ya-dms-shell-1.2-unstable+date=2025-12-15_306d7b2/share/quickshell/dms/assets/sounds/plasma/power-unplug.wav':
Metadata:
encoder : Lavf62.3.100
Duration: 00:00:03.00, bitrate: 1411 kb/s
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s
quickshell.service.pam.subprocess: Waiting for parent confirmation...
quickshell.service.pam.subprocess: Starting pam session for user "cmm" with config "login" in dir "/etc/pam.d"
quickshell.service.pam.subprocess: Relaying pam message: "Password: " echo: 0 error: 0 responseRequired: 1
quickshell.service.pam.subprocess: Got response for request.quickshell.service.pam.subprocess: Authenticated successfully.
WARN qt.svg: /etc/profiles/per-user/cmm/share/icons/hicolor/scalable/apps/Alacritty.svg:444:273: Could not resolve property: #linearGradient10962
WARN qt.svg: /etc/profiles/per-user/cmm/share/icons/hicolor/scalable/apps/Alacritty.svg:444:273: Could not resolve property: #linearGradient10962
possibly addressed in 306d7b2ce0f0b11a20f5a6239472d5d9932ccc0e
no :( added logs.
Feel free to reopen if this is still happening. We're trying to clear out legacy issues.
@Purian23 I don't have permissions to reopen, but this still happens (also if I just close lid while leaving laptop connected to power, so suspend is not actually necessary to reproduce. could have something to do with niri/smithay's general weirdness around display turn-off/disconnection, maybe).
Same happening here with Niri on CachyOS. What follows is an analysis and suggested fix developed with Claude Code:
Root cause
In Services/DisplayService.qml (~line 818-822), the onLoginctlEvent handler for resume only suppresses the OSD — it does not re-evaluate the night mode state:
function onLoginctlEvent(event) {
if (event.event === "unlock" || event.event === "resume") {
suppressOsd = true;
osdSuppressTimer.restart();
}
}
By contrast, Theme.qml (~line 346-355) correctly handles resume by triggering a theme re-evaluation:
function onLoginctlEvent(event) {
if (event.event === "unlock" || event.event === "resume") {
DMSService.sendRequest("theme.auto.trigger", {});
}
}
Suggested fix
Add evaluateNightMode() to the resume handler in DisplayService.qml:
function onLoginctlEvent(event) {
if (event.event === "unlock" || event.event === "resume") {
suppressOsd = true;
osdSuppressTimer.restart();
evaluateNightMode();
}
}
Environment
- DMS via CachyOS packages
- Niri 25.11
- Night mode: automatic, location via IP
Same is happening with Niri on Fedora 43. In the evening I switch to dark mode and night mode, which works correctly. My computer goes to sleep overnight and when I wake it up in the moring, it switches back to light mode, but Night Mode doesn't switch off. I've make the suggested fix from @wowo101 and I'll see if it works tomorrow morning.
still happens for me though
still happend,after suspend and resume
@bbedward still a thing in 1.5.0. night mode gamma is correctly going away after waking up from suspend (so that scenario seems fixed, at least for so far as I've paid attention recently), but if there was no suspend (just the display went to sleep overnight) then night mode gamma stays