ValveSoftware / steam-for-linux

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

[GPU Acceleration] Steam Client Black/Gray Windows After Enabling GPU Acceleration #6549

Closed nightsky30 closed 2 years ago

nightsky30 commented 5 years ago

Your system information

Please describe your issue in as much detail as possible:

Enable GPU Acceleration voluntarily or be forced to use it after the most recent Steam Client Beta update, and within minutes I'm experiencing black/gray screens and instances where the library fails to load items properly.

With the black screens the entire client window is blacked out including child windows such as the friends list window.

Screenshot_2019-09-30_21-59-41

I closed these windows and reopened them using the taskbar icon and that seemed to fix the black screen temporarily.

Then I got a gray, unpopulated window in the client where the steam web browser normally displays the store, library, etc. The library should have been displayed.

Screenshot_2019-09-30_22-00-27

Then I clicked on something in the gray Library window. It did something but didn't render the click or anything in the library.

Then I clicked the Store. The store rendered properly.

Then I clicked Library again. And it showed the news feed for one of my games (from when i clicked in the gray box). But I cannot close the feed or interact with it. It then disappeared while I wasn't looking, and now the library is not responsive. Every time I open the library I get a random feed from a game that doesn't seem to respond to clicks. It is really broken.

Screenshot_2019-09-30_22-27-36

GPU Acceleration still seems very glitchy...though admittedly this is an opt-in Beta

Steps for reproducing this issue:

  1. Update to latest Steam Beta with GPU Acceleration enabled.
  2. View the Library.
  3. Open the Friends List window.
  4. Mouse over friends' status.
  5. Experience black windows
  6. Close black windows
  7. Reopen steam windows through taskbar icon.
  8. Attempt to view library.
  9. Get gray screens.
  10. Click in gray screens.
  11. Notice no rendering, but mouse indicating stuff was clicked.
  12. Load store.
  13. Attempt to load library.
  14. Notice library loads with feeds pre-rendered and non-interactable.
LiamDawe commented 5 years ago

I also had a very similar issue. Clicking Home for the Library made Steam quite unresponsive. Collections could be seen although quite unresponsive too and yet the Store page worked fine.

Reloading Steam seems to have fixed it though.

KibaGasteiz commented 5 years ago

The same is happening to me, but instead of grey screens i get frozen views of what i was seeing last time, closing the window and reopening library through the tray icon like OP said moves the view to whatever i've clicked while frozen, but then again it's frozen and can't do anything. So, frozen, i click on a game, nothing happens, close the window, reopen it, the game info is opened now, i click in another game, nothing happens, it's frozen again. PC Info: https://gist.github.com/KibaGasteiz/f90ab0f1bd5509e4139fa99b79c1c067

adojck commented 5 years ago

I have same problem like @KibaGasteiz described. I also have same GPU drivers version: NVIDIA 435.21

Maybe it is something related to NVIDIA drivers?

af7567 commented 5 years ago

Same problem also with nvidia 435.21 drivers. The main steam window and the friends list are going grey for me and the only way to fix it is to close the windows and re-open them. Resizing does show the window contents but then it goes back to grey after resizing. I can still close the steam windows by clicking the X in the top right corner even though I can't see it.

Actually it looks like I also get the "frozen view" too sometimes, not just grey windows. All the buttons on the page I am meant to be seeing are working and the cursor is changing when mousing over clickable stuff, it's just not drawing the new view without me resizing the window.

Myrddin-Wyllt commented 5 years ago

I don't have this issue on my AMD machines:

peon501 commented 5 years ago

I closed my issue, cuz its the same problem.

psymin commented 5 years ago

Same issue here.

https://gist.github.com/psymin/6035bebe694974e85352648d1a3414fe

steam-beta-friends

Launch client, right click a friend, view profile. Grey friend's list.

Gentoo, x86_64, nVidia (435.21), KDE, Steam Client beta (1570492308)

Restarting client resolves issue temporarily.

Disabling gpu acceleration for web views resolves the issue.

GuzTech commented 5 years ago

I have the same issue as @KibaGasteiz. Before running a game, the library works just fine. After I have run a game and quit, then the library screen just displays the last contents of the window. For example, when I scroll through my list of games, the UI doesn't update. But if I the go to Store and back to Library, then it renders the "updated" screen as if it did process my mouse wheel scroll event.

System information: https://gist.github.com/GuzTech/fc9ada8531cb5ed6ef1f108340c0be4f

anohren commented 5 years ago

