ValveSoftware / csgo-osx-linux

Counter-Strike: Global Offensive
http://counter-strike.net
774 stars 69 forks source link

Crashes on `ALT+TAB` under Wayland unless set to windowed #3801

Open C0rn3j opened 2 months ago

C0rn3j commented 2 months ago
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
Full system info ```yaml Computer Information: Manufacturer: Gigabyte Technology Co., Ltd. Model: X670 AORUS ELITE AX Form Factor: Desktop No Touch Input Detected Processor Information: CPU Vendor: AuthenticAMD CPU Brand: AMD Ryzen 5 7600X 6-Core Processor CPU Family: 0x19 CPU Model: 0x61 CPU Stepping: 0x2 CPU Type: 0x0 Speed: 5453 MHz 12 logical processors 6 physical processors Hyper-threading: Supported FCMOV: Supported SSE2: Supported SSE3: Supported SSSE3: Supported SSE4a: Supported SSE41: Supported SSE42: Supported AES: Supported AVX: Supported AVX2: Supported AVX512F: Supported AVX512PF: Unsupported AVX512ER: Unsupported AVX512CD: Supported AVX512VNNI: Supported SHA: Supported CMPXCHG16B: Supported LAHF/SAHF: Supported PrefetchW: Unsupported Operating System Version: Freedesktop SDK 23.08 (Flatpak runtime) (64 bit) Kernel Name: Linux Kernel Version: 6.9.7-arch1-1 X Server Vendor: The X.Org Foundation X Server Release: 12401000 X Window Manager: KWin Steam Runtime Version: steam-runtime_0.20240610.91380 Video Card: Driver: NVIDIA Corporation NVIDIA GeForce RTX 4090/PCIe/SSE2 Driver Version: 4.6.0 NVIDIA 555.58.02 OpenGL Version: 4.6 Desktop Color Depth: 24 bits per pixel Monitor Refresh Rate: 239 Hz VendorID: 0x1002 DeviceID: 0x164e Revision Not Detected Number of Monitors: 3 Number of Logical Video Cards: 2 Primary Display Resolution: 2560 x 1440 Desktop Resolution: 8960 x 2160 Primary Display Size: 23.23" x 13.15" (26.65" diag), 59.0cm x 33.4cm (67.7cm diag) Primary VRAM: 24564 MB Sound card: Audio device: USB Mixer Memory: RAM: 63440 Mb VR Hardware: VR Headset: None detected Miscellaneous: UI Language: English LANG: en_GB.UTF-8 Total Hard Disk Space Available: 959809 MB Largest Free Hard Disk Block: 170251 MB Storage: Number of SSDs: 13 SSD sizes: 8001G,8001G,6001G,6001G,3000G,2048G,2000G,0B,0B,0B,0B,0B,0B Number of HDDs: 0 Number of removable drives: 0 ```

Steps for reproducing this issue:

  1. Use kwin - may not be necessary, but that's my compositor
  2. Launch CS2 from Steam under Flatpak - Flatpak may not be necessary to trigger
  3. Ensure game is set to Fullscreen or Windowed Fullscreen
  4. ALT+TAB a couple of times, the game will freeze, crash or both

Downstream report on Arch Forums Report on KDE's kwin tracker - they blame the app.

ilievi187 commented 1 month ago

Replying to https://github.com/ValveSoftware/csgo-osx-linux/issues/3801#issue-2405606172

I have observed this issue in both Windows 10 and 11. Initially, I thought it was just due to Windows' poor drivers, but I have realized it's actually a CS2-related problem (though the drivers are still problematic). .