Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Corrupted web views on the first load when enabling GPU accelerated rendering #10537

Open
Lifeismana opened this issue Feb 27, 2024 · 33 comments

Comments

@Lifeismana
Copy link

Lifeismana commented Feb 27, 2024

Your system information

  • Steam client version: 1708985249
  • Distribution : Arch Wayland
  • Opted into Steam client beta?: Yes
  • Have you checked for system updates?: Yes
  • Steam Logs: steam-logs.tar.gz
  • GPU: Nvidia 550

Please describe your issue in as much detail as possible:

Web views are corrupted when enabling GPU accelerated rendering
image

One way to fix this corruption (other than disabling GPU accelerated rendering) is to resize the window.
Keeping GPU accelerated rendering does have some odd behaviors like:

  • when switching from the library to a web view (store/community), while the page is loading, the steam client has no background (i can see the desktop/apps behind)
    Fixed
    image

  • when making the client fullscreen while on a web view, the page becomes black and the only way to make it appear correctly again is to go the library and then open a new link (not the same one as the black page) (this behaviour also happens with GPU accelerated rendering disabled)
    Fixed by Steam Client Beta - April 26th
    Screenshot_20240418_223424

Steps for reproducing this issue:

  1. Enable GPU accelerated rendering
  2. Restart Steam (Might require the start location to be anything other than the Library for it to happen)
@Steamvoker
Copy link

Steamvoker commented Mar 7, 2024

Same issue on version 1709757778 (beta client).

Screenshot_20240307_200727

Distribution : EndeavourOS Wayland
Driver: Nvidia 550.54.14

Everything is fine when using X11 (with or without acceleration).

@vparitskiy
Copy link

Same issue on arch with nvidia-550.54.14-4

@lavavex
Copy link

lavavex commented Apr 5, 2024

Same with nvidia-open 550.67-3
EndeavourOS
Kernel 6.8.2-arch
Nvidia 3080
KDE Plasma 6 Wayland
Maybe an update to Chromium Embedded Framework will fix this? I know that lots of Electron apps have issues on wayland/nvidia due to using old versions of chromium as its base...

@shadywack
Copy link

Also have this, Nobara 39
nVidia 550.67 drivers

@DeeKahy
Copy link

DeeKahy commented May 10, 2024

same here.
OS: NixOS 24.05 (Uakari) x86_64
Kernel: Linux 6.6.30
DE: Plasma 6.0.4 (Wayland)
GPU: NVIDIA GeForce
Driver Version: 550.78

Steam Version: 1714854927

@Chechare
Copy link

Same here

OS: Fedora 40 x86_64
Kernel: Linux 6.8.9-300
DE: Plasma 6.0.4 (Wayland)
GPU: NVIDIA GeForce
Driver Version: 550.78

imagen

@DeeKahy
Copy link

DeeKahy commented May 24, 2024

Nvidia driver 555 doesn't seem to fix this issue.

@Karlinator
Copy link

I've got the full explicit sync pipeline now on Fedora 40 (Nvidia 555 from Negativo17, Fedora's patched Kwin, and Xwayland 24.1 from Fedora Rawhide), and this issue still persists. Steam opens like this every time, but resizing the window makes it go away.

Using Steam installed from RPMFusion.

@Lifeismana
Copy link
Author

Can confirm same thing on arch, seems like it's an issue with Xwayland
Maybe it would be fixed if the steam client switched to "native" wayland but afaik, that's not possible due to overlays and notifications

@zaxen
Copy link

zaxen commented May 28, 2024

Same problem on Arch + Plasma 6.1 beta + nvidia drivers v555

@st3iny
Copy link

st3iny commented May 30, 2024

I have the same issue on nvidia beta drivers 555.42.02 with the full explicit sync pipeline on KDE 6.1 beta. However, disabling GPU accelerated web views fixes the issue completely.

@matte-schwartz
Copy link

matte-schwartz commented May 31, 2024

GPU accelerated web views and the hardware video decoding options can both be enabled on client versions lower than 1708985249 without any artifacting or corruption on 555.42.02, so I suspect that "Updated embedded Chromium build in Steam, clearing path for further updates soon." may be the real start of what's going on here: https://store.steampowered.com/news/app/593110/view/4161959294800836361

Screenshots from build 1705108172 (January 12th, 2024) with GPU accelerated web view/video decoding both enabled:

335414448-b0fadbfd-897b-402a-85e7-3dd44499a042
335414540-4768136f-f893-4546-9391-f08005cddcaf

ah... looking in my logs, it seems like this may be working because GPU acceleration gets forced off:

