(SOLVED) Stutters when moving mouse after 20-30 minutes of playing

ECB@discuss.tchncs.de to Linux Gaming@lemmy.ml – 57 points –

I have a weird bug in TF2 where the game runs perfectly (144 FPS) for the first 20-30 minutes and then suddenly begins to have stutters(?) whenever I move the mouse or press a key on the keyboard. So far I haven't been able to isolate what causes the stutters to start, but it's always the same pattern, with perfect performance followed by sudden choppyness.

If I don't press anything, the game continues running smoothly at 144 FPS, even if I'm moving in game.

For reference, I'm on OpenSUSE Tumbleweed using Gnome Wayland and I have an AMD card.

The closest thing I've stumbled upon is some talk of polling rates being too high on the mouse, however I'm already tried reducing these and nothing happens.

Anyone have any ideas? I can't find anything really similar out there...

EDIT: The issue was solved by turning on the in-game steam-overlay. I had had it off for years, but for some reason having it off causes this issue in certain source-1 games... weird, but it's working great now!

11

This is a known issue with TF2, you'll need to switch to OpenGL to fix it. However, you may also need additional launch options as listed here (but try just the OpenGL switch first).

Update:

Seems that this is an issue some others are having when using Vulkan with the new 64-bit build after the recent update.

I've added some information about my setup, so hopefully they figure it out at one point.

Until then...back to opengl!

Had something similar a few years ago. I think it was in combination with Lutris. No idea when it stopped.

Do you have the Packman repository enabled? Maybe it was fixed for me with a newer Mesa or something.

I can't even remember whether I had that on the Steam Deck or on my OpenSUSE desktop. Unfortunately I can't find a bugreport about this.

Are you running TF2 through proton? TF2 has a native Linux build.

Honestly don't know if it's related or not, but the next version of Proton (I believe it's 9.0) that's coming out, has a lot of fixes, including for input issues.

~Anti~ ~Commercial-AI~ ~license~ ~(CC~ ~BY-NC-SA~ ~4.0)~