ValveSoftware / Source-1-Games

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

[TF2] [Linux] Frame rate drops/game stutters when steam overlay is disabled #5785

Open sweglord227 opened 5 months ago

sweglord227 commented 5 months ago

BUG

After about 30 minutes in game, I begin to experience stutters caused by an extreme variance in my frames. cl_showfps 2 says my min is ~18 immediately after turning it on. This persists even outside of gameplay, in the main menu. I don't notice anything out of the ordinary in console. If you need anything else from me, please let me know.

SPECS

Operating System Version:
"Arch Linux" (64 bit)
Kernel Name: Linux
Kernel Version: 6.8.6-zen1-1-zen
X Server Vendor: The X.Org Foundation
X Server Release: 12302006
X Window Manager: Hyprland
Steam Runtime Version: steam-runtime_0.20240415.84615
Video Card:
Driver: AMD AMD Radeon RX 6700 XT (radeonsi, navi22, LLVM 17.0.6, DRM 3.57, 6.8.6-zen1-1-zen)
Driver Version: 4.6 (Compatibility Profile) Mesa 24.0.5-arch1.1
OpenGL Version: 4.6
Desktop Color Depth: 24 bits per pixel
Monitor Refresh Rate: 119 Hz
VendorID: 0x1002
DeviceID: 0x73df
Revision Not Detected
Number of Monitors: 1
Number of Logical Video Cards: 1
Primary Display Resolution: 1920 x 1080
Desktop Resolution: 1920 x 1080
Primary Display Size: 20.47" x 11.42" (23.43" diag), 52.0cm x 29.0cm (59.5cm diag)
Primary VRAM: 12288 MB
kisak-valve commented 5 months ago

Hello @sweglord227, your symptoms remind me of https://github.com/ValveSoftware/csgo-osx-linux/issues/2901. Do you happen to have the Steam overlay disabled with the game and if you do, does enabling it have an effect?

sweglord227 commented 5 months ago

i do have steam overlay disabled. i can try running the game again with it on. however looking a little closer a some other issues, this could be a duplicate of #5767. i'll get back to you in 30-45 minutes.

sweglord227 commented 5 months ago

alright 53 minutes into this session and it hasn't started yet. it's likely safe to assume that was the problem. i'm gonna keep my client running for a bit into the night tho to see if i just got lucky this time.

sweglord227 commented 5 months ago

overlay was indeed the problem. kinda makes me curious as to why having it disabled would cause issues with rendering/frame rates

eeceebee commented 5 months ago

Can confirm that this worked for me as well!

Runs flawlessly with the steam overlay enabled. I had it disabled in the past due to previous performance issues with it on.

lkirkwood commented 3 months ago

Thank you this worked for me aswell