NVIDIA / open-gpu-kernel-modules

NVIDIA Linux open GPU kernel module source
Other
15.01k stars 1.24k forks source link

[REGRESSION] [535.54.03] The entire screen is frequently flickering #511

Closed birdie-github closed 10 months ago

birdie-github commented 1 year ago

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.

akb825 commented 1 year ago

I can confirm that flickering still happens for maximum performance mode for me as well. I also noticed that it was changing power states, where I expected it would have stayed in the maximum power state at all times.

birdie-github commented 1 year ago

Just released driver 535.104.05 claims to have fixed flickering once again.

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

r-ca commented 1 year ago

I can confirm that flickering still happens for maximum performance mode for me as well. I also noticed that it was changing power states, where I expected it would have stayed in the maximum power state at all times.

In my environment, this issue was resolved by restarting the OS.

qurious-pixel commented 1 year ago

Just released driver 535.104.05 claims to have fixed flickering once again.

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

The flicker is appears less than 535.43.01 but it has not resolved. I ended up using Vulkan Beta 525.47.35, since it was the most recent of the v525 series.

RTX 2070 Single Monitor 165Hz / adaptive mode Display Port @ 2560x1440

h-2 commented 1 year ago

I can confirm the black flicker on FreeBSD 13.2 with traditional (non-DRM) Nvidia drivers of the 535 series (although we don't have 535.104.05 yet).

RTX 2060 Super Single Monitor, 4k, 60hz, DisplayPort

How can this be broken for so many people and platforms and not get fixed?

z1atk0 commented 1 year ago

Updated to 535.104.05 today, the flicker is still there ... oh well. :unamused:

sentakuhm commented 1 year ago

Updated to 535.104.05 today, the flicker is still there ... oh well. 😒

same thing here on arch linux with RTX 2060 and single monitor 144Hz gsync is on, not fixed yet but less flicker.

spboehm commented 1 year ago

I finally reverted the driver version and installed G05 (470.199.02) again. It works perfectly (in general and in regards to the flickering issue), but this is actually no solution for this problem.

robvdl commented 1 year ago

Rolling back the driver isn't the solution, but I remember the 525 driver also not having the flicker issue, you don't need to go back as far as 470.

birdie-github commented 1 year ago
The bug was first reported to NVIDIA in the middle of May, it's now the end of August, 3.5 months later. I have a bad feeling about all of this. I understand this a bug tracker and not a discussion forum but this is just unacceptable. We are not talking about a minor bug affecting a couple of people, we're talking about a major issue which turns an NVIDIA GPU under Linux into a piece of junk. And the Windows driver was also affected by the issue but it was resolved in under a month. Has NVIDIA abandoned the consumer market and become a pure AI company? Nah, can't be so, they've just announced DLSS 3.5 for Windows, so they at least care about their Windows users. I simply don't understand.
birdie-github commented 1 year ago

Rolling back the driver isn't the solution, but I remember the 525 driver also not having the flicker issue, you don't need to go back as far as 470.

530.41.03 works for beautifully me with options nvidia-drm modeset=1 though it requires a small patch for Linux kernel 6.4.

From 4981428cda825b415eea60313f71bf386cc9f7e1 Mon Sep 17 00:00:00 2001
From: Joan Bruguera <joanbrugueram@gmail.com>
Date: Sat, 25 Feb 2023 10:57:26 +0000
Subject: [PATCH] Tentative fix for NVIDIA 470.182.03 driver for Linux 6.4-rc1

---
 nvidia-drm/nvidia-drm-drv.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/nvidia-drm/nvidia-drm-drv.c b/nvidia-drm/nvidia-drm-drv.c
index 8ef4c27..85c43f2 100644
--- a/nvidia-drm/nvidia-drm-drv.c
+++ b/nvidia-drm/nvidia-drm-drv.c
@@ -20,6 +20,7 @@
  * DEALINGS IN THE SOFTWARE.
  */

+#include <linux/version.h>
 #include "nvidia-drm-conftest.h" /* NV_DRM_AVAILABLE and NV_DRM_DRM_GEM_H_PRESENT */

 #include "nvidia-drm-priv.h"
@@ -873,7 +874,11 @@ static void nv_drm_update_drm_driver_features(void)

     nv_drm_driver.dumb_create      = nv_drm_dumb_create;
     nv_drm_driver.dumb_map_offset  = nv_drm_dumb_map_offset;
+// Rel. commit "drm: remove dumb_destroy callback" (Christian König, 26 Jan 2023)
+// NB: No resources are leaked, the kernel releases the same resources by default
+#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 4, 0)
     nv_drm_driver.dumb_destroy     = nv_drm_dumb_destroy;
+#endif
 #endif /* NV_DRM_ATOMIC_MODESET_AVAILABLE */
 }

