High input lag on external monitor with the 530.41.03 driver

I recently upgraded my system to kernel linux 6.2.8.arch1-1 and graphics driver nvidia 530.41.03-1. What I noticed is that there’s a high input lag on my external monitor (4K res, 59.94Hz). Although, not everything per se:

  • Mouse movements were only a few hundred ms behind any movements.
  • Opening up a new window a few seconds.
  • Writing text had the highest, with a several seconds long lag behind typing, and to the point the external monitor was virtually unusable.

I tried mirroring my laptop’s integrated monitor on the external, and there was a visible lag on the external monitor observed that was not present on the integrated monitor. I have found several users reporting similar problems:

  1. FS#77975 : [nvidia] 530.41.03-1 high refresh rate problems
  2. Is nvidia-530.41.03-1 borked just for me or everyone?
  3. Borked display after update to nvidia 530.41.03

Seemingly, there’s an issue with high refresh rates, and with high resolutions in the new driver. I therefore reverted back to the nvidia-dkms 525.89.02-2 driver, and the input lag is gone.
I therefore have the following questions:

  1. Are anyone here familiar with this issue and know how to fix it?
  2. Alternatively, is this a known bug, or should I report it?
  3. In case I need to file a bug report, where do I do that?
OS: Arch Linux x86_64 
Host: 82JY Legion 5 17ACH6H 
CPU: AMD Ryzen 7 5800H with Radeon Graphics (16) @ 3.200GHz [49.8°C] 
GPU: NVIDIA GeForce RTX 3070 Mobile / Max-Q 
GPU: AMD ATI Radeon Vega Series / Radeon Vega Mobile Series 
CPU Usage: 0% 
Memory: 7.49GiB / 29.23GiB 
Disk (/): 879G / 954G (93%) 
Resolution: 1920x1080 @ 144.00Hz, 3840x2160 @ 59.94Hz 
Kernel: Linux 6.2.8-arch1-1 
GPU Driver: NVIDIA 530.41.03
DE: GNOME 43.4 
1 Like

I too faced high input lag and stutters in Fedora 37 after upgrading to 530.41.03 driver.
I tried reinstalling fedora 37 and got blank screen during login. This never happened in the previous nvidia driver version.
I hope Nvidia fixes this issue.

1 Like

Exactly, I also face this problem yesterday.
My system is Lenovo Legion 5 and I’m running Fedora 37 on it.

Hi there!, I can confirm this is still and Issue with this driver, this seems to started after 525.89.02-1 (this is the last working driver) and I think it’s related to Optimus setups on Wayland, I know there are (or where) issues with this config, but I’m runing XFCE 4.18 which supposedly runs Xorg and this started to happen abruptly. The only solution I found was changing from reverse PRIME (using nvidia GPU only when running GPU intense apps) to Running PRIME (Nivida always on and bypass intel internal gpu).

