Bug 502346 - Adjusting Night Light temperature causes main display to freeze.
Summary: Adjusting Night Light temperature causes main display to freeze.
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: night color (other bugs)
Version First Reported In: 6.3.4
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-03 04:48 UTC by adesmarais94
Modified: 2025-04-16 23:19 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description adesmarais94 2025-04-03 04:48:17 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY


STEPS TO REPRODUCE
1. Have two monitors connected. In my case, both are connected via display port.
2. On primary monitor, go to Night Light widget > configure
3. While switching times set to Always On, adjust the Night light temperature. 

OBSERVED RESULT
This causes the primary monitor to freeze entirely and is only fixed via reboot.

EXPECTED RESULT
Neither monitor should freeze up when adjusting the night light temperature.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: CachyOS Linux
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.12.0
Qt Version: 6.8.3

ADDITIONAL INFORMATION
other users experiencing issue here: https://www.reddit.com/r/kde/comments/1j2dutm/night_light_causes_display_to_freeze_stop/
Comment 1 Zamundaaa 2025-04-04 14:30:16 UTC
After reproducing the bug, please attach the output of
> journalctl --user-unit plasma-kwin_wayland ---boot 0
and
> sudo dmesg
Comment 2 adesmarais94 2025-04-15 01:34:28 UTC
❯ journalctl --user-unit plasma-kwin_wayland --boot 0 && sudo dmesg
Apr 14 21:17:10 adam-cachyos systemd[1021]: Starting KDE Window Manager...
Apr 14 21:17:10 adam-cachyos systemd[1021]: Started KDE Window Manager.
Apr 14 21:17:10 adam-cachyos kwin_wayland[1265]: No backend specified, automatically choosing drm
Apr 14 21:17:11 adam-cachyos kwin_wayland[1265]: kwin_xkbcommon: XKB: [XKB-800] Key "<META>" added to modifier map for multiple modifiers; Using Mod4, igno>
Apr 14 21:17:11 adam-cachyos kwin_wayland[1265]: kwin_xkbcommon: XKB: [XKB-800] Symbol "Meta_L" added to modifier map for multiple modifiers; Using Mod4, i>
Apr 14 21:17:11 adam-cachyos kwin_wayland[1265]: kwin_xkbcommon: XKB: [XKB-800] Symbol "Meta_R" added to modifier map for multiple modifiers; Using Mod4, i>
Apr 14 21:17:12 adam-cachyos kwin_wayland_wrapper[1617]: The XKEYBOARD keymap compiler (xkbcomp) reports:
Apr 14 21:17:12 adam-cachyos kwin_wayland_wrapper[1617]: > Warning:          Could not resolve keysym XF86RefreshRateToggle
Apr 14 21:17:12 adam-cachyos kwin_wayland_wrapper[1617]: > Warning:          Could not resolve keysym XF86Accessibility
Apr 14 21:17:12 adam-cachyos kwin_wayland_wrapper[1617]: > Warning:          Could not resolve keysym XF86DoNotDisturb
Apr 14 21:17:12 adam-cachyos kwin_wayland_wrapper[1617]: Errors from xkbcomp are not fatal to the X server
Apr 14 21:17:12 adam-cachyos kwin_wayland_wrapper[1622]: The XKEYBOARD keymap compiler (xkbcomp) reports:
Apr 14 21:17:12 adam-cachyos kwin_wayland_wrapper[1622]: > Warning:          Unsupported maximum keycode 708, clipping.
Apr 14 21:17:12 adam-cachyos kwin_wayland_wrapper[1622]: >                   X11 cannot support keycodes above 255.
Apr 14 21:17:12 adam-cachyos kwin_wayland_wrapper[1622]: > Warning:          Could not resolve keysym XF86RefreshRateToggle
Apr 14 21:17:12 adam-cachyos kwin_wayland_wrapper[1622]: > Warning:          Could not resolve keysym XF86Accessibility
Apr 14 21:17:12 adam-cachyos kwin_wayland_wrapper[1622]: > Warning:          Could not resolve keysym XF86DoNotDisturb
Apr 14 21:17:12 adam-cachyos kwin_wayland_wrapper[1622]: Errors from xkbcomp are not fatal to the X server
Apr 14 21:17:12 adam-cachyos kcminit[1624]: Initializing  "/usr/lib/qt6/plugins/plasma/kcms/systemsettings/kcm_fonts.so"
Apr 14 21:17:12 adam-cachyos kcminit[1624]: Initializing  "/usr/lib/qt6/plugins/plasma/kcms/systemsettings/kcm_style.so"
Apr 14 21:17:23 adam-cachyos kwin_wayland[1265]: trying to show an empty dialog
Apr 14 21:17:23 adam-cachyos kwin_wayland[1265]: This plugin does not support setting window masks
Apr 14 21:17:23 adam-cachyos kwin_wayland[1265]: This plugin does not support setting window masks
Apr 14 21:17:23 adam-cachyos kwin_wayland[1265]: file:///home/adam/.local/share/kwin/scripts/kzones/contents/ui/main.qml:9:1: QML Dialog: Binding loop dete>
                                                 file:///home/adam/.local/share/kwin/scripts/kzones/contents/ui/main.qml:42:5