--
2.40.1
akb825 commented 1 year ago

I can also confirm that the 535.104.05 driver doesn't fix the flickering.

voodoos commented 1 year ago

After a quick test I am under the impression that 535.104.05 did improve the flickering on X11 for me. However any game I tried launching was massively slowdown-ed, something like 1fps. I had to rollback to 535.98 which fixed the issue...

z1atk0 commented 1 year ago

No framerate problems here, fortunately. :sweat_smile: Tested with DooM³ running natively (both the original id version and the dhewm3 source port) and Portal running via Steam, all on Slackware64-15.0 & kernel 6.1.47.

notfood commented 1 year ago

Updated to 535.104. Flicker is gone. At least I haven't experienced any after several hours.

Edit: 48 hours later, still no flickering. I think it's good now.

Edit2: I should add that I'm running Xorg, it's been 3~4 days and I have had no flickering at all.

I updated to 535.98. I still get flicker on the top row of my main monitor but it's become rare, as in 1 or 2 every 10 minutes compared to the nonstop flickering from the previous driver it's an improvement but this is still undesirable. Does not happen in games, most likely to happen when it's been idlying or casual internet browsing.

From last time:

Chiming in to share my experience. I'm experiencing partial flickering on my main monitor in a dual monitor setup using 535.54.03 at 60Hz. Environment: Main monitor: 1920x1080@60Hz Second monitor: 1024x768@60Hz GPU1: GeForce GTX 1650 GPU2: Tesla M40 (not in use) OS: ArchLinux It's occasional, I suspect GPU is switching power states, the flickering only happens on the top of the screen. It doesn't matter what I'm running, I can be on X11 or Wayland, it happens on KDE Plasma and I3w, it happens with no applications running, it happens during the beginning of heavy GPU usage. Downgrading it to 530.41.03 shows none of these issues.

AlexWayfer commented 1 year ago

I've tried 535.104 today. NVIDIA 2070 Super, 60 Hz Dell Monitor, GNOME, Arch Linux. Flicking is here. Yes, more rare, but it's still here.

cyberconan commented 1 year ago

G-Sync still doesn't work with 535.104 on my laptop. Going back to the 525 controller again...

