steam-for-linux icon indicating copy to clipboard operation
steam-for-linux copied to clipboard

New Steam UI is slow and unresponsive and lags entire system

Open Skrappjaw opened this issue 2 years ago • 22 comments

Your system information

  • Steam client version (build number or date): 8-6-23
  • Distribution (e.g. Ubuntu): OpenSuse Tubleweed
  • Opted into Steam client beta?: [No]
  • Have you checked for system updates?: [Yes]
  • Steam Logs: [generate by running this command in a terminal tar -zcvf ~/Desktop/steam-logs.tar.gz ~/.steam/steam/logs]
  • GPU: Nvidia rtx 2060

Please describe your issue in as much detail as possible:

Steam lags my entire system on load for up to 10 or 15 minutes when I start the client. Client gets past the loading screen and then lags when the store and library load. System is unusable. Even the sound lags,

Steps for reproducing this issue:

  1. Start Client.
  2. Go to the pub
  3. Come back and hope it is done lagging. steam-logs.tar.gz steam system info

Skrappjaw avatar Aug 07 '23 01:08 Skrappjaw

Hello @Skrappjaw, please copy your system information from Steam (Steam -> Help -> System Information) and put it in a gist, then include a link to the gist in this issue report.

kisak-valve avatar Aug 07 '23 01:08 kisak-valve

Hello @Skrappjaw, please copy your system information from Steam (Steam -> Help -> System Information) and put it in a gist, then include a link to the gist in this issue report.

Done

Skrappjaw avatar Aug 07 '23 02:08 Skrappjaw

Same issue here, the interface will start lagging the entire system on loading some elements. I suspect an Xorg related issue since sound does not seem to be affected, it stays smooth the entire time, I have yet to try on a Wayland setup. https://gist.github.com/drlkf/20dd695b01533e216a3b24f61dbcf12c

drlkf avatar Dec 01 '23 15:12 drlkf

I'm experiencing a very similar issue, the steam client makes the whole system laggy and unusable for about 20-30 seconds on startup and when updating games. I'm using X11 with Gnome.

