Periodic full-system stutters for 2-3 seconds

Hi all - for the past week or so, I’ve seen about once or twice per day what I’d describe as a full-system stutter - mouse cursor movement, audio, and the display all seem to refresh/update once per half-second or so. After about 2-3 seconds, it resolves, and there seem to be no ill after-effects. The last two times this happened were while using Firefox with some music and other apps in the background, and while playing a full-screen game (via Steam, Mass Effect Legendary Edition).

It’s not an enormous deal since it’s happening so infrequently during the day, but I’d rather figure out what’s causing it of course. My first thought was that something must surely stick out in the logs, so when it just happened a few minutes ago, I immediately opened the Logs app and grabbed the prior minute of activity - and nothing really sticks out to me? Are there particular system-level things I should look for here?

Any ideas on what to potentially look for would be much appreciated!

Thanks!

My system:

System:
  Kernel: 6.1.7-200.fc37.x86_64 arch: x86_64 bits: 64 compiler: gcc
    v: 2.38-25.fc37 Desktop: GNOME v: 43.2 tk: GTK v: 3.24.36 wm: gnome-shell
    dm: GDM Distro: Fedora release 37 (Thirty Seven)
Machine:
  Type: Laptop System: HP product: HP Pavilion Gaming Laptop 15-ec2xxx v: N/A
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: HP model: 88DD v: 96.33 serial: <superuser required> UEFI: AMI
    v: F.22 date: 08/10/2022
Battery:
  ID-1: BAT0 charge: 46.9 Wh (99.4%) condition: 47.2/47.2 Wh (100.0%)
    volts: 12.7 min: 11.6 model: HP Primary serial: <filter>
    status: not charging
  Device-1: apple_mfi_fastcharge model: N/A serial: N/A charge: N/A
    status: N/A
CPU:
  Info: 6-core model: AMD Ryzen 5 5600H with Radeon Graphics bits: 64
    type: MT MCP arch: Zen 3 rev: 0 cache: L1: 384 KiB L2: 3 MiB L3: 16 MiB
  Speed (MHz): avg: 2736 high: 4005 min/max: 1200/4280 boost: enabled cores:
    1: 3367 2: 3120 3: 4005 4: 2621 5: 2350 6: 3300 7: 1200 8: 1200 9: 3364
    10: 1200 11: 3807 12: 3300 bogomips: 79047
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
  Device-1: NVIDIA TU117M vendor: Hewlett-Packard driver: nvidia v: 525.78.01
    arch: Turing pcie: speed: 2.5 GT/s lanes: 8 ports: active: none
    empty: HDMI-A-1 bus-ID: 01:00.0 chip-ID: 10de:1f99
  Device-2: AMD Cezanne [Radeon Vega Series / Radeon Mobile Series]
    vendor: Hewlett-Packard driver: amdgpu v: kernel arch: GCN-5.1 pcie:
    speed: 8 GT/s lanes: 16 ports: active: eDP-1 empty: none bus-ID: 05:00.0
    chip-ID: 1002:1638 temp: 46.0 C
  Device-3: Luxvisions Innotech HP TrueVision HD Camera type: USB
    driver: uvcvideo bus-ID: 3-3:3 chip-ID: 30c9:0035
  Display: wayland server: X.org v: 1.20.14 with: Xwayland v: 22.1.7
    compositor: gnome-shell driver: X: loaded: amdgpu,nvidia
    unloaded: fbdev,modesetting,nouveau,vesa alternate: nv dri: radeonsi
    gpu: amdgpu display-ID: 0
  Monitor-1: eDP-1 model: BOE Display 0x094d res: 1920x1080 dpi: 142
    diag: 395mm (15.5")
  API: OpenGL v: 4.6 Mesa 22.3.3 renderer: AMD Radeon Graphics (renoir LLVM
    15.0.6 DRM 3.49 6.1.7-200.fc37.x86_64) direct render: Yes
Audio:
  Device-1: NVIDIA vendor: Hewlett-Packard driver: snd_hda_intel v: kernel
    pcie: speed: 2.5 GT/s lanes: 8 bus-ID: 01:00.1 chip-ID: 10de:10fa
  Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: Hewlett-Packard
    driver: N/A pcie: speed: 8 GT/s lanes: 16 bus-ID: 05:00.5 chip-ID: 1022:15e2
  Device-3: AMD Family 17h/19h HD Audio vendor: Hewlett-Packard
    driver: snd_hda_intel v: kernel pcie: speed: 8 GT/s lanes: 16
    bus-ID: 05:00.6 chip-ID: 1022:15e3
  Sound API: ALSA v: k6.1.7-200.fc37.x86_64 running: yes
  Sound Server-1: PulseAudio v: 16.1 running: no
  Sound Server-2: PipeWire v: 0.3.64 running: yes
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Hewlett-Packard driver: r8169 v: kernel pcie: speed: 2.5 GT/s
    lanes: 1 port: e000 bus-ID: 02:00.0 chip-ID: 10ec:8168
  IF: eno1 state: down mac: <filter>
  Device-2: Realtek RTL8852AE 802.11ax PCIe Wireless Network Adapter
    vendor: Hewlett-Packard driver: rtw89_8852ae v: kernel pcie: speed: 2.5 GT/s
    lanes: 1 port: d000 bus-ID: 03:00.0 chip-ID: 10ec:8852
  IF: wlo1 state: up mac: <filter>
  IF-ID-1: enp5s0f3u1c4i2 state: down mac: <filter>
Bluetooth:
  Device-1: Realtek Bluetooth Radio type: USB driver: btusb v: 0.8
    bus-ID: 1-4:2 chip-ID: 0bda:2852
  Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends
Drives:
  Local Storage: total: 476.94 GiB used: 195.93 GiB (41.1%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: MZVLQ512HALU-000H1
    size: 476.94 GiB speed: 31.6 Gb/s lanes: 4 serial: <filter> temp: 34.9 C
Partition:
  ID-1: / size: 475.35 GiB used: 195.6 GiB (41.1%) fs: btrfs
    dev: /dev/nvme0n1p3
  ID-2: /boot size: 973.4 MiB used: 319.5 MiB (32.8%) fs: ext4
    dev: /dev/nvme0n1p2
  ID-3: /boot/efi size: 598.8 MiB used: 17.4 MiB (2.9%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-4: /home size: 475.35 GiB used: 195.6 GiB (41.1%) fs: btrfs
    dev: /dev/nvme0n1p3
Swap:
  ID-1: swap-1 type: zram size: 8 GiB used: 440.5 MiB (5.4%) priority: 100
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 59.4 C mobo: N/A gpu: amdgpu temp: 47.0 C
  Fan Speeds (RPM): fan-1: 0 fan-2: 0
Info:
  Processes: 425 Uptime: 8h 13m Memory: 14.97 GiB used: 6.72 GiB (44.8%)
  Init: systemd v: 251 target: graphical (5) default: graphical Compilers:
  gcc: 12.2.1 Packages: pm: rpm pkgs: N/A note: see --rpm pm: flatpak pkgs: 34
  Shell: Bash v: 5.2.15 running-in: gnome-terminal inxi: 3.3.24

Logs grabbed from right after the problem occurred, at 9:49 PM:

9:49:06 PM wpa_supplicant: wlo1: CTRL-EVENT-BEACON-LOSS
 9:49:03 PM gnome-shell: meta_window_set_stack_position_no_sync: assertion 'window->stack_position >= 0' failed
 9:49:02 PM dleyna-renderer: dLeyna: Exit
 9:49:02 PM wpa_supplicant: wlo1: CTRL-EVENT-BEACON-LOSS
 9:49:01 PM systemd: Started dbus-:1.2-org.gnome.Logs@0.service.
 9:49:01 PM dleyna-renderer: Client :1.289 lost
 9:49:01 PM packagekitd: resolve transaction /4799_bccedbec from uid 1000 finished with success after 3ms
 9:49:01 PM wpa_supplicant: wlo1: CTRL-EVENT-BEACON-LOSS
 9:49:01 PM dleyna-renderer: Calling GetRenderers method
 9:49:01 PM systemd: Started dbus-:1.2-com.intel.dleyna\x2drenderer@2.service.
 9:49:01 PM nautilus: Source ID 108 was not found when attempting to remove it
 9:49:01 PM systemd: Started dbus-:1.2-org.gnome.DiskUtility@2.service.
 9:49:01 PM gnome-character: JS LOG: Characters Application started
 9:49:01 PM systemd: Started gnome-terminal-server.service - GNOME Terminal Server.
 9:49:01 PM nautilus: Connecting to org.freedesktop.Tracker3.Miner.Files
 9:49:01 PM systemd: Starting gnome-terminal-server.service - GNOME Terminal Server...
 9:49:01 PM systemd: Starting gnome-terminal-server.service - GNOME Terminal Server...
 9:49:01 PM systemd: Started dbus-:1.2-org.gnome.clocks@2.service.
 9:49:01 PM systemd: Started dbus-:1.2-org.gnome.Settings.SearchProvider@2.service.
 9:49:01 PM systemd: Started dbus-:1.2-org.gnome.Photos@2.service.
 9:49:01 PM systemd: Started dbus-:1.2-org.gnome.Nautilus@2.service.
 9:49:01 PM systemd: Started dbus-:1.2-org.gnome.Contacts.SearchProvider@2.service.
 9:49:01 PM systemd: Started dbus-:1.2-org.gnome.Characters@2.service.
 9:49:01 PM systemd: Started dbus-:1.2-org.gnome.Calculator.SearchProvider@2.service.
 9:49:01 PM systemd: Started dbus-:1.2-org.gnome.Boxes.SearchProvider@2.service.
 9:49:00 PM wpa_supplicant: wlo1: CTRL-EVENT-BEACON-LOSS
3 Likes

I’m curious if it tends to happen when you’re using your discrete graphics card? (Nothing is otherwise obvious to me from the logs, but this is all great info for a new topic.)

1 Like

Interesting - the first time I noticed was definitely during discrete (Nvidia) card use, as it was while playing Steam games and I know they are configured to use the discrete card.

This most recent time, I wasn’t in anything that I’m aware of that explicitly uses it, but I was using several apps at a time - the ones I can think of that might potentially have a connection would be Firefox, Brave and Cider. Some of those probably use hardware acceleration for video, perhaps?

(I think) unrelated to graphics, but IIRC I do also think that I’ve had my iPhone plugged into my PC each time - is there a potential that the nautilus: Source ID 108 was not found when attempting to remove it line might be related to that (like running into something funky accessing the iPhone’s files)? Just wondering as nautilus has probably been the least stable program that I’ve noticed on my PC in the 2-3 months or so that I’ve been running Fedora daily (just in terms of the most visible crashes).

Thanks for the help and ideas!

I’ve been having the same issue for about a week now. I think it has something to do with Nvidia driver 525.78.01; started happening when I upgraded to that version. Could just be a coincidence of course.

2 Likes