[vie ago 25 11:10:34 2023] ------------[ cut here ]------------
[vie ago 25 11:10:34 2023] WARNING: CPU: 1 PID: 610 at /var/lib/dkms/nvidia/535.104.05/build/nvidia-drm/nvidia-drm-crtc.h:264 nv_drm_handle_flip_occurred+0x105/0x200 [nvidia_drm]
[vie ago 25 11:10:34 2023] Modules linked in: snd_seq_dummy snd_seq snd_seq_device uinput ccm rfcomm hid_logitech_hidpp hid_logitech_dj cmac algif_hash algif_skcipher af_alg bnep btusb btrtl btbcm btintel btmtk xpad ff_memless bluetooth ecdh_generic zram snd_sof_pci_intel_cnl snd_sof_intel_hda_common soundwire_intel soundwire_cadence snd_sof_intel_hda_mlink snd_sof_intel_hda snd_sof_pci snd_sof_xtensa_dsp snd_sof snd_sof_utils soundwire_generic_allocation soundwire_bus snd_soc_skl snd_soc_hdac_hda snd_hda_ext_core snd_soc_sst_ipc intel_rapl_msr snd_soc_sst_dsp snd_soc_acpi_intel_match intel_rapl_common snd_soc_acpi intel_tcc_cooling uvcvideo x86_pkg_temp_thermal snd_hda_codec_realtek snd_soc_core intel_powerclamp coretemp videobuf2_vmalloc snd_hda_codec_generic snd_compress uvc ac97_bus videobuf2_memops ledtrig_audio videobuf2_v4l2 snd_hda_codec_hdmi kvm_intel snd_pcm_dmaengine iwlmvm videodev snd_hda_intel kvm videobuf2_common snd_intel_dspcfg mac80211 mc irqbypass snd_intel_sdw_acpi crct10dif_pclmul crc32_pclmul polyval_clmulni
[vie ago 25 11:10:34 2023]  snd_hda_codec polyval_generic vboxnetflt(OE) libarc4 gf128mul nvidia_drm(POE) nvidia_modeset(POE) joydev mousedev vboxnetadp(OE) ucsi_ccg mei_hdcp mei_pxp snd_hda_core iwlwifi ghash_clmulni_intel typec_ucsi hid_multitouch vboxdrv(OE) sha512_ssse3 aesni_intel typec vfat snd_hwdep msi_wmi nvidia_uvm(POE) crypto_simd cryptd snd_pcm rapl intel_cstate fat ee1004 wmi_bmof intel_wmi_thunderbolt roles mxm_wmi sparse_keymap gpio_keys cfg80211 mei_me snd_timer intel_uncore psmouse spi_nor pcspkr intel_lpss_pci video alx snd i2c_hid_acpi intel_lpss i2c_i801 mtd i2c_smbus rfkill mdio mei soundcore idma64 intel_pch_thermal i2c_nvidia_gpu i2c_hid wmi soc_button_array acpi_tad acpi_pad mac_hid nvidia(POE) ec_sys sg vhba crypto_user fuse dm_mod loop ip_tables x_tables ext4 sdhci_pci crc32c_generic hid_gt683r serio_raw crc16 cqhci mbcache atkbd usbhid jbd2 libps2 vivaldi_fmap sdhci nvme crc32c_intel spi_intel_pci mmc_core nvme_core spi_intel xhci_pci xhci_pci_renesas nvme_common i8042 serio
[vie ago 25 11:10:34 2023] CPU: 1 PID: 610 Comm: nvidia-modeset/ Tainted: P        W  OE      6.4.12-zen1-1-zen #1 fc2b2f2a83cacde5b3df8283dae0f37b220a16d6
[vie ago 25 11:10:34 2023] Hardware name: Micro-Star International Co., Ltd. GT75 Titan 8SG/MS-17A6, BIOS E17A6IMS.10D 03/17/2020
[vie ago 25 11:10:34 2023] RIP: 0010:nv_drm_handle_flip_occurred+0x105/0x200 [nvidia_drm]
[vie ago 25 11:10:34 2023] Code: 81 c7 98 00 00 00 e8 2a 99 ee d2 48 8b 3c 24 48 83 c4 18 5b 5d 41 5c 41 5d 41 5e 41 5f e9 63 0c 00 00 48 89 ef e8 db 28 d6 d3 <0f> 0b eb b1 4c 89 e7 e8 4f a1 4d d3 84 c0 74 10 49 8b 14 24 49 8b
[vie ago 25 11:10:34 2023] RSP: 0018:ffffafbc87ccbdf8 EFLAGS: 00010282
[vie ago 25 11:10:34 2023] RAX: ffff9262f95cd008 RBX: ffff9262f95cd000 RCX: ffff9262f42a92e0
[vie ago 25 11:10:34 2023] RDX: 0000000000000001 RSI: 0000000000000000 RDI: ffff9262f95cd018
[vie ago 25 11:10:34 2023] RBP: ffff9262f95cd018 R08: 0000000000000001 R09: 0000000000000000
[vie ago 25 11:10:34 2023] R10: ffff926377271600 R11: 0000000000000000 R12: ffff9262f95cd008
[vie ago 25 11:10:34 2023] R13: ffff9262c94f5808 R14: ffff9262d4a32100 R15: ffff9262f42a9000
[vie ago 25 11:10:34 2023] FS:  0000000000000000(0000) GS:ffff926a5da40000(0000) knlGS:0000000000000000
[vie ago 25 11:10:34 2023] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[vie ago 25 11:10:34 2023] CR2: 00007f9ac368f018 CR3: 00000001b4e20006 CR4: 00000000003706e0
[vie ago 25 11:10:34 2023] Call Trace:
[vie ago 25 11:10:34 2023]  <TASK>
[vie ago 25 11:10:34 2023]  ? __warn+0x81/0x1b0
[vie ago 25 11:10:34 2023]  ? nv_drm_handle_flip_occurred+0x105/0x200 [nvidia_drm d2b39ff123d3a57e3bfd25e7eddf6a2b32b45f8f]
[vie ago 25 11:10:34 2023]  ? report_bug+0x202/0x270
[vie ago 25 11:10:34 2023]  ? handle_bug+0x3c/0x80
[vie ago 25 11:10:34 2023]  ? exc_invalid_op+0x19/0xc0
[vie ago 25 11:10:34 2023]  ? asm_exc_invalid_op+0x1a/0x20
[vie ago 25 11:10:34 2023]  ? nv_drm_handle_flip_occurred+0x105/0x200 [nvidia_drm d2b39ff123d3a57e3bfd25e7eddf6a2b32b45f8f]
[vie ago 25 11:10:34 2023]  ? nv_drm_handle_flip_occurred+0x105/0x200 [nvidia_drm d2b39ff123d3a57e3bfd25e7eddf6a2b32b45f8f]
[vie ago 25 11:10:34 2023]  nv_drm_event_callback+0x82/0x90 [nvidia_drm d2b39ff123d3a57e3bfd25e7eddf6a2b32b45f8f]
[vie ago 25 11:10:34 2023]  nvKmsKapiHandleEventQueueChange+0xa0/0xd0 [nvidia_modeset 86f8c00a5d3e795238d015ed8a97f27c0204e5ce]
[vie ago 25 11:10:34 2023]  _main_loop+0x90/0x150 [nvidia_modeset 86f8c00a5d3e795238d015ed8a97f27c0204e5ce]
[vie ago 25 11:10:34 2023]  ? __pfx__main_loop+0x10/0x10 [nvidia_modeset 86f8c00a5d3e795238d015ed8a97f27c0204e5ce]
[vie ago 25 11:10:34 2023]  kthread+0xe5/0x120
[vie ago 25 11:10:34 2023]  ? __pfx_kthread+0x10/0x10
[vie ago 25 11:10:34 2023]  ret_from_fork+0x29/0x50
[vie ago 25 11:10:34 2023]  </TASK>
[vie ago 25 11:10:34 2023] ---[ end trace 0000000000000000 ]---
[vie ago 25 11:10:35 2023] ------------[ cut here ]------------

