ValveSoftware / steam-for-linux

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

Massive Lag & Corruption in Big Picture mode Under latest Nvidia Driver Works correctly under Gamescope - Repeat of #8918 #11255

Open tlneondo opened 2 months ago

tlneondo commented 2 months ago

Your system information

Steps for reproducing this issue:

  1. Launch RPM Fusion Steam Package
  2. Enter Big Picture mode
  3. Observe Low framerate and corruption
  4. Launch inside of gamescope, notice framerate is much much improved

Without Gamescope:

https://github.com/user-attachments/assets/6fdad3f1-e622-4d97-a74b-e0e6f1482e5b

With Gamescope:

https://github.com/user-attachments/assets/16a561ce-5b77-45e9-a67c-0c376626e5af

CptCookies12 commented 2 months ago

I don't think this is a Nvidia specific issue, I'm also seeing a similar problem on an AMD Radeon RX 6700 XT on Fedora, except the non-Gamescope performance is drastically worse than your Nvidia footage is. RPM Fusion install, tried both beta and stable, and launching with Gamescope solves the performance issue. Rest of the desktop Steam client works fine otherwise.

Steam Version: 1726256783 OS: "Fedora Linux 40 (KDE Plasma)" (64 bit) Kernel Version: 6.10.9-200.fc40.x86_64 CPU: AMD Ryzen 7 5800X3D 8-Core Processor Driver: AMD AMD Radeon RX 6700 XT (radeonsi, navi22, LLVM 18.1.6, DRM 3.57, 6.10.9-200.fc40.x86_64) Driver Version: 4.6 (Compatibility Profile) Mesa 24.1.7 Logs here: logs.tar.gz

Proxycon commented 2 months ago

Can confirm, this also applies to AMD drivers. Performance in BigPicture is extremly poor, and Steam Client crashes when connecting for remote play. Streaming only works when a game is already running in fullscreen. But this issue may be unrelated, it just appeared simultaneously in my system.

Steam Beta Branch: Stable Client Steam Version: 1726256783 OS: Nobara Linux 40 (KDE Plasma) x86_64 Kernel: 6.10.7-200.fsync.fc40.x86_64 CPU: AMD Ryzen 7 5800X3D (16) @ 4.550GHz GPU: AMD Radeon RX 6700 XT (radeonsi, navi22, LLVM 18.1.6, DRM 3.57, 6.10.7-200.fsync.fc40.x86_64 Driver: 4.6 (Compatibility Profile) Mesa 24.2.1

tnbp commented 2 months ago

This also affects AMD systems. Running in Gamescope works fine here, as does Remote Play (even without Gamescope).

The difference in performance (some report 15 FPS, some 3 FPS) may stem from running Big Picture in different resolutions (it's much slower in 2160p than 1080p).

davernos commented 2 months ago

Same issue here.

Steam Beta Branch: Stable Client Steam Version: 1726256783 OS: Nobara Linux 40 (KDE Plasma) x86_64 Kernel: 6.10.2-200.fsync.fc40.x86_64 CPU: AMD Ryzen 5 5600 (12) @ 4.468GHz GPU: AMD ATI Radeon RX 7700 XT / 7800 XT

Before the update it ran fine.

Bloodninj commented 2 months ago

Also having this same issue on Ubuntu 24.04.1. I thought it was due to changing monitors and the previous one having a higher refresh rate. This is happening on Ubuntu too so maybe the Distro Family: Fedora tag should be removed?

Steam Beta Branch: Steam Beta Update Steam Version: 1726256783 OS: Ubuntu 24.04.1 LTS Kernel: 6.8.0-44-generic x86_64 CPU: AMD Ryzen 7 5800X GPU: AMD Radeon 6700XT

System report

davernos commented 2 months ago

Also having this same issue on Ubuntu 24.04.1. I thought it was due to changing monitors and the previous one having a higher refresh rate. This is happening on Ubuntu too so maybe the Distro Family: Fedora tag should be removed?

Steam Beta Branch: Steam Beta Update Steam Version: 1726256783 OS: Ubuntu 24.04.1 LTS Kernel: 6.8.0-44-generic x86_64 CPU: AMD Ryzen 7 5800X GPU: AMD Radeon 6700XT

System report

Probably. Also the title description should remove the mention to Nvidia. Let's see if we get more reports.

tlneondo commented 2 months ago

I'm surprised that AMD users are having issues. This was one of the big downgrades I had to deal with going from my 5700XT to my current 4070 Super. The 5700XT i have running in my GF's PC now and It's not showing any issues, meanwhile my 4070 Super has the issues as described in my post.

tnbp commented 2 months ago

Weirdly, I do not seem to have this problem if I launch steam with the -bigpicture (or -tenfoot) flag outright, regardless of whether or not I'm using gamescope. EDIT to clarify: The issue is still there (i.e. performance is awful if you open Steam first and then switch to Big Picture Mode), but it does not seem to occur if you launch Steam directly into BPM. (It will re-occur if you exit and re-enter BPM.)

davernos commented 2 months ago

Weirdly, I do not seem to have this problem if I launch steam with the -bigpicture (or -tenfoot) flag outright, regardless of whether or not I'm using gamescope.

Just tested it on my desktop and I can confirm the issue is gone, using the -bigpicture flag.

dmitsuki commented 2 months ago

Weirdly, I do not seem to have this problem if I launch steam with the -bigpicture (or -tenfoot) flag outright, regardless of whether or not I'm using gamescope. EDIT to clarify: The issue is still there (i.e. performance is awful if you open Steam first and then switch to Big Picture Mode), but it does not seem to occur if you launch Steam directly into BPM. (It will re-occur if you exit and re-enter BPM.)

I'm on a 6700 xt, and I experience this same behavior. It's laggy, unless I run it with the -bigpicture flag.

99kennetn commented 2 months ago

same experience here. It runs smooth when opened with -bigpicture, but begins to lag if exiting BPM and re-entering it, or having been in the normal launcher before entering BPM.

Kubuntu 24.04 (wayland) RX 7900 GRE i5-.8600K 32GB memory

As a maybe related side note, before upgrading to the AMD gpu a couple of months back, the launcher would tank performance in som games if it was open in the background. I had to minimize the window in order for it to not take the ressouces, here BPM correctly handled ressources when it was launching games. Before upgrading i had a 1070TI and 16GB memory, but same cpu.

tlneondo commented 2 months ago

Can confirm on my Nvidia Card that launching with the -bigpicture flag fixes performance. It does appear that the left side menu shows black before the Store,library, Media etc Panel slides into place, but the performance isn't unusable.

Zolfbs commented 2 months ago

I'm also having the same issue on Ubuntu 24.04.1 Valve finally fixed the "Steam is not responding" issue that kept happening, but now this new problem has come up. I tried disabling hardware acceleration and enabling/disabling the GPU blocklist, but unfortunately, nothing works, and I use an AMD CPU and GPU

theLucasAntunes commented 2 months ago

Having the same exact issue in Windows 11.

This is not Linux-related.

Tried in both the official version and Beta version, same issue.

bradsevy commented 1 month ago

Observing the same thing on Fedora 40.

Steam Beta Branch: Stable Client Steam Version: 1726604483 OS: Fedora Linux 40 (GNOME 46) x86_64 Kernel: Linux 6.10.11-200.fc40.x86_64 CPU: AMD Ryzen 7 5800X (16) @ 3.80 GHz GPU: AMD Radeon RX 6800 Mesa 24.1.7

Proxycon commented 1 month ago

I want to add to my previous comment that the crashes in steam link streaming were caused by pipewire, so unrelated to this issue.

XDM-Inc commented 1 month ago

im having the same issue with my radeon 7900 XTX. it gets a super lag for some reason on first launch.(no visual glitches though) if i kill the overlay it will relaunch itself and fix the issue. my monitor is 2k resolution @170hz and my tv is 4k @ 120hz it lags worse on my tv

Fedora 40 (KDE edition) ryzen 5950x radeon 7900 XTX Mesa 24.1.7

NakuKoro commented 1 month ago

I'm also having the exact issue with my Radeon RX 7900 XTX

Nobara 40 Ryzen 9 7950x Radeon RX 7900 XTX Mesa 24.2.3

NakuKoro commented 1 month ago

I'm also having the exact issue with my Radeon RX 7900 XTX

Nobara 40 Ryzen 9 7950x Radeon RX 7900 XTX Mesa 24.2.3

My issue resolves itself when I launch steam gamepadui directly from the terminal (steam -gamepadui) but if I launch steam directly without -gamepadui and then launch gamepadui from the steam client the issue comes back. I think the reason why steam gamepadui doesn't lag with gamescope is because it's getting launched from the terminal with -gamepadui flag

pfych commented 1 month ago

Launching with -bigpicture fixes the issue but exiting back to normal view then returning to big picture causes the performance issues to return.

Steam Beta Branch: Stable Client Steam Version: 1726604483 OS: EndeavourOS Kernel: 6.11.3-arch1-1 CPU: AMD Ryzen 7 5800X3D GPU: AMD Radeon RX 5700 XT Driver Version: 4.6 (Compatibility Profile) Mesa 24.2.4-arch1.1

Joseph-DiGiovanni commented 1 month ago

Same results as above. Very low FPS unless I use -bigpicture. Seems to run much slower with larger resolutions indicating a hardware acceleration issue.

Steam Beta Branch: Stable Client Steam Version: 1726604483 OS: NixOS 24.05 Kernel: Linux 6.6.54 CPU: AMD Ryzen 7 7800X3D GPU: AMD Radeon RX 7900 XT Driver Version: Mesa 24.0.7

benleppke commented 1 month ago

I can confirm the same behavior described here by others. Poor performance in Big Picture mode unless Steam is launched in Big Picture mode. I also notice transparency/layering issues with the left steam panel when having this performance problem.

I am using Gnome/Wayland.

Steam Beta Branch: Stable Client Steam Version: 1726604483 OS: Bazzite 40.20240930 Kernel: 6.9.12-205.fsync.fc40.x86_64 CPU: Intel i7-9700K GPU: Nvidia RTX 2080 Driver: NVIDIA 560.35.03

DanMan commented 1 month ago

FWIW, I can not confirm this on Fedora 40 and the NV 560.35.03 driver. The only thing that matters performance wise is, if I have enabled hw-accel in web views. It's noticeably slower without it.

But if I enable hw-accel, the videos in the store become awfully choppy and slow. So I have to keep it off, still. But that's clearly a different issue altogether.

That's all in the current stable version btw.

perroboc commented 1 month ago

Same thing happens in Fedora 40 (KDE) + AMD GPU. Logs: steam-logs.tar.gz

Happens on both flatpak and rpm fusion versions.

InsaneCake commented 1 month ago

Same issue. Starting with -bigpicture helps.

Steam Beta Branch: Stable Client Steam Version: 1726604483 OS: EndeavourOS Linux x86_64 Kernel: 6.11.4-zen2-1-zen DE: Plasma 6.2.1 (Wayland) CPU: AMD Ryzen 9 3900X (24) @ 4.673GHz GPU: AMD ATI Radeon RX 7700 XT / 7800 XT

everettperiman commented 3 weeks ago

Launching with -bigpicture fixes the issue but exiting back to normal view then returning to big picture causes the performance issues to return.

Steam Beta Branch: Stable Client Steam Runtime Version: steam-runtime_0.20240806.97925 OS: Debian GNU/Linux trixie/sid x86_64 Kernel: 6.11.4-amd64 CPU: AMD Ryzen 7 5800X GPU: AMD Radeon RX 6750 XT Driver Version: 4.6 (Compatibility Profile) Mesa 24.2.4-1

korewaChino commented 3 weeks ago

I can also confirm. Happens too on Beta branch.

Operating System: Ultramarine Linux 41 KDE Plasma Version: 6.2.2 Kernel Version: 6.11.5-300.fc41.x86_64 (64-bit) Graphics Platform: Wayland Processors: 12 × AMD Ryzen 5 5600 6-Core Processor Memory: 15.5 GiB of RAM Graphics Processor: AMD Radeon RX 580 Series Steam Beta Branch: Steam Beta Update Steam Version: 1730253536 runtime-info.json

Seems like Steam for some reason reverts to Software rendering when switching from desktop to Big Picture.

hardpenguin commented 3 weeks ago

This also affects me for a long time.

I mostly use Big Picture for Remote Play on my TV. As a workaround I just set it to windowed and then Remote Play scales the Big Picture window to cover 100% of the screen.

And to me, the issue is not 100% gone when using -bigpicture option. The interface animations are still only like 80-90% fluent. I noticed that for it to work I need to obviously to enable GPU accelerated views but when I do that then the Big Picture intro video is laggy.

Running Big Picture with gamescope works like a charm though. Finally lightning fast interface animations just like on my Steam Deck! And it works with Remote Play as well. Great workaround!

Operating System: Debian Sid KDE Plasma Version: 5.27.11 Kernel Version: 6.11.4-amd64 Graphics Platform: X11 Processors: 8 × Intel® Core™ i7-4790K CPU @ 4.00GHz Memory: 15.6 GiB of RAM Graphics Processor: NVIDIA GeForce RTX 3060 Ti/PCIe/SSE2 Drivers: 535.183.06 Steam Beta Branch: Steam Beta Update Steam Version: 1730253536

hardpenguin commented 3 weeks ago

Quick update: the problem is that GPU accelerated views perform REALLY bad in the desktop mode of the client. I prefer to keep them disabled. So to get best smooth Big Picture experience I need to:

  1. Turn on GPU accelerated views
  2. Turn off Steam client
  3. Turn on Gamescope
  4. Turn back on Steam client (either in desktop then click BPM button or in Big Picture mode directly)

...and when I want to get back to best smooth desktop experience I need to perform these steps in reverse.

Not ideal!

perroboc commented 3 weeks ago

Same behaviour on Flatpak version: launching with -gamepadui makes everything work as expected. But upon exit I encounter #9565, and launching Big Picture Mode from this window makes this issue (#11255) happen again.

Launching Steam with -gamepadui from terminal:

flatpak run --branch=stable --arch=x86_64 --command=/app/bin/steam --file-forwarding com.valvesoftware.Steam -gamepadui

Steam version:

Steam Beta Branch:  Steam Beta Update
Steam Version:  1730253536
Steam Client Build Date:  Tue, Oct 29 10:27 PM UTC -04:00
Steam Web Build Date:  Tue, Oct 29 10:01 PM UTC -04:00
Steam API Version:  SteamClient021
coreybruce commented 3 weeks ago

Yeah very weird, if I launch Steam in my terminal with steam -bigpicture it's fine but as soon as I go out of big picture mode and go back in with the button on the top right hand corner it's back to laggy again and I have to close and relaunch Steam with that argument again to run correctly.

awsms commented 3 weeks ago

Still experiencing it on latest NVIDIA drivers (565.57.01) RTX4070 laptop here, basically been having this issue since the Big Picture mode/Big Picture overlay is a thing.

libboj commented 3 weeks ago

Same issue with AMD Vega 64 and 5800X3D CPU.

Is Valve on it or ?? Also the Xbox/home button doesn't trigger the Big picture mode on the beta release but does on the stable release.

coreybruce commented 3 weeks ago

Same issue with AMD Vega 64 and 5800X3D CPU.

Is Valve on it or ?? Also the Xbox/home button doesn't trigger the Big picture mode on the beta release but does on the stable release.

I noticed this issue as well

Noctis-Bennington commented 2 weeks ago

I have a MSI laptop installed with Ubuntu 24.04, AMD as CPU & GPU. The graphic card's a Radeon RX 5600m.

I can confirm I have the same issue, it happens when you change from Steam desktop mode to Big Picture, but not if you enable the "Start in Big Picture mode" option and you open Steam again.

GameKing505 commented 1 week ago

Same issue here - I'm on Arch with a 6800XT. Starting in big picture mode directly (either with the UI checkbox or with a command flag) results in a smooth experience but as soon as I exit into desktop mode and go back into Big Picture Mode it's a laggy mess.

What is the command to use if I want to launch big picture mode via gamescope? That seems to have fixed the problem for others and I'd like to try.

misterright1 commented 1 week ago

I also have the same performance issues on Windows 10, with an RTX 3090.

Remy-10 commented 1 week ago

On Arch with a 6950XT, got the same issue. Disabling smooth scrolling seems to help.

Heatsreef commented 1 week ago

Same issue here: Fedora 41, latest Kernel, Wayland, 6950XT. As previously mentioned starting steam in big picture does not yield any problems but enabling big picture afterwards gives you at most 5fps. Turning off gpu accelerated web-rendering kind of makes it a bit better, but still not usable.

perroboc commented 6 days ago

EDIT: Nope. After quitting steam and running it again, it's back to slow Big Picture Mode.

Happy to report that latest beta (updated today) seems to have fixed this issue.

Steam Beta Branch:  Steam Beta Update
Steam Version:  1731716808
Steam Client Build Date:  Fri, Nov 15 7:15 PM UTC -04:00
Steam Web Build Date:  Fri, Nov 15 9:11 PM UTC -04:00
Steam API Version:  SteamClient021
NakuKoro commented 6 days ago

Happy to report that latest beta (updated today) seems to have fixed this issue.

Steam Beta Branch:  Steam Beta Update
Steam Version:  1731716808
Steam Client Build Date:  Fri, Nov 15 7:15 PM UTC -04:00
Steam Web Build Date:  Fri, Nov 15 9:11 PM UTC -04:00
Steam API Version:  SteamClient021

Not for me

Steam Beta Branch: Steam Beta Update Steam Version: 1731716808 Steam Client Build Date: Sat, Nov 16 1:15 AM UTC -08:00 Steam Web Build Date: Sat, Nov 16 3:11 AM UTC -08:00 Steam API Version: SteamClient021

perroboc commented 6 days ago

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

Might be related to the distro, maybe? I'm using the flatpak release.

EDIT: I take it back. It's all slow again. It might have been something with the steam updater

deanrih commented 3 days ago

@tlneondo may I know the specific running script for the Gamescope case one? I want to try the related issue with it (#9834)

misterright1 commented 3 days ago

I also have the same performance issues on Windows 10, with an RTX 3090.

I have noticed that this issue happens as if it's struggling to load stuff, sometimes I wanna open the side menu, it will be like half open and I'll see the cover and background images load one by one on the home screen and after it's done doing that the menu just opens. I'm guessing as big picture is basically just a web page it doesn't cache the images/or constantly reloads them. I have a 3900x and steam is installed on a 1TB M.2 1.5Gbit Gigabyte SSD. I'll check if it does this without an internet connection later.

EDIT: Blocked steam and steamwebhelper in firewall, steam is offline but there is no difference.