DeliciousAnarchism
DeliciousAnarchism
UBUniversal Blue
Created by DeliciousAnarchism on 11/15/2024 in #🛟bazzite-help
Fresh Bazzite KDE Nvidia install is laggy and sluggish
Upon further digging, I found out it was to do with Nvidia's GSP in their latest drivers that have the open kernel modules. Only thing is, if youre using the drivers with the open kernel modules, you can't disable GSP. So you have to switch to the proprietary drivers first if you're on Bazzite. On Aurora, you can just set the kernel arguments. Anyways this is what you do to fix it: Rebase your image to the legacy Nvidia version:
rpm-ostree reset
rpm-ostree rebase ostree-unverified-registry:ghcr.io/ublue-os/bazzite-nvidia:stable
rpm-ostree reset
rpm-ostree rebase ostree-unverified-registry:ghcr.io/ublue-os/bazzite-nvidia:stable
Then, you can reboot, at which point you need to disable GSP:
rpm-ostree kargs --append=nvidia.NVreg_EnableGpuFirmware=0
rpm-ostree kargs --append=nvidia.NVreg_EnableGpuFirmware=0
After rebooting again, verify that GSP is disabled with this command, you should get [N/A] come up:
nvidia-smi --query-gpu=gsp.mode.current --format=csv
nvidia-smi --query-gpu=gsp.mode.current --format=csv
If it still says enabled, add it to your grub config and reboot:
sudo grub2-mkconfig -o /etc/grub2.cfg #to create a grub config if you havent already got one
sudo grub2-mkconfig -o /etc/grub2.cfg #to create a grub config if you havent already got one
Find GRUB_CMDLINE_LINUX and add nvidia.NVreg_EnableGpuFirmware=0 to it. Reboot and you should be good to go. Note though, that rebasing to the legacy Nvidia drivers is ultimately a bad idea, because Nvidia will stop supporting those drivers soon, and it will effect newer cards too. Typically, this is a Nvidia issue and they seem to be in the process of fixing it. Apparently it's something to do with Wayland and explicit sync? No idea. But it sucks, its been an issue for months. Apparently its even causing issue with suspend and resume? Though I'm not experiencing any trouble thus far. Thanks to everyone here in the chat for helping ❤️
5 replies