Bug 489374 - Counter Strike 2 crashes on alt tabbing unless set to windowed
Summary: Counter Strike 2 crashes on alt tabbing unless set to windowed
Status: RESOLVED NOT A BUG
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: git-stable-Plasma/6.1
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-28 13:20 UTC by Martin
Modified: 2024-07-12 13:38 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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?