[REGRESSION] [535.54.03] The entire screen is frequently flickering
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
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.
@voodoos Could you please share nvidia bug report for entire screen and top portion flickering separately. Also let us know the desktop environment and display configuration used for both issues. It might be helpful if you can share screenshots for each option like "Display Device Information", "X Server Display Configuration", "X Screen", "OpenGL Settings" displayed under nvidia-settings.
The issue definitely happens using X11. Here's a video (sorry for the bad quality):
1.mp4 As you can see at the top, there's a black bar that flickers for like half a second. This happens every minute or so; seems unpredictable.
Card: GTX 1650 Super Driver: any 535.xx (currently 535.104.05) Display: any (tested on Asus VG279QM @280Hz, LG C1 48' @120hz, Samsung 32' TV @60Hz, Philips 43' TV @60Hz) Cable: either HDMI or DisplayPort System: any Linux distro (tested on x64: PorteuX 0.5, Slackware current, Fedora 38 and Pop_OS! 22.04) Kernel: it seems it doesn't matter, but currently 6.3.13 and tested on 6.2.16
I hadn't been able to record a video of what was happening here, but it was exactly the same problem. Until there is a driver update, I solved it by regressing it to 525 (the one I'm using) or 470.
@voodoos Could you please share nvidia bug report for entire screen and top portion flickering separately. Also let us know the desktop environment and display configuration used for both issues. It might be helpful if you can share screenshots for each option like "Display Device Information", "X Server Display Configuration", "X Screen", "OpenGL Settings" displayed under nvidia-settings.
I thought I posted everything a few weeks ago, but must have forgotten...
I only witness whole-screen going on and off, no top-screen flicker. I captured a video:
https://github.com/NVIDIA/open-gpu-kernel-modules/assets/5031221/595f1eae-530d-49cb-be35-9825685c6bdb
And here is my nvidia report generated a few seconds after the video: nvidia-bug-report.log.gz
Hardware:
- Nvidia RTX 1070 (no OC)
- AOC 27" LED - Q27G2U/BK QHD 144Hz Freesync / Compatible G-Sync
- Connected via a displayport cable (more on that later)
Software:
- Arch linux, kernel 6.5.2-arch1-1
- Driver version 535.98-1. (I cannot upgrade to 535.104.05-1 because it make all game massively stutter ~1fps)
- Flickering happens on Gnome and Plasma X11
- No flickering at all on Gnome and Plasma Wayland (but games which run very smooth on X11 stutter on wayland when under 60fps)
- Enabling "maximum performance" power usage appear to worsen the issue (flicker is more frequent)
Screenshots when connected via DP
and when connected via HDMI (apparently gsync/freesync is not detected)
Workaround
Today I finally found a workaround: I connected my screen viaHDMI instead of Displayport and it seems like the issue disappeared completely. Its not perfect since I sometimes need the HDMI output for another screen but it is much better. I will change my DP cable soon to check if the cable was actually the issue or not and keep you updated. I have used windows for years on the exact same configuration without issues so I doubt the cable is wrong.
@amrit1711 : I would like to open an issue for my 535.104.05 driver stuttering issue. What is the correct place to open issues for the proprietary version of the driver ?
I also have that top-of-the-screen flickering as well on X11; for context, I use HDMI on a 3840x2160@60Hz TV (via 2080 Ti) I've had this issue on both Arch and Gentoo (moved from Arch to Gentoo recently)
Reminder for Nvidia, just in case, it does happen with HDMI too; not sure why it goes away for @ voodoos on their setup :/
@voodoos Thanks a lot for sharing all the information related to flickering issue. You can post stuttering issue along with repro steps and video on below developer forum. https://forums.developer.nvidia.com/c/gpu-graphics/145
@amrit1711 I have more: I tried disabling adaptative fps directly on my screen OSD menu (not in nvidia settings). Now the flicker has disappeared both when connected with a DP and HDMI cable. So my issue is definitively linked to GSYNC.
edit: and wayland gameplay fluidity has also improved a lot
@amrit1711 I have more: I tried disabling adaptative fps directly on my screen OSD menu (not in nvidia settings). Now the flicker has disappeared both when connected with a DP and HDMI cable. So my issue is definitively linked to GSYNC.
edit: and wayland gameplay fluidity has also improved a lot
Tried this as well, I still got black flickering with 3 different displays and any combination of GSYNC / Adaptive sync settings. It doesn't happen when the GPU is under load, like when in a game.
The issue gets worse at higher refresh rates, at 120 and 144 only the top quarter of the screen flickers, at 240 it's the whole screen, and on one of the screens it doesn't reconnect automatically. This pretty much makes it unusable for normal desktop usage.
I keep seeing the occasional comment that the issue has gone away. It hasn't. I think people need to really double check before posting the issue has gone away, I've tried so many things but none of these actually make the issue go away. It might reduce it a little, but it just keeps coming back every time.
I am using Kubuntu 22.04 I don't have gsync I am not using wayland I have an RTX 2080
I have tried setting nvidia-settings to max performance as suggested, but it does nothing, it might improve it a little at first, but it won't fix it. The flicker will just keep coming back.
@robvdl
What's your exact monitor model and what kind of connection (DP/HDMI) is being used?
EVGA RTX 2080, connected via DP, initially I ran it straight to my screen (Dell IPS 60hz 2560x1440 professional series) but recently I was given a 4 port Startech DP KVM so run it through there now. I don't think it made a difference, I almost was going to post that running through the KVM fixed it but it just came back.
My monitor is Dell UltraSharp UP2716D
My flicker is at the top of the screen, very fast, I'm not seeing the screen go completely black for ages like some people are.
I also have an RTX 2080 and a LG UltraGear 27GL850-B, and use Linux Mint (did a fresh install yesterday). If I set refresh rate to 144Hz, I get really bad flickering (black screen for 2-3 seconds every few seconds). If I set the refresh rate to 120Hz, the screen works perfectly fine. It's connected via DP.
edit: it works with 144Hz on windows though
We are able to repro top screen flickering issue on GeForce GTX 1660 SUPER (TU116-B), team is investigating the cause behind it.
Also got some weird artifacts on an RTX 2070 Super after one of the flickers on driver 535.104.05 at 240hz.
I can report the same problem with screen flickering all over the place. I'm corrently using the latest version of Manjaro with NVIDIA RTX 2060 (12GB) and Xiaomi's Mi Curved 34" PC screen at 144Hz. I also got the same flickering in both Ubuntu and EndeavourOS.
In Manjaro Linux I am using the 535.104.05 driver version.
GeForce GameReady 537.34 drivers (released 9/12/23)
Open Issues:
- Some monitors may display random black screen flicker when in Display Stream Compression mode when using R530 drivers [4034096]
- [RTX 4060 Ti] Display may randomly flicker with a black bar on the top of the screen when using desktop apps [4239893]
NVIDIA hasn't been able to fix flickering even in their Windows drivers yet. I guess with the focus on AI they have stopped caring about their true and tested customers. Prices up by up to 90%, QA/QC down by up to 90%.
I guess next beta for linux is coming next week. I hope any fix will be included with that
NVIDIA driver 535.113.01 for Linux has been released:
https://www.nvidia.com/download/driverResults.aspx/211711/en-us/
No word on display flickering fixes. It's worth giving it a try anyways.
I got rid of flickering by connecting another monitor, I guess the load makes it work properly now, it draws >45W at all times. Having one at 240Hz and another one at 144Hz seems to work for me.
NVIDIA driver 535.113.01 for Linux has been released
This is the production branch. I still expect a new beta 545.x in the near future
tested driver version 535.113.01 from testing arch linux repo, there is still some flickering on top half monitor.
- Gsync is off.
- KDE with X11. nvidia-bug-report.log.gz