ValveSoftware / steam-for-linux

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

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

Open Lifeismana opened 9 months ago

Lifeismana commented 9 months ago

Your system information

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:

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 commented 8 months ago

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 commented 8 months ago

Same issue on arch with nvidia-550.54.14-4

lavavex commented 7 months ago

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 commented 7 months ago

Also have this, Nobara 39 nVidia 550.67 drivers

DeeKahy commented 6 months ago

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 commented 6 months ago

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 commented 6 months ago

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

Karlinator commented 6 months ago

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 commented 6 months ago

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 commented 6 months ago

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

st3iny commented 6 months ago

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 commented 6 months ago

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 commented 6 months ago

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 commented 5 months ago

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 commented 5 months ago

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

Exotic0015 commented 5 months ago

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 commented 5 months ago

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

oriori1703 commented 5 months ago
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 commented 5 months ago

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 commented 5 months ago

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

Arcitec commented 4 months ago

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:

https://github.com/ValveSoftware/steam-for-linux/issues/10912#issuecomment-2120487111

shadywack commented 4 months ago

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 commented 4 months ago

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 commented 4 months ago

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 commented 4 months ago

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 commented 4 months ago

Still happens on NVIDIA driver 555.58.02.

Arcitec commented 4 months ago

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 commented 3 months ago

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 commented 3 months ago

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 commented 3 months ago

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

Did you try the beta?

PacketAuditor commented 3 months ago

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

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

TarsiSurdi commented 3 months ago

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 commented 2 months ago

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

ethanbergstrom commented 2 months ago

Seems to be fixed for all the areas I encountered it with the September stable release of Steam + NVidia 560 drivers.

Very happy to see good progress on this long-standing issue!

Lifeismana commented 2 months ago

it's indeed fixed for the main window but there's still cases with corruptions

In the friend list when hovering a friend's profile (hovering another profile and then coming back seems to "fix it" but it might happen again for another hover window) image And randomly some right click menu (i wasn't able to find an easy case to "fix" the corruption) image

Since it seems to be random for both case, it's probably some implicit sync somewhere Hopefully, steamos general release (soon™) makes valve support wayland instead of using xwayland

PacketAuditor commented 2 months ago

Yep, absolutely not fixed.

DaRealNim commented 2 months ago

This issue is still occurring for me in some dropdown menus or right click menus. In most cases I can fix it by moving away and opening the menu again, but it's still very consistently glitched in the friends list and other places. EndeavourOS wayland, nvidia driver version is 560.35.03-6, steam client version is 1726683985 (Wed, Sep 18 7:13 PM UTC +01:00), opted into the steam beta.

image