Bug 502475 - With NVIDIA GPU, when changing brightness or night light, Dell G2724D monitor freezes then crashes entire desktop
Summary: With NVIDIA GPU, when changing brightness or night light, Dell G2724D monitor...
Status: RESOLVED UPSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: Power management & brightness (other bugs)
Version First Reported In: 6.3.4
Platform: Arch Linux Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
: 503560 (view as bug list)
Depends on:
Blocks:
 
Reported: 2025-04-06 06:40 UTC by mox
Modified: 2025-05-06 14:51 UTC (History)
5 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mox 2025-04-06 06:40:32 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
When changing brightness or night light the Dell G2724D monitor freezes and no applications on that monitor are accessible through keyboard commands. eg. I can not bring a firefox tab to my second monitor with super+arrow keys.

STEPS TO REPRODUCE
1. Open Brightnesss and color widget
2. Change any setting that will apply to the Dell G2724D monitor. 4/5 times the picture will freeze only on this monitor, the second monitor remains usable. The cursor appears frozen, but panning to my second monitor makes it usable on the second monitor. The cursor remains visible and frozen on the dell monitor.
3. Turning off or disconnecting the unresponsive monitor crashes the entire desktop. The desktop goes to black then comes back on with all applications closed or autostarted with errors.

OBSERVED RESULT
Frozen monitor and desktop crash

EXPECTED RESULT
Monitor brightness and color setting change without issue.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: EndeavourOS KDE Plasma 6.3.4
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.12.0
Qt Version: 6.9.0

ADDITIONAL INFORMATION
Wayland, Nvidia 4070S
2 monitors in use. Dell G2724D as primary with the issue, Lenovo L24q-30 as secondary that does not have the issue
Comment 1 mox 2025-04-06 06:43:18 UTC
The only additional line in journalctl -e /usr/bin/plasmashell after this sequence is: 

file:///usr/share/plasma/plasmoids/org.kde.plasma.brightness/contents/ui/PopupDialog.qml:93: TypeError: Value is null and could not be converted to an object
Comment 2 Jan 2025-04-07 15:05:52 UTC
I have the same Monitor and the Desktop on the G2724D crashes when using the Night Light slider to adjust color temperature.

Operating System: openSUSE Tumbleweed 20250403
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.12.0
Qt Version: 6.8.2
Kernel Version: 6.14.0-1-default (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 7800X3D 8-Core Processor
Memory: 31.0 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 4070/PCIe/SSE2
Comment 3 Jan 2025-04-07 15:16:01 UTC
journalctl

Apr 07 17:14:18 host kwin_wayland[1819]: kwin_wayland_drm: Pageflip timed out! This is a bug in the nvidia-drm kernel driver
Apr 07 17:14:18 host kwin_wayland[1819]: kwin_wayland_drm: Please report this at https://forums.developer.nvidia.com/c/gpu-graphics/linux
Apr 07 17:14:18 host kwin_wayland[1819]: kwin_wayland_drm: With the output of 'sudo dmesg' and 'journalctl --user-unit plasma-kwin_wayland --boot 0'
Apr 07 17:14:19 host kwin_wayland[1819]: kwin_wayland_drm: Pageflip timed out! This is a bug in the nvidia-drm kernel driver

OK!
Comment 4 Jan 2025-04-07 15:17:59 UTC
Turning monitor off and on reanimates the desktop.
Comment 5 Nate Graham 2025-04-07 19:54:45 UTC
> kwin_wayland_drm: Pageflip timed out! This is a bug in the nvidia-drm kernel driver
It's not wrong. :)
Comment 7 Lenzoid 2025-04-30 15:08:41 UTC
*** Bug 503560 has been marked as a duplicate of this bug. ***
Comment 8 Lenzoid 2025-05-03 17:05:32 UTC
Installing Nvidia beta drivers (currently 575.51.02) fixed this for me. Can anyone confirm this?

---------------------------------
Arch specific instructions to install Nvidia beta drivers on Arch

This may be useful for people on Arch with a Nvidia Turing card (or if you have installed nvidia-open-dkms). Steps will differ if you have installed currently nvidia-dkms (other microarchitecture generations).

Warning: using -Rdd removes packages regardless of depencies, which was necessary on my machine. It will break your system if you do not re-install all the required packages manually immediately! Use at your own risk.

> yay -Syyu
> yay -Rdd nvidia-open-dkms nvidia-utils lib32-nvidia-utils nvidia-settings opencl-nvidia
> yay -S nvidia-open-beta-dkms nvidia-utils-beta lib32-nvidia-utils-beta nvidia-settings-beta opencl-nvidia-beta 
> reboot