-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Description
My laptop is a Lenovo Legion 5 and it has that dual graphics card setup with an Inter iGPU and a discrete Nvidia GTX 1650. (I'm sorry.) This problem only happens when I:
- Select "dynamic graphics" from the BIOS
- Update nvidia proprietary drivers past the version 550.144.03
- Select my external monitor as the only active display.
- Use Xorg (I don't think Wayland works in the "dynamic graphics" configuration yet)
When these conditions are met, the video output becomes extremely laggy. I am currently on KDE Plasma but this happens with i3 as well. The cursor moves fine at 144Hz. But everything behind it, every window, the Plasma toolbars and such run at something like 0.5 frames per second.
For years this laptop has been working great. This has only started happening after updating nvidia past the specified version. The output is smooth if I use a multimonitor configuration like "extend display" or "unify (mirror) display". If I disable "dynamic graphics" from the BIOS and only use the dGPU, using only the external monitor works fine too.
I have tried searching for a fix for this but it seems like no one else is having this problem.
I had -m hold
those packages for a couple of months hoping that some nvidia update might magically fix the problem but that didn't happen unfortunately.
I will dump some info that might help with the diagnosis:
Installed packages: https://termbin.com/n72t
Enabled services
~ ❯ sudo sv status /var/service/*
run: /var/service/agetty-tty1: (pid 1143) 928s
run: /var/service/agetty-tty2: (pid 1148) 928s
run: /var/service/agetty-tty3: (pid 1176) 928s
run: /var/service/agetty-tty4: (pid 1174) 928s
run: /var/service/agetty-tty5: (pid 1151) 928s
run: /var/service/agetty-tty6: (pid 1146) 928s
run: /var/service/bluetoothd: (pid 1183) 928s; run: log: (pid 1182) 928s
run: /var/service/dbus: (pid 1159) 928s; run: log: (pid 1158) 928s
run: /var/service/nanoklogd: (pid 1453) 927s
run: /var/service/NetworkManager: (pid 1155) 928s; run: log: (pid 1150) 928s
run: /var/service/ntpd-rs: (pid 1172) 928s; run: log: (pid 1169) 928s
run: /var/service/runsv-kartik: (pid 1175) 928s
run: /var/service/sddm: (pid 1181) 928s; run: log: (pid 1170) 928s
run: /var/service/snooze-daily-enabled-only: (pid 1154) 928s
run: /var/service/socklog-unix: (pid 1178) 928s; run: log: (pid 1177) 928s
run: /var/service/sshd: (pid 1163) 928s; run: log: (pid 1162) 928s
run: /var/service/tailscaled: (pid 1186) 928s; run: log: (pid 1185) 928s
run: /var/service/tlp: (pid 1184) 928s; run: log: (pid 1180) 928s
run: /var/service/udevd: (pid 1161) 928s; run: log: (pid 1160) 928s
~ ❯ sv status .local/etc/sv/*
run: .local/etc/sv/snooze-daily: (pid 1204) 960s
I also don't have any special configuration for nvidia
~ ❯ sudo rg nvidia -i /etc
Password:
/etc/elogind/sleep.conf
36:#HandleNvidiaSleep=no
/etc/zfsbootmenu/dracut.conf.d/omit-drivers.conf
4:omit_drivers+=" amdgpu radeon nvidia nouveau i915 drm "
/etc/zzz.d/resume/nvidia-resume
2:exec /usr/bin/nvidia-sleep.sh "resume"
/etc/zzz.d/suspend/nvidia-suspend
2:exec /usr/bin/nvidia-sleep.sh "suspend"
/etc/sv/nvidia-powerd/run
4:exec /usr/bin/nvidia-powerd
/etc/sv/nvidia-powerd/log/run
2:exec vlogger -t nvidia-powerd -p daemon
I am not sure where to start looking to find what the problem is.