steam-for-linux icon indicating copy to clipboard operation
steam-for-linux copied to clipboard

Immense store flicker on Nvidia Wayland

Open EntityinArray opened this issue 1 year ago • 48 comments

Your system information

  • Steam client version (build number or date): 1702079146
  • Distribution (e.g. Ubuntu): Arch Linux
  • Opted into Steam client beta?: [Yes/No] No
  • Have you checked for system updates?: [Yes/No] Yes
  • Steam Logs: [generate by running this command in a terminal tar -zcvf ~/Desktop/steam-logs.tar.gz ~/.steam/steam/logs] steam-logs.tar.gz
  • GPU: Nvidia RTX 3060

Please describe your issue in as much detail as possible:

Entire Steam interface is flickering, but flicker becomes most intense when opening the Store page This flicker only occurs on Nvidia under Wayland I recorded a video that shows the flicker:

https://github.com/ValveSoftware/steam-for-linux/assets/18554021/f59a3b6c-3333-4f8a-ae44-e27792aa612d

Steps for reproducing this issue:

  1. Use Steam, open the Store page
  2. Notice flicker

EntityinArray avatar Dec 23 '23 12:12 EntityinArray

Same issue here on Wayland with NVIDIA RTX 3090 GPU and proprietary drivers.

Resizing Steam window to a smaller one seems to reduce amount of flickering.

Disabling GPU Accelerated rendering in web views solves the flickering, but UI is unresponsive, slow and barely usable.

12c76dc avatar Dec 26 '23 01:12 12c76dc

same issues on Nvidia RTx 4090 GPU. It flicker. libEGL warning: egl: failed to create dri2 screen

knutj avatar Dec 26 '23 11:12 knutj

Same with fedora. The issue is with the nvidia driver version 545.29.06-1 (and a bit better with 545.29.06-2) when using wayland. it mostly affects chromium based rendering but also other windows and will cause some games to lag quite hard. if you downgrade to nvidia driver version 535.129.03 all works fine.

DEvil0000 avatar Jan 06 '24 21:01 DEvil0000

Same with fedora. The issue is with the nvidia driver version 545.29.06-1 (and a bit better with 545.29.06-2) when using wayland. it mostly affects chromium based rendering but also other windows and will cause some games to lag quite hard. if you downgrade to nvidia driver version 535.129.03 all works fine.

For me problem still occurs under wayland with 535.113.01-2 driver

Oh, sorry, i misread the driver version, will try 535.129.03

Tried 535.129.03 and 535.146.02 (it was recommended for RTX 3060 on nvidia driver download site), it still flickers the same way

EntityinArray avatar Jan 07 '24 07:01 EntityinArray

Same here. Arch, nvidia 545.29.06-9

haivala avatar Jan 07 '24 12:01 haivala

I believe we could try fixing this bug by updating the steam client to use latest chromium. Web browser and other web apps work fine and don't show this flickering. Maybe old chromium that Steam uses is the issue?

EntityinArray avatar Jan 08 '24 16:01 EntityinArray

I see a similar flicker in the wayland/nvidia driver 545 version combination with the latest chromium on fedora. I do not see this with x or with the older 535 version driver. On my laptop I do only see it on displays connected to the nvidia card but not the laptops internel display when connected (hw mux) to the integrated amd gpu. So basicaly if gnome renders directly to the nvidia card but rendering it via the amd gpu is fine. That would mean a chromium version upgrade may likely not fix it - it may however still help. BTW afaik such nvidia driver issues are known to nvidia and they are working on improving things but it is going since quite a while now.

DEvil0000 avatar Jan 08 '24 23:01 DEvil0000

Same issue here. The flickering makes changing game options or making a purchase impossible at times.

j0rbshua avatar Jan 14 '24 13:01 j0rbshua

Same problem, Using ArchLinux on nVIDIA 3050 Ti Mobile

mhkarimi1383 avatar Jan 27 '24 18:01 mhkarimi1383

Same issue, legacy Intel iGPU, no dGPU. I'm on EndeavourOS with KDE. This doesn't seem to be an nvidia issue

MysticAx0lotl avatar Jan 31 '24 15:01 MysticAx0lotl

Same issue 545.29.06-2 Fedora 39 RTX 4080 Super

mikerkelly87 avatar Feb 14 '24 23:02 mikerkelly87

I am also hitting this issue on Fedora 39 (both Kinoite and Silverblue "universal blue" images) with Nvidia driver 545.29.06-2 on my 3090.

dylanmtaylor avatar Feb 18 '24 07:02 dylanmtaylor

Same Issue, Arch + Hyprland, RTX 3060 Had similar flickering in Vivaldibrowser (chromiumbased), was able to resolve it using webrtc and ozone flags. None of these issues appeared on my Arch + Hyprland Laptop (no Nvidia) or on any X WMs

Faervan avatar Feb 24 '24 20:02 Faervan