If in the KDE plasma settings I set the adaptive sync from "automatic" (=G-Sync only in full screen) to "never" (=G-Sync off) the errors in dmesg disappear. imagen I have always played on linux with the latest NVIDIA drivers and enjoyed G-Sync for over four years on this MSI laptop. I don't know what's happening with version 535 but it's a shame...

Kincior commented 1 year ago

Switching from wayland to X11 fixed all issues for me.

clems4ever commented 1 year ago

I can also confirm that the 535.104.05 driver doesn't fix the flickering.

This version does not fix it for me either. I have a dual monitor.

riotbr commented 1 year ago

I just read the changelog for the latest version (535.104.05-0ubuntu0.22.04.1) and it says "Fixed a bug which could cause the screen to flicker". Well, I can confirm that it didn't fixed.

My solution was to downgrade to a previous version (525), which doesn't require any modification. Downgrading to 470 is also an option.

My environment:

amrit1711 commented 1 year ago

Thanks everyone for sharing feedback with driver 535.104.05. However, I have been trying to repro on multiple setups locally but no luck so far. Can you please confirm exact repro steps with exact configuration setup including display model, resolution and frequency as well. It would be good to share nvidia bug report as well. HP OMEN by HP 25L Gaming Desktop GT15-0xxx + kernel 6.4.12-arch1-1 + Driver 535.104.05 + RTX 2070 + Asus VG27AQML1A + Asus VG279QM HP OMEN by HP 25L Gaming Desktop GT15-0xxx + Fedora release 38 + kernel 6.3.8-200.fc38.x86_64 + NVIDIA GeForce GTX 1650 SUPER + Driver 535.98 + AOC 27G2WG3 via DP +AOC 24G2W1G3 via HDMI HP OMEN by HP 25L Gaming Desktop GT15-0xxx + Ubuntu 22.04.1 LTS + kernel 6.4.1 + NVIDIA GeForce GTX 1650 SUPER + Driver 535.98 + AOC 27G2WG3 via DP +AOC 24G2W1G3 via HDMI HP OMEN by HP 25L Gaming Desktop GT15-0xxx + Ubuntu 22.04.1 LTS + kernel 6.4.1 + NVIDIA GeForce RTX 2080 + Driver 535.98 + AOC 27G2WG3 via DP +AOC 24G2W1G3 via HDMI Dell Precision T7610 + Arch Linux 6.4.1-arch1-1 + kernel 6.4.1-arch1-1 + NVIDIA GeForce RTX 2080 + Driver 535.98 + AOC 27G2WG3 via DP +AOC 24G2W1G3 via HDMI Dell Precision T7610 + Arch Linux 6.4.1-arch1-1 + kernel 6.4.1-arch1-1 + NVIDIA GeForce GTX 1650 SUPER + Driver 535.98 + AOC 27G2WG3 via DP +AOC 24G2W1G3 via HDMI

