Summary: | After wake-up the night mode does not apply | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | FoxOdd <mesvacto-arthur> |
Component: | night color | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | REPORTED --- | ||
Severity: | normal | CC: | kdedev, nate, vlad.zahorodnii |
Priority: | NOR | ||
Version First Reported In: | 6.4.4 | ||
Target Milestone: | --- | ||
Platform: | Neon | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | journatcl 23.18 to 23:32 |
Description
FoxOdd
2025-08-10 11:05:08 UTC
I'm not able to reproduce this on git-master (but I do see an unrelated bug with the mouse cursor being stuck) Steps to reproduce 1. Chose Breeze Dark as the global theme, toggled on dark mode at night 2. Configured a manual Day-Night Cycle so sunset was before the current time and ended in the morning. Breeze Dark was correctly applied. 3. Put laptop to sleep 4. Woke laptop Observed that the night light color was applied and Breeze Dark was in use. 5. Chose a different color theme in Colors & Themes No crash / black screen, colors were applied The fact that after step 5, the screen is black except for the mouse cursor, indicates a crash or other misbehavior of kwin. Can you see if there's a coredump on your system for kwin or plasmashell from the time you forced the color scheme? If there is, can you please attach a backtrace of the crash using the coredumpctl command-line program? See this for details on doing both of those - https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports#Retrieving_a_backtrace_using_coredumpctl ? (In reply to TraceyC from comment #1) > I'm not able to reproduce this on git-master (but I do see an unrelated bug > with the mouse cursor being stuck) > > Steps to reproduce > 1. Chose Breeze Dark as the global theme, toggled on dark mode at night > 2. Configured a manual Day-Night Cycle so sunset was before the current time > and ended in the morning. Breeze Dark was correctly applied. > 3. Put laptop to sleep > 4. Woke laptop > Observed that the night light color was applied and Breeze Dark was in use. > > 5. Chose a different color theme in Colors & Themes > No crash / black screen, colors were applied > > The fact that after step 5, the screen is black except for the mouse cursor, > indicates a crash or other misbehavior of kwin. Can you see if there's a > coredump on your system for kwin or plasmashell from the time you forced the > color scheme? If there is, can you please attach a backtrace of the crash > using the coredumpctl command-line program? See this for details on doing > both of those - > https://community.kde.org/Guidelines_and_HOWTOs/Debugging/ > How_to_create_useful_crash_reports#Retrieving_a_backtrace_using_coredumpctl ? Hi, I couldn't find a coredump. I tried restarting plasmashell with the commands - kquitapp6 plasmashell - kstart plasmashell My desktop was working again. But when I tried to close a notification, plasmashell froze. When I switched to a tty and then back to the plasmashell tty, I had a black screen. Only the mouse could move. No coredumpctl available. After trying several times to reproduce the initial bug, I think that it may not be the night/day change that is causing the bug. But perhaps it is the computer waking up after going into standby mode. If the system is hard-locking, it might well be a graphics card or kernel bug. Just to make sure, you see nothing relevant in "journalctl -S today" after the freeze happens (and rebooting)? Created attachment 184093 [details]
journatcl 23.18 to 23:32
(In reply to FoxOdd from comment #4) > Created attachment 184093 [details] > journatcl 23.18 to 23:32 I performed the following steps: - Put the computer to sleep at 23h18 - Woke the computer up at 23h32. Before the screen went black, I was able to note the message from the kwin notification (translated from French): “The desktop effects have been reset following a reset of the graphics module.” Then, from a tty, I retrieved all the logs with the command: journtactl --since “23:18” --until “23:32” Thanks so much for the system logs. Some interesting parts: août 14 23:32:31 kernel: NVRM: Xid (PCI:0000:2d:00): 13, Graphics Exception: Shader Program Header 11 Error août 14 23:32:31 kernel: NVRM: Xid (PCI:0000:2d:00): 13, Graphics Exception: Shader Program Header 18 Error août 14 23:32:31 kernel: NVRM: Xid (PCI:0000:2d:00): 13, Graphics Exception: ESR 0x405840=0xa2040800 août 14 23:32:31 kernel: NVRM: Xid (PCI:0000:2d:00): 13, Graphics Exception: ESR 0x405848=0x80000000 août 14 23:32:31 kernel: NVRM: Xid (PCI:0000:2d:00): 13, pid=1889, name=kwin_wayland, Graphics Exception: ChID 00dc, Class 0000c597, Offset 00000000, Data 00000000 There are a lot of these août 14 23:32:45 kwin_wayland[1889]: kwin_wayland_drm: EglGbmLayerSurface::renderTestBuffer: failed to make opengl context current août 14 23:32:45 kwin_wayland[1889]: kwin_wayland_drm: Checking test buffer failed! août 14 23:32:45 kwin_wayland[1889]: kwin_core: Applying output configuration failed! août 14 23:32:45 kwin_wayland[1889]: kwin_wayland_drm: EglGbmLayerSurface::renderTestBuffer: failed to make opengl context current août 14 23:32:45 kwin_wayland[1889]: kwin_wayland_drm: Checking test buffer failed! août 14 23:32:45 kwin_wayland[1889]: kwin_wayland_drm: EglGbmLayerSurface::renderTestBuffer: failed to make opengl context current août 14 23:32:45 kwin_wayland[1889]: kwin_wayland_drm: Checking test buffer failed! I'll let the kwin developers take a closer look. |