Bug 467492

Summary: KWin desktop effects crash with NVIDIA GPU
Product: [Plasma] kwin Reporter: Werner Sembach [TUXEDO] <wse>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: crash CC: kde
Priority: NOR    
Version First Reported In: 5.27.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Werner Sembach [TUXEDO] 2023-03-17 14:00:20 UTC
SUMMARY
After resume I get the Message:
KWin Window Manager
Desktop effects were restarted due to a graphics reset

STEPS TO REPRODUCE
1. Send too suspend and resume again

OBSERVED RESULT
After resume and login I get the Message:
KWin Window Manager
Desktop effects were restarted due to a graphics reset

EXPECTED RESULT
No crash happens

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Linux 6.1.x, Plasma 5.27.2
(available in About System)
KDE Plasma Version: 5.27.2
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION
Tested on 2 NVIDIA optimus Notebooks:
Only happens when running in Nvidia-only mode/the Desktop is rendered using a NVIDIA GPU
In on-demand or Intel-/AMD-only mode the crash does not happen.
Comment 1 David Edmundson 2023-03-17 16:05:55 UTC
>Desktop effects were restarted due to a graphics reset

This isn't a crash. It's handling an event from the GPU that we can't avoid.
Comment 2 Werner Sembach [TUXEDO] 2023-03-20 11:20:07 UTC
Ok thx for the info.

However imho the message still sounds like a crash, maybe it should be hidden by default?