Opened Firefox browser and played steam game for around 30 mins but did not observe any flickering. I also kept systems in idle state for around 30 mins with multiple refresh rates 60 / 100 / 120 / 144 / 240 Hz but no luck in repro.

sentakuhm commented 1 year ago

Distro: Arch Linux Kernel: 6.4.11-zen2-1-zen RAM: 16 GB GPU Driver: NVIDIA 535.104.05 GPU: NVIDIA GeForce RTX 2060 CPU: AMD Ryzen 5 3600 6-Core Monitor: Asus Tuf Gaming VG24VQ 144hz Adaptive-Sync/FreeSync, Connected via DP.

After few seconds on Firefox or Microsoft Edge Flickering appears with Gsync on and off.

cyberconan commented 1 year ago

MSI GT75 Titan 8SG + Arch Linux + kernel 6.4.12-zen1-1 + NVIDIA GeForce RTX 2080 + Driver 535.104.05 + AUO 17.3" FHD 144Hz via eDP.

imagen nvidia-bug-report.log.gz

Thanks!

PS: Like @Kincior said, issue is not present using X11 instead wayland. VRR with my G-Sync monitor works and not flickering or screen tearing. Obviously there are no kernel errors in dmesg with drm-modeset.

DarkWav commented 1 year ago

I still experience flickering with 535.104.05: Distribution: openSUSE Tumbleweed 20230823 Kernel: 6.4.11-1-default RAM: 16GB GPU Driver: NVIDIA 535.104.05 GPU: NVIDIA GeForce RTX 2070 Super CPU: Intel i9-9900K (16) @ 5.000GHz MOBO: Gigabyte Z390 AORUS MASTER, UEFI Firmware Version F11 Monitor: AOC AG273QX (AOC AG273QS3R4) 2560x1440 165hz Adaptive-Sync/FreeSync, Connected via DisplayPort 1.4.

