Lag/delay onto second screen with latest nvidia drivers


I broke my system a week ago while doing an upgrade, I didn’t have any warning messages that something would change on my system, after rebooting, my screen got blinking & I couldn’t even ctrl+alt+F2 into other shells, I did arch-chroot to try debugging for hours without fixing anything, it was quite annoying.


At some point I found this article which saved my day, I don’t know how to get to know these major upgrades before breaking my system but


Now everything is kinda back to normal but still I have this weird lag/delay onto second screen with latest nvidia drivers, I can’t use second screen as it stutters a lot.

Before my system broke, I used this xfce plugin from aur (optimus-manager ?) to switch between hybrid, dedicated & discrete GPU. Now I don’t know how to manage it anymore, or if I can install optimus-manager back as I really don’t wan’t to break my system again.

With extra/nvidia-prime 1.0-4 installed, what do I need to have hybrid, dedicated & discrete GPU selection back ?

It seems I’m missing some items inside nvidia-settings 530.41.03-1 like in this screenshot :


What causes this second screen delay & how can I resolve it ? I can paste some journalctl stuff if needed.

Currently running EndeavourOS 6.3.2-zen1-1-zen but I do also have lts & default EndeavourOS kernels.

Here are some other informations from my system. Thanks a bunch.

❯ xrandr

Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
eDP-1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 194mm
   1920x1080    144.00*+
   1680x1050    144.00  
   1280x1024    144.00  
   1440x900     144.00  
   1280x800     144.00  
   1280x720     144.00  
   1024x768     144.00  
   800x600      144.00  
   640x480      144.00  
DP-1-0 disconnected (normal left inverted right x axis y axis)
DP-1-1 disconnected (normal left inverted right x axis y axis)
HDMI-1-0 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 1600mm x 900mm
   1920x1080     60.00*+  59.94    50.00    23.98  
   1280x1024     60.02  
   1280x720      60.00    59.94    50.00  
   1024x768      60.00  
   800x600       60.32  
   720x576       50.00  
   720x480       59.94  
   640x480       59.94    59.93  
DP-1-2 disconnected (normal left inverted right x axis y axis)

❯ nvidia-smi

Wed May 17 12:42:28 2023       
| NVIDIA-SMI 530.41.03              Driver Version: 530.41.03    CUDA Version: 12.1     |
| GPU  Name                  Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf            Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                                         |                      |               MIG M. |
|   0  NVIDIA GeForce GTX 1650         Off| 00000000:01:00.0 Off |                  N/A |
| N/A   36C    P8                1W /  N/A|      6MiB /  4096MiB |      0%      Default |
|                                         |                      |                  N/A |
| Processes:                                                                            |
|  GPU   GI   CI        PID   Type   Process name                            GPU Memory |
|        ID   ID                                                             Usage      |
|    0   N/A  N/A       870      G   /usr/lib/Xorg                                 4MiB |

❯ lspci | grep -i nvidia

01:00.0 VGA compatible controller: NVIDIA Corporation TU117M (rev a1)
01:00.1 Audio device: NVIDIA Corporation Device 10fa (rev a1)

❯ inxi -Ga

  Device-1: NVIDIA TU117M vendor: Lenovo driver: nvidia v: 530.41.03
    alternate: nouveau,nvidia_drm non-free: 530.xx+
    status: current (as of 2023-05) arch: Turing code: TUxxx
    process: TSMC 12nm FF built: 2018-22 pcie: gen: 1 speed: 2.5 GT/s lanes: 8
    link-max: gen: 3 speed: 8 GT/s lanes: 16 ports: active: none
    empty: DP-1,HDMI-A-1,eDP-1 bus-ID: 01:00.0 chip-ID: 10de:1f99
    class-ID: 0300
  Device-2: AMD Renoir vendor: Lenovo driver: amdgpu v: kernel arch: GCN-5
    code: Vega process: GF 14nm built: 2017-20 pcie: gen: 4 speed: 16 GT/s
    lanes: 16 ports: active: eDP-2 empty: none bus-ID: 05:00.0
    chip-ID: 1002:1636 class-ID: 0300 temp: 41.0 C
  Display: x11 server: X.Org v: 21.1.8 compositor: xfwm v: 4.18.0 driver: X:
    loaded: amdgpu,nvidia unloaded: modesetting alternate: fbdev,nouveau,nv,vesa
    dri: radeonsi gpu: amdgpu display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x286mm (20.00x11.26")
    s-diag: 583mm (22.95")
  Monitor-1: eDP-2 mapped: eDP-1 model: BOE Display 0x08df built: 2019
    res: 1920x1080 hz: 144 dpi: 142 gamma: 1.2 size: 344x194mm (13.54x7.64")
    diag: 395mm (15.5") ratio: 16:9 modes: max: 1920x1080 min: 640x480
  API: OpenGL v: 4.6 Mesa 23.0.3 renderer: AMD Radeon Graphics (renoir LLVM
    15.0.7 DRM 3.52 6.3.2-zen1-1-zen) direct-render: Yes

Thanks a lot to anyone that contributed to EndeavourOS, better os than Manjaro I was using before.

This may or may not have anything to do with your issue however it does appear that your nvidia settings display is missing stuff. Here is a look at myne

Looking at this I would say your not using nvidia driver but amd

try the optimus manager again.

There are multiple known issues with the latest nVidia drivers. The only decent version seems to be 525, which will also force you to stay on the 6.2 kernel (the 525 drivers will not compile under linux 6.3). It’s messy, but nVidia don’t seem to have prioritized a fix.

1 Like

This might actually be better now with the combination of nVidia drivers 525.116 and the linux kernel 6.3.3. I speculatively installed 525.116 rather than 530.04 and allowed the kernel 6.3.3 update on. DKMS didn’t complain and I have the second monitor up and running with no lag.

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.

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,

So you could downgrade to 525 if the 535 drivers are not vital to you. Those drivers seem happy also with the current kernel 6.4.3 and the external monitor is usable.

nVidia support, frankly, is garbage. They actively reject Linux support tickets into their system, despite allowing such tickets to be filed - you’ll be redirected to their web forum and left to languish there.

It looks like nVidia might have finally fixed this according to the release notes here :

It seems that this is listed as a beta driver in aur

Indeed, these newer drivers seem to fix things up. It was a bit of a battle to get the nvidia-beta packages on due to the dependencies that are forced. I had to remove the nvidia-525xx packages using -Rdd to avoid dependency checking, and could then put on the nvidia-beta packages.

I can confirm this.

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.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.