Fresh Bazzite KDE Nvidia install is laggy and sluggish

Just installed the KDE flavour of Bazzite on my setup, it has a Nvidia RTX 3060 and an Intel i5 9500 with 16gb of ram. I’ve noticed the UI and UX is super stuttery. Scrolling on a busy page on Firefox is not smooth. Coming from Ubuntu it was liquid smooth. This feels super slow and laggy. I have the latest image from the website installed. Any ideas on what I can do? The driver version is 565.57.01
3 Replies
DeliciousAnarchism
DeliciousAnarchismOP2mo ago
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 ❤️
GitHub
GitHub - oddmario/NVIDIA-Fedora-Driver-Guide: A little guide to hel...
A little guide to help you install & manage NVIDIA GPU drivers on your Fedora system - oddmario/NVIDIA-Fedora-Driver-Guide
M2
M22mo ago
Use rpm-ostree kargs instead of editing grub configuration
Zeglius
Zeglius2mo ago
Ok I think might add this to the docs, maybe tomorrow though, I dont trust myself writing anything this late xD thanks for sharing ❤️
Want results from more Discord servers?
Add your server