How to Reproduce:

  1. Install NVIDIA 535.104.05 (via the .run file as 535.104.05 has not yet been packed for openSUSE)
  2. Shut down your system completely.
  3. Cold boot you system.
  4. Boot into SDDM and log into a KDE Plasma 5 session
  5. Open Mozilla Firefox
  6. Go to https://www.wikipedia.org/
  7. Wait approximately 1 minute without doing anything to let GPU clocks lower.
  8. You should now be able to observe occasional black flickering on the top half of the screen.
z1atk0 commented 1 year ago

@amrit1711

Monitors: 2x AOC 24G2SPU @ 60Hz, connected via HDMI

System info:

[root@disclosure:~]# inxi -S; inxi -M; inxi -C; inxi -G
System:
  Host: disclosure.zlatk0.net Kernel: 6.1.48 arch: x86_64 bits: 64
    Desktop: GNOME v: 44.3 Distro: Slackware 15.0
Machine:
  Type: Desktop Mobo: Intel model: DB75EN v: AAG39650-303 serial: BTEN250004N1
    BIOS: Intel v: ENB7510H.86A.0046.2013.0704.1354 date: 07/04/2013
CPU:
  Info: quad core model: Intel Core i7-2600K bits: 64 type: MT MCP cache:
    L2: 1024 KiB
  Speed (MHz): avg: 2630 min/max: 1600/3800 cores: 1: 2429 2: 2693 3: 2696
    4: 2694 5: 2697 6: 2694 7: 2443 8: 2694
Graphics:
  Device-1: NVIDIA TU116 [GeForce GTX 1660 Ti] driver: nvidia v: 535.104.05
  Device-2: Sunplus Innovation Full HD webcam driver: snd-usb-audio,uvcvideo
    type: USB
  Display: x11 server: X.Org v: 1.20.14 with: Xwayland v: 21.1.4 driver: X:
    loaded: nvidia unloaded: nouveau gpu: nvidia,nvidia-nvswitch resolution:
    1: 1920x1080~60Hz 2: 1920x1080~60Hz
  API: OpenGL v: 4.6.0 NVIDIA 535.104.05 renderer: NVIDIA GeForce GTX 1660
    Ti/PCIe/SSE2

Repro: just use the system normally (ie. "do desktop stuff") and wait for the flicker to appear :man_shrugging: I don't have any hard data, but it usually takes ~30-60 minutes max until the flickering starts.

nvidia-bug-report.log.gz

taleteller commented 1 year ago

Obviously there where changes introduces somewhere between version 525 and 535 producing this issue for a lot of configurations. Cannot these changes be reverted back to 525 to fix the issue(s), while being worked out in some beta branch?

z1atk0 commented 1 year ago

@cyberconan wrote:

PS: Like @Kincior said, issue is not present using X11 instead wayland. VRR with my G-Sync monitor works and not flickering or screen tearing. Obviously there are no kernel errors in dmesg with drm-modeset.

JFTR, I can not confirm this, for me the flicker apperars in plain vanilla X.Org. I have never used Wayland on any of my systems.

fulalas commented 1 year ago

The issue definitely happens using X11. Here's a video (sorry for the bad quality):

https://github.com/NVIDIA/open-gpu-kernel-modules/assets/27843666/59e24e2a-a3a8-4599-9bf0-57476ea54902

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

qurious-pixel commented 1 year ago

@amrit1711

ViewSonic Elite XG270Q via DP @ 1440p 165Hz + 6.3.2-1-liquorix-amd64 + Lubuntu 22.04.2 + RTX 2070 + 530.41.03

ViewSonic Elite XG270Q via DP @ 1440p 165Hz + 6.3.2-1-liquorix-amd64 + Lubuntu 22.04.2 + RTX 2070 + 525.116.04

ViewSonic Elite XG270Q via DP @ 1440p 165Hz + 6.4.10-3-liquorix-amd64 + Lubuntu 22.04.2 + RTX 2070 + 535.98

ViewSonic Elite XG270Q via DP @ 1440p 165Hz + 6.4.10-3-liquorix-amd64 + Lubuntu 22.04.2 + RTX 2070 + 535.104.05