[2024-05-30 18:10:25] Browser - launching child process with: /home/matt/.local/share/Steam/ubuntu12_64/steamwebhelper --type=renderer --disable-seccomp-filter-sandbox --force-device-scale-factor=1.00 --log-file=/home/matt/.local/share/Steam/logs/cef_log.txt --field-trial-handle=10801534465028200290,8939724852856840481,131072 --enable-features=CastMediaRouteProvider --disable-features=SameSiteByDefaultCookies --disable-gpu-compositing --enable-blink-features=ResizeObserver,Worklet,AudioWorklet --disable-blink-features=Badging --lang=en-US --log-file=/home/matt/.local/share/Steam/logs/cef_log.txt --product-version=Valve Steam Client --force-device-scale-factor=1.00 --buildid=1705108172 --steamid=0
[2024-05-30 18:10:25] Disabling GPU acceleration due to --disable-gpu-compositing (renderer)

@Vash63
Copy link

Vash63 commented May 31, 2024

Same issue here. It makes Big Picture mode unusable as hardware acceleration is basically a requirement, at 4k it runs at 5FPS without it.

@devnoot
Copy link

devnoot commented Jun 10, 2024

Same issue. Just updated to nvidia 555 hoping it would fix the issue, but nothing :(. The workaround is to disable gpu acceleration but as @Vash63 stated, it makes the menus near unusable.

@pati08
Copy link

pati08 commented Jun 13, 2024

Same issue here. Running NixOS unstable with Hyprland and nvidia 555 proprietary drivers.

@Exotic0015
Copy link

Same here. Fedora 41 Branched with Plasma 6.1, Wayland and Nvidia 555.52.04 open drivers. Disabling GPU accelerated rendering in web views fixes artifacts.

Screenshot_20240615_221033

@reydeljuego12345
Copy link

Same problem here in x11 with gamescope, but also I have a Issue with gamescope and incomplete mouse cursor.

@oriori1703
Copy link

oriori1703 commented Jun 22, 2024

I have the same issue on nobara 40 with nvidia:
Computer Information:
Manufacturer: ASUSTeK COMPUTER INC.
Model: TUF GAMING B550M-PLUS (WI-FI)
Form Factor: Desktop
No Touch Input Detected
Processor Information:
CPU Vendor: AuthenticAMD
CPU Brand: AMD Ryzen 7 5800X 8-Core Processor
CPU Family: 0x19
CPU Model: 0x21
CPU Stepping: 0x0
CPU Type: 0x0
Speed: 5360 MHz
16 logical processors
8 physical processors
Hyper-threading: Supported
FCMOV: Supported
SSE2: Supported
SSE3: Supported
SSSE3: Supported
SSE4a: Supported
SSE41: Supported
SSE42: Supported
AES: Supported
AVX: Supported
AVX2: Supported
AVX512F: Unsupported
AVX512PF: Unsupported
AVX512ER: Unsupported
AVX512CD: Unsupported
AVX512VNNI: Unsupported
SHA: Supported
CMPXCHG16B: Supported
LAHF/SAHF: Supported
PrefetchW: Unsupported
Operating System Version:
"Nobara Linux 40 (KDE Plasma)" (64 bit)
Kernel Name: Linux
Kernel Version: 6.8.12-201.fsync.fc40.x86_64
X Server Vendor: The X.Org Foundation
X Server Release: 12401000
X Window Manager: KWin
Steam Runtime Version: steam-runtime_0.20240610.91380
Video Card:
Driver: NVIDIA Corporation NVIDIA GeForce RTX 2070/PCIe/SSE2
Driver Version: 4.6.0 NVIDIA 555.52.04
OpenGL Version: 4.6
Desktop Color Depth: 24 bits per pixel
Monitor Refresh Rate: 143 Hz
VendorID: 0x10de
DeviceID: 0x1f02
Revision Not Detected
Number of Monitors: 2
Number of Logical Video Cards: 1
Primary Display Resolution: 2560 x 1440
Desktop Resolution: 4480 x 1440
Primary Display Size: 23.50" x 13.23" (26.97" diag), 59.7cm x 33.6cm (68.5cm diag)
Primary VRAM: 8192 MB
Sound card:
Audio device: Nvidia GPU 93 HDMI/DP
Memory:
RAM: 31989 Mb
VR Hardware:
VR Headset: None detected
Miscellaneous:
UI Language: English
LANG: en_IL.utf8
Total Hard Disk Space Available: 1870904 MB
Largest Free Hard Disk Block: 1730787 MB
Storage:
Number of SSDs: 4
SSD sizes: 2000G,2000G,1024G,1000G
Number of HDDs: 0
Number of removable drives: 0

@Chechare
Copy link

I have noticed that if you resize the windows once it will start working fine on driver 555. It will keep rendering without issues until you close again the window.

@Lifeismana
Copy link
Author

That's not specific to the 555 driver and i already mentioned it in the initial issue

@Arcitec
Copy link

Arcitec commented Jul 11, 2024

I turned off all hardware acceleration for now, to "fix" it. The glitches are happening on: Fedora 40 (GNOME 46), NVIDIA 555 driver, Wayland, with Steam hardware acceleration enabled.

I see that Valve are aware of the issue, so all we can do is wait:

#10912 (comment)

@shadywack
Copy link

This originally was reported for the Flatpak client but is acknowledged and still an issue with the .deb client. Now that nVidia on Wayland is the default going forward, the current Steam client and big picture mode are severely limited and broken until they correct this issue.

@cbmiller2610
Copy link

cbmiller2610 commented Jul 16, 2024

This is still an issue on the RPM from the official repos on openSUSE Tumbleweed, Gnome Wayland, NVIDIA 3060Ti, 555.58.02 drivers. Steam Big Picture is extremely laggy without HW acceleration on, and corrupted with it turned on.
image

@Lifeismana
Copy link
Author

Lifeismana commented Jul 17, 2024

This appears to have been fixed recently, i can't reproduce it anymore be it on the last stable or beta client

Although it might have been a fix by nvidia since driver version 555.52.04 mentions this in its changelog

Temporarily disabled the GLX_EXT_buffer_age extension on Xwayland to work around a bug that could cause corruption.

But it doesn't appear to be a full fix since it still happens on the right click menu (making that glitch disappear on that menu is harder since it randomly comes back, moving the steam window around might help, same goes for right clicking again if it's a glitchy menus that opens)
Screenshot_20240717_114739

(At first, i thought it could be that "GPU accelerated rendering" is disabled but i doubt it since it still happens on the right click menu)

@Lifeismana
Copy link
Author

last beta client also doesn't have that invisible window glitch when transitioning from the library to a web view vs the stable client

when switching from the library to a web view (store/community), while the page is loading, the steam client has no background (i can see the desktop/apps behind)
image

@h7io
Copy link

h7io commented Jul 17, 2024

Still happens on NVIDIA driver 555.58.02.

@Arcitec
Copy link

Arcitec commented Jul 17, 2024

But it doesn't appear to be a full fix since it still happens on the right click menu (making that glitch disappear on that menu is harder since it randomly comes back, moving the steam window around might help, same goes for right clicking again if it's a glitchy menus that opens)

