open-gpu-kernel-modules icon indicating copy to clipboard operation
open-gpu-kernel-modules copied to clipboard

[REGRESSION] [535.54.03] The entire screen is frequently flickering

Open birdie-github opened this issue 3 years ago • 252 comments

NVIDIA Open GPU Kernel Modules Version

535.43.02

Does this happen with the proprietary driver (of the same version) as well?

Yes

Operating System and Version

Fedora 38

Kernel Release

6.3.5

Hardware: GPU

NVIDIA GeForce GTX 1660 Ti

Describe the bug

The screen is constantly flickering, no matter what applications are running.

In Firefox it's happening every few seconds. In other "simple" applications it's less frequent.

To Reproduce

Install.

Bug Incidence

All the time

nvidia-bug-report.log.gz

nvidia-bug-report.log.gz

More Info

This is a regression.

I've reverted to 530.41.03 and it's all good.

Windows users seem to be affected as well. Could be a code change which affects both drivers.

birdie-github avatar May 31 '23 11:05 birdie-github

@fulalas I had same display model with me, so I tried on Intel and AMD based systems but did not observe flickering. Could you please share nvidia bug report and also confirm desktop environment and its version.

Dell Precision T7610 + Fedora release 38 (Thirty Eight) + kernel 6.3.8-200.fc38.x86_64 + NVIDIA GeForce GTX 1650 SUPER + 535.104.05 + Display VG279QM + Resolution 1920 x 1080 + Refresh Rate as 280 Hz OMEN by HP 25L Gaming Desktop GT15-0xxx + AMD Ryzen 7 5700G with Radeon Graphics + kernel 6.3.8-200.fc38.x86_64 + NVIDIA GeForce GTX 1650 SUPER + 535.104.05 + Display VG279QM + Resolution 1920 x 1080 + Refresh Rate as 280 Hz Opened couple of youtube videos and pdf in firefox brower and used it for 30 minutes but did not observe flickering.

amrit1711 avatar Aug 29 '23 12:08 amrit1711

@amrit1711, I see this issue happening in many different desktop environments, but I'm currently using Xfce 4.18. On GNOME 42/44 it's a bit trickier to see because the top panel is also black, but it definitely happens there too.

Also, because the flicker happens in a fraction of a second, it will depend on the eyes of the observer. My mum wouldn't see it, for sure :P So maybe recording could be a good idea. Even better if you could change the top part of the screen to a bright color to increase the contrast.

Here's my nvidia bug report: nvidia-bug-report.log

In case you're wondering, using ForceCompositionPipeline/ForceFullCompositionPipeline or not doesn't make any difference.

fulalas avatar Aug 29 '23 18:08 fulalas

After update from 535.98 flicker occurs less frequent in my case.

Distro: Arch Linux Kernel: 6.4.12-arch1-1 RAM: 16 GB GPU Driver: 535.104.05 GPU: NVIDIA GeForce GTX 1660 SUPER CPU: AMD Ryzen 5 3600 (12) @ 3.600GHz Monitor: BENQ XL2411P 144hz Adaptive-Sync/FreeSync/G-Sync = OFF, Connected via DP. DE: Plasma 5.27.7 Server: X11

nvidia-bug-report.log.gz

neczju avatar Aug 29 '23 21:08 neczju

My issue has always been that the gamma looks like and ramps up and down, more of a flutter issue. Happens across both of my displays, one LG C1 48 HDMI2.1 and a DP1.4 ACER 165hz 1440p screen. I don't actually see any BLACK screens, just gamma fluttering up and down.

Quite annoying. And to top it off, this issue also exists and has been getting worse under Windows11 drivers also so isn't Linux exclusive. If I turn off VRR it still happens, once upon a time turning that off fixed the issue (mostly) but I guess not anymore.

jarrard avatar Aug 30 '23 04:08 jarrard

So, this issue happens on

  • Linux, FreeBSD, Windows
  • X11 + Wayland
  • DRM-driver and classic driver
  • multi-screen and single-screen
  • with and without GSYNC
  • HDMI and DisplayPort

Why is fixing this not a priority for NVIDIA?

h-2 avatar Aug 30 '23 13:08 h-2

@h-2

Linux, FreeBSD, Windows

Are you sure you're running Windows driver 537.13? Could you record a video clip and post it here please?

If you're affected please make sure you've opened a topic here:

https://www.nvidia.com/en-us/geforce/forums/game-ready-drivers/13/

birdie-github avatar Aug 30 '23 13:08 birdie-github

