ValveSoftware / steam-for-linux

Issue tracking for the Steam for Linux beta client
4.25k stars 175 forks source link

Stutter/intense fps drops with Steam overlay #8591

Open milkkelsen opened 2 years ago

milkkelsen commented 2 years ago

Your system information

Please describe your issue in as much detail as possible:

Opening Steam overlay and then closing it rapidly can cause intense stutters and fps drops, and this only happens if you move the mouse around after closing the overlay; if there's no movement from the mouse, the fps remains the same.

This is a strange issue I've been having on both Xorg and Wayland/Xwayland, and to me, it seems to occur especially if you open the overlay while a game is loading. It's not tied with the game itself and likely an overlay or Proton issue since I haven't reproduced this issue on Linux Native games yet.

This issue happened recently in Barotrauma, running on Proton Experimental.

Steps for reproducing this issue:

  1. Open a game under Proton
  2. Quickly open and close Steam overlay while the game is loading, main menu or else, as long it's loading
  3. Try to move your mouse

I'll try reproducing it with a video proof if needed.

ThePyrotechnic commented 2 years ago

I have this exact problem as well.

Proton experimental GTX 2070 Super NVIDIA Drivier 510.60.02 Steam package 1653101165 API v020, Stable NixOS 21.11.337357.dff5496b128 (Porcupine)

bubbagithub647 commented 1 year ago

I too have this issue

Proton 7.0-6 512GB Steam deck Steam package 1679113038 api v020, steam deck stable SteamOS 3.4.6

LegitGreenBoi commented 1 year ago

Having the same problem on every version of Proton I've tried

NVIDIA GeForce GTX 1070 Ti Steam package 1679680416 APIv020, no beta and up to date Arch Linux 6.2.9-zen1-1-zen

mascherone108 commented 1 year ago

I've made a video where I reproduced this issue from the start and included timestamps describing the video in the description: https://www.youtube.com/watch?v=mMb-3q4hPSQ

My system info gist: https://gist.github.com/mascherone108/229a438b60e4b410dcdb39a104e78499 To add to this: It seems to be only related to mouse movement and the overlay. I suspected mouse polling rate, but changing it from 1000Hz to 500Hz did nothing (changed it using /sys/module/usbhid/parameters/mousepoll, but I am not sure whether it actually worked or not).

Also, it has been happening on both X and Wayland, on AMD and NVIDIA (haven't tried Intel iGPU), different kinds of games, versions of Steam and drivers, etc.

Side note: Can I ask any moderators to remove the overlay label from FO:NV that was added because of my report? I thought it happened only in FO:NV but that is no longer the case. The link to my report is here: https://github.com/ValveSoftware/Proton/issues/356#issuecomment-850809077

mascherone108 commented 1 year ago

A guide to reproduce the issue quickly:

  1. Run a game through Proton
  2. Hold Shift+Tab (or your own shortcut) to rapidly open and close the overlay
  3. Move your mouse in a random or circular motion for 1-3 minutes
  4. Try moving your mouse in the game quickly

You might be wondering why would anyone use the overlay like this? The answer is you don't even need to open it rapidly because it can happen even in long game sessions where you might only use the overlay every few minutes.

Why only games running through Proton?

Some things to note:

jh-devv commented 9 months ago

Is this related? The steam overlay seems to be very laggy for me

Fairlightish commented 5 months ago

Still an issue with Steam version 1718305227. The more I open and close overlay the worse it gets to the point of game becoming unplayable. NVIDIA RTX 2060 driver 550.90.07 Linux Mint 21.1

JSeamus commented 1 month ago

Still an issue with Steam version 1726683985 NVIDIA RTX 2070 driver 550.120 Linux Mint 22 Cinnamon