Created attachment 160453 [details] Backtrace SUMMARY *** Reopening an alt-tabbed Apex Legends game can crash kwin_wayland. Previously when I did this, the game itself crashed and it froze the desktop for a couple of seconds but after setting PROTON_LOG=1 the game took kwin_wayland with it. It takes quite a while, a couple of games and many alt-tabs to repro this. The most opportune time to alt-tab seems to be in the pick screen and then connecting back when the dropship is in view. Backtrace seems to point here: https://invent.kde.org/plasma/kwin/-/blob/v5.27.6/src/libkwineffects/kwinanimationeffect.cpp#L735 STEPS TO REPRODUCE 1. Set PROTON_LOG=1 in steam for Apex Legends 2. Play the game, occasionally alt-tabbing to the desktop OBSERVED RESULT Crash after about 5 games played SOFTWARE/OS VERSIONS Linux: Arch Linux (available in About System) KDE Plasma Version: 5.17.6 KDE Frameworks Version: 5.108.0 Qt Version: 5.15.10
Created attachment 160454 [details] tail --lines 50 steam-1172470.log
#0 0x00007fc6fb67ac1b in KWin::AnimationEffect::postPaintScreen() (this=0x556178fc1bc0) at /usr/src/debug/kwin/kwin-5.27.6/src/libkwineffects/kwinanimationeffect.cpp:735 #1 0x00007fc6fb00ba58 in KWin::EffectsHandlerImpl::postPaintScreen() (this=0x556178bee6b0) at /usr/src/debug/kwin/kwin-5.27.6/src/effects.cpp:406
Created attachment 160457 [details] Full backtrace
Also of note that I'm on Nvidia
*** This bug has been marked as a duplicate of bug 450933 ***