@birdie-github yes it happened with me too on windows but not like linux it happens sometimes you cant guess when, also the flickering appears on the down half of the screen i cant tell that issue with the driver or Microsoft edge cuz it happens only when i'm browsing on edge.

sentakuhm avatar Aug 30 '23 16:08 sentakuhm

Why is fixing this not a priority for NVIDIA?

Because... NVIDIA: it works on my machine (c)

deflock avatar Aug 30 '23 23:08 deflock

Well this issue exists under Win11 also for me.
I'll be sending my 4090 away today to someone who wants it and getting a 7900XTX. Not a big loss since NVIDIA seems to have limited support under Linux this year, like where is frame gen support even?

Was hoping things would improve and maybe they will. Sadly its clear my display configuration is just not meant to be with NVIDIA.

jarrard avatar Aug 30 '23 23:08 jarrard

I can repro issue with latest released driver 535.104.05 now where entire screen is flickering on my test system. We will be able to debug issue much easier now, thanks for being patient.

amrit1711 avatar Aug 31 '23 11:08 amrit1711

Now let's just hope that the cause is the same as the upper-half/upper-third/top-of-the-screen flicker, so that all of them get fixed eventually.

z1atk0 avatar Aug 31 '23 14:08 z1atk0

Installed a 7900XTX card and there is no flicker or blinking on any of my screens.

I have a LG C1 48" and a Acer ED270UP via DisplayPort for reference. I did have freesync premium turned off on the LG C1 so it wasn't that. VRR was enabled on both screens however.

This issue persisted on the Windows drivers also and was too annoying.

If someone has access to one of these screens perhaps its a good test case? perhaps the LG via HDMI2.1 was at fault? no idea.

jarrard avatar Sep 01 '23 02:09 jarrard

Just to add some more info that might help. In my case (Linux Mint 21.2, Liquorix Kernel 6.4.14, GeForce RTX 2060 SUPER, NVIDIA driver version 535.104.05) it flickers from time to time, but this flickering on top is WAY more noticeable in OBS Studio, with a Screen capture added as a source, on the preview screen. If I press "Record" button (I'm using NVIDIA NVENC HEVC ffmpeg 1920x1080 @ 25fps) the flickering almost disappears, but I managed to catch it in this video.

In this case, the flickering artifact is blue because it's showing the wallpaper.

pedroterrero avatar Sep 06 '23 14:09 pedroterrero

Just adding more information. I have this problem running gnome, especially using wayland which is pretty bad, but using xorg I get an eventual top flicker. However using hyprland I have no problems at all, it works perfectly. So, it's not entirely a wayland or nvidia problem.

I have a 1660 and I'm using fedora.

bvgross avatar Sep 06 '23 21:09 bvgross

I think we should distinguish the two flickering issues:

  • Entire screen flickering, the subject of this issue, reproduced recently by @amrit1711. The entire screen regularly goes completely black as seen in this video.
  • Top section of the screen "flickers" as seen in this video.

It's probably worth opening another issue for the top-of-the-screen flickers since the symptoms are quite different (although they might still be caused by the same root problem).

voodoos avatar Sep 07 '23 13:09 voodoos

I think we should distinguish the two flickering issues

At least in my case, I see the partial flicker at the top of the screen when using X11 and the full screen flickering when using Wayland. Based on my experience I'd suspect they are different manifestations of the same issue. IMO we should avoid splitting the issues and discussion unless there's clear evidence that they are truly unrelated.

akb825 avatar Sep 08 '23 07:09 akb825

Right, maybe I am the one with the different issue since my fullscreen flicker only appear on X11 😅

(Anyway, I am quite surprised by the brokenness of the nvidia on linux support, hopefully this will be solved shortly now that a reproduction has been made...)

voodoos avatar Sep 08 '23 08:09 voodoos

Right, maybe I am the one with the different issue since my fullscreen flicker only appear on X11 😅

To me it looks like the amount and size of flickering is due to timing, monitors and frame rates. There is countless configurations reacting slightly different to the same problem.

(Anyway, I am quite surprised by the brokenness of the nvidia on linux support, hopefully this will be solve shortly now that a reproduction has been made...)

If you, like me, use a combination of Nvidia/Wayland/ KDE Plasma the situation (put very friendly) is unsatisfying since several years.

taleteller avatar Sep 08 '23 08:09 taleteller

GPU: 2070 Super

For me it feels like the top section of the screen flickers when I have PowerMizer set to "adaptive" and the whole screen flickering increased when I have set that to "Prefer maximum performance" Could just be my imagination, can anyone reproduce that?

jukoby avatar Sep 10 '23 23:09 jukoby