Cursor stuttering and general system lag on fresh bazzite KDE install (nvidia)

Just did a fresh install of Bazzite KDE on my RTX 3060 system, and everything works fine… Except for, I’m getting a lot of stuttering. Things just dont feel smooth. Ubuntu was buttery smooth on this machine, no problems at all. But with Bazzite? Resizing a firefox window even lags, the KDE animations are sometimes smooth sometimes not (about 50 50).

Unrelated but I also find that Firefox is very slow to launch on boot? Like sometimes I have to try launching it twice before I get anywhere.

I’ve done all the system updates, and still nothing. What can I do?

I’m going to take a guess that it’s Nvidia drivers and KDE Plasma’s Wayland session not agreeing on something.

Edit: as for Firefox, it’s the Flatpak. It may take a little longer to launch on first-boot, but launching it twice sounds weird. I’m still blaming Nvidia because I cannot reproduce this on my AMD desktop (running the Desktop image) and my Ally X (running Bazzite-Deck).

1 Like

I tried installing Aurora and bumped into the same issue. However, upon further digging, I found out it was to do with Nvidia’s GSP stuff 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

Then, you can reboot, at which point you need to disable GSP:

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

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

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, and its been an issue for months. Apparently its even causing issue with suspend and resume? Though I’m not experiencing any trouble thus far.

This is also rumoured to work on GNOME setups too. Thanks to the folks on Fedora forums and the Universal Blue Discord for help!

1 Like

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