ValveSoftware / Source-1-Games

Source 1 based games such as TF2 and Counter-Strike: Source
657 stars 76 forks source link

[Linux] [Vulkan] TF2 causes X11 to hang on Hybrid graphics (Optimus) systems #5770

Open Loomeh opened 7 months ago

Loomeh commented 7 months ago

Problem

When ran with GameMode, Team Fortress 2 will become completely unresponsive in the loading screen that happens after the Valve intro.

I cannot ALT+TAB or quit out of the game in any way. I am forced to kill X server.

I am unsure if this is an issue with Team Fortress 2 or GameMode but I'm reporting it here just to be safe.

Steps to reproduce

  1. Add gamemoderun %command% to the game's launch options through Steam.
  2. Launch the game through Steam.

System information

OS: Arch Linux x86_64 Host: ASUSTeK COMPUTER INC. FX506HC Kernel: 6.8.5-zen1-1-zen DE: Plasma 6.0.4 WM: KWin CPU: 11th Gen Intel i5-11400H (12) @ 4.500GHz GPU: Intel TigerLake-H GT1 [UHD Graphics] GPU: NVIDIA GeForce RTX 3050 Mobile Display protocol: X11 Memory: 16GB DDR4

All packages are up-to-date.

SolAZDev commented 6 months ago

Can confirm, this is happening in my Arch install as well, but I'm not running nvidia nor am I runnning gamemode

OS: Garuda Linux x86_64 Host: Laptop 16 (AMD Ryzen 7040 Series) AG Kernel: 6.8.8-zen1-1-zen Uptime: 1 min Battery: 94%% [Discharging]

CPU: AMD Ryzen 7 7840HS w/ Radeon 780M Graphics (16) @ 6.08 GHz ENA GPU: AMD Radeon RX 7700S @ 1.82 GHz [Discrete] GPU: AMD Phoenix1 @ 1.53 GHz [Integrated] Memory: 7.75 GiB / 60.64 GiB (13%)

SolAZDev commented 6 months ago

I found a fix https://github.com/ValveSoftware/Source-1-Games/issues/5649#issuecomment-2080250670 set %command% -refresh {your refresh rate} -freq {your refresh rate}

Loomeh commented 4 months ago

After doing some research I've changed the issue topic to be more accurate.