ValveSoftware / steam-for-linux

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

New Big Picture Doesn't support Hardware Acceleration on Linux #8918

Closed papamikey closed 8 months ago

papamikey commented 1 year ago

Your system information

Please describe your issue in as much detail as possible:

Ever since the new big picture was accessible on PC, (start of this year modifying the beta file in steam to the steam decks, to today) the new big picture interface runs at about 15 fps in fullscreen (1440p). If I minimize it to 720p, it runs at about 60 fps. However, on windows, it runs at 165 fps regardless of resolution. This issue seems to affect a lot of people across different forums, hopefully it will get fixed soon.

tuxiano commented 1 year ago

Or at least valve should not remove the oldbigpicture from steam.

MonkaKokosowa commented 1 year ago

About -oldbigpicture it's working for me on non-beta. With beta i can enter on OldBigPicture pressing Alt + Enter (not clicking on bigpicture icon).

Is it stable? From what I know it wasn't removed yet, but often crashes and is very unstable without a clear reason for many users.

Leotorrente42 commented 1 year ago

I have a steam deck, and it runs great. Because of my steam deck I tried to run linux as my daily driver on my gaming pc. And yeah, it makes it hard with steam running like this.

Same issue as everyone else. Slow and buggy.

@steam Devs. What are we doing here. You wanted to support linux gaming, support linux gaming

OS: Pop!_OS 22.04 LTS x86_64 Kernel: 6.2.6-76060206-generic Shell: bash 5.1.16 Resolution: 2560x1440, 1920x1080 CPU: AMD Ryzen 5 5600X (12) @ 3.700GHz GPU: NVIDIA GeForce RTX 3080 Lite Hash Rate Memory: 32GB

urbenlegend commented 1 year ago

Works here, it's about resolution (HW Acc), Old-BPM runs only in 1080p... New-BPM works well too in 1080p. It's like on browsers, if you don't activate Video Acc (VDPAU), you can play well 1080p but 2160p is laggy.

@Hideiuke New BPM is just a web view and we've had hardware accelerated web views on Nvidia and X11 just fine in basically every browser. This is just a bug that Valve needs to fix, not some Wayland requirement like you say it is. VDPAU has no relevance here as this is not about hardware video decoding or encoding.

hmpfkafka commented 1 year ago

come on steam, this is getting embarrassing.

papamikey commented 1 year ago

does it work for anyone on the Steam Client Beta? Doesn't work for me even though they stated hardware acceleration would be enabled for Linux and Mac users.

hjpaul7 commented 1 year ago

Mac & Linux: The technical work in this update also makes it possible to enable hardware acceleration for the Mac & Linux versions of Steam, bringing them up to par with Windows. You should see snappier animations, scrolling and more responsive UI. Linux users can try the new client out today! For Mac users, you will have to wait a couple weeks as we are hard at work getting the client ready for public testing.

Noooope

youmukonpaku1337 commented 1 year ago

:(

dylanmtaylor commented 1 year ago

I'm on the beta client with the Nvidia 530 driver on an RTX 3090. I am seeing ~10 FPS in big picture mode. I'd expect much higher performance. Something seems off.

loisgomez commented 1 year ago

Affected by this as well

mthnry commented 1 year ago

Your system information

Also having severe performance issues in new bpm.

ldefarche commented 1 year ago

Me Too 🫠

OS: Kubuntu 23.04 x86_64 Kernel: 6.2.0-20-generic DE: Plasma 5.27.4 CPU: AMD Ryzen 7 3700X (16) @ 4.050GHz GPU: NVIDIA GeForce GTX 1070 GPU: NVIDIA GeForce RTX 3070 Lite Hash Rate Memory: 13552MiB / 31992MiB

SteavenGamerYT commented 1 year ago

same bug Main Laptop: Dell G15 5510 Specs of the Laptop: CPU: Intel(R) Core(TM) i7-10870H CPU @ 2.20GHz 2.21 GHz GPU: Intel UHD GPU 2: RTX 3060 Laptop GPU Moblie GPU Ram: 16.0 GB (15.8 GB usable) SODIMM DDR4 2933 MHz Storage: BC711 NVMe SK hynix 512GB, CT500P2SSD8 500GB External Storage: WD My Passport 2627 USB Device 2TB OS: Ubuntu 23.04 (512gb)

dylanmtaylor commented 1 year ago

So I did some testing, with my laptop's integrated GPU on the i7-12800H processor, I get excellent framerate and responsiveness in the UI. When I switch to the Nvidia one, it runs like a slideshow. I think this is an Nvidia-specific issue where for whatever reason it's not using GPU acceleration on those cards.

Bitwolfies commented 11 months ago

New beta notes

Fixed hidpi scaling not working on Nvidia GPUs. Fixed HW acceleration not being enabled on Nvidia GPUs. Fixed Big Picture mode performance when using Nvidia GPUs. Known issue: some visual artifacts may appear. Use -disable-desktop-gl-fallback to restore previous behaviour if desired.

Bitwolfies commented 11 months ago

Artifacts are indeed present, and its not perfect perf wise, but BPM is actually usable now on NV Linux.

hilts-vaughan commented 11 months ago

Looks like the beta resolves this slowdown for me but artifacts are definitely there. Very smooth for me.

Bitwolfies commented 11 months ago

Artifact example: Screenshot_20230517_210356

ESC key doesn't seem to back out anymore either, probably not an NV issue though.

dylanmtaylor commented 11 months ago

Artifacts are indeed present, and its not perfect perf wise, but BPM is actually usable now on NV Linux.

It is noticeably MUCH better than before. Looks like they just have to fix a few visual glitches.

papamikey commented 11 months ago

It freezes up a lot almost like a stutter when if you had hardware acceleration turned OFF these stutters wouldn't happen and it would load stuff faster

Mar2ck commented 11 months ago

For me it just crashed the entire desktop enviroment. I'm on KDE Plasma X11 and opening big picture gave a black screen then booted me to the OS login screen.

kimabjorkede commented 11 months ago

For me it just crashed the entire desktop enviroment. I'm on KDE Plasma X11 and opening big picture gave a black screen then booted me to the OS login screen.

Same here. I had it opened in windowed mode, and once I entered fullscreen it crashed my Plasma session.

TTimo commented 11 months ago

Please see if running with -disable-desktop-gl-fallback fixes this.

DanMan commented 11 months ago

On Fedora 36, Gnome 42.9, X11, Nvidia 3060Ti (driver 530.41.03) BP works really well now. Haven't even noticed artifacts yet.

But if I open a link in a new window in desktop mode by clicking it with the middle mouse button and then close the window, it seems like Steam crashes and restarts itself. Might also just be the GUI restarting, dunno. Console prints:

GLib-CRITICAL **: 15:26:28.257: g_main_context_pop_thread_default: assertion 'g_queue_peek_head (stack) == context' failed
steamwebhelper.sh[19735]: Runtime for steamwebhelper: defaulting to /home/username/.local/share/Steam/ubuntu12_64/steam-runtime-heavy
steamwebhelper.sh[19735]: glibc >= 2.34, partially disabling sandbox until CEF supports clone3()

Not sure, if that's related, but it didn't happen before this beta version was released.

TTimo commented 11 months ago

Please see if running with -disable-desktop-gl-fallback fixes this.

DanMan commented 11 months ago

Using -disable-desktop-gl-fallback does indeed fix my "closing the new window" issue.

kimabjorkede commented 11 months ago

Using -disable-desktop-gl-fallback makes Steam not crash KDE Plasma, but it also makes Big Picture refuse to run in fullscreen.

DarthElle13 commented 11 months ago

Like others the big picture UI recently seemed to be GPU accelerated on the beta branch. However, with the beta update that auto-applied this morning I am back to the same choppy awful mess. Definitely a regression at least for me.

Kernel: Linux 6.3.2-arch1-1 Desktop Environment: KDE DE w/ X11 Drivers: Nvidia 530.41.03 Steam Version: 1684535786 Steam Client Build Date: Fri, May 19 6:00 PM UTC -08:00 Steam Web Build Date: Fri, May 19 6:13 PM UTC -08:00

AMD R9 5950X EVGA 3080 Ti FTW3

freaky-m0 commented 11 months ago

Same for me. Performance was much better, but the update today got me back to a laggy UI.

Ryzen 7800X3D GeForce 4080 Manjaro Linux KDE

kisak-valve commented 11 months ago

These look like the relevant release notes in the 2023-05-19 Steam client beta.

Disabled the Nvidia desktop-gl fallback path as it was causing the process to crash.
Added the "-enable-desktop-gl-fallback" commandline switch to re-enable the desktop-gl fallback path.
freaky-m0 commented 11 months ago

@kisak-valve when I enable this option and start big-picture mode my kde session crashes/restarts xD

Edit: it worked fine before the latest patch

Edit2: now it works like expected ... maybe just a hickup. Thanks for the hint with the parameter!

freaky-m0 commented 11 months ago

@antekmeco Have you tried the parameter "-enable-desktop-gl-fallback"?

youmukonpaku1337 commented 11 months ago

hmmm for me big picture outright crashes without -enable-desktop-gl-fallback, wonder why

OpenSauce04 commented 11 months ago

For me, the beta fixes the issue on Arch, but not Gentoo...

I have not yet tried the -enable-desktop-gl-fallback flag

hidinginside commented 11 months ago

Can confirm on NVidia RTX 3080 Ti, that the "-enable-desktop-gl-fallback" fixes this problem only in combination with the beta release of the Linux Steam Client on EndeavorOS (Arch-based distro).

For clarification, anyone who wants the full-speed BPM (at least on Arch), go to Settings -> Account -> Beta Participation and change that to "Steam Beta Update", and then launch Steam with the command line option "-enable-desktop-gl-fallback". Using only one of these two things does not fix the issue for me.

Hopefully this is fixed by default soon.

freaky-m0 commented 11 months ago

With the latest beta the lags are back. Even with the "-enable-desktop-gl-fallback" parameter -.- I don't get it, why it is so hard to get this UI running on NVIDIA Cards :(

DanMan commented 11 months ago

With the latest beta the lags are back. Even with the "-enable-desktop-gl-fallback" parameter -.- I don't get it, why it is so hard to get this UI running on NVIDIA Cards :(

Cannot confirm. Still works much better than without it. New windows even don't seem to crash the desktop client anymore, or at least less often.

I'm using this one: https://store.steampowered.com/news/group/4397053/view/3731840159866842920

hidinginside commented 11 months ago

With the latest beta the lags are back. Even with the "-enable-desktop-gl-fallback" parameter -.- I don't get it, why it is so hard to get this UI running on NVIDIA Cards :(

Cannot confirm. Still works much better than without it. New windows even don't seem to crash the desktop client anymore, or at least less often.

I'm using this one: https://store.steampowered.com/news/group/4397053/view/3731840159866842920

Same, I am on the latest beta update, and I can still get a proper big picture UI with "-enable-desktop-gl-fallback".

dylanmtaylor commented 11 months ago

On the latest beta without any flags, I am seeing horrible performance in BPM again.

DanMan commented 11 months ago

On the latest beta without any flags, I am seeing horrible performance in BPM again.

Then you clearly haven't read the changelog or this thread, because both would have told you that's to be expected.

Hideiuke commented 11 months ago

Working well with "Steam Beta Sneak Peak" and "-enable-desktop-gl-fallback"

shadywack commented 11 months ago

As of the May 25th update on the beta channel, I'm getting no artifacting witht the nVidia driver and "-enable-desktop-gl-fallback"

Bitwolfies commented 11 months ago

As of the May 25th update on the beta channel, I'm getting no artifacting witht the nVidia driver and "-enable-desktop-gl-fallback" Screenshot_20230527_120311

Same beta, still present with the command option

youmukonpaku1337 commented 11 months ago

works here, no artifacting

t4cmyk commented 11 months ago

Working well with "Steam Beta Sneak Peak" and "-enable-desktop-gl-fallback"

Same for me

papamikey commented 11 months ago

working okay, nowhere near the performance of windows, but at least its usable! on windows I get 165 fps and on this i get around 60 to 80. Still artifacts, not that bad. The stuttering happens in the places it would in windows, it just a little worse. Stutters a lot when scrolling on the home page. Stutters a little bit more with animated pictures cause it also loads the hero in the backdrop even though you can barely see it. But again, great job, still needs work. Thanks Valve! image

papamikey commented 11 months ago

sss Only happens with hardware acceleration, rare chance it shifts the whole ui over. I take back my previous statement, the stuttering can be completely random and can take up to 5 seconds especially with animated photos, which is odd because in windows animated photos dont change the performance I believe

ldefarche commented 11 months ago

Working well with "Steam Beta Sneak Peak" and "-enable-desktop-gl-fallback"

Same for me

how aplic this is changes ? @t4cmyk

plokil commented 11 months ago

Big Picture is smooth and without artifacts for me on Steam Client Beta Sneak Peek with "-enable-desktop-gl-fallback" argument. Without this argument big picture is laggy My system: Arch Linux with Nvidia 1050ti and proprietary driver version 530.41.03. Steam version is 1685072487

Mar2ck commented 11 months ago

For me it just crashed the entire desktop enviroment. I'm on KDE Plasma X11 and opening big picture gave a black screen then booted me to the OS login screen.

This now only happens when using -enable-desktop-gl-fallback for me, without that arg it's back to being super laggy but atleast not crashing my desktop.