[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.
Thanks for testing. That is a useful data point. We're investigating.
May it be mostly Turing-related issue? I'm experiencing this on RTX2060 on Wayland since ±515.x, and since then I have to use Nouveau instead.
Many users affected by this issue have a Turing GPU yes. There are threads on the developer forum who started talking about this problem since the release of the 530 drivers. Are you really sure this happen for you since the 515 ?
I've tried the patch and sadly, like z1atk0 and jessicamaybe, the flickering still occur. Absolutely no change with it.
Applying the patch:
git apply --stat 0001-test-revert-NV0073_CTRL_CMD_SYSTEM_CONFIG_VRR_PSTATE.patch
Give this result:
src/nvidia-modeset/src/nvkms-vrr.c | 70 +++++++-----------------------------
1 file changed, 13 insertions(+), 57 deletions(-)
So, I suppose it was correctly applied.
Just writing this post my monitor flickered 12 times (144hz + Picom GLX) Since I'm currently playing games that don't work with drivers prior to 535, I have to go back to Windows. Downgrading is not an option. Of course, if other tests must be done, I will not hesitate to come back to Linux.
GPU : RTX 2080 Monitor : Acer xb271hubmiprz
@deflock not only Turing all RTX series affected read up comments you see 3070 and 4090 and more, wayland its another problem, you can try all drivers from 515-530 no flickering on X11.
I'm not using the open-driver component atm and did a new install of EndeavourOS with a 4090 and 535 driver and don't get flickering atm (touch wood) in XFCE or Plasma X11. I have a 4k 120hz VRR primary and 165hz VRR Secondary screen.
The primary screen does GSYNC/VRR/FS-Pro etc... its a LG C1.
Doubt I can login to Plasma Wayland session still due to the hz limit bug still being around, but at least no flicker atm. Not sure what triggered it earlier because I have AllowFlipping enabled this time.
Are you really sure this happen for you since the 515 ?
Is this ticket/issue for X only? I remember nvidia added gbm in 495.x and I'm awaiting for correct Wayland support in their driver since then :) There are a lot of different flickering issues in driver. I have flickerings in the top part of the screen. For me it looks like something is broken between iGPU and dGPU buffers.
Is this ticket/issue for X only?
Nope, it affects Wayland users as well.
May it be mostly Turing-related issue? I'm experiencing this on RTX2060 on Wayland since ±515.x, and since then I have to use Nouveau instead.
The vast majority of people in this thread are indeed Turing users, but there are isolated reports from Ampere and Lovelace users as well.
I might have talked too soon, I got some flicker before but gone now. So perhaps also affects closed driver.
UPDATE: There is flickering issues under windows11 drivers also. Wouldn't be surprised if the driver was written by AI and as such ported to Linux as nvidia does.
My HDMI2.1 + cables is fine and high quality, and this isn't a issue in early drivers.
I'm now running NVidia driver 535.54.03.
I don't have this problem with or without VRR.
GPU: RTX 3060 Ti. Display: Microstep MSI G24C4 (Via DisplayPort)
I'm lucky somehow.
This seems to affect proprietary driver as well, in addition I've been running into 1 monitor going blank.
https://forums.developer.nvidia.com/t/monitor-goes-blank-for-a-few-seconds-535-54-03/258481/2
I think it could be a issue with VRR.
I am also experiencing a steady rate of intermittent flickering once every 15-30 seconds using proprietary Nvidia drivers.
Nvidia Driver Version: 535.54.03
GPU: GeForce GTX 1650
Screen Resolution: 2560x1440 @ 144Hz refresh rate
OS: Arch Linux Kernel 6.1.37-1-lts
Desktop: Gnome 44.2 & GDM 44.1 with X11 (X Server Windowing System)
This wasn't an issue prior to upgrading to 535.54.03. Hope they provide a fix soon.
Same flickering issue for me with a very similar config, also using only proprietary drivers. Also during 535 driver install I completely lose video out - monitor goes to black then to sleep. On reboot I get video but with the flickering every few minutes. The first install (via Discover) also installed oracle and lowlatency kernels, but oracle one was immediately marked as no longer needed by apt autoremove. lowlatency kernel wouldn't boot at all, removed it and the oracle kernels. Subsequent installs via driver manager still lose video out during install.
GeForce RTX 2080 Ti Founders Edition 1 monitor 1440p 144Hz connected via Displayport Kubuntu 23.04 using KDE and X11
Also during 535 driver install I completely lose video out - monitor goes to black then to sleep. On reboot I get video but with the flickering every few minutes.
Same thing happened to me as well.
Same thing here!
Distributor ID: Ubuntu
Description: Ubuntu 22.04.2 LTS
Release: 22.04
Codename: jammy
libnvidia-cfg1-535:amd64 535.54.03-0ubuntu0.22.04.1
libnvidia-common-535 535.54.03-0ubuntu0.22.04.1
libnvidia-compute-535:amd64 535.54.03-0ubuntu0.22.04.1
libnvidia-compute-535:i386 535.54.03-0ubuntu0.22.04.1
libnvidia-decode-535:amd64 535.54.03-0ubuntu0.22.04.1
libnvidia-decode-535:i386 535.54.03-0ubuntu0.22.04.1
libnvidia-encode-535:amd64 535.54.03-0ubuntu0.22.04.1
libnvidia-encode-535:i386 535.54.03-0ubuntu0.22.04.1
libnvidia-extra-535:amd64 535.54.03-0ubuntu0.22.04.1
libnvidia-fbc1-535:amd64 535.54.03-0ubuntu0.22.04.1
libnvidia-fbc1-535:i386 535.54.03-0ubuntu0.22.04.1
libnvidia-gl-535:amd64 535.54.03-0ubuntu0.22.04.1
libnvidia-gl-535:i386 535.54.03-0ubuntu0.22.04.1
nvidia-compute-utils-535 535.54.03-0ubuntu0.22.04.1
nvidia-dkms-535 535.54.03-0ubuntu0.22.04.1
nvidia-driver-535 535.54.03-0ubuntu0.22.04.1
nvidia-firmware-535-535.54.03 535.54.03-0ubuntu0.22.04.1
nvidia-kernel-common-535 535.54.03-0ubuntu0.22.04.1
nvidia-kernel-source-535 535.54.03-0ubuntu0.22.04.1
nvidia-prime 0.8.17.1
nvidia-settings 510.47.03-0ubuntu1
nvidia-utils-535 535.54.03-0ubuntu0.22.04.1
screen-resolution-extra 0.18.2
xserver-xorg-video-nvidia-535 535.54.03-0ubuntu0.22.04.1
lspci | grep ' VGA ' | cut -d" " -f 1 | xargs -i lspci -v -s {}
03:00.0 VGA compatible controller: NVIDIA Corporation TU104 [GeForce RTX 2060] (rev a1) (prog-if 00 [VGA controller])
Subsystem: NVIDIA Corporation TU104 [GeForce RTX 2060]
Physical Slot: 6
Flags: bus master, fast devsel, latency 0, IRQ 68, NUMA node 0
Memory at fa000000 (32-bit, non-prefetchable) [size=16M]
Memory at e0000000 (64-bit, prefetchable) [size=256M]
Memory at f0000000 (64-bit, prefetchable) [size=32M]
I/O ports at e000 [size=128]
Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
Capabilities: <access denied>
Kernel driver in use: nvidia
Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia
xdpyinfo | awk '/dimensions/{print $2}'
3840x2160
xrandr
Screen 0: minimum 8 x 8, current 3840 x 2160, maximum 32767 x 32767
DVI-D-0 disconnected (normal left inverted right x axis y axis)
HDMI-0 disconnected (normal left inverted right x axis y axis)
DP-0 connected primary 3840x2160+0+0 (normal left inverted right x axis y axis) 600mm x 340mm
3840x2160 60.00*+ 30.00
2560x1440 59.95
1920x1080 60.00 59.94
1600x900 60.00
1280x1024 60.02
1280x800 59.81
1280x720 60.00 59.94
1152x864 59.96
1024x768 60.00
800x600 60.32
720x480 59.94
640x480 59.94 59.93
DP-1 disconnected (normal left inverted right x axis y axis)
@mrmodolo
You must have missed the part which asks for nvidia-bug-report and your exact monitor model.
Thanks @birdie-github !
lspci | grep ' VGA ' | cut -d" " -f 1 | xargs -i lspci -v -s {}
03:00.0 VGA compatible controller: NVIDIA Corporation TU104 [GeForce RTX 2060] (rev a1) (prog-if 00 [VGA controller])
Subsystem: NVIDIA Corporation TU104 [GeForce RTX 2060]
Physical Slot: 6
Flags: bus master, fast devsel, latency 0, IRQ 68, NUMA node 0
Memory at fa000000 (32-bit, non-prefetchable) [size=16M]
Memory at e0000000 (64-bit, prefetchable) [size=256M]
Memory at f0000000 (64-bit, prefetchable) [size=32M]
I/O ports at e000 [size=128]
Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
Capabilities: <access denied>
Kernel driver in use: nvidia
Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia
xdpyinfo | awk '/dimensions/{print $2}'
3840x2160
xrandr
Screen 0: minimum 8 x 8, current 3840 x 2160, maximum 32767 x 32767
DVI-D-0 disconnected (normal left inverted right x axis y axis)
HDMI-0 disconnected (normal left inverted right x axis y axis)
DP-0 connected primary 3840x2160+0+0 (normal left inverted right x axis y axis) 600mm x 340mm
3840x2160 60.00*+ 30.00
2560x1440 59.95
1920x1080 60.00 59.94
1600x900 60.00
1280x1024 60.02
1280x800 59.81
1280x720 60.00 59.94
1152x864 59.96
1024x768 60.00
800x600 60.32
720x480 59.94
640x480 59.94 59.93
DP-1 disconnected (normal left inverted right x axis y axis)
Here's my nvidia-bug-report.log.gz and my monitor is a Pixio PX277h connected via Displayport nvidia-bug-report.log.gz
Primary Monitor: MSI MAG274QRX Second monitor: Dell U2414H
The primary montor flickers black when anything on screen changes.
I apply display settings using the following at startup -
/usr/bin/nvidia-settings --assign CurrentMetaMode="DP-2: 2560x1440_240 +1920+0 {ForceCompositionPipeline=Off, AllowGSYNCCompatible=On, Primary=true}, HDMI-0: nvidia-auto-select +0+180 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}" --load-config-only
The issue doesn't happen at all if I change it to AllowGSYNCCompatible=Off
I forgot to put the information about the monitor. I only have one monitor:
LG Electronics LG Ultra HD (3840x2160)
Signal: DisplayPort
Connection link: 4 lanes @ 5.40 Gbps
Refresh Rate: 60.00 Hz