Apr 14 21:18:01 adam-cachyos kwin_wayland[1265]: kwin_core: Failed to open /dev/dri/renderD128 device (No such device)
Apr 14 21:18:01 adam-cachyos kwin_wayland[1265]: kwin_wayland_drm: failed to open drm device at "/dev/dri/renderD128"
Apr 14 21:18:02 adam-cachyos kwin_wayland[1265]: kwin_wayland_drm: failed to open drm device at ""
Apr 14 21:18:02 adam-cachyos kwin_wayland[1265]: kwin_wayland_drm: failed to open drm device at ""
Apr 14 21:18:02 adam-cachyos kwin_wayland[1265]: kwin_wayland_drm: failed to open drm device at ""
Apr 14 21:18:02 adam-cachyos kwin_wayland[1265]: kwin_wayland_drm: failed to open drm device at ""
Apr 14 21:18:02 adam-cachyos kwin_wayland[1265]: kwin_wayland_drm: failed to open drm device at ""
Apr 14 21:18:20 adam-cachyos kwin_wayland[1265]: kf.windowsystem: static bool KX11Extras::mapViewport() may only be used on X11
Apr 14 21:21:13 adam-cachyos kwin_wayland[1265]: kf.windowsystem: static bool KX11Extras::mapViewport() may only be used on X11
Apr 14 21:29:05 adam-cachyos kwin_wayland[1265]: kf.windowsystem: static bool KX11Extras::mapViewport() may only be used on X11
Apr 14 21:29:18 adam-cachyos kwin_wayland[1265]: kf.windowsystem: static bool KX11Extras::mapViewport() may only be used on X11
Apr 14 21:29:54 adam-cachyos kwin_wayland[1265]: kf.windowsystem: static bool KX11Extras::mapViewport() may only be used on X11
Apr 14 21:29:56 adam-cachyos kwin_wayland[1265]: kf.windowsystem: static bool KX11Extras::mapViewport() may only be used on X11
Apr 14 21:30:30 adam-cachyos kwin_wayland[1265]: kf.windowsystem: static bool KX11Extras::mapViewport() may only be used on X11
Apr 14 21:30:36 adam-cachyos kwin_wayland[1265]: kf.windowsystem: static bool KX11Extras::mapViewport() may only be used on X11
Apr 14 21:30:38 adam-cachyos kwin_wayland[1265]: kf.windowsystem: static bool KX11Extras::mapViewport() may only be used on X11
Apr 14 21:30:45 adam-cachyos kwin_wayland[1265]: kf.windowsystem: static bool KX11Extras::mapViewport() may only be used on X11
Apr 14 21:30:47 adam-cachyos kwin_wayland[1265]: kf.windowsystem: static bool KX11Extras::mapViewport() may only be used on X11
Apr 14 21:30:58 adam-cachyos kwin_wayland[1265]: kf.windowsystem: static bool KX11Extras::mapViewport() may only be used on X11
Apr 14 21:31:14 adam-cachyos kwin_wayland[1265]: kf.windowsystem: static bool KX11Extras::mapViewport() may only be used on X11
Apr 14 21:32:26 adam-cachyos kwin_wayland[1265]: trying to show an empty dialog
Apr 14 21:32:26 adam-cachyos kwin_wayland[1265]: This plugin does not support setting window masks
Apr 14 21:32:26 adam-cachyos kwin_wayland[1265]: This plugin does not support setting window masks
Apr 14 21:32:26 adam-cachyos kwin_wayland[1265]: file:///home/adam/.local/share/kwin/scripts/kzones/contents/ui/main.qml:9:1: QML Dialog: Binding loop dete>
                                                 file:///home/adam/.local/share/kwin/scripts/kzones/contents/ui/main.qml:42:5
