SUMMARY After wake-up the night mode does not apply. And if i force a night mode (by theme panel) all screen became black. So i need to reboot computer by systemctl in tty. STEPS TO REPRODUCE 1. define day/night mode (eg. breeze and breeze dark) 2. sleep mode computer before night (eg. 16h) 3. wake-up computer in night (eg. 21h) 4. constat the night mode is not apply correctly 5. force a color sheme in panel setting OBSERVED RESULT My 2 screens on my computer are black. Only the mouse is visible (it can move). No windows are visible. EXPECTED RESULT SOFTWARE/OS VERSIONS Operating System: KDE neon User Edition KDE Plasma Version: 6.4.4 KDE Frameworks Version: 6.17.0 Qt Version: 6.9.1 Kernel Version: 6.14.0-27-generic (64-bit) Graphics Platform: Wayland Processors: 24 × AMD Ryzen 9 3900X 12-Core Processor Memory: 32 Gio of RAM (31.3 Gio usable) Graphics Processor: NVIDIA GeForce RTX 2060 Manufacturer: Micro-Star International Co., Ltd. Product Name: MS-7B93 System Version: 1.0 ADDITIONAL INFORMATION
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.