ViewSonic Elite XG270Q via DP @ 1440p 165Hz + 6.4.10-3-liquorix-amd64 + Lubuntu 22.04.2 + RTX 2070 + 525.47.35

All were installed from the binary blob. ./<NvidiaDriver>.run -s -X -z --dkms --install-libglvnd

UPDATE: Tested 535.43.08 vulkan beta, and flickering occurred within one minute of cold boot. It seemed more inline with the 530 branch than the 535 with how soon and how often it occurred. X11, G-Sync On, Adaptive power mode

ThisNekoGuy commented 1 year ago

https://github.com/NVIDIA/open-gpu-kernel-modules/issues/511#issuecomment-1696135776

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)

amrit1711 commented 1 year ago

@fulalas I had same display model with me, so I tried on Intel and AMD based systems but did not observe flickering. Could you please share nvidia bug report and also confirm desktop environment and its version.

Dell Precision T7610 + Fedora release 38 (Thirty Eight) + kernel 6.3.8-200.fc38.x86_64 + NVIDIA GeForce GTX 1650 SUPER + 535.104.05 + Display VG279QM + Resolution 1920 x 1080 + Refresh Rate as 280 Hz OMEN by HP 25L Gaming Desktop GT15-0xxx + AMD Ryzen 7 5700G with Radeon Graphics + kernel 6.3.8-200.fc38.x86_64 + NVIDIA GeForce GTX 1650 SUPER + 535.104.05 + Display VG279QM + Resolution 1920 x 1080 + Refresh Rate as 280 Hz Opened couple of youtube videos and pdf in firefox brower and used it for 30 minutes but did not observe flickering.

fulalas commented 1 year ago

@amrit1711, I see this issue happening in many different desktop environments, but I'm currently using Xfce 4.18. On GNOME 42/44 it's a bit trickier to see because the top panel is also black, but it definitely happens there too.

Also, because the flicker happens in a fraction of a second, it will depend on the eyes of the observer. My mum wouldn't see it, for sure :P So maybe recording could be a good idea. Even better if you could change the top part of the screen to a bright color to increase the contrast.

Here's my nvidia bug report: nvidia-bug-report.log

In case you're wondering, using ForceCompositionPipeline/ForceFullCompositionPipeline or not doesn't make any difference.

neczju commented 1 year ago

After update from 535.98 flicker occurs less frequent in my case.

Distro: Arch Linux Kernel: 6.4.12-arch1-1 RAM: 16 GB GPU Driver: 535.104.05 GPU: NVIDIA GeForce GTX 1660 SUPER CPU: AMD Ryzen 5 3600 (12) @ 3.600GHz Monitor: BENQ XL2411P 144hz Adaptive-Sync/FreeSync/G-Sync = OFF, Connected via DP. DE: Plasma 5.27.7 Server: X11

nvidia-bug-report.log.gz

jarrard commented 1 year ago

My issue has always been that the gamma looks like and ramps up and down, more of a flutter issue. Happens across both of my displays, one LG C1 48 HDMI2.1 and a DP1.4 ACER 165hz 1440p screen. I don't actually see any BLACK screens, just gamma fluttering up and down.

Quite annoying. And to top it off, this issue also exists and has been getting worse under Windows11 drivers also so isn't Linux exclusive. If I turn off VRR it still happens, once upon a time turning that off fixed the issue (mostly) but I guess not anymore.

h-2 commented 1 year ago

So, this issue happens on

Why is fixing this not a priority for NVIDIA?

birdie-github commented 1 year ago

@h-2

Linux, FreeBSD, Windows

Are you sure you're running Windows driver 537.13? Could you record a video clip and post it here please?

If you're affected please make sure you've opened a topic here:

https://www.nvidia.com/en-us/geforce/forums/game-ready-drivers/13/

sentakuhm commented 1 year ago