OS: Arch Linux x86_64 
Host: Razer Blade 14” Intel 6700HQ (2016) | RZ09-01952
CPU: Intel 7600HQ
GPU: NVIDIA® GeForce® GTX 1060 (6GB GDDR5 VRAM)
GPU: Intel i935 
Resolution:  1920x1080 @ 59.94Hz (Intel) , 1920x1080 @ 144.00Hz (Nvidia)
Kernel: Linux 6.2.9-arch1-1 
GPU Driver: NVIDIA 530.41.03
DE: XFCE 4.18 ```

I have filed a bug 4074670 internally for tracking purpose.
Request you to share nvidia bug report, Xorg logs in verbose mode and repro video for reference.
Meanwhile, I will try to reproduce issue on available notebooks.

Sorry for the late reply. Here’s the nvidia-bug-report.log.gz (1.4 MB). With this I can also confirm the issue persists in kernel 6.3.

OS: Arch Linux x86_64 
Host: 82JY Legion 5 17ACH6H 
CPU: AMD Ryzen 7 5800H with Radeon Graphics (16) @ 3.200GHz [64.2°C] 
GPU: NVIDIA GeForce RTX 3070 Mobile / Max-Q 
GPU: AMD ATI Radeon Vega Series / Radeon Vega Mobile Series 
CPU Usage: 9% 
Memory: 5.20GiB / 29.23GiB 
Disk (/): 810G / 954G (86%) 
Resolution: 1920x1080 @ 144.00Hz, 3840x2160 @ 59.94Hz 
Kernel: Linux 6.3.1-arch1-1 
GPU Driver: NVIDIA 530.41.03 
DE: GNOME 43.5

Do you see the same lag if you choose to use the ‘modesetting’ driver instead of ‘amdgpu’ driver in Xorg configuration?

I’m experiencing this issue under X11, driver version 530.41.03, in the following environment:

OS: Fedora Linux 38 (Workstation Edition) x86_64
Host: 21DACTO1WW ThinkPad T15p Gen 3
Kernel: 6.2.14-300.fc38.x86_64
Resolution: 3840x2160
DE: GNOME 44.1
WM: Mutter
CPU: 12th Gen Intel i7-12700H (20) @ 4.600GHz
GPU: NVIDIA GeForce RTX 3050 Mobile
GPU: Intel Alder Lake-P
Memory: 63993MiB

I’m using an external monitor connected via HDMI. The built-in display is turned off.

I have the following in /etc/X11/xorg.conf.d/10-force-nvidia-gpu.conf to force using the NVIDIA GPU for everything:

Section "OutputClass"
	Identifier "nvidia"
	MatchDriver "nvidia-drm"
	Driver "nvidia"
	Option "AllowEmptyInitialConfiguration"
	Option "SLI" "Auto"
	Option "BaseMosaic" "on"
	Option "PrimaryGPU" "yes"
EndSection

Section "ServerLayout"
	Identifier "layout"
	Option "AllowNVIDIAGPUScreens"
EndSection

I’m attaching the bug report log generated by nvidia-bug-report.sh.

nvidia-bug-report.zip (434.0 KB)

Looking at journalctl, I’m seeing lots of warnings like this one:

kernel: nvidia-modeset: WARNING: GPU:0: Correcting number of heads for current head configuration (0x00)

I switched from modesetting to amdgpu previously due to issues with output on secondary monitor with switchable graphics using modesetting.

Switching to “Prefer Maximum Performance” in PowerMizer settings seems to solve the issue. However, this is more a workaround than a solution. My guess is that the NVIDIA driver fails to ramp up the clock (performance level) in a timely manner.

1 Like

Thanks for the tip! How does that affect fan noise though? Also, since I am using switchable graphics, shouldn’t graphics rendering for the most part be done by the (AMD) iGPU, wheras the (Nvidia) dGPU simply passthrough graphics rendering to the HDMI port?

Indeed, fan is alway on, even when the laptop is idle. That’s one reason why it’s a workaround and not a solution.

I think it depends on how your particular system (i.e. Arch Linux) is configured. On my Fedora installation I’ve forced the NVIDIA GPU all the time following this guide.

I specifically configured my system to only offload to dGPU on-demand. I reinstalled the 530 drivers again and turned off switchable graphics altogether in UEFI settings (which should effectively force all rendering to dGPU). After reboot the input lag is gone. Seemingly the issue lies with iGPU rendering passthrough to HDMI port (located on dGPU).

My current system config:

OS: Arch Linux x86_64 
Host: 82JY Legion 5 17ACH6H 
CPU: AMD Ryzen 7 5800H with Radeon Graphics (16) @ 3.200GHz [49.0°C] 
GPU: NVIDIA GeForce RTX 3070 Mobile / Max-Q 
CPU Usage: 3% 
Memory: 3.60GiB / 31.20GiB 
Disk (/): 825G / 954G (87%) 
Resolution: 3840x2160 @ 59.94Hz, 1920x1080 @ 144.00Hz 
Kernel: Linux 6.3.1-arch1-1 
GPU Driver: NVIDIA 530.41.03 
DE: GNOME 44.1 

Just here to say I have the same problem on a 60hz 1920x1080 HDMI TV… I don’t know who to blame, probably nvidia shareholders, I’m super disappointed about nvidia quality for linux systems, I always have problems (even for more stable distros like ubuntu or debian), if I would have choice at the time I bought my computer, I would have bought other graphic card brand, for sure.

I hope this post will help people as maybe someone will find a solution, so what I wrote above would be wrong, please prove me I’m wrong about nvidia (⊃‿⊂).

We discussed about it on EndeavourOS forum.

My current system config :

OS: EndeavourOS Linux x86_64 
Host: 82B5 Lenovo Legion 5 15ARH05 
Kernel: 6.3.2-zen1-1-zen 
Resolution: 1920x1080 
CPU: AMD Ryzen 7 4800H with Radeon Graphics (16) @ 2.900GHz 
GPU: NVIDIA 01:00.0 NVIDIA Corporation TU117M 
GPU: AMD ATI 05:00.0 Renoir 
Memory: 6731MiB / 31457MiB
DE: Xfce 4.18 

I may downgrade or install linux-lts 6.1.28-1 kernel then install 525 nvidia drivers version to « resolve » this.

I’ve just returned my brand new “Linux certified” Lenovo laptop because of this issue.

Problem is, 90% of laptops with dedicated GPU have NVIDIA.

Just here to say I had to deactivate « Switchable Graphics » inside my Bios/UEFI to have second screen sync’ again.

Thing is I totally lost discrete compatibility switch here, so maybe my battery is gonna just die sooner, I really have to thank Nvidia & Lenovo to have chosen Nvidia, this situation is just super outrageous.

If anyone here have a better solution or even a radeon graphic laptop to advise that have nice linux compatibility, I’ll take it !

Some specs again :

Host: 82B5 Lenovo Legion 5 15ARH05
Kernel: 6.4.3-zen1-2-zen
CPU: AMD Ryzen 7 4800H with Radeon Graphics @ 16x 2.9GHz
GPU: NVIDIA GeForce GTX 1650

❯ pacman -Q | grep nvidia

libnvidia-container 1.13.4-1
libnvidia-container-tools 1.13.4-1
nvidia-container-toolkit 1.13.4-1
nvidia-dkms 535.54.03-1
nvidia-hook 1.3-1
nvidia-inst 23-6
nvidia-installer-common 23-6
nvidia-prime 1.0-4
nvidia-settings 535.54.03-1
nvidia-utils 535.54.03-1

Thanks to anyone reading this,

Hi All,
Please test with latest released driver 535.86.05 and share test results.

Hi, I deactivated inside Bios discrete to switchable graphics, here is what nvidia packages I have :

❯ pacman -Q | grep nvidia
libnvidia-container 1.13.5-1
libnvidia-container-tools 1.13.5-1
nvidia-container-toolkit 1.13.5-1
nvidia-dkms 535.86.05-2
nvidia-hook 1.3-1
nvidia-inst 23-6
nvidia-installer-common 23-6
nvidia-prime 1.0-4
nvidia-settings 535.86.05-1
nvidia-utils 535.86.05-2

It seems its fixed. Thanks.

Thank you for sharing test results.