Random audio and video stutters when opening new apps / graphical menus in Plasma

Hi,

I’ve installed OpenSUSE Tumbleweed on my PC and noticed short but noticable video/audio stutters. From what I can tell, though not even this is consistent, they occur whenever I open an app or Plasma menu I haven’t opened in that session. I haven’t found anything of note in the journal and as I said, this is incredibly inconsistent. Some apps cause stutters only when opened the first time and never again, others several times in a row, and I can’t figure out why (though I think this will be easy to dismiss as an Nvidia problem).

System information pulled from KDE’s info center app:

Operating System: openSUSE Tumbleweed 20250405
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.12.0
Qt Version: 6.9.0
Kernel Version: 6.14.0-1-default (64-bit)
Graphics Platform: Wayland
Processors: 6 × AMD Ryzen 5 3500X 6-Core Processor
Memory: 15,5 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 2060
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: B550M AORUS PRO-P

I installed the G06 Nvidia driver following the SDB guide.

Any help is much appreciated

Post

zypper se -s nvidia

and

inxi -aFz

Output of zypper se -s nvidiais too long, so I filtered only the installed packages:


S  | Name                                      | Type    | Version                  | Arch   | Repository
---+-------------------------------------------+---------+--------------------------+--------+--------------
i  | kernel-firmware-nvidia                    | package | 20250206-2.1             | noarch | repo-oss
i  | libnvidia-egl-gbm1                        | package | 1.1.2-7.7                | x86_64 | repo-non-free
i  | libnvidia-egl-gbm1-32bit                  | package | 1.1.2-7.6                | x86_64 | repo-non-free
i  | libnvidia-egl-wayland1                    | package | 1.1.18-46.3              | x86_64 | repo-non-free
i  | libnvidia-egl-wayland1-32bit              | package | 1.1.18-46.3              | x86_64 | repo-non-free
i  | libnvidia-egl-x111                        | package | 1.0.1-9.9                | x86_64 | repo-non-free
i  | libnvidia-egl-x111-32bit                  | package | 1.0.1-9.7                | x86_64 | repo-non-free
i  | nvidia-common-G06                         | package | 570.133.07-33.1          | x86_64 | repo-non-free
i  | nvidia-compute-G06                        | package | 570.133.07-33.1          | x86_64 | repo-non-free
i  | nvidia-compute-G06-32bit                  | package | 570.133.07-33.1          | x86_64 | repo-non-free
i+ | nvidia-compute-utils-G06                  | package | 570.133.07-33.1          | x86_64 | repo-non-free
i  | nvidia-gl-G06                             | package | 570.133.07-33.1          | x86_64 | repo-non-free
i  | nvidia-gl-G06-32bit                       | package | 570.133.07-33.1          | x86_64 | repo-non-free
i  | nvidia-modprobe                           | package | 570.133.07-12.1          | x86_64 | repo-non-free
i  | nvidia-open-driver-G06-signed-kmp-default | package | 570.133.07_k6.14.0_1-1.2 | x86_64 | repo-oss
i  | nvidia-persistenced                       | package | 570.133.07-2.1           | x86_64 | repo-non-free
i+ | nvidia-video-G06                          | package | 570.133.07-33.1          | x86_64 | repo-non-free
i  | nvidia-video-G06-32bit                    | package | 570.133.07-33.1          | x86_64 | repo-non-free
i+ | openSUSE-repos-Tumbleweed-NVIDIA          | package | 20250324.7d1bc96-1.1     | x86_64 | repo-oss

Output of inxi -aFz:

System:
  Kernel: 6.14.0-1-default arch: x86_64 bits: 64 compiler: gcc v: 14.2.1
    clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.14.0-1-default
    root=/dev/mapper/system-root splash=silent mitigations=auto quiet
    security=selinux selinux=1 enforcing=1 rd.driver.blacklist=nouveau
  Desktop: KDE Plasma v: 6.3.4 tk: Qt v: N/A info: frameworks v: 6.12.0
    wm: kwin_wayland tools: avail: xscreensaver vt: 3 dm: SDDM Distro: openSUSE
    Tumbleweed 20250405
Machine:
  Type: Desktop System: Gigabyte product: B550M AORUS PRO-P v: N/A
    serial: <superuser required>
  Mobo: Gigabyte model: B550M AORUS PRO-P serial: <superuser required>
    uuid: <superuser required> UEFI: American Megatrends LLC. v: F15a
    date: 02/16/2022
Battery:
  Device-1: hidpp_battery_0 model: Logitech G305 Lightspeed Wireless Gaming
    Mouse serial: <filter> charge: 55% (should be ignored) rechargeable: yes
    status: discharging
CPU:
  Info: model: AMD Ryzen 5 3500X bits: 64 type: MCP arch: Zen 2 gen: 2
    level: v3 note: check built: 2020-22 process: TSMC n7 (7nm)
    family: 0x17 (23) model-id: 0x71 (113) stepping: 0 microcode: 0x8701034
  Topology: cpus: 1x dies: 1 clusters: 1 cores: 6 smt: <unsupported> cache:
    L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 3 MiB desc: 6x512 KiB
    L3: 32 MiB desc: 2x16 MiB
  Speed (MHz): avg: 3815 min/max: 550/4121 boost: enabled scaling:
    driver: amd-pstate-epp governor: powersave cores: 1: 3815 2: 3815 3: 3815
    4: 3815 5: 3815 6: 3815 bogomips: 43338
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: ghostwrite status: Not affected
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: reg_file_data_sampling status: Not affected
  Type: retbleed mitigation: untrained return thunk; SMT disabled
  Type: spec_rstack_overflow mitigation: SMT disabled
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Retpolines; IBPB: conditional; STIBP:
    disabled; RSB filling; PBRSB-eIBRS: Not affected; BHI: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA TU106 [GeForce RTX 2060 Rev. A] vendor: ZOTAC
    driver: nvidia v: 570.133.07 alternate: nouveau,nvidia_drm
    non-free: 550/565.xx+ status: current (as of 2025-01; EOL~2026-12-xx)
    arch: Turing code: TUxxx process: TSMC 12nm FF built: 2018-2022 pcie:
    gen: 3 speed: 8 GT/s lanes: 16 ports: active: none off: DP-1,HDMI-A-1
    empty: DP-2,DP-3 bus-ID: 04:00.0 chip-ID: 10de:1f08 class-ID: 0300
  Display: wayland server: X.org v: 1.21.1.15 with: Xwayland v: 24.1.6
    compositor: kwin_wayland driver: X: loaded: nvidia
    unloaded: modesetting,vesa alternate: fbdev,nouveau,nv
    gpu: nvidia,nvidia-nvswitch d-rect: 3840x1080 display-ID: 0
  Monitor-1: DP-1 pos: right model: Dell S2421HS serial: <filter>
    built: 2020 res: mode: 1920x1080 hz: 75 scale: 100% (1) dpi: 93 gamma: 1.2
    size: 527x296mm (20.75x11.65") diag: 604mm (23.8") ratio: 16:9 modes:
    max: 1920x1080 min: 640x480
  Monitor-2: HDMI-A-1 pos: primary,left model: Samsung LC24RG50
    serial: <filter> built: 2020 res: mode: 1920x1080 hz: 144 scale: 100% (1)
    dpi: 92 gamma: 1.2 size: 532x304mm (20.94x11.97") diag: 613mm (24.1")
    ratio: 16:9 modes: max: 1920x1080 min: 640x480
  API: EGL v: 1.5 hw: drv: nvidia platforms: device: 0 drv: nvidia gbm:
    drv: nvidia surfaceless: drv: nvidia wayland: drv: nvidia x11: drv: nvidia
  API: OpenGL v: 4.6.0 vendor: nvidia v: 570.133.07 glx-v: 1.4
    direct-render: yes renderer: NVIDIA GeForce RTX 2060/PCIe/SSE2
    memory: 5.86 GiB display-ID: :1.0
  API: Vulkan v: 1.4.309 layers: 1 device: 0 type: discrete-gpu
    name: NVIDIA GeForce RTX 2060 driver: N/A device-ID: 10de:1f08
    surfaces: xcb,xlib,wayland
  Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
    de: kscreen-console,kscreen-doctor gpu: nvidia-smi wl: wayland-info
    x11: xdpyinfo, xprop, xrandr
Audio:
  Device-1: NVIDIA TU106 High Definition Audio vendor: ZOTAC
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
    bus-ID: 04:00.1 chip-ID: 10de:10f9 class-ID: 0403
  Device-2: Advanced Micro Devices [AMD] Starship/Matisse HD Audio
    vendor: Gigabyte driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s
    lanes: 16 bus-ID: 06:00.4 chip-ID: 1022:1487 class-ID: 0403
  Device-3: Logitech Logitech G PRO X Gaming Headset
    driver: hid-generic,snd-usb-audio,usbhid type: USB rev: 2.0 speed: 12 Mb/s
    lanes: 1 mode: 1.1 bus-ID: 1-10.4:6 chip-ID: 046d:0aaa class-ID: 0300
    serial: <filter>
  API: ALSA v: k6.14.0-1-default status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: PipeWire v: 1.4.1 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Realtek RTL8125 2.5GbE vendor: Gigabyte driver: r8169 v: kernel
    pcie: gen: 2 speed: 5 GT/s lanes: 1 port: f000 bus-ID: 03:00.0
    chip-ID: 10ec:8125 class-ID: 0200
  IF: enp3s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  Info: services: NetworkManager,sshd
Drives:
  Local Storage: total: 2.26 TiB used: 66.1 GiB (2.9%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: Crucial model: CT480BX500SSD1
    size: 447.13 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    tech: SSD serial: <filter> fw-rev: 041 scheme: GPT
  ID-2: /dev/sdb maj-min: 8:16 vendor: Crucial model: CT1000MX500SSD1
    size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
    tech: SSD serial: <filter> fw-rev: 046 scheme: GPT
  ID-3: /dev/sdc maj-min: 8:32 vendor: Seagate model: ST1000DM010-2EP102
    size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
    tech: HDD rpm: 7200 serial: <filter> fw-rev: CC43 scheme: GPT
Partition:
  ID-1: / raw-size: 200 GiB size: 200 GiB (100.00%) used: 18.57 GiB (9.3%)
    fs: btrfs dev: /dev/dm-0 maj-min: 254:0 mapped: system-root
  ID-2: /boot/efi raw-size: 100 MiB size: 96 MiB (96.00%)
    used: 37.4 MiB (38.9%) fs: vfat dev: /dev/sda1 maj-min: 8:1
  ID-3: /home raw-size: 300 GiB size: 300 GiB (100.00%)
    used: 47.49 GiB (15.8%) fs: btrfs dev: /dev/dm-1 maj-min: 254:1
    mapped: system-home
  ID-4: /opt raw-size: 200 GiB size: 200 GiB (100.00%)
    used: 18.57 GiB (9.3%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
    mapped: system-root
  ID-5: /var raw-size: 200 GiB size: 200 GiB (100.00%)
    used: 18.57 GiB (9.3%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
    mapped: system-root
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 37.6 C mobo: 37.0 C
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 16 GiB available: 15.52 GiB used: 4.88 GiB (31.4%)
  Processes: 384 Power: uptime: 2h 7m states: freeze,mem suspend: deep
    avail: s2idle wakeups: 0 hibernate: disabled image: 6.18 GiB
    services: org_kde_powerdevil,upowerd Init: systemd v: 257
    default: graphical tool: systemctl
  Packages: pm: rpm pkgs: N/A note: see --rpm tools: yast,zypper pm: flatpak
    pkgs: 19 Compilers: N/A Shell: Zsh v: 5.9 running-in: kitty inxi: 3.3.37

Upgrade BIOS. Then load BIOS defaults and set it up.
It provides protection from vulnerabilities and other issues. Hope it will help. If not - post questions again.

I’ll try later, but can I just ask why? For future reference and out of curiosity. As in did that help with similar issues before or?

Right now it provides protection from different SMM vulnerabilities:

It also can help with another issues. I doubt that it will help in your specific case, but who knows…

@Zeash Where are the stuttering audio / video files stored? On the Seagate HDD?
Is the system just installed?
Looks like a transient disk overload, possibly caused by disk indexing activity if the system has just been installed, for instance if the Baloo file indexer is running.
Wait for initial indexing to complete, then check again.

Perhaps examine the GPU loading with nvtop…
https://www.cyberciti.biz/hardware/nvtop-command-in-linux-to-monitor-nvidia-amd-intel-gpus/
That might help identify any underlying processes involved when the stuttering is noticeable.

On the SSDs, I don’t have anything related to this installation on the HDD. And yes, this is a new installation

@Zeash @deano_ferrari zypper in nvtop note, newer Intel GPU’s require setcap cap_perfmon=ep /usr/bin/nvtop for memory consumption.

Btw, when I say “video/audio stutters”, I’m not referring to a single application. The whole system stutters during these actions

FWIW, there are others experiencing similar with NVIDIA recent graphics drivers and Plasma Wayland…

There are comments about possible p-state issues and GSP. Also, are you using VRR monitors?

I’m on GNOME here, as well as using the run file;

nvidia-smi -q | grep "Firmware Version"
    GSP Firmware Version                  : 570.133.07

 nvidia-smi 
Sun Apr 13 18:59:50 2025       
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 570.133.07             Driver Version: 570.133.07     CUDA Version: 12.8     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA T400                    Off |   00000000:01:00.0 Off |                  N/A |
| 38%   35C    P8            N/A  /   31W |      31MiB /   2048MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
                                                                                         
+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI              PID   Type   Process name                        GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|    0   N/A  N/A            1394      G   /usr/bin/gnome-shell                      1MiB |
|    0   N/A  N/A            2144    C+G   /usr/bin/ptyxis                          27MiB |
+-----------------------------------------------------------------------------------------+
cat /etc/modprobe.d/50-nvidia-tweaks.conf 

blacklist nouveau
options nouveau modeset=0
##Power Management
## Disable runtime D3 power management features
##options nvidia NVreg_DynamicPowerManagement=0x00
## Allow the GPU to go into its lowest power state when no applications are running
options nvidia NVreg_DynamicPowerManagement=0x02
## For suspending, make sure not using tmpfs!
options nvidia NVreg_PreserveVideoMemoryAllocations=1
options nvidia NVreg_TemporaryFilePath=/var/tmp
## Enable the PAT feature
options nvidia NVreg_UsePageAttributeTable=1
## Enable PCI 3.0
##options nvidia NVreg_EnablePCIeGen3=1
## Support for CUDA Stream Memory Operations in user-mode applications.
options nvidia NVreg_EnableStreamMemOPs=1

@Zeash can you show the output from cat /proc/driver/nvidia/params | sort

1 Like

BIOS update didn’t help

Can’t say I’ve noticed any increased load on the GPU during stutters. Same goes for disks

Output of cat /proc/driver/nvidia/params | sort:

CreateImexChannel0: 0
DeviceFileGID: 482
DeviceFileMode: 432
DeviceFileUID: 0
DmaRemapPeerMmio: 1
DynamicPowerManagement: 3
DynamicPowerManagementVideoMemoryThreshold: 200
EnableDbgBreakpoint: 0
EnableGpuFirmware: 18
EnableGpuFirmwareLogs: 2
EnableMSI: 1
EnablePCIeGen3: 0
EnablePCIERelaxedOrderingMode: 0
EnableResizableBar: 0
EnableS0ixPowerManagement: 1
EnableStreamMemOPs: 0
EnableUserNUMAManagement: 1
ExcludedGpus: ""
GpuBlacklist: ""
GrdmaPciTopoCheckOverride: 0
IgnoreMMIOCheck: 0
ImexChannelCount: 2048
InitializeSystemMemoryAllocations: 1
KMallocHeapMaxSize: 0
MemoryPoolSize: 0
ModifyDeviceFiles: 1
NvLinkDisable: 0
OpenRmEnableUnsupportedGpus: 1
PreserveVideoMemoryAllocations: 1
RegisterPCIDriver: 1
RegistryDwords: ""
RegistryDwordsPerDevice: ""
ResmanDebugLevel: 4294967295
RmLogonRC: 1
RmMsg: ""
RmNvlinkBandwidthLinkCount: 0
RmProfilingAdminOnly: 1
S0ixPowerManagementVideoMemoryThreshold: 256
TemporaryFilePath: "/var/tmp"
UsePageAttributeTable: 4294967295
VMallocHeapMaxSize: 0

I’ve confirmed the issue in question only occurs on Wayland. X11 is extremely laggy overall but otherwise there are no audio stutters so I’m guessing they’re unrelated issues (and I don’t really care for X11).

As for the linked posts, scrolling in general is fine for me, it’s only when I open a new menu/app that the stuttering occurs. I have noticed it once when I pulled by browser out of maximized mode with my mouse. Otherwise it’s been “consistent”

I’ve found the cause. Setting my Dell monitor’s refresh rate to 60Hz fixed it. The only thing that comes to mind is that I set it to 75Hz once before I installed the drivers. The top 1/6th of that screen turned black and I concluded it was because drivers were missing. After I installed them I tried again and I could see everything on the screen but obviously this issue also appeared.

I can help in troubleshooting further if anyone’s interested, though tbh I don’t really care that much about my second monitor’s refresh rate. More so about figuring it out for future reference

1 Like