Default audio device not actually being default on programs

Hi there, within the last 6 months or so, whenever a program starts to play audio and appears in the KDE audio listing, it doesn't actually have a device automatically set as seen in this screenshot when I start to play a youtube video, no device is automatically set. I've tried setting the default device in settings, tried setting the pulseaudio default sink

pactl set-default-sink "alsa_output.usb-SteelSeries_Arctis_Pro_Wireless-00.stereo-game"

Yet I've had no luck :confused: Sometimes however it randomly is fine and sets the default device but it seems to occur on random restarts without anything to indicate a difference. Any help would be appreciated :heart:

garuda-inxi

System:
Kernel: 5.19.13-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=eb9fcac2-0e6e-431f-b393-82578fb95c0b rw rootflags=subvol=@ no
nosplash rd.udev.log_priority=3 vt.global_cursor_default=0 loglevel=3
radeon.cik_support=0 radeon.si_support=0 amdgpu.cik_support=1
amdgpu.si_support=1 amdgpu.dc=1
Desktop: KDE Plasma v: 5.25.5 tk: Qt v: 5.15.6 info: latte-dock
wm: kwin_x11 vt: 1 dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
Type: Desktop Mobo: Micro-Star model: B450M PRO-VDH MAX (MS-7A38) v: 8.0
serial: <superuser required> UEFI: American Megatrends LLC. v: B.E0
date: 03/18/2022
CPU:
Info: model: AMD Ryzen 5 3600X bits: 64 type: MT MCP arch: Zen 2 gen: 3
level: v3 built: 2020-22 process: TSMC n7 (7nm) family: 0x17 (23)
model-id: 0x71 (113) stepping: 0 microcode: 0x8701021
Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled 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: 4150 high: 4300 min/max: 2200/4409 boost: enabled
scaling: driver: acpi-cpufreq governor: performance cores: 1: 3563 2: 4300
3: 3986 4: 4275 5: 4265 6: 4246 7: 4275 8: 4289 9: 3800 10: 4283 11: 4287
12: 4233 bogomips: 91206
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: mmio_stale_data status: Not affected
Type: retbleed mitigation: untrained return thunk; SMT enabled with STIBP
protection
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:
always-on, RSB filling, PBRSB-eIBRS: Not affected
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: NVIDIA GA104 [GeForce RTX 3070 Lite Hash Rate] vendor: Gigabyte
driver: nvidia v: 515.76 alternate: nouveau,nvidia_drm non-free: 515.xx+
status: current (as of 2022-08) arch: Ampere code: GAxxx process: TSMC n7
(7nm) built: 2020-22 pcie: gen: 3 speed: 8 GT/s lanes: 16 link-max:
gen: 4 speed: 16 GT/s bus-ID: 29:00.0 chip-ID: 10de:2488 class-ID: 0300
Device-2: Logitech Webcam C200 type: USB driver: snd-usb-audio,uvcvideo
bus-ID: 1-7:7 chip-ID: 046d:0802 class-ID: 0102 serial: <filter>
Display: x11 server: X.Org v: 21.1.4 with: Xwayland v: 22.1.3
compositor: kwin_x11 driver: X: loaded: nvidia
unloaded: modesetting,nouveau alternate: fbdev,nv,vesa gpu: nvidia
display-ID: :0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 92 s-size: 530x301mm (20.87x11.85")
s-diag: 610mm (24")
Monitor-1: DP-0 res: 1920x1080 dpi: 93 size: 527x296mm (20.75x11.65")
diag: 604mm (23.8") modes: N/A
OpenGL: renderer: NVIDIA GeForce RTX 3070/PCIe/SSE2 v: 4.6.0 NVIDIA
515.76 direct render: Yes
Audio:
Device-1: NVIDIA GA104 High Definition Audio vendor: Gigabyte
driver: snd_hda_intel bus-ID: 1-4.3:8 v: kernel pcie: chip-ID: 1038:1294
class-ID: 0300 gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4
speed: 16 GT/s bus-ID: 29:00.1 chip-ID: 10de:228b 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: 2b:00.4 chip-ID: 1022:1487 class-ID: 0403
Device-3: SteelSeries ApS Arctis Pro Wireless type: USB
driver: hid-generic,snd-usb-audio,usbhid
Device-4: Logitech Webcam C200 type: USB driver: snd-usb-audio,uvcvideo
bus-ID: 1-7:7 chip-ID: 046d:0802 class-ID: 0102 serial: <filter>
Sound Server-1: ALSA v: k5.19.13-zen1-1-zen running: yes
Sound Server-2: PulseAudio v: 16.1 running: no
Sound Server-3: PipeWire v: 0.3.58 running: yes
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Micro-Star MSI driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
lanes: 1 port: f000 bus-ID: 25:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: enp37s0 state: down mac: <filter>
Device-2: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel modules: wl pcie:
gen: 2 speed: 5 GT/s lanes: 1 bus-ID: 26:00.0 chip-ID: 8086:2723
class-ID: 0280
IF: wlp38s0 state: up mac: <filter>
IF-ID-1: br-12a9649d18de state: down mac: <filter>
IF-ID-2: br-1dd82e89c9ab state: down mac: <filter>
IF-ID-3: br-74ae9909ae90 state: down mac: <filter>
IF-ID-4: docker0 state: down mac: <filter>
Bluetooth:
Device-1: Intel AX200 Bluetooth type: USB driver: btusb v: 0.8
bus-ID: 1-8:9 chip-ID: 8087:0029 class-ID: e001
Report: bt-adapter ID: hci0 rfk-id: 0 state: up address: <filter>
Drives:
Local Storage: total: 2.67 TiB used: 1.64 TiB (61.4%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: Seagate model: ST3320413AS
size: 298.09 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
type: HDD rpm: 7200 serial: <filter> rev: JC66 scheme: MBR
ID-2: /dev/sdb maj-min: 8:16 vendor: Western Digital
model: WD5000AAKX-083CA1 size: 465.76 GiB block-size: physical: 512 B
logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 7200 serial: <filter>
rev: 1H19 scheme: GPT
ID-3: /dev/sdc maj-min: 8:32 vendor: Seagate model: ST1000DM003-1ER162
size: 931.51 GiB block-size: physical: 4096 B logical: 512 B
speed: 6.0 Gb/s type: HDD rpm: 7200 serial: <filter> rev: CC45
scheme: MBR
ID-4: /dev/sdd maj-min: 8:48 vendor: Kingston model: SV300S37A120G
size: 111.79 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
type: SSD serial: <filter> rev: BBF0 scheme: GPT
ID-5: /dev/sde maj-min: 8:64 vendor: Samsung model: SSD 860 EVO M.2 1TB
size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
type: SSD serial: <filter> rev: 4B6Q scheme: GPT
Partition:
ID-1: / raw-size: 931.22 GiB size: 931.22 GiB (100.00%) used: 718.03 GiB
(77.1%) fs: btrfs dev: /dev/sde2 maj-min: 8:66
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%) used: 576 KiB
(0.2%) fs: vfat dev: /dev/sde1 maj-min: 8:65
ID-3: /home raw-size: 931.22 GiB size: 931.22 GiB (100.00%) used: 718.03
GiB (77.1%) fs: btrfs dev: /dev/sde2 maj-min: 8:66
ID-4: /var/log raw-size: 931.22 GiB size: 931.22 GiB (100.00%) used: 718.03
GiB (77.1%) fs: btrfs dev: /dev/sde2 maj-min: 8:66
ID-5: /var/tmp raw-size: 931.22 GiB size: 931.22 GiB (100.00%) used: 718.03
GiB (77.1%) fs: btrfs dev: /dev/sde2 maj-min: 8:66
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 31.27 GiB used: 1.51 GiB (4.8%)
priority: 100 dev: /dev/zram0
Sensors:
System Temperatures: cpu: 48.4 C mobo: N/A gpu: nvidia temp: 50 C
Fan Speeds (RPM): N/A gpu: nvidia fan: 0%
Info:
Processes: 395 Uptime: 10h 16m wakeups: 0 Memory: 31.27 GiB used: 18.59 GiB
(59.4%) Init: systemd v: 251 default: graphical tool: systemctl
Compilers: gcc: 12.2.0 clang: 14.0.6 Packages: 2166 pm: pacman pkgs: 2153
libs: 564 tools: octopi,paru pm: flatpak pkgs: 13 Shell: Zsh v: 5.9
running-in: konsole inxi: 3.3.21
Garuda (2.6.8-1):
System install date:     2022-04-14
Last full system update: 2022-10-06
Is partially upgraded:   Yes
Relevant software:       NetworkManager
Windows dual boot:       Probably (Run as root to verify)
Snapshots:               Snapper
Failed units:            systemd-vconsole-setup.service

Hi @RatGirl, welcome to the community. :slightly_smiling_face:

You are a little behind on your updates. Occasionally taking any available updates can be all that is needed to resolve an issue, in case a fix for the problem has been released. To bring your system up to date, run:

garuda-update

It will be prudent to reboot afterward, as youโ€™ll have a kernel update in there.

Regarding your audio issue, I canโ€™t help but be reminded of some other recent forum threads where it turned out JamesDSP was interfering with normal audio functionality:

In each of these threads, the solution was to disable or remove JamesDSP. If you are not currently using JamesDSP, that might be worth a shot in your case as well.

4 Likes

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