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

535.104.05-6 (Arch). Lowering the refresh rate to 60 Hz (G-SYNC still on) seems to have helped in my case with the flickering.

GPU: NVIDIA GeForce RTX 2060 (GPU 0) Display: Asustek Computer Inc ROG PG278QR (DP-0)

nbarrientos avatar Sep 23 '23 08:09 nbarrientos

Upgraded to 535.113.01 - the flicker on top of the screen is still there.

z1atk0 avatar Sep 26 '23 03:09 z1atk0

Can confirm flicker is still there with 535.113.01

Ubuntu 22.04 LTS pushed down the 535.113.01 update but the flicker is STILL there at the top of the screen.

robvdl avatar Oct 03 '23 19:10 robvdl

I'm trying to roll back to 530.41.03 and am getting kernel conflict when I try to build kmod. Will I have to downgrade kernel as well?

530.41.03-1-for-6.5.5-200.fc38.x86_64.failed.log

fugimuse avatar Oct 04 '23 02:10 fugimuse

For NVIDIA drivers 530.41.03 and Linux 6.5 you need these two patches:

linux-6.4.patch.txt nvidia-535xx-fix-linux-6.5.patch.txt

birdie-github avatar Oct 05 '23 12:10 birdie-github

The latest beta driver version 545.23.06 claims to have finally squashed this bug, hooray!

https://www.nvidia.com/download/driverResults.aspx/212964/en-us/

Fixed a bug that could cause monitors to flicker when the performance state changes on Turing GPUs.

Edit: It's fixed for me! Finally. Sigh.

birdie-github avatar Oct 17 '23 15:10 birdie-github

Thank you for confirming. There have been several different bugs with a similar flickering symptom. The mostly recently fixed bug was a particularly hairy one to unravel, deep in firmware.

I'm going to go ahead and mark this specific Issue as fixed. If others continue to see other bugs with a similar symptom, please file a new Issue. Thanks.

aritger avatar Oct 17 '23 16:10 aritger

I still have that issue: https://forums.developer.nvidia.com/t/monitors-literally-stutter-when-vrr-g-sync-is-enabled/256836/2 On both Linux 545.23.06 and Windows 545.84 drivers.

Edit: VRR is still not working on my dual monitor setup with Wayland

thesword53 avatar Oct 17 '23 17:10 thesword53

I'm 99,99% sure that the top-of-the-monitor flicker is finally gone with 545.23.06 for me (Linux/X11). Yay! :sunglasses:

z1atk0 avatar Oct 21 '23 12:10 z1atk0

I still experience the screen flicker + flashing on/off with the 545.23.06 driver and G-Sync on. Flickering goes away if I turn off compositing, but the screen turning on and off does not go away unless I disable G-Sync. OS: NixOS 23.11 (Linux 6.5.8 (64-bit)) Display server: X11 DE: KDE Plasma 5.27.9 Card: GTX 1070 Monitor: AOC CU34G2G4R3 (144 hz, freesync)

lboklin avatar Oct 26 '23 09:10 lboklin

@lboklin you should try the latest beta drivers released a few days ago

I was still seeing frequent flickering on 545.23.06 but 545.29.02 appears to have finally resolved this issue for me :crossed_fingers:

edit: nope, still happening, just very infrequently compared to before

vosscodes avatar Nov 05 '23 01:11 vosscodes

No change here. 545.29.02 has the same problem.

lboklin avatar Nov 06 '23 12:11 lboklin

I still experience the screen flicker + flashing on/off with the 545.23.06 driver and G-Sync on. Flickering goes away if I turn off compositing, but the screen turning on and off does not go away unless I disable G-Sync. OS: NixOS 23.11 (Linux 6.5.8 (64-bit)) Display server: X11 DE: KDE Plasma 5.27.9 Card: GTX 1070 Monitor: AOC CU34G2G4R3 (144 hz, freesync)

Fixed a bug that could cause monitors to flicker when the performance state changes on Turing GPUs.

In my case the problem was fixed by new 545 driver.

DrLk avatar Nov 06 '23 14:11 DrLk

545.29.02 has indeed greatly improved the situation for me. Thanks!

nbarrientos avatar Nov 12 '23 12:11 nbarrientos

For me continue to exists. 535 or 545 driver. Gigabyte 4060, Dell g2722hs in any frequency.

AlexKovynev avatar Dec 09 '23 11:12 AlexKovynev

Unfortunately this flickering is happening to me as well with:

  • RTX4090
  • 3440x1440@240hz
  • Kubuntu 23.10, and also 24.04 beta/daily
  • XOrg
  • NVidia driver 545 and 550

PcChip avatar Feb 09 '24 01:02 PcChip

550.54.14 bug still persists.

  • GTX 1060 6gb
  • 1920x1080
  • Fedora 39 KDE
  • Nvidia 550.54.14
  • Wayland Session

MineShadow7 avatar Feb 26 '24 16:02 MineShadow7

@MineShadow7 @PcChip if you use wlroots and OpenGL ES render you should compile wlroots with this PR https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3671 wlroots won't fix it.

Andrei-Yermakovich avatar Feb 27 '24 11:02 Andrei-Yermakovich

@MineShadow7 @PcChip if you use wlroots and OpenGL ES render you should compile wlroots with this PR https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3671 wlroots won't fix it.

Flickering reappeared on 550 for me, I use Vulkan renderer.

  • RTX 4060 Ti
  • 2560x1600@240hz
  • both sway 1.8.1 and 1.9
  • Nvidia 550.54.14

ac130kz avatar Mar 02 '24 15:03 ac130kz

I also encountered similar flickering issues, but somehow they mostly occur at text editors and IDE like JetBrain CLion and NetBeans IDE 21. Other applications work just fine. You can see the videos of flickering here and here.

  • Ubuntu 22.04.01 x84_64
  • Nvidia 535.171.04
  • 1920 x 1080 @ 60Hz and 50Hz
  • RTX 4060 Ti
  • X11

Sunethan avatar Apr 22 '24 20:04 Sunethan