No audio on startup

I recently installed Garuda Dr460nized (I selected pipewire for my audio system when I installed) and after a bit of customization to the layout of the desktop I am really liking it, besides a couple minor issues. The main issue I am having is whenever I reboot and log back in, audio doesn't work at all. muting and unmuting then adjusting the volume using the multimedia functions on my keyboard seems to correct it but it is really annoying having to do that every time I restart. If it is relevant, I am using headphones plugged into line out, not hdmi audio. Any advice on troubleshooting this?

inxi -Faz
System:
Kernel: 5.15.8-zen1-1-zen x86_64 bits: 64 compiler: gcc v: 11.1.0
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=c1150b4d-37fd-45ba-891c-c970b4133d9c rw [email protected]
amd_iommu=on iommu=pt video=efifb:off quiet
cryptdevice=UUID=fdeba41a-daf3-4497-ad26-81235b8d841f:luks-fdeba41a-daf3-4497-ad26-81235b8d841f
root=/dev/mapper/luks-fdeba41a-daf3-4497-ad26-81235b8d841f splash
rd.udev.log_priority=3 vt.global_cursor_default=0
systemd.unified_cgroup_hierarchy=1
resume=/dev/mapper/luks-317c8a85-28be-4c8e-b38d-98f1eb5cd257 loglevel=3
amd_iommu=on iommu=pt video=efif:off
Desktop: KDE Plasma 5.23.4 tk: Qt 5.15.2 wm: kwin_x11 vt: 1 dm: SDDM
Distro: Garuda Linux base: Arch Linux
Machine:
Type: Desktop Mobo: ASUSTeK model: ROG STRIX X570-F GAMING v: Rev X.0x
serial: <superuser required> UEFI: American Megatrends v: 3402
date: 01/13/2021
CPU:
Info: model: AMD Ryzen 7 3700X bits: 64 type: MT MCP arch: Zen 2
family: 0x17 (23) model-id: 0x71 (113) stepping: 0 microcode: 0x8701021
Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 4 MiB desc: 8x512 KiB
L3: 32 MiB desc: 2x16 MiB
Speed (MHz): avg: 2442 high: 3600 min/max: 2200/4426 boost: enabled
scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 2614 2: 2173
3: 2187 4: 2168 5: 3089 6: 2223 7: 2197 8: 2157 9: 3169 10: 2128 11: 2055
12: 2099 13: 2831 14: 3600 15: 2194 16: 2195 bogomips: 114983
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: Full AMD retpoline, IBPB: conditional,
STIBP: conditional, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: AMD Vega 10 XL/XT [Radeon RX Vega 56/64] vendor: Sapphire Limited
driver: amdgpu v: kernel bus-ID: 0c:00.0 chip-ID: 1002:687f class-ID: 0300
Display: x11 server: X.Org 1.21.1.2 compositor: kwin_x11 driver:
loaded: amdgpu,ati unloaded: modesetting alternate: fbdev,vesa
display-ID: :0 screens: 1
Screen-1: 0 s-res: 7040x1440 s-dpi: 96 s-size: 1862x381mm (73.3x15.0")
s-diag: 1901mm (74.8")
Monitor-1: DisplayPort-0 res: 2560x1440 hz: 60 dpi: 123
size: 527x296mm (20.7x11.7") diag: 604mm (23.8")
Monitor-2: DisplayPort-1 res: 2560x1440 hz: 144 dpi: 109
size: 598x336mm (23.5x13.2") diag: 686mm (27")
Monitor-3: HDMI-A-0 res: 1920x1080 hz: 60 dpi: 102
size: 477x268mm (18.8x10.6") diag: 547mm (21.5")
OpenGL: renderer: AMD Radeon RX Vega (VEGA10 DRM 3.42.0 5.15.8-zen1-1-zen
LLVM 13.0.0)
v: 4.6 Mesa 21.3.1 direct render: Yes
Audio:
Device-1: AMD Vega 10 HDMI Audio [Radeon Vega 56/64] driver: snd_hda_intel
v: kernel bus-ID: 0c:00.1 chip-ID: 1002:aaf8 class-ID: 0403
Device-2: AMD Starship/Matisse HD Audio vendor: ASUSTeK
driver: snd_hda_intel v: kernel bus-ID: 0e:00.4 chip-ID: 1022:1487
class-ID: 0403
Sound Server-1: ALSA v: k5.15.8-zen1-1-zen running: yes
Sound Server-2: JACK v: 1.9.19 running: no
Sound Server-3: PulseAudio v: 15.0 running: no
Sound Server-4: PipeWire v: 0.3.42 running: yes
Network:
Device-1: Qualcomm Atheros AR9462 Wireless Network Adapter vendor: Foxconn
driver: ath9k v: kernel bus-ID: 05:00.0 chip-ID: 168c:0034 class-ID: 0280
IF: wlp5s0 state: down mac: <filter>
Device-2: Intel I211 Gigabit Network vendor: ASUSTeK driver: igb
v: kernel port: f000 bus-ID: 06:00.0 chip-ID: 8086:1539 class-ID: 0200
IF: enp6s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
IF-ID-1: tun0 state: unknown speed: 10 Mbps duplex: full mac: N/A
IF-ID-2: virbr0 state: down mac: <filter>
Bluetooth:
Device-1: Foxconn / Hon Hai type: USB driver: btusb v: 0.8 bus-ID: 3-6:4
chip-ID: 0489:e076 class-ID: e001
Report: bt-adapter ID: hci0 rfk-id: 1 state: up address: <filter>
Drives:
Local Storage: total: 3.38 TiB used: 770.85 GiB (22.2%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Sabrent model: Rocket 4.0 1TB
size: 931.51 GiB block-size: physical: 512 B logical: 512 B
speed: 63.2 Gb/s lanes: 4 type: SSD serial: <filter> rev: RKT401.3
temp: 48.9 C scheme: GPT
ID-2: /dev/nvme1n1 maj-min: 259:4 model: PCIe SSD size: 931.51 GiB
block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4
type: SSD serial: <filter> rev: EHFM31.1 temp: 51.9 C scheme: MBR
ID-3: /dev/sda maj-min: 8:0 vendor: A-Data model: SP550 size: 223.57 GiB
block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD
serial: <filter> rev: 3B5a scheme: GPT
ID-4: /dev/sdb maj-min: 8:16 vendor: Mushkin model: MKNSSDCR480GB-7-A
size: 447.13 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/sdc maj-min: 8:32 vendor: Samsung model: SSD 860 EVO 1TB
size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
type: SSD serial: <filter> rev: 2B6Q scheme: MBR
Partition:
ID-1: / raw-size: 896.76 GiB size: 896.76 GiB (100.00%)
used: 37.21 GiB (4.1%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
mapped: luks-fdeba41a-daf3-4497-ad26-81235b8d841f
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: 896.76 GiB size: 896.76 GiB (100.00%)
used: 37.21 GiB (4.1%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
mapped: luks-fdeba41a-daf3-4497-ad26-81235b8d841f
ID-4: /var/log raw-size: 896.76 GiB size: 896.76 GiB (100.00%)
used: 37.21 GiB (4.1%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
mapped: luks-fdeba41a-daf3-4497-ad26-81235b8d841f
ID-5: /var/tmp raw-size: 896.76 GiB size: 896.76 GiB (100.00%)
used: 37.21 GiB (4.1%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
mapped: luks-fdeba41a-daf3-4497-ad26-81235b8d841f
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 31.25 GiB used: 0 KiB (0.0%) priority: 100
dev: /dev/zram0
ID-2: swap-2 type: partition size: 34.45 GiB used: 0 KiB (0.0%)
priority: -2 dev: /dev/dm-1 maj-min: 254:1
mapped: luks-317c8a85-28be-4c8e-b38d-98f1eb5cd257
Sensors:
System Temperatures: cpu: N/A mobo: N/A gpu: amdgpu temp: 52.0 C
mem: 53.0 C
Fan Speeds (RPM): N/A gpu: amdgpu fan: 1199
Info:
Processes: 403 Uptime: 27m wakeups: 0 Memory: 31.26 GiB
used: 5.08 GiB (16.2%) Init: systemd v: 249 tool: systemctl Compilers:
gcc: 11.1.0 clang: 13.0.0 Packages: pacman: 1568 lib: 438 Shell: fish
v: 3.3.1 default: Bash v: 5.1.12 running-in: yakuake inxi: 3.3.10

I have this same issue. Are you using Pipewire and/or EasyEffects equalizer?

I think what is happening is due to the HDMI Audio output on the GPU. Those without this, don't seem to have this issue. Half of the startups, Pipewire (or possible EasyEffects, haven't figured out which yet) defaults to this output. I have to go and select "line out" or "easyeffect" in the audio settings manually to get it to switch to the proper output, and then sound appears.

There is a setting in EasyEffects to manually select the right output, but it doesn't work as it should. It still defaults to the wrong output 50% of the time.

If you have multiple sound hardware check to make sure updates from yesterday didn't switch it. I did a reboot after some updates yesterday and had no sound. Checke which sound hardware was being used and it had been changed. Changed it back and my issue was gone.

Mine has been doing this since the beginning of Garuda's install. This also happened on EnOS with Pipewire, which is why I think it is a Pipewire/HDMI Audio Out/Multi audio out... thing. :man_shrugging:

I don't have easyeffects installed at all, I haven't done any messing with the audio packages besides reinstalling some of the ones that came with the garuda install. I will try rebooting and see if the audio is switched to my graphics card's hdmi out, although I don't think that will be the case because my monitor has built in speakers and it should be playing on them if that was the case.

edit: after a reboot my audio device was still set to line out, that doesn't appear to be the issue

2 Likes

Interesting, yeah, I am at a loss. This issue has plagued me since installing Pipewire.

have you tried installing wireplumber?

I think on EnOS, I used that, sounds familiar.

It says if I want to install it, it replaces Pipewire-media-sessions. Is this better than 'media-sessions?'

If my machine were affected I would probably install alsa-utils so that I could use alsamixer to help me figure it out (assuming it works with wirewhatsitsname).

1 Like

Just search around various forums you frequent. There's a few threads on it. People were having pipewire issues and this package addressed a few of them. It works the same as installing pipewire-pulse It asks to replace pulse-audio you can always just reverse it.

2 Likes

I installed wireplumber, which concurrently uninstalled Pipewire-media-sessions and rebooted. I had no sound, on any channel. I then added Alsa, rebooted and had sound on startup. Second reboot, it picked the wrong audio out, so it didn't fix the issue. It is so random. I reverted back to pipewire-media-sessions. :man_shrugging:

I installed wireplumber and rebooted, no audio after that, but then I installed alsa-utils and alsamixer in addition to that and I have had audio after two resets, hopefully it will stay that way

3 Likes

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