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

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

Exactly the same issue (thanks to you, I've been looking for users like me for weeks and couldn't find any. I was starting to go crazy. I don't know if you noticed, but if you screen capture the problem, the problem is not displayed in the video, you must film via an external source like you did)

I've tried a lot of things, like changing the display refresh rate, reverting to older drivers, switching to Wayland or Unity, switching to a realtime kernel... but the problem persists.

This also happens on IDEs for me, but also in the browser (Firefox), in the terminal (flashing/blinking, misplaced elements...), ...

  • Ubuntu 22.04.4 LTS
  • Nvidia 535.54.03 // 535.146.02 // 550.67 (installed manually, signed)
  • 1920 x 1080 @ 240Hz and 240Hz
  • RTX 3070
  • X11
  • GNOME: 42.9
  • Secure boot enabled (bc dual boot on Win 11)

adriend avatar Apr 23 '24 11:04 adriend

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

Exactly the same issue (thanks to you, I've been looking for users like me for weeks and couldn't find any. I was starting to go crazy. I don't know if you noticed, but if you screen capture the problem, the problem is not displayed in the video, you must film via an external source like you did)

I've tried a lot of things, like changing the display refresh rate, reverting to older drivers, switching to Wayland or Unity, switching to a realtime kernel... but the problem persists.

This also happens on IDEs foir me, but also in the browser (Firefox), in the terminal (flashing/blinking, misplaced elements...), ...

  • Ubuntu 22.04.4 LTS
  • Nvidia 535.54.03 // 535.146.02 // 550.67 (installed manually, signed)
  • 1920 x 1080 @ 240Hz and 240Hz
  • RTX 3070
  • X11
  • GNOME: 42.9
  • Secure boot enabled (bc dual boot on Win 11)

Hello, it seems to me this issue is related to the explicit sync mentioned by a Nvidia developer recently in the official discussion forum.

You can find the discussion here.

https://forums.developer.nvidia.com/t/screen-flicker-randomly-ubuntu/289751/3?u=ethan_k123

Sunethan avatar Apr 23 '24 11:04 Sunethan

I have noticed that for me, this flickering only happens on X11 at high enough refresh rates that DSC is being used. When I drop the refresh rate down, the flickering goes away. This specific flickering does not happen for me on Wayland (however I currently can't use Wayland until the explicit sync drivers come out)

PcChip avatar Apr 23 '24 14:04 PcChip

I have noticed that for me, this flickering only happens on X11 at high enough refresh rates that DSC is being used. When I drop the refresh rate down, the flickering goes away. This specific flickering does not happen for me on Wayland (however I currently can't use Wayland until the explicit sync drivers come out)

I’ve noticed the same thing as well - it doesn’t occur everywhere. In my case, only IDEs have such issues, but when I decrease the refresh rate from 60Hz to 50Hz, the flickering still persists.

Sunethan avatar Apr 23 '24 17:04 Sunethan

Persists with 552.22.

  • Ubuntu 22.04.4 LTS
  • 1920 x 1080 144Hz
  • RTX 4080 Super
  • X11

BaoBaB1 avatar Apr 24 '24 15:04 BaoBaB1

i have been unable to play ANYTHING for the last 6 months because nvidia's drivers. on a 170hz monitor the flickering is absolutely horrendous, enough to kill an epileptic person. how has it it taking nvidia this long is beyond me, i'm so fucking upset i can't even think straight. fix your shit nvidia.

ghost avatar May 01 '24 17:05 ghost

i have been unable to play ANYTHING for the last 6 months because nvidia's drivers. on a 170hz monitor the flickering is absolutely horrendous, enough to kill an epileptic person. how has it it taking nvidia this long is beyond me, i'm so fucking upset i can't even think straight. fix your shit nvidia.

I feel you. I've the issue myself. Since I wanted to upgrade the GPU anyway to be able to play with bigger LLMs I'm now an owner of an Radeon 7900 XTX. 🤷‍♂️ Better bang for the bucks and I got a working desktop, finally.

oleid avatar May 01 '24 18:05 oleid

https://github.com/NVIDIA/open-gpu-kernel-modules/assets/145393776/788abcce-d8e4-4426-8d7c-6bd63c38fe6b

thank you nvidia

ghost avatar May 02 '24 18:05 ghost

@zbikk You seem to be experiencing a different problem from what was originally reported in this issue. Is this an X config, or Wayland? Is it a desktop/dGPU, or a notebook with the display connected to the iGPU? Would you mind generating an nvidia-bug-report.log.gz via sudo nvidia-bug-report.sh and sharing it?

AlexGoinsNV avatar May 02 '24 18:05 AlexGoinsNV

am on wayland, this happens with any xwayland game. nvidia-bug-report.log.gz

ghost avatar May 02 '24 19:05 ghost

@zbikk

Beta driver 555.42.02 launched yesterday with Wayland explicit sync support, which may alleviate your problem if you use a compositor that is also built with support.

On Arch, AUR has the required packages for KWin:

https://aur.archlinux.org/packages/kwin-explicit-sync https://aur.archlinux.org/packages/egl-wayland-git

There is no need for an AUR package for XWayland, as the patch was merged upstream:

https://lists.archlinux.org/archives/list/[email protected]/message/ODGM7AWMN6YLBNQDWXGHLLHNU3PGNNM2/

AlexGoinsNV avatar May 22 '24 19:05 AlexGoinsNV

got the beta driver through cachyos, everything seems fine, thank you.

ghost avatar May 24 '24 10:05 ghost