Steam Version:  1701289036
Steam Client Build Date:  Wed, Nov 29 11:59 AM UTC -08:00
Steam Web Build Date:  Wed, Nov 29 11:03 AM UTC -08:00
Steam API Version:  SteamClient021
Operating System Version:
Ubuntu 22.04.3 LTS (64 bit)
Kernel Name: Linux
Kernel Version: 6.2.0-37-generic
X Server Vendor: The X.Org Foundation
X Server Release: 12101004
X Window Manager: GNOME Shell
Steam Runtime Version: steam-runtime_0.20231024.64411
Video Card:
Driver: NVIDIA Corporation NVIDIA GeForce RTX 3090/PCIe/SSE2
Driver Version: 4.6.0 NVIDIA 545.23.06
OpenGL Version: 4.6
Desktop Color Depth: 24 bits per pixel
Monitor Refresh Rate: 59 Hz
VendorID: 0x10de
DeviceID: 0x2204
Revision Not Detected
Number of Monitors: 1
Number of Logical Video Cards: 2
Primary Display Resolution: 2560 x 1440
Desktop Resolution: 2560 x 1440
Primary Display Size: 23.50" x 13.23" (26.97" diag), 59.7cm x 33.6cm (68.5cm diag)
Primary Bus: PCI Express 16x
Primary VRAM: 24576 MB
Supported MSAA Modes: 2x 4x 8x 16x

rdyro avatar Dec 01 '23 19:12 rdyro

After disabling the iGPU in BIOS, the stutter on startup goes away.

This also fixes another issue I had with steam on Linux where some games wouldn't launch (Last of US Part I). The error output seems to indicate some confusion between nvidia (for the eGPU) and radeon (for the iGPU) drivers.

My CPU is Ryzen 5 7600X.

rdyro avatar Dec 09 '23 19:12 rdyro

My CPU doesn't even have an iGPU yet I'm still getting severe stuttering on the entire system when launching steam image

Wemmy0 avatar Dec 19 '23 16:12 Wemmy0

Same issue here, the interface will start lagging the entire system on loading some elements. I suspect an Xorg related issue since sound does not seem to be affected, it stays smooth the entire time, I have yet to try on a Wayland setup. https://gist.github.com/drlkf/20dd695b01533e216a3b24f61dbcf12c

I have the same issue, and I figured out it's related to wine and my GPU (Intel Arc A770). I get the exact same stuttering/freezing behaviour described above when I start any application through wine (or proton). I suspect steam is verifying the integrity of the installed games, launching some background proton stuff which results in the stutters on startup. Would be interresting to check if this happens on anyone elses machines. In my case it was sufficient to launch Notepad++ through wine to replicate it, but only when using my Intel GPU (swaping it with an old Nvidia card solved the issue, but thats not a solution to me, and I too suspect an Xorg related issue being the root cause). I have an AMD iGPU, which is disabled in BIOS.

Trayshar avatar Dec 21 '23 11:12 Trayshar

Also an Intel Arc A770 user, same issue. I'm using the XFCE desktop, Xorg & I'm on Artix Linux an Arch fork.

Yorizuka avatar Dec 25 '23 02:12 Yorizuka

Same issue on Arch, Xfce4 as DE (Xorg). It's like a year since it started. Ended up not opening Steam if possible... I have to close it entirely to stop the lag. Very frustrating.

FraYoshi avatar Jan 09 '24 01:01 FraYoshi

Same issue here, the interface will start lagging the entire system on loading some elements. I suspect an Xorg related issue since sound does not seem to be affected, it stays smooth the entire time, I have yet to try on a Wayland setup. https://gist.github.com/drlkf/20dd695b01533e216a3b24f61dbcf12c

i can confirm the issue does not appear on my setup after migrating to wayland (i3 -> sway)

drlkf avatar Jan 09 '24 08:01 drlkf

i can confirm the issue does not appear on my setup after migrating to wayland (i3 -> sway)

So can I. Issue does not appear with Wayland on my KDE Plasma Manjaro system (kwin WM). Also, the games don't take forever to load anymore, I just thought that was wine's fault lol

Trayshar avatar Jan 11 '24 15:01 Trayshar

I just found out that the problem was solved once I re-installed xdg-desktop-portal-gtk which I removed at the time lags started to happen for Steam.. check out if it solves it for you too...

FraYoshi avatar Mar 04 '24 01:03 FraYoshi

For me it turned out that Steam was using the Integrated Graphics instead of the system default dedicated graphics. Fully disabling the iGPU in the BIOS fixed the issue for me.

This also explains why I only ran into this after upgrading to a faster CPU; My old CPU didn't have integrated graphics.

Steam had stopped starting for me after a big operating system update and comment https://steamcommunity.com/app/221410/discussions/0/3051736373892813276/?ctp=3#c4358998952355858858 made me disable the iGPU to get Steam starting again.

JulianGro avatar May 11 '24 08:05 JulianGro

same issue here but i noticed that the problem doesn't exists in flatpak now im looking for their differences

NotMurPh avatar Jun 07 '24 16:06 NotMurPh

Same problem on Ubuntu 24.04 with RTX A2000, 555.52.04 driver running on Xorg and an i7 8700. Steam deb installed. 180Hz Alienware monitor.

bkdwt avatar Jun 27 '24 03:06 bkdwt

Updated to 22.04 recently and this has gotten a lot worse. On 20.04, disabling hardware acceleration mostly fixed it. Now that makes no difference, input is laggy across the entire system while Steam is running. Its not as extremely bad if Steam is minimized to the system tray. System (CPU and GPU) load is virtually at idle, except for a randomly high kernel load sometimes from seemingly wine processes, though there is no change in the issue while that is happening.

While Steam is running, all HID inputs are laggy and constantly stutter, all windows and desktop UIs are very slow to respond, any video playback is choppy... pretty much anything displaying to the desktop environment is borked.

Steam hasn't been this bad since the initial UI update and before the previous working mitigation on 20.04. Currently Steam is unusable.I'm going to reinstall the NVIDIA drivers to see if that makes any difference, then switch to the flatpack as others have suggested worked for them.

https://gist.github.com/Kadah/1beaf07fd06780971f38adb48d8e2de9

Edit: 2024-06-29 Switching to flatpak resolved this almost completely. There is still the occasional hitch, but the system is usable while Steam is running and possible to run games at higher than an effective 5fps on a 3090ti. There is something quite wrong with the deb install.

Sys info from flatpak install: https://gist.github.com/Kadah/03000e334ab1e0a56e6b869607e2c0d1

Since that is pretty much the same to the deb install, here's the debug info. deb install: https://gist.github.com/Kadah/278421b015a2fd7d9762a3c0d70901da flatpak: https://gist.github.com/Kadah/57a988de3388cd061a495114d5eda98b

Kadah avatar Jun 29 '24 02:06 Kadah

I have the same issue and @Kadah indeed, Flatpak works better than deb, but it still freezes randomly the entire OS.

djaiss avatar Sep 11 '24 15:09 djaiss

Yes, I see the same problem too. Whenever Steam is running, drag window of other apps is slow, and web browser also slow, nautilus slow to a state that is not usable enable or disable gpu acceleration in Steam, does not resolve.

howdev avatar Sep 28 '24 06:09 howdev

Any updates on this? That "Distro Family: openSUSE" label should be removed.

awsms avatar Oct 20 '24 05:10 awsms

Any updates on this? That "Distro Family: openSUSE" label should be removed.

I found that on a hybrid graphics system with Intel and nvidia drivers, regardless of using all the recommended settings to force use of the nvidia card, steam is still attempting to use the Intel drivers. How do I know? I had to break my system packages and ability to switch to Intel by uninstalling all the Intel related GPU packages on my system.

Skrappjaw avatar Oct 20 '24 13:10 Skrappjaw

Any updates on this? That "Distro Family: openSUSE" label should be removed.

I found that on a hybrid graphics system with Intel and nvidia drivers, regardless of using all the recommended settings to force use of the nvidia card, steam is still attempting to use the Intel drivers. How do I know? I had to break my system packages and ability to switch to Intel by uninstalling all the Intel related GPU packages on my system.

That's interesting, I also have an Optimus setup (NVIDIA GPU/AMD APU). Is Steam still messing up your system when it exclusively uses NVIDIA?

awsms avatar Oct 26 '24 17:10 awsms

Replying to https://github.com/ValveSoftware/steam-for-linux/issues/9960#issuecomment-2439664044

Yes. Steam must be still attempting to use the Intel drivers while the system is set to nvidia.

Skrappjaw avatar Oct 26 '24 17:10 Skrappjaw

I have the same problem. Running Manjaro Linux with a Intel i7-8700k and Nvidia GeForce RTX 4070.

Removing libva-intel-driver from my system improved the situation considerably. At least other software is not having issues anymore when steam is running. Though steam it still stutters sometimes.

jbracker avatar Aug 17 '25 14:08 jbracker