Same issue, Arch + gnome + wayland + nvidia-beta 550.54.14-1 driver RTX 4070 ti super. Flickering in steam and in address bar of google-chrome and a menus in steam are a mess. I believe it's wayland because it's all fine on x11.

gurius avatar Feb 28 '24 13:02 gurius

Same issue 550 Fedora 40 RTX 3080

danielriedmueller avatar Mar 03 '24 21:03 danielriedmueller

Same issue, Arch + gnome + wayland + nvidia-beta 550.54.14-1 driver RTX 4070 ti super. Flickering in steam and in address bar of google-chrome and a menus in steam are a mess. I believe it's wayland because it's all fine on x11.

Forgot to mention my setup uses Wayland as well, and since I've seen this issue on Intel, that leads me to believe that you're correct in saying it's a Wayland issue (especially since Steam doesn't seem to have native Wayland support, it uses xwayland instead)

MysticAx0lotl avatar Mar 04 '24 18:03 MysticAx0lotl

Disabling GPU-acceleration in web views significantly reduces flickering, but does not eliminate it. It still flickers frequently, but not quite as dramatically. Additionally, it is much less responsive.

I'm experiencing this in the Library and everywhere else in the Steam client.

I have an RTX 2060S. I'm using Arch Linux with nvidia 550.54.14-4, KDE Plasma 5.27.10, on Wayland.

kekkoudesu avatar Mar 05 '24 05:03 kekkoudesu

Similar trouble with Nvidia 550.54.14-4 on Fedora 39 in Gnome Wayland.

knutj avatar Mar 06 '24 16:03 knutj

Same trouble arch, hyperland/kde

UserCommon avatar Mar 07 '24 14:03 UserCommon

I have a similar issue with Plasma Wayland on Opensuse Tumbleweed. Kernel Version: 6.7.7-1-default. NVIDIA 550.54.14.

codebori avatar Mar 07 '24 15:03 codebori

I have the same issue, Plasma 6 Wayland on EndeavourOS. Kernel Version: 6.7.8-273-tkg-eevdf, NVIDIA driver 550.54.14

terminal-case avatar Mar 07 '24 16:03 terminal-case

I have the same issue

Brensom avatar Mar 08 '24 10:03 Brensom

Same Problem for a long time.

550.54.14 Nvidia-Optimus (Geforce 940MX) , wayland, Arch-Linux, Gnome 45.4. Hope it will be fixed some day..

cosinustangens avatar Mar 09 '24 03:03 cosinustangens

Same Problem for a long time.

550.54.14 Nvidia-Optimus (Geforce 940MX) , wayland, Arch-Linux, Gnome 45.4. Hope it will be fixed some day..

I think this is directly related to NVIDIA not implementing implicit sync. It will hopefully be fixed when Wayland compositors have a working implementation of the new explicit sync protocol: https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/90

Simon Ser commented last week:

Alright, this looks ready to ship! Will wait for a bit and merge if there are no further comments.

GNOME, KDE, and Weston have given this an ACK which means there will be implementations in all of these compositors hopefully sometime soon.

NVIDIA will be shipping an explicit sync implementation in an upcoming driver release. Hopefully soon!

kekkoudesu avatar Mar 09 '24 05:03 kekkoudesu

Arch + Gnome + Wayland + Intel XE Same

Seemingly it has flickered enough to be satisfied while I left the Store page opened and alt-tabbed to read this thread, flickering is gone. But I am sure it will return on the next run until the protocol mentioned above is implemented on all sides.

Bitals avatar Mar 16 '24 11:03 Bitals

Arch + Gnome + Wayland + Intel XE Same

Further proves my theory that this isn't an NVIDIA issue

MysticAx0lotl avatar Mar 17 '24 04:03 MysticAx0lotl

@Faervan

Had similar flickering in Vivaldibrowser (chromiumbased), was able to resolve it using webrtc and ozone flags.

I'm facing the same issue. Would you mind sharing exactly what those flags were? I already have the ozone flag.

hmnd avatar Apr 01 '24 20:04 hmnd

@Faervan

Had similar flickering in Vivaldibrowser (chromiumbased), was able to resolve it using webrtc and ozone flags.

I'm facing the same issue. Would you mind sharing exactly what those flags were? I already have the ozone flag.

have a look at https://github.com/Alex313031/thorium/issues/446#issuecomment-1842656564

Faervan avatar Apr 02 '24 11:04 Faervan

I had GPU acceleration disabled already and it was still flickering, now I disabled smooth scrolling in web views and the flickering is gone, for now.

mikajed avatar Apr 02 '24 18:04 mikajed

This has been awful for me for some time now, it would be great if Valve could place more focus on the Wayland switchover; it would make the steam deck a much more polished and smooth experience if it could run in Wayland and my desktop being able to run Wayland without Steam constantly giving me a very adverse epilepsy test would be very welcome.

Can also confirm that this isn't just an arch issue, as I am running gentoo with ~amd64 with the proprietary nvidia drivers and kde plasma 6 wayland session.

witcheslive avatar Apr 06 '24 01:04 witcheslive