Brick/freeze loop on sound effects export menu

since recently I noticed a issue where at random moments my computer enters a infinite loop and completely freezes where the only way to get it out if it is by hard turning of the computer.

it mostly enters the loop while playing back a sound effect, with which I can also consistently make it brick on command by:

  1. opening a program which has a save file or export file dialog(gimp for example)
  2. going to the file name area(save as/export as).
  3. pressing the left arrow key on the keyboard rapidly until at the beginning of the name/text
  4. pressing it a few more times, it will play a sound effect for the end or selection or area thing indicating you can’t go further back.
  5. if not yet triggered then press the left arrow key a few times rapidly which should do the trick.
  6. it will now very long play that soundeffect in a “endless” loop, the screen and input also all will be stuck, some times it is possible to make the mouse move or to make one key combo pass, though that has to be done at a lucky moment and can take several minutes.
  7. to get out of it, I need to hard shut down the laptop

next to that, I also have encountered it rarely in other cases. for example when watching a video online in fullscreen and closing my laptop lid, after that opening and starting it again after which around a minute later it froze in a loop again

Note:
I looked into other posts, they all were somewhat different with when they happened and such, though it is realistic that they are related, I will test methods suggested there.

the main difference(other than me not using a nvidia gpu) is that in this case I have a way to reproduce it on command, which might be usefull, especially if it happens to be related to the audio or graphics drivers or such instead of the kernel, might be usefull as it gives a possibility to find out what causes it especially since the new versions of garuda linux are in early testing(note this problem never happened, but when it began it kept happening, so can’t say if it is in the new test versions as that would also require accidentally hitting whatever thing triggers this bug.
now I will try some things people suggested:

  1. I will try different kernels soon, as well as re-install updates
  2. auto-cpufreq, schedutil governor setting, cpupower set peformance governor
  3. trying garuda-update again just in case I happened to have a package which had a bug(note info bellow is after rolling back to a previous snapshot from before i started noticing the issues, still the same issues do still happen, so either they where there for longer or are from something which isn’t rolled back), not directly because i saw it mentioned, but more as a common sense thing, after all garuda is based on arch, so rolling and bleeding edge, meaning it is realistic that once in a while a package with a bug might show up for a while before it is patched.

if any of those methods or something else where I know a direction to what fixed it, fixes it, then I obviously also let it know here.

still if anyone has any other suggestions/ideas for what causes the problem then I would love to know it.
also how would I properly debug such issues, now and in the future.
as in are there special tools for finding where the issue is and roughly what it is/may be.
especially in cases like this where I don’t yet know in what software it happens, and in this case also as I have to hard shut it down, many normal forms of logs might not work properly as they can’t save the final changes(unless lucky)

(system setup) output of garuda-inxi:

System:
Kernel: 6.13.3-arch1-1-znver2 arch: x86_64 bits: 64 compiler: gcc v: 14.2.1
clocksource: tsc avail: hpet,acpi_pm
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-znver2
root=UUID=e52b3504-7e79-4f5e-b76f-27d045825e8f rw rootflags=subvol=@
quiet loglevel=3 ibt=off
Desktop: KDE Plasma v: ERR-101 tk: Qt v: N/A wm: kwin_wayland dm: SDDM
Distro: Garuda base: Arch Linux
Machine:
Type: Laptop System: LENOVO product: 81YM v: IdeaPad 5 14ARE05
serial: <filter> Chassis: type: 10 v: IdeaPad 5 14ARE05 serial: <filter>
Mobo: LENOVO model: LNVNB161216 v: SDK0J40700 WIN serial: <filter>
part-nu: LENOVO_MT_81YM_BU_idea_FM_IdeaPad 5 14ARE05
uuid: 17da49a0-c1a5-11ea-8105-7c8ae1443d02 UEFI: LENOVO v: DTCN27WW(V1.13)
date: 05/30/2022
Battery:
ID-1: BAT1 charge: 49.8 Wh (100.0%) condition: 49.8/56.5 Wh (88.2%)
volts: 12.9 min: 11.6 model: 0x43 0x65 0x6C 0x78 0x70 0x72 0x74 0x00 0x32
0x30 0x31 0x4C 0x31 0x39 0x43 0x33 0x50 0x46 type: Li-ion serial: <filter>
status: full cycles: 188
CPU:
Info: model: AMD Ryzen 5 4500U with Radeon Graphics socket: FP6 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: 0x60 (96) stepping: 1
microcode: 0x860010D
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: 8 MiB
desc: 2x4 MiB
Speed (MHz): avg: 2375 min/max: 1400/2375 boost: enabled
base/boost: 2375/4000 scaling: driver: acpi-cpufreq governor: performance
volts: 1.2 V ext-clock: 100 MHz cores: 1: 2375 2: 2375 3: 2375 4: 2375
5: 2375 6: 2375 bogomips: 28444
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Vulnerabilities: <filter>
Graphics:
Device-1: Advanced Micro Devices [AMD/ATI] Renoir [Radeon Vega Series /
Radeon Mobile Series] vendor: Lenovo driver: amdgpu v: kernel arch: GCN-5
code: Vega process: GF 14nm built: 2017-20 pcie: gen: 3 speed: 8 GT/s
lanes: 16 ports: active: eDP-1 empty: DP-1,HDMI-A-1 bus-ID: 05:00.0
chip-ID: 1002:1636 class-ID: 0300 temp: 41.0 C
Device-2: Syntek Integrated Camera driver: uvcvideo type: USB rev: 2.0
speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-3:3 chip-ID: 174f:244c
class-ID: 0e02 serial: <filter>
Display: unspecified server: X.Org v: 24.1.5 with: Xwayland v: 24.1.5
compositor: kwin_wayland driver: X: loaded: amdgpu unloaded: modesetting
alternate: fbdev,vesa dri: radeonsi gpu: amdgpu display-ID: :1 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x286mm (20.00x11.26")
s-diag: 583mm (22.95")
Monitor-1: eDP-1 model: AU Optronics 0x408d built: 2019 res:
mode: 1920x1080 hz: 60 scale: 100% (1) dpi: 158 gamma: 1.2
size: 309x174mm (12.17x6.85") diag: 355mm (14") ratio: 16:9 modes:
max: 1920x1080 min: 640x480
API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi
device: 1 drv: swrast gbm: drv: radeonsi surfaceless: drv: radeonsi x11:
drv: radeonsi inactive: wayland
API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 24.3.4-arch1.1
glx-v: 1.4 direct-render: yes renderer: AMD Radeon Graphics (radeonsi
renoir LLVM 19.1.7 DRM 3.60 6.13.3-arch1-1-znver2) device-ID: 1002:1636
memory: 1.95 GiB unified: no
API: Vulkan v: 1.4.303 layers: 8 device: 0 type: integrated-gpu name: AMD
Radeon Graphics (RADV RENOIR) driver: N/A device-ID: 1002:1636
surfaces: xcb,xlib device: 1 type: cpu name: llvmpipe (LLVM 19.1.7 256
bits) driver: N/A device-ID: 10005:0000 surfaces: xcb,xlib
Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
de: kscreen-console,kscreen-doctor gpu: corectrl wl: wayland-info
x11: xdpyinfo, xprop, xrandr
Audio:
Device-1: Advanced Micro Devices [AMD/ATI] Renoir Radeon High Definition
Audio vendor: Lenovo driver: snd_hda_intel v: kernel pcie: gen: 3
speed: 8 GT/s lanes: 16 bus-ID: 05:00.1 chip-ID: 1002:1637 class-ID: 0403
Device-2: Advanced Micro Devices [AMD] ACP/ACP3X/ACP6x Audio Coprocessor
vendor: Lenovo driver: snd_rn_pci_acp3x v: kernel alternate: snd_pci_acp3x,
snd_pci_acp5x, snd_pci_acp6x, snd_acp_pci, snd_rpl_pci_acp6x, snd_pci_ps,
snd_sof_amd_renoir, snd_sof_amd_rembrandt, snd_sof_amd_vangogh,
snd_sof_amd_acp63, snd_sof_amd_acp70 pcie: gen: 3 speed: 8 GT/s lanes: 16
bus-ID: 05:00.5 chip-ID: 1022:15e2 class-ID: 0480
Device-3: Advanced Micro Devices [AMD] Family 17h/19h/1ah HD Audio
vendor: Lenovo driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s
lanes: 16 bus-ID: 05:00.6 chip-ID: 1022:15e3 class-ID: 0403
API: ALSA v: k6.13.3-arch1-1-znver2 status: kernel-api with: aoss
type: oss-emulator tools: N/A
Server-1: PipeWire v: 1.2.7 status: n/a (root, process) 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: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel pcie: gen: 2
speed: 5 GT/s lanes: 1 bus-ID: 04:00.0 chip-ID: 8086:2723 class-ID: 0280
IF: wlp4s0 state: up mac: <filter>
Info: services: NetworkManager, smbd, systemd-timesyncd, wpa_supplicant
Bluetooth:
Device-1: Intel AX200 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 3-4:3 chip-ID: 8087:0029
class-ID: e001
Report: btmgmt ID: hci0 rfk-id: 2 state: down bt-service: enabled,running
rfk-block: hardware: no software: yes address: <filter> bt-v: 5.2 lmp-v: 11
status: discoverable: no pairing: no
Drives:
Local Storage: total: 1.4 TiB used: 445.83 GiB (31.2%)
ID-1: /dev/nvme0n1 maj-min: 259:4 vendor: Samsung
model: MZALQ512HALU-000L2 size: 476.94 GiB block-size: physical: 512 B
logical: 512 B speed: 31.6 Gb/s lanes: 4 tech: SSD serial: <filter>
fw-rev: AL2QFXV7 temp: 37.9 C scheme: GPT
SMART: yes health: PASSED on: 154d 14h cycles: 512,959
read-units: 64,640,903 [33.0 TB] written-units: 45,617,067 [23.3 TB]
ID-2: /dev/nvme1n1 maj-min: 259:0 vendor: Lexar model: SSD NM620 1TB
size: 953.87 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
lanes: 4 tech: SSD serial: <filter> fw-rev: 12544 temp: 37.9 C scheme: GPT
SMART: yes health: PASSED on: 32d 15h cycles: 7,251
read-units: 6,799,065 [3.48 TB] written-units: 3,017,707 [1.54 TB]
Partition:
ID-1: / raw-size: 264.99 GiB size: 264.99 GiB (100.00%)
used: 178.96 GiB (67.5%) fs: btrfs block-size: 4096 B dev: /dev/nvme1n1p4
maj-min: 259:3
ID-2: /boot/efi raw-size: 260 MiB size: 256 MiB (98.46%)
used: 53.4 MiB (20.9%) fs: vfat block-size: 512 B dev: /dev/nvme0n1p1
maj-min: 259:5
ID-3: /home raw-size: 264.99 GiB size: 264.99 GiB (100.00%)
used: 178.96 GiB (67.5%) fs: btrfs block-size: 4096 B dev: /dev/nvme1n1p4
maj-min: 259:3
ID-4: /var/log raw-size: 264.99 GiB size: 264.99 GiB (100.00%)
used: 178.96 GiB (67.5%) fs: btrfs block-size: 4096 B dev: /dev/nvme1n1p4
maj-min: 259:3
ID-5: /var/tmp raw-size: 264.99 GiB size: 264.99 GiB (100.00%)
used: 178.96 GiB (67.5%) fs: btrfs block-size: 4096 B dev: /dev/nvme1n1p4
maj-min: 259:3
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
ID-1: swap-1 type: zram size: 13.52 GiB used: 0 KiB (0.0%) priority: 100
comp: zstd avail: lzo-rle,lzo,lz4,lz4hc,deflate,842 max-streams: 6
dev: /dev/zram0
Sensors:
System Temperatures: cpu: 47.4 C mobo: N/A gpu: amdgpu temp: 40.0 C
Fan Speeds (rpm): N/A
Info:
Memory: total: 16 GiB note: est. available: 13.52 GiB used: 2.96 GiB (21.9%)
Processes: 311 Power: uptime: 5m states: freeze,mem,disk suspend: s2idle
wakeups: 0 hibernate: platform avail: shutdown, reboot, suspend, test_resume
image: 5.4 GiB services: org_kde_powerdevil, power-profiles-daemon,
upowerd Init: systemd v: 257 default: graphical tool: systemctl
Packages: 2464 pm: pacman pkgs: 2440 libs: 639 tools: octopi,paru
pm: flatpak pkgs: 24 Compilers: clang: 19.1.7 gcc: 14.2.1
Shell: garuda-inxi (sudo) default: Bash v: 5.2.37 running-in: konsole
inxi: 3.3.37
Garuda (2.6.26-1.1):
System install date:     2024-11-16
Last full system update: 2025-02-19
Is partially upgraded:   No
Relevant software:       snapper NetworkManager dracut
Windows dual boot:       Yes
Failed units:

please note, that I just reverted back to a recent snapshot as the problems seemed to have begun after a update with garuda-update, and updating it again in the same ways gave errors with compatibility issues surrounding electron29, I will soon try to upgrade again as there where never packages, but right now you see a reverted state(reverted with snapper)(which still has the same issues)

Use

cleanup

in terminal, or remove electron29 via pacman. Then try again.

3 Likes

with that the updates worked again directly without needing to manually remove electron29.
though sadly the chrasing(endless loop freezing) still happens after updating all.
next to that changing the kernel didn’t solve it either.

I also noticed that every time it chrashes/gets into that endless loop that it will automatically try to boot with the znver2 kernel again despite me having added in garuda boot that it needs to use another kernel, when manually shut down and started up it does work however.

holding the back arrow for a while in such a menu also triggers it
next to that while in softwares like gimp and geeqie I get that problem. I do not get it for example in kate when doing the same, though kate doesn’t play that speciffic sound effect.

that said as mentioned it also triggers in some online videoplayers, not on the very famous ones, but on many lesser known ones which use things like “video-js-html5-api”. there it will work and keep working without issues at first, but after that if the laptop has been on standby or such and the video play site hasn’t been used for a while then when I try to play a video again it works at first, then I put it in full screen, then it still works yet very rapidly freezes where audio continues for a while but the rest of the system becomes fully frozen/unresponsive, same issue as with the sound effetct in gimp and geeqie, if not triggering on it’s own then it happens when I manually pause it or try to rewind or skip parts or such.

perhaps any such things might show a link to someone or such.

anyway, might be idle modes.

but I should also do a hardware check to see if it isn’t some kind of memory defect or such.

next to that during boot it gives a warning about amd overdrive being enabled. so perhaps I should see if that might be related to it, but while in garuda I can’t seem to find any settings amd or overdrive, and typing amd or overdrive in terminal also doesn’t show options which in the help page show anything usable for overdrive.

I had waited with my reply until I had also tested multiple different stable and recommended kernels, yet sadly those didn’t fix it either.

There have been quite a few bug reports related to the AMD APU models for a while now. Kernel patches were supposed to have been applied recently to address issues such as jerky mouse movement, system stutters, and freezes with AMD APU’s. Some fixes such as adding different kernel parameters or using an older/newer version of meson have been suggested. Not sure if this might be your issue, but it might be worth investigating.

I can only suggest searching Arch related distros forums to see if you can find something online that may help you.

Good luck.

I shall look into those.

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