[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.
I have noticed that if you use OBS and start recording the blinking stops happening. Maybe my comment is very silly but it could give some clue...
I have noticed that if you use OBS and start recording the blinking stops happening. Maybe my comment is very silly but it could give some clue...
No, I've seen the blinking at the top of my screen even with OBS recording (maybe less often), but it's not visible in the resulting record.
RTX2070S, Arch 6.4.2, nvidia 535.54.03-7. Single 60Hz Dell screen. Changing power mode from Auto to Performance in driver settings reduces flickering to somehow acceptable level, but that's not really a valid solution.
HDMI-0 connected primary 2560x1440+0+0 (normal left inverted right x axis y axis) 597mm x 336mm
2560x1440 59.95*+
535.86.05 driver released and all the issues are still present.
- Screen blackouts
- Screen FPS stuttering with VRR enabled and multi monitor: issue link
- VRR not syncing with full screen games on Wayland with multi monitor
@thesword53
Can you try loading nvidia-modeset with the parameter 'disable_vrr_mclk_switch=1' and see if that resolves your issues?
Can you try loading nvidia-modeset with the parameter 'disable_vrr_mclk_switch=1' and see if that resolves your issues?
Enabling the kernel parameter solves the following issues.
- Screen blackouts
- Screen FPS stuttering with VRR enabled and multi monitor
but the GPU is stuck to P0 state and idle power is 58W instead of 22W. It also partially solve that issue: https://github.com/NVIDIA/open-gpu-kernel-modules/discussions/261
Thanks for checking. Per the changelog:
Fixed a bug that could cause some Variable Refresh Rate (VRR) monitors to flicker by allowing the refresh rate to drop below the monitor's minimum.
we made some changes that we were hoping would help with this, but it sounds like there are still some issues remaining. disable_vrr_mclk_switch=1 disables the entire feature that allows for leveraging VRR to extend vblank on configurations where there wouldn't be a long enough vblank to change memory clocks without glitches. Something seems to still be going wrong with it on some configurations. Disabling it of course works around any issues, but as you noted, without this feature some configurations will remain pegged at P0.
I suspect that the "screen FPS stuttering" issue that you mention is an expected consequence of the feature, since extending vblank briefly can result in a lower effective refresh rate. However, if is disrupting your experience, it's possible that something might be making it more noticeable than it should be.
I suspect that the "screen FPS stuttering" issue that you mention is an expected consequence of the feature, since extending vblank briefly can result in a lower effective refresh rate. However, if is disrupting your experience, it's possible that something might be making it more noticeable than it should be.
The "screen FPS stuttering" issue also affects Windows and previous driver versions (530, 525). It also only affects my 2560x1440@144 VRR screen (1920x1080@75 VRR screen is not affected).
@thesword53
Are you sure that it happens on 530? I would expect it to happen on 525.116.04 but not 530.41.03.
Are you sure that it happens on 530? I would expect it to happen on 525.116.04 but not 530.41.03.
No on Linux because the GPU stuck to P0 state, but yes on Windows.
I can confirm 535.86.05 doesn't fix the flicker issue on Linux, as seen in this video:
https://github.com/NVIDIA/open-gpu-kernel-modules/assets/27843666/0e31f2e4-58dc-4d7a-a74f-520228867f8c
I have a GTX 1650 Super + Asus VG279QM display with VRR set to 280 Hz at the moment.
- Reverting to
525.85.05fixes the problem. - Lowering the refresh rate to 240 Hz or less alleviate the issue a bit but I can still see some flickering here and there.
Thank you @thesword53 and @fulalas, those findings are consistent with my suspicions.
Just wanted to give an update after upgrading to the newly released 535.86.05 drivers. The issue still persists on my GTX 1650 GPU. Albeit the frequency of the flicker has reduced.
Nvidia Driver: 535.86.05 GPU: GeForce GTX 1650 OS: Arch Linux Kernel: 6.1.38-2-lts GNOME Shell: 44.3 Windowing System: X11 Screen Resolution: 2560x1440 @ 144Hz
Edit: Spoke too soon. Now I see long flickers with the screen blacking out for nearly 3 seconds.
535.86.05 doesn't fix it for me, either. Like for @shashanknimje above, the flicker doesn't happen as often anymore, though, but it still does. EDIT: for me it's only the flickering on top of the screen (across both monitors), no complete screen blanking, blackouts or signal loss.
GPU: NVIDIA TU116 (GeForce GTX 1660 Ti) Driver: 535.86.05 Monitor: 2x AOC 24G2SPU @ HDMI (=> no VRR, G-SYNC only works on DP inputs) OS: Slackware64-15.0 Kernel: 6.1.39 DE: GNOME 44 on X11 (no Wayland) Screen Resolution: 3840x1080 @ 60Hz (= 2x 1920x1080 @ TwinView)
I can confirm
535.86.05doesn't fix the flicker issue on Linux, as seen in this video: nvidia-linux-flicker.mp4I have a GTX 1650 Super + Asus VG279QM display with VRR set to 280 Hz at the moment.
1. Reverting to `525.85.05` fixes the problem. 2. Lowering the refresh rate to 240 Hz or less alleviate the issue a bit but I can still see some flickering here and there.
I didn't notice flickering like yours (I am using Plasma on Wayland) but my main screen literally randomly loses video signal for ~1s when I do some basic things that elevate GPU power sate (opening browser, loading video with NVDEC, etc...). The 535.98 Windows driver was also affected by the same bug and I have experienced it. 536.23 drivers fixed screens black outs.
Why wasn't the same patch applied to 535.86.05 Linux drivers?
I've also been experiencing the same issue the last two or three months with the proprietary drivers, including with the latest. (535.86.05) Some key highlights based on the discussion so far:
- I'm running 2 monitors at 3840x2160 at 60 Hz on DP. I am NOT using VRR and G-SYNC is not enabled on either monitor.
- I am using KDE Plasma through X11, and mainly see the issue with flickering at the top of my primary monitor. I also tried with Wayland, but had periods where my secondary screen completely blanked out similar to @thesword53.
- Best I can tell the 535.86.05 update had minimal if any impact.
More detailed system information:
- GPU: GeForce RTX 2080
- Driver: 535.86.05
- Distro: Arch Linux
- Kernel: 6.4.4
- DE: KDE Plasma 5.27.6 X11
- Monitors, both at 3840x2160 60 Hz and connected to DP:
- Primary: DELL U2720Q
- Secondary: BenQ PD2700U
Even after upgrading to version 535.86.05-0ubuntu0.22.04.1 the behavior remains the same. I'm running 1 monitor (LG) at 3840x2160 at 60 Hz on DP Ubuntu Gnome X Server
Linux hal 5.19.0-50-generic #50-Ubuntu SMP PREEMPT_DYNAMIC Mon Jul 10 18:24:29 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Distributor ID: Ubuntu
Description: Ubuntu 22.04.2 LTS
Release: 22.04
Codename: jammy
nvidia-compute-utils-535 535.86.05-0ubuntu0.22.04.1 amd64 NVIDIA compute utilities
nvidia-dkms-535 535.86.05-0ubuntu0.22.04.1 amd64 NVIDIA DKMS package
nvidia-driver-535 535.86.05-0ubuntu0.22.04.1 amd64 NVIDIA driver metapackage
nvidia-firmware-535-535.86.05 535.86.05-0ubuntu0.22.04.1 amd64 Firmware files used by the kernel module
nvidia-kernel-common-535 535.86.05-0ubuntu0.22.04.1 amd64 Shared files used with the kernel module
nvidia-kernel-source-535 535.86.05-0ubuntu0.22.04.1 amd64 NVIDIA kernel source package
NVIDIA driver 535.98 is out, claims to have fixed this bug again:
• Fixed an issue which caused the following error message to appear spuriously when using SLI with the NVIDIA Open GPU Kernel Modules: • (EE) NVIDIA: Unable to disable FB size compare • Fixed a bug which prevented DKMS from registering kernel modules. • Fixed a bug which could cause the screen to flicker.
Too bad many people here seemingly have standard 60Hz monitors.
https://www.nvidia.com/download/driverResults.aspx/210317/en-us/
NVIDIA driver 535.98 is out, claims to have fixed this bug again:
Fixed a bug that could cause some Variable Refresh Rate (VRR) monitors to flicker by allowing the refresh rate to drop below the monitor's minimum.
Too bad many people here seemingly have standard 60Hz monitors.
https://www.nvidia.com/download/driverResults.aspx/210317/en-us/
Yeah, I have a standard 59–60 Hz monitor, and don't understand how "VRR" can be related to me.
By the way, I see reports this update helped for someone: https://forums.developer.nvidia.com/t/flickering-at-the-top-of-the-screen/256447/48
I'll check it later for myself.
The release highlights on the webpage for 535.98 are the same as for 535.86.05, so I think something may have gone amiss there.
Nonetheless, 535.98 does contain another fix so please do check if it helps resolve your flickering issues.