@Lifeismana Thanks for your report about the beta changes. It happens on NVIDIA 555 with the latest STABLE Steam release. I have not tried the beta.

The right click issue seems important, if the fix is only partial, so I am highlighting it by quoting you again.

@shadywack
Copy link

Latest Steam beta as of this writing, nVidia 555.58.02 driver, 6.10.02 kernel on Nobara (Fedora), accelerated web views toggled on, and it's mostly fixed.

When hovering over some menus I can briefly see scrambled text that corrects itself in approx 11-18ms. Big picture/Deck mode shows no corruption at all whatsoever. Looks like I'm staying with beta until this code reaches stable Steam client release.

Thanks Valve!

@PacketAuditor
Copy link

Any progress on this? I am still experiencing it. I can get around by resizing the main window, but when right clicking things it's annoying.

image

NVIDIA 555.58.02
OS: EndeavourOS x86_64
Host: X570 AORUS ELITE (-CF)
Kernel: Linux 6.10.2-zen1-1-zen
DE: KDE Plasma 6.1.3
WM: KWin (Wayland)
CPU: AMD Ryzen 9 5900X (24) @ 3.70 GHz
GPU: NVIDIA GeForce RTX 3080 [Discrete]

@shadywack
Copy link

shadywack commented Aug 27, 2024

Replying to #10537 (comment)

Did you try the beta?

@PacketAuditor
Copy link

PacketAuditor commented Aug 27, 2024

Replying to #10537 (comment)

No change on beta and 560.35.03. Still just when right clicking stuff.

@TarsiSurdi
Copy link

With the 560.35.03 drivers and Steam Beta client I'm not seeing any corruption on the store page or library anymore, however when hovering any of the menus for "Store", "Library", "Community" or my profile the dropdown options are still corrupted as well as the "Special Offers" window that sometimes shows up when you first open Steam.

@deaglenomics
Copy link

This is fixed for me when using steam beta and nvidia 560 driver. No issues with any dropdowns/menus etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests