Audio Crackling over Steam Play

I'm having trouble with audio crackling in Steam Play. I have an Arch install I rolled by hand many years ago on an old laptop that I used to remote into my desktop via Steam Play, which runs Garuda. The audio works for about 20 minutes or so, but steadily grows more crackly, until it stops working altogether.

I discovered something pertinent while trying to troubleshoot with these issues:

Apparently, Garuda uses Pipewire, and that replaces Pulseaudio. So, I don't know where I made the modifications indicated in /etc/pulse/default.pa. I have these files on my Arch install, which runs Gnome and uses Pulseaudio, but I think the changes have to be made on the remote host.

Over the weekend, I'll try to migrate my laptop from Arch to Garuda and see if that resolves the issue, but in case it doesn't, I was hoping folks here might have some tips in diagnosing and correcting the issue?

System:
  Kernel: 5.17.9-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 12.1.0
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=d1083f91-83c2-41f8-9eca-208925ce2361 rw [email protected]
    cryptdevice=UUID=e9fbba09-aae1-4815-ba91-0ea3a21d4273:luks-e9fbba09-aae1-4815-ba91-0ea3a21d4273
    root=/dev/mapper/luks-e9fbba09-aae1-4815-ba91-0ea3a21d4273 quiet splash
    rd.udev.log_priority=3 vt.global_cursor_default=0
    resume=/dev/mapper/luks-38ac110c-b99c-4152-9628-c378d6c6cebb loglevel=3
  Desktop: GNOME v: 42.1 tk: GTK v: 3.24.34 wm: gnome-shell dm: GDM v: 42.0
    Distro: Garuda Linux base: Arch Linux
Machine:
  Type: Desktop Mobo: Micro-Star model: MEG X570 GODLIKE (MS-7C34) v: 1.0
    serial: <superuser required> UEFI: American Megatrends LLC. v: 1.C0
    date: 02/02/2021
CPU:
  Info: model: AMD Ryzen 9 5950X bits: 64 type: MT MCP arch: Zen 3
    family: 0x19 (25) model-id: 0x21 (33) stepping: 0 microcode: 0xA201009
  Topology: cpus: 1x cores: 16 tpc: 2 threads: 32 smt: enabled cache:
    L1: 1024 KiB desc: d-16x32 KiB; i-16x32 KiB L2: 8 MiB desc: 16x512 KiB
    L3: 64 MiB desc: 2x32 MiB
  Speed (MHz): avg: 3991 high: 4674 min/max: 2200/5083 boost: enabled
    scaling: driver: acpi-cpufreq governor: performance cores: 1: 4086 2: 4674
    3: 4425 4: 3718 5: 3604 6: 3792 7: 4545 8: 3632 9: 3758 10: 4021 11: 4236
    12: 3672 13: 4292 14: 3963 15: 4021 16: 4146 17: 4585 18: 3770 19: 3833
    20: 3734 21: 4338 22: 3814 23: 3758 24: 4014 25: 4072 26: 3705 27: 4407
    28: 4186 29: 3636 30: 3711 31: 3741 32: 3829 bogomips: 217619
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities:
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  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, IBRS_FW,
    STIBP: always-on, RSB filling
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: AMD Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT]
    vendor: Micro-Star MSI driver: amdgpu v: kernel pcie: gen: 4 speed: 16 GT/s
    lanes: 16 ports: active: HDMI-A-1 empty: DP-1,DP-2,DP-3 bus-ID: 2f:00.0
    chip-ID: 1002:731f class-ID: 0300
  Device-2: Logitech C922 Pro Stream Webcam type: USB
    driver: snd-usb-audio,uvcvideo bus-ID: 1-2.4.3:7 chip-ID: 046d:085c
    class-ID: 0102 serial: <filter>
  Display: x11 server: X.Org v: 21.1.3 with: Xwayland v: 22.1.2
    compositor: gnome-shell driver: X: loaded: amdgpu
    unloaded: modesetting,radeon alternate: fbdev,vesa gpu: amdgpu
    display-ID: :1 screens: 1
  Screen-1: 0 s-res: 3840x2160 s-dpi: 96 s-size: 1016x571mm (40.00x22.48")
    s-diag: 1165mm (45.88")
  Monitor-1: HDMI-A-1 mapped: HDMI-A-0 model: LG (GoldStar) TV SSCR
    serial: <filter> built: 2021 res: 3840x2160 hz: 60 dpi: 61 gamma: 1.2
    size: 1600x900mm (62.99x35.43") diag: 1836mm (72.3") ratio: 16:9 modes:
    max: 3840x2160 min: 720x400
  Message: Unable to show GL data. Required tool glxinfo missing.
Audio:
  Device-1: AMD Navi 10 HDMI Audio driver: snd_hda_intel v: kernel pcie:
    gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 2f:00.1 chip-ID: 1002:ab38
    class-ID: 0403
  Device-2: AMD Starship/Matisse HD Audio vendor: Micro-Star MSI
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: 31:00.4 chip-ID: 1022:1487 class-ID: 0403
  Device-3: Audient EVO4 type: USB driver: snd-usb-audio bus-ID: 1-1:2
    chip-ID: 2708:0006 class-ID: fe01
  Device-4: JMTek LLC. USB PnP Audio Device type: USB
    driver: hid-generic,snd-usb-audio,usbhid bus-ID: 1-2.4.2:6
    chip-ID: 0c76:161e class-ID: 0300
  Device-5: Logitech C922 Pro Stream Webcam type: USB
    driver: snd-usb-audio,uvcvideo bus-ID: 1-2.4.3:7 chip-ID: 046d:085c
    class-ID: 0102 serial: <filter>
  Sound Server-1: ALSA v: k5.17.9-zen1-1-zen running: yes
  Sound Server-2: PulseAudio v: 15.0 running: no
  Sound Server-3: PipeWire v: 0.3.51 running: yes
Network:
  Device-1: Aquantia AQC107 NBase-T/IEEE 802.3bz Ethernet [AQtion]
    vendor: Micro-Star MSI driver: N/A modules: atlantic pcie: gen: 3
    speed: 8 GT/s lanes: 4 port: N/A bus-ID: 24:00.0 chip-ID: 1d6a:07b1
    class-ID: 0200
  Device-2: Realtek vendor: Micro-Star MSI driver: N/A
    modules: r8169, r8168 pcie: speed: Unknown lanes: 63 link-max: gen: 6
    speed: 64 GT/s port: 1000 bus-ID: 26:00.0 chip-ID: 10ec:2600
    class-ID: 0200
  Device-3: Realtek Killer E3000 2.5GbE vendor: Micro-Star MSI driver: N/A
    modules: r8169 pcie: gen: 2 speed: 5 GT/s lanes: 1 port: 2000
    bus-ID: 27:00.0 chip-ID: 10ec:3000 class-ID: 0200
  Device-4: Intel Wi-Fi 6 AX200 vendor: Rivet Networks Killer™
    driver: N/A modules: iwlwifi pcie: gen: 2 speed: 5 GT/s lanes: 1
    bus-ID: 28:00.0 chip-ID: 8086:2723 class-ID: 0280
  Device-5: Realtek RTL8153 Gigabit Ethernet Adapter type: USB
    driver: r8152 bus-ID: 6-3.2:3 chip-ID: 0bda:8153 class-ID: 0000
    serial: <filter>
  IF: enp49s0f3u3u2 state: up speed: 1000 Mbps duplex: full mac: <filter>
  IF-ID-1: ivpn-ca1 state: unknown speed: N/A duplex: N/A mac: N/A
Bluetooth:
  Device-1: Intel AX200 Bluetooth type: USB driver: btusb v: 0.8
    bus-ID: 1-4:3 chip-ID: 8087:0029 class-ID: e001
  Report: bt-adapter ID: hci0 rfk-id: 0 state: down
    bt-service: enabled,running rfk-block: hardware: no software: no
    address: <filter>
Drives:
  Local Storage: total: 8.99 TiB used: 2.23 TiB (24.8%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Sabrent model: Rocket 4.0 Plus
    size: 3.64 TiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s
    lanes: 4 type: SSD serial: <filter> rev: R4PB47.2 temp: 42.9 C
    scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 860 PRO 2TB
    size: 1.86 TiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    type: SSD serial: <filter> rev: 1B6Q scheme: GPT
  ID-3: /dev/sdb maj-min: 8:16 vendor: Micron model: 5100 EEFDDAK3T8TCB
    size: 3.49 TiB block-size: physical: 8192 B logical: 512 B speed: 6.0 Gb/s
    type: SSD serial: <filter> rev: 0369 scheme: GPT
Partition:
  ID-1: / raw-size: 3.5 TiB size: 3.5 TiB (100.00%) used: 662.82 GiB (18.5%)
    fs: btrfs dev: /dev/dm-0 maj-min: 254:0
    mapped: luks-e9fbba09-aae1-4815-ba91-0ea3a21d4273
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 720 KiB (0.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
  ID-3: /home raw-size: 3.5 TiB size: 3.5 TiB (100.00%)
    used: 662.82 GiB (18.5%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
    mapped: luks-e9fbba09-aae1-4815-ba91-0ea3a21d4273
  ID-4: /var/log raw-size: 3.5 TiB size: 3.5 TiB (100.00%)
    used: 662.82 GiB (18.5%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
    mapped: luks-e9fbba09-aae1-4815-ba91-0ea3a21d4273
  ID-5: /var/tmp raw-size: 3.5 TiB size: 3.5 TiB (100.00%)
    used: 662.82 GiB (18.5%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
    mapped: luks-e9fbba09-aae1-4815-ba91-0ea3a21d4273
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: zram size: 125.78 GiB used: 27.8 MiB (0.0%)
    priority: 100 dev: /dev/zram0
  ID-2: swap-2 type: partition size: 138.36 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/dm-1 maj-min: 254:1
    mapped: luks-38ac110c-b99c-4152-9628-c378d6c6cebb
Sensors:
  System Temperatures: cpu: N/A mobo: N/A gpu: amdgpu temp: 45.0 C
    mem: 46.0 C
  Fan Speeds (RPM): N/A gpu: amdgpu fan: 1686
Info:
  Processes: 566 Uptime: 22m wakeups: 0 Memory: 125.78 GiB
  used: 14.16 GiB (11.3%) Init: systemd v: 251 tool: systemctl Compilers:
  gcc: 12.1.0 clang: 13.0.1 Packages: pacman: 1568 lib: 394 flatpak: 0
  Shell: fish v: 3.4.1 running-in: alacritty inxi: 3.3.16
e[1;34mGaruda (2.6.3-2):e[0m
e[1;34m  System install date:e[0m     2022-02-06
e[1;34m  Last full system update:e[0m 2022-05-27 e[1;31m↻
e[1;34m  Is partially upgraded:  e[0m No
e[1;34m  Relevant software:      e[0m NetworkManager
e[1;34m  Windows dual boot:      e[0m No/Undetected
e[1;34m  Snapshots:              e[0m Snapper
e[1;34m  Failed units:           e[0m radeon-profile-daemon.service [email protected] 

I'm afraid I can't help you, nevertheless

:slight_smile:

2 Likes

It is true Pipewire is enabled by default, but you are by no means locked in to that decision. Switching back to Pulse is as simple as ticking the checkbox in Garuda Assistant and confirming the package replacements.

If you set up a config file on Arch that got this working for you, chances are the same Pulse config will work on Garuda.

Edit:

I realize I misread your post the first time through. You are still welcome to switch to Pulse as I mentioned and try the fixes you linked, but those threads are some four years old and a lot has changed in that time.

Another option would be to try troubleshooting the issue from Pipewire, like this thread for example: frequent popping/crackling with pipewire / Multimedia and Games / Arch Linux Forums

One final suggestion: installing Wireplumber was mentioned as a fix for crackling audio in Gnome in this post: Initial Feedback on the Community and Distro Itself

5 Likes

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