@birdie-github yes it happened with me too on windows but not like linux it happens sometimes you cant guess when, also the flickering appears on the down half of the screen i cant tell that issue with the driver or Microsoft edge cuz it happens only when i'm browsing on edge.

deflock commented 1 year ago

Why is fixing this not a priority for NVIDIA?

Because... NVIDIA: it works on my machine (c)

jarrard commented 1 year ago

Well this issue exists under Win11 also for me.
I'll be sending my 4090 away today to someone who wants it and getting a 7900XTX. Not a big loss since NVIDIA seems to have limited support under Linux this year, like where is frame gen support even?

Was hoping things would improve and maybe they will. Sadly its clear my display configuration is just not meant to be with NVIDIA.

amrit1711 commented 1 year ago

I can repro issue with latest released driver 535.104.05 now where entire screen is flickering on my test system. We will be able to debug issue much easier now, thanks for being patient.

z1atk0 commented 1 year ago

Now let's just hope that the cause is the same as the upper-half/upper-third/top-of-the-screen flicker, so that all of them get fixed eventually.

oleid commented 1 year ago

nvidia-bug-report.log.gz

jarrard commented 1 year ago

Installed a 7900XTX card and there is no flicker or blinking on any of my screens.

I have a LG C1 48" and a Acer ED270UP via DisplayPort for reference. I did have freesync premium turned off on the LG C1 so it wasn't that. VRR was enabled on both screens however.

This issue persisted on the Windows drivers also and was too annoying.

If someone has access to one of these screens perhaps its a good test case? perhaps the LG via HDMI2.1 was at fault? no idea.

pedroterrero commented 1 year ago

Just to add some more info that might help. In my case (Linux Mint 21.2, Liquorix Kernel 6.4.14, GeForce RTX 2060 SUPER, NVIDIA driver version 535.104.05) it flickers from time to time, but this flickering on top is WAY more noticeable in OBS Studio, with a Screen capture added as a source, on the preview screen. If I press "Record" button (I'm using NVIDIA NVENC HEVC ffmpeg 1920x1080 @ 25fps) the flickering almost disappears, but I managed to catch it in this video.

In this case, the flickering artifact is blue because it's showing the wallpaper.

bvgross commented 1 year ago

Just adding more information. I have this problem running gnome, especially using wayland which is pretty bad, but using xorg I get an eventual top flicker. However using hyprland I have no problems at all, it works perfectly. So, it's not entirely a wayland or nvidia problem.

I have a 1660 and I'm using fedora.

voodoos commented 1 year ago

I think we should distinguish the two flickering issues:

It's probably worth opening another issue for the top-of-the-screen flickers since the symptoms are quite different (although they might still be caused by the same root problem).

akb825 commented 1 year ago

I think we should distinguish the two flickering issues

At least in my case, I see the partial flicker at the top of the screen when using X11 and the full screen flickering when using Wayland. Based on my experience I'd suspect they are different manifestations of the same issue. IMO we should avoid splitting the issues and discussion unless there's clear evidence that they are truly unrelated.

voodoos commented 1 year ago

Right, maybe I am the one with the different issue since my fullscreen flicker only appear on X11 😅

(Anyway, I am quite surprised by the brokenness of the nvidia on linux support, hopefully this will be solved shortly now that a reproduction has been made...)

taleteller commented 1 year ago

Right, maybe I am the one with the different issue since my fullscreen flicker only appear on X11 😅

To me it looks like the amount and size of flickering is due to timing, monitors and frame rates. There is countless configurations reacting slightly different to the same problem.

(Anyway, I am quite surprised by the brokenness of the nvidia on linux support, hopefully this will be solve shortly now that a reproduction has been made...)

If you, like me, use a combination of Nvidia/Wayland/ KDE Plasma the situation (put very friendly) is unsatisfying since several years.

Dashyyy commented 12 months ago

GPU: 2070 Super

For me it feels like the top section of the screen flickers when I have PowerMizer set to "adaptive" and the whole screen flickering increased when I have set that to "Prefer maximum performance" Could just be my imagination, can anyone reproduce that?