Apr 14 21:32:27 adam-cachyos kwin_wayland[1265]: trying to show an empty dialog
Apr 14 21:32:27 adam-cachyos kwin_wayland[1265]: This plugin does not support setting window masks
Apr 14 21:32:27 adam-cachyos kwin_wayland[1265]: This plugin does not support setting window masks
Apr 14 21:32:27 adam-cachyos kwin_wayland[1265]: file:///home/adam/.local/share/kwin/scripts/kzones/contents/ui/main.qml:9:1: QML Dialog: Binding loop dete>
                                                 file:///home/adam/.local/share/kwin/scripts/kzones/contents/ui/main.qml:42:5
Apr 14 21:32:28 adam-cachyos kwin_wayland[1265]: trying to show an empty dialog
Apr 14 21:32:28 adam-cachyos kwin_wayland[1265]: This plugin does not support setting window masks
Apr 14 21:32:28 adam-cachyos kwin_wayland[1265]: This plugin does not support setting window masks
Apr 14 21:32:28 adam-cachyos kwin_wayland[1265]: file:///home/adam/.local/share/kwin/scripts/kzones/contents/ui/main.qml:9:1: QML Dialog: Binding loop dete>
                                                 file:///home/adam/.local/share/kwin/scripts/kzones/contents/ui/main.qml:42:5
Apr 14 21:32:59 adam-cachyos kwin_wayland[1265]: trying to show an empty dialog
Apr 14 21:32:59 adam-cachyos kwin_wayland[1265]: This plugin does not support setting window masks
Apr 14 21:32:59 adam-cachyos kwin_wayland[1265]: This plugin does not support setting window masks
Apr 14 21:32:59 adam-cachyos kwin_wayland[1265]: file:///home/adam/.local/share/kwin/scripts/kzones/contents/ui/main.qml:9:1: QML Dialog: Binding loop dete>
                                                 file:///home/adam/.local/share/kwin/scripts/kzones/contents/ui/main.qml:42:5
Apr 14 21:33:02 adam-cachyos kwin_wayland[1265]: trying to show an empty dialog
Apr 14 21:33:02 adam-cachyos kwin_wayland[1265]: This plugin does not support setting window masks
Apr 14 21:33:02 adam-cachyos kwin_wayland[1265]: This plugin does not support setting window masks
Apr 14 21:33:02 adam-cachyos kwin_wayland[1265]: file:///home/adam/.local/share/kwin/scripts/kzones/contents/ui/main.qml:9:1: QML Dialog: Binding loop dete>
                                                 file:///home/adam/.local/share/kwin/scripts/kzones/contents/ui/main.qml:42:5
Apr 14 21:33:14 adam-cachyos kwin_wayland[1265]: kwin_wayland_drm: Pageflip timed out! This is a bug in the nvidia-drm kernel driver
Apr 14 21:33:14 adam-cachyos kwin_wayland[1265]: kwin_wayland_drm: Please report this at https://forums.developer.nvidia.com/c/gpu-graphics/linux
Apr 14 21:33:14 adam-cachyos kwin_wayland[1265]: kwin_wayland_drm: With the output of 'sudo dmesg' and 'journalctl --user-unit plasma-kwin_wayland --boot 0'
Apr 14 21:33:15 adam-cachyos kwin_wayland[1265]: kwin_wayland_drm: Pageflip timed out! This is a bug in the nvidia-drm kernel driver
Apr 14 21:33:15 adam-cachyos kwin_wayland[1265]: kwin_wayland_drm: Please report this at https://forums.developer.nvidia.com/c/gpu-graphics/linux
Apr 14 21:33:15 adam-cachyos kwin_wayland[1265]: kwin_wayland_drm: With the output of 'sudo dmesg' and 'journalctl --user-unit plasma-kwin_wayland --boot 0'
Apr 14 21:33:16 adam-cachyos kwin_wayland[1265]: kwin_wayland_drm: Pageflip timed out! This is a bug in the nvidia-drm kernel driver
Apr 14 21:33:16 adam-cachyos kwin_wayland[1265]: kwin_wayland_drm: Please report this at https://forums.developer.nvidia.com/c/gpu-graphics/linux
Apr 14 21:33:16 adam-cachyos kwin_wayland[1265]: kwin_wayland_drm: With the output of 'sudo dmesg' and 'journalctl --user-unit plasma-kwin_wayland --boot 0'
Apr 14 21:33:17 adam-cachyos kwin_wayland[1265]: kwin_wayland_drm: Pageflip timed out! This is a bug in the nvidia-drm kernel driver
Apr 14 21:33:17 adam-cachyos kwin_wayland[1265]: kwin_wayland_drm: Please report this at https://forums.developer.nvidia.com/c/gpu-graphics/linux
Apr 14 21:33:17 adam-cachyos kwin_wayland[1265]: kwin_wayland_drm: With the output of 'sudo dmesg' and 'journalctl --user-unit plasma-kwin_wayland --boot 0'
Apr 14 21:33:18 adam-cachyos kwin_wayland[1265]: kwin_wayland_drm: Pageflip timed out! This is a bug in the nvidia-drm kernel driver
Apr 14 21:33:18 adam-cachyos kwin_wayland[1265]: kwin_wayland_drm: Please report this at https://forums.developer.nvidia.com/c/gpu-graphics/linux
Apr 14 21:33:18 adam-cachyos kwin_wayland[1265]: kwin_wayland_drm: With the output of 'sudo dmesg' and 'journalctl --user-unit plasma-kwin_wayland --boot 0'
Apr 14 21:33:19 adam-cachyos kwin_wayland[1265]: kwin_wayland_drm: Pageflip timed out! This is a bug in the nvidia-drm kernel driver
Apr 14 21:33:19 adam-cachyos kwin_wayland[1265]: kwin_wayland_drm: Please report this at https://forums.developer.nvidia.com/c/gpu-graphics/linux
Comment 3 Zamundaaa 2025-04-16 23:19:59 UTC
> Apr 14 21:33:14 adam-cachyos kwin_wayland[1265]: kwin_wayland_drm: Pageflip timed out! This is a bug in the nvidia-drm kernel driver
> Apr 14 21:33:14 adam-cachyos kwin_wayland[1265]: kwin_wayland_drm: Please report this at https://forums.developer.nvidia.com/c/gpu-graphics/linux
> Apr 14 21:33:14 adam-cachyos kwin_wayland[1265]: kwin_wayland_drm: With the output of 'sudo dmesg' and 'journalctl --user-unit plasma-kwin_wayland --boot 0'
That narrows it down perfectly (on our side at least); it's a driver bug. Please report this to NVidia.

I also read that the latest beta driver fixes a similar bug, so you could try that one first.