I noticed this morning that for some reason, my PC is stuttering frequently, doing basic things like web browsing or using the terminal. I notice it most when I move my cursor and sometimes it just gets really choppy and so does everything else. I did a system update hoping it would fix it, but it hasn’t.
Here’s my system info as reported by GNOME.
System Details Report
Report details
- Date generated: 2024-08-19 12:38:02
Hardware Information:
- Hardware Model: ASUSTeK COMPUTER INC. ROG STRIX B450-F GAMING
- Memory: 16.0 GiB
- Processor: AMD Ryzen™ 7 2700X × 16
- Graphics: NVIDIA GeForce GTX 1660
- Disk Capacity: 2.5 TB
Software Information:
- Firmware Version: 5003
- OS Name: Bazzite 40 (FROM Fedora Silverblue)
- OS Build: 9633da0
- OS Type: 64-bit
- GNOME Version: 46
- Windowing System: X11
- Kernel Version: Linux 6.10.4-201.fsync.fc40.x86_64
Quick question seeing as you have an NVIDIA GPU, are you using the bazzite-gnome-nvidia
image?
I am, and the drivers seem to be working properly, or at least they’re installed and running.
Does this happen with any game in particular? Perhaps there is some shaders being processed in the background?
It doesn’t happen with only games, just using it normally, I’ve checked the GPU usage and it doesn’t look like it’s being used very much and I don’t see anything, CPU, RAM or anything else, spiking when it stutters
Have you tried rebasing to an older image? What is your current rpm-ostree status?
I have noticed a similar issue on my system since 40-stable-20240809. However, in my case it only occurs during games. The system freezes briefly and then continues to run. The problem is not present in 40-stable-20240807. Maybe a rebase to this will help you too?
My Setup:
bazzite-nvidia:stable
Intel(R) Core™ i5-8500 (6) @ 4,10 GHz
NVIDIA GeForce RTX 2060 SUPER
KDE Plasma 6.1.3
KWin (Wayland)
1 Like
Now that you mention it, I also started having this issue, I lowered the settings in game and it disapeared, but playing Skyrim, the whole PC would sometimes freeze for 5 to 10 seconds, then come back…
Right now, I also started getting an issue when gaming where the cursor is very stuttery, same issue as OP?
rpm-ostree status
State: idle
Deployments:
● ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-gnome:stable
Digest: sha256:ca0a0e0cca1a64d92f8cad0a72d192b0127657fd81f9cf7e0014c6129daa9f2f
Version: v3.6-40.20240819.1 (2024-08-19T04:57:20Z)
LayeredPackages: gparted openrgb
LocalPackages: lact-libadwaita-0.5.5-0.x86_64
ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-gnome:stable
Digest: sha256:a5205aedb8928a6a8cc46fdf6de2e5af69c6a1f70a682fb6c43b40109ff2c7ef
Version: v3.6-40.20240815.0 (2024-08-15T15:47:04Z)
LayeredPackages: gparted openrgb
LocalPackages: lact-libadwaita-0.5.5-0.x86_64
[EDIT] rebasing to Version: 40.20240807.0 seems to have fixed the cursor stuttering. Note that I have an AMD GPU, not NVIDIA.
I rebased to 20240807 and the stuttering seems to be gone. But does anyone know what could be causing the stuttering in the first place?
It SEEMS to be related to VRR? I’m not entirely sure, it SEEMS to stop when I disable VRR in GNOME.
I’ve opened a GitHub issue if you guys wanna add your comments / specs to it, it might help the devs: Cursor Stuttering on latest version (bazzite-gnome:stable) with VRR Enabled · Issue #1529 · ublue-os/bazzite · GitHub
Well my display is a normal 60hz 1080p screen, it doesn’t support VRR and I’m still having the issue, would that be expected?
Then maybe the issue is unrelated, do add your info to the Github issue if you can!
Unfortunate update: It started stuttering again when I booted it today, and I am on 20240807
I’ll try and update to the latest but I don’t think it’ll fix it
Whilst I was writing this the stuttering stopped, so now I’m even more confused
I get better performance in games when I disable Gnome plugin that shows cpu/ram usages. Forget what it’s called.
I have found a solution to my issue, maybe yours is different, but I fixed it by adding MUTTER_DEBUG_FORCE_KMS_MODE=simple
in /etc/environment
.
After a reboot, it doesn’t lag anymore, even on the latest image.
I think the easiest way to test for this issue is to repeatedly click on the “show apps” button from the dock in quick succession. Do that like 10 times… How smooth do things feel during / after that will tell you all that you need to know in terms of whether this issue is affecting you or not. For fun, move your mouse across the dock during the maximize / minimize animation and bask in
the stuttery glory. Note that having a resource manager open while doing this will show you that not much of anything is being used during the process, but everything will get very choppy very quickly regardless.
The KMS mode flag didn’t work in my case…
Well for me, if I press the show apps button in the dash repeatedly, it’s smooth like butter, but the system still stutters occasionally for some reason.
I tried disabling all my extensions, but it doesn’t seem to have made a difference.
Not sure if you’re running into the same thing or not, but for me the deduplication tasks that it occasionally runs in the background were slowing down my games. I’ve got plenty of disk space, so a while ago I just turned those off entirely and have never tried turning it back on since.
I’ll give it a go, how do I disable it?
I had the same issue and i rebased to 40.20240826.0
i had 40.20240828.0 installed. I dont know why but now its fine.
bazzite-gnome-nvidia:stable A620I Lightning WiFi AMD Ryzen 5 7600 (12) @ 5.17 GHz NVIDIA GeForce RTX 4070 SUPER [Discrete] 3840x1600 @ 144 Hz in 38″ [External] GNOME 46.4 Mutter (Wayland)
I use VRR.
When i updated i had lots of stuttering using the gnome menu or in game.
Even when VRR was off it was still the same thing. Rebooted a few times and nothing changed so i reverted to the version before and since i did everything is fine.