Bug 489374

Summary: Counter Strike 2 crashes on alt tabbing unless set to windowed
Product: [Plasma] kwin Reporter: Martin <spleefer90>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: crash CC: kde
Priority: NOR    
Version: git-stable-Plasma/6.1   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Martin 2024-06-28 13:20:29 UTC
SUMMARY
CS2 crashes when ALT+TABbing, especially when doing so quickly. 

STEPS TO REPRODUCE
1. Launch CS2 from Steam under Flatpak (not sure if Flatpak is necessary to trigger, probably not)
2. Ensure game is set to Fullscreen or Windowed Fullscreen
3. ALT+TAB a couple of times, the game will freeze, crash or both

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.1.1
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.2
Kernel Version: 6.9.6-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 7600X 6-Core Processor
Memory: 62.0 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 4090/PCIe/SSE2
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: X670 AORUS ELITE AX

ADDITIONAL INFORMATION

Downstream older report on Arch forums - https://bbs.archlinux.org/viewtopic.php?id=290162

This can worked around by setting the game to Windowed (not Windowed Fullscreen), but that triggers another Plasma bug making the panel show over the game - https://bugs.kde.org/show_bug.cgi?id=485100
Comment 1 David Edmundson 2024-07-12 12:29:27 UTC
If an application crashes, that's an application problem. Sorry.
Comment 2 Martin 2024-07-12 13:38:39 UTC
Alright, up we go - https://github.com/ValveSoftware/csgo-osx-linux/issues/3754. 

But CS2 may not be the only game it happens for - what about games that will simply not receive an update, are they unsupported by kwin under Wayland?