Hello,
I’ve updated nvidia’s drivers 520.56.06-1.fc37 to newest 525.60.11-1.fc37 from rpmfusion and with them my external screen’s FPS drops to 1-2 frames per second and every mouse click and keyboard press has a huge several second delay. This is just with normal X11 KDE desktop usage. I have not even tried to start any 3D games. This issue seems to come up when I have the external screen enabled and laptop’s screen disabled. Enabling laptop’s screen improves FPS in the external screen. If I switch to Wayland session FPS increases to 17 frames per second which is still horrible, but much more usable, and I don’t notice the huge input lag anymore. There is no difference in Wayland performance before or after driver update, so this issue seems to be constrained to X11.
What is it that is causing this issue? And what can I do to fix it?
I have a Tuxedo XP15 gen11 laptop with Intel UHD Graphics 630 and GeForce RTX 2080, so this is a optimus system. I’m using the hybrid mode that is enabled by default. So in normal desktop usage where I’m experiencing this issue the Intel GPU is being used to render the desktop (or it should be). The external screen is connected with displayport cable to thunderbolt 3 dock (CalDigit TS3 Plus) and the dock is connected via tb3 cable to the laptop.
I’ve verified that issue comes from nvidia’s driver update by ensuring that updating everything except nvidia’s drivers causes no issue, using command:
$ sudo dnf update --exclude "*nvidia*"
Without the exclude the issue comes up after computer restart. I have also waited several minutes after update to ensure that akmod has finished driver update.
I have a Timeshift snapshot from before the driver update which I have used to restore the system back to a working state.
Low FPS after update with 525 drivers (using KDE’s built in desktop effect):
Before update with 520 drivers:
Inxi output:
$ inxi -SMGaz
System:
Kernel: 6.0.15-300.fc37.x86_64 arch: x86_64 bits: 64 compiler: gcc
v: 2.38-25.fc37
parameters: BOOT_IMAGE=(hd0,gpt2)/vmlinuz-6.0.15-300.fc37.x86_64
root=UUID=29b3b20b-e8d0-4a08-8c48-e271ccd0d695 ro rootflags=subvol=@
rd.driver.blacklist=nouveau modprobe.blacklist=nouveau
nvidia-drm.modeset=1 rhgb quiet
initcall_blacklist=simpledrm_platform_driver_init
drm.edid_firmware=eDP-1:edid/1920x1080.bin
pci=assign-busses,realloc,hpbussize=0x33,hpmmiosize=128M,hpmmioprefsize=8G,hpiosize=4K
rd.driver.blacklist=nouveau modprobe.blacklist=nouveau
nvidia-drm.modeset=1
Desktop: KDE Plasma v: 5.26.4 tk: Qt v: 5.15.7 wm: kwin_x11 vt: 2 dm: SDDM
Distro: Fedora release 37 (Thirty Seven)
Machine:
Type: Laptop System: TUXEDO product: TUXEDO Book XP1511 v: N/A
serial: <superuser required> Chassis: Notebook type: 10
serial: <superuser required>
Mobo: TUXEDO model: PCX0DX serial: <superuser required> UEFI: INSYDE
v: 1.07.09RTR2 date: 10/23/2020
Graphics:
Device-1: Intel CometLake-H GT2 [UHD Graphics] vendor: CLEVO/KAPOK
driver: i915 v: kernel arch: Gen-9.5 process: Intel 14nm built: 2016-20
ports: active: none off: eDP-1 empty: none bus-ID: 00:02.0
chip-ID: 8086:9bc4 class-ID: 0300
Device-2: NVIDIA TU104M [GeForce RTX 2080 SUPER Mobile / Max-Q]
vendor: CLEVO/KAPOK driver: nvidia v: 520.56.06
alternate: nouveau,nvidia_drm non-free: 520.xx+
status: current (as of 2022-10) arch: Turing code: TUxxx
process: TSMC 12nm built: 2018-22 pcie: gen: 1 speed: 2.5 GT/s lanes: 16
link-max: gen: 3 speed: 8 GT/s ports: active: none off: DP-1
empty: DP-2,HDMI-A-1 bus-ID: 01:00.0 chip-ID: 10de:1e93 class-ID: 0300
Device-3: Acer BisonCam NB Pro type: USB driver: uvcvideo bus-ID: 1-8:2
chip-ID: 5986:9102 class-ID: 0e02
Device-4: Logitech C920 HD Pro Webcam type: USB
driver: snd-usb-audio,uvcvideo bus-ID: 7-3.2:5 chip-ID: 046d:0892
class-ID: 0102 serial: <filter>
Display: x11 server: X.Org v: 1.20.14 with: Xwayland v: 22.1.7
compositor: kwin_x11 driver: X: loaded: modesetting,nvidia
unloaded: fbdev,nouveau,vesa alternate: nv dri: iris
gpu: i915,nvidia,nvidia-nvswitch display-ID: :0 screens: 1
Screen-1: 0 s-res: 3440x1440 s-dpi: 96 s-size: 907x380mm (35.71x14.96")
s-diag: 983mm (38.72")
Monitor-1: DP-1 mapped: DP-1-0 note: disabled pos: primary
model: Asus ROG PG348Q serial: <filter> built: 2016 res: 3440x1440 dpi: 109
gamma: 1.2 size: 798x335mm (31.42x13.19") diag: 865mm (34.1") modes:
max: 3440x1440 min: 640x480
Monitor-2: eDP-1 note: disabled model: Linux FHD serial: <filter>
built: 2012 res: 3440x1440 dpi: 98 gamma: 1.2 size: 500x281mm (19.69x11.06")
diag: 574mm (22.6") ratio: 16:9 modes: 1920x1080
API: OpenGL v: 4.6 Mesa 22.3.1 renderer: Mesa Intel UHD Graphics (CML GT2)
direct render: Yes
Boltctl output:
$ boltctl
● CalDigit, Inc. TS3 Plus
├─ type: peripheral
├─ name: TS3 Plus
├─ vendor: CalDigit, Inc.
├─ uuid: 009962fc-94f3-3d00-ffff-ffffffffffff
├─ generation: Thunderbolt 3
├─ status: authorized
│ ├─ domain: bf010000-0080-8c1e-8360-5731e270b826
│ ├─ rx speed: 40 Gb/s = 2 lanes * 20 Gb/s
│ ├─ tx speed: 40 Gb/s = 2 lanes * 20 Gb/s
│ └─ authflags: none
├─ authorized: ti 27. joulukuuta 2022 18.09.41
├─ connected: ti 27. joulukuuta 2022 18.09.41
└─ stored: ke 14. syyskuuta 2022 06.16.00
├─ policy: iommu
└─ key: no
Nvidia driver packages before update (working state):
$ dnf list installed | grep nvidia
akmod-nvidia.x86_64 3:520.56.06-1.fc37 @rpmfusion-nonfree
kmod-nvidia-6.0.8-300.fc37.x86_64.x86_64 3:520.56.06-1.fc37 @@commandline
nvidia-settings.x86_64 3:520.56.06-1.fc37 @rpmfusion-nonfree
xorg-x11-drv-nvidia.x86_64 3:520.56.06-1.fc37 @rpmfusion-nonfree
xorg-x11-drv-nvidia-cuda-libs.x86_64 3:520.56.06-1.fc37 @rpmfusion-nonfree
xorg-x11-drv-nvidia-kmodsrc.x86_64 3:520.56.06-1.fc37 @rpmfusion-nonfree
xorg-x11-drv-nvidia-libs.i686 3:520.56.06-1.fc37 @rpmfusion-nonfree
xorg-x11-drv-nvidia-libs.x86_64 3:520.56.06-1.fc37 @rpmfusion-nonfree
xorg-x11-drv-nvidia-power.x86_64 3:520.56.06-1.fc37 @rpmfusion-nonfree
Nvidia driver packages after update (low FPS):
$ dnf check-update | grep nvidia
akmod-nvidia.x86_64 3:525.60.11-1.fc37 rpmfusion-nonfree-updates
nvidia-settings.x86_64 3:525.60.11-1.fc37 rpmfusion-nonfree-updates
xorg-x11-drv-nvidia.x86_64 3:525.60.11-1.fc37 rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-cuda-libs.x86_64 3:525.60.11-1.fc37 rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-kmodsrc.x86_64 3:525.60.11-1.fc37 rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-libs.i686 3:525.60.11-1.fc37 rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-libs.x86_64 3:525.60.11-1.fc37 rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-power.x86_64 3:525.60.11-1.fc37 rpmfusion-nonfree-updates