Disabling gpu acceleration for web views resolves the issue.

That didn't work for me. It's still all black. Except the Manage Downloads screen.

nightsky30 commented 4 years ago

After re-enabling GPU Acceleration for web views I cannot seem to reproduce the issue with the latest Steam Beta client and NVIDIA 440.44 drivers.

Can anyone else confirm?

af7567 commented 4 years ago

It seems to be OK for me now too. I also have the 440.44 nvidia drivers. I didn't realise but I already had GPU acceleration enabled again so it must have auto enabled in a previous steam update?

KibaGasteiz commented 4 years ago

The client runs fine for me now too.

LiamDawe commented 4 years ago

I'm on the Steam beta, with NVIDIA 440.36 and can also confirm when turning back GPU acceleration on and restarting Steam the issue is gone.

anohren commented 4 years ago

I enabled Beta updates, relaunched and updated. I enabled GPU accelerated rendering and relaunched.

Still blackness. No improvement with or without GPU acceleration.

KibaGasteiz commented 4 years ago

I enabled Beta updates, relaunched and updated. I enabled GPU accelerated rendering and relaunched.

Still blackness. No improvement with or without GPU acceleration.

I had no issues in the last week, what's your specs, distro and driver?

anohren commented 4 years ago

what's your specs, distro and driver?

I have a Geforce GTX 550 Ti with 390 drivers on Ubuntu 19.10 64 bit

KibaGasteiz commented 4 years ago

what's your specs, distro and driver?

I have a Geforce GTX 550 Ti with 390 drivers on Ubuntu 19.10 64 bit

You should update to 440.44 drivers: sudo add-apt-repository ppa:graphics-drivers/ppa sudo apt-get update Then search and install "nvidia-graphics-drivers-440"

kisak-valve commented 4 years ago

Hello @KibaGasteiz, @anohren should not update to the 440 series driver because the nVidia 550 Ti is a Fermi generation card and that generation is currently in legacy support by the 390 series. Newer driver series do not support that card.

anohren commented 4 years ago

Is the problem mainly with the drivers? If so I guess I can't expect it to be fixed if nvidia doesn't update them anymore.

KibaGasteiz commented 4 years ago

Hello @KibaGasteiz, @anohren should not update to the 440 series driver because the nVidia 550 Ti is a Fermi generation card and that generation is currently in legacy support by the 390 series. Newer driver series do not support that card.

Oh sorry, and shouldn't he use the 440.108? https://www.gamingonlinux.com/articles/if-you-have-an-old-nvidia-8-or-9-series-gpu-theres-a-new-linux-driver-update-out-for-you.15674

anohren commented 4 years ago

Oh sorry, and shouldn't he use the 440.108?

Well, I'm a bit confused. Did you mean 340?

All I know is that the Steam client is unusable with or without GPU acceleration, with 390 and with Nouveau. Ubuntu offered me a lower numbered driver though, perhaps that's the one you're referring to. I'll give it a try.

KibaGasteiz commented 4 years ago

Oh sorry, and shouldn't he use the 440.108?

Well, I'm a bit confused. Did you mean 340?

All I know is that the Steam client is unusable with or without GPU acceleration, with 390 and with Nouveau. Ubuntu offered me a lower numbered driver though, perhaps that's the one you're referring to. I'll give it a try.

Yes, 340.108, i'm very confused with all this branches from nvidia, sorry.

anohren commented 4 years ago

Ubuntu offered 340.107. Steam is still broken with that one. I'll see if I can install the linked one, but it looks like a lot of work.

anohren commented 4 years ago

The install instructions for the linked driver were not clear enough for me to install them, sorry. I wish you good luck unbreaking the steam client.

kisak-valve commented 2 years ago

Hello, is anyone still experiencing this issue on an up to date system? It sounds like this issue was due to driver defects in legacy series of the NVIDIA driver.

LiamDawe commented 2 years ago

Nah never have an issue anymore.

anohren commented 2 years ago

My issue turned out to be missing CMPXCHG128B, so not relevant to this issue.

peon501 commented 2 years ago

That was not only on nvidia, I had this problem on old intel integrated graphics (on old ProBook 6560b) disabling gpu acceleration fixed that for me. Didnt used it in a while, so I dont know if that is fixed or not.

kisak-valve commented 2 years ago

Thanks for retesting. @peon501, if you manage to reproduce a similar issue with an up to date system, please open an new issue report to ponder that particular system further.

Closing as outdated.