I installed Garuda linux and facing major issues with Sound

I tried many fixes from the community forums but I was not able to resolve the sound issue with my machine on which I installed Garuda Linux, I searched alot and many other users are also finding difficulty to resolve the audio issue with Garuda linux.
I tried using garuda assistance for audio related problems and I followed whatever is required but I need to manually increase/ decrease/mute/unmute change the output of port of audio whenever I restart my System.
can anyone help to resolve this permanently?

System:
Kernel: 6.4.3-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 13.1.1
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=71e780c4-f7a1-4858-904f-bdb4677ecd5c rw rootflags=subvol=@
quiet quiet rd.udev.log_priority=3 vt.global_cursor_default=0
resume=UUID=70fae1f4-4c84-497f-99e3-eb4223ba0592 loglevel=3 ibt=off
Desktop: KDE Plasma v: 5.27.6 tk: Qt v: 5.15.10 info: latte-dock
wm: kwin_x11 vt: 2 dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
Type: Laptop System: LENOVO product: 82B5 v: Lenovo Legion 5 15ARH05
serial: <superuser required> Chassis: type: 10 v: Lenovo Legion 5 15ARH05
serial: <superuser required>
Mobo: LENOVO model: LNVNB161216 v: SDK0Q55724 WIN
serial: <superuser required> UEFI: LENOVO v: EUCN37WW date: 04/14/2022
Battery:
ID-1: BAT0 charge: 38.6 Wh (75.0%) condition: 51.5/60.0 Wh (85.8%)
power: 13.3 W volts: 16.1 min: 15.4 model: SMP L19M4PC0 type: Li-poly
serial: <filter> status: discharging cycles: 267
CPU:
Info: model: AMD Ryzen 5 4600H with Radeon Graphics bits: 64 type: MT MCP
arch: Zen 2 gen: 3 level: v3 note: check built: 2020-22
process: TSMC n7 (7nm) family: 0x17 (23) model-id: 0x60 (96) stepping: 1
microcode: 0x8600106
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: 8 MiB
desc: 2x4 MiB
Speed (MHz): avg: 1400 high: 1424 min/max: 1400/3000 boost: enabled
scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 1424 2: 1405
3: 1400 4: 1396 5: 1396 6: 1397 7: 1395 8: 1397 9: 1400 10: 1400 11: 1397
12: 1397 bogomips: 71865
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Vulnerabilities: <filter>
Graphics:
Device-1: NVIDIA TU117M vendor: Lenovo driver: nvidia v: 535.54.03
alternate: nouveau,nvidia_drm non-free: 535.xx+
status: current (as of 2023-07) arch: Turing code: TUxxx
process: TSMC 12nm FF built: 2018-22 pcie: gen: 1 speed: 2.5 GT/s lanes: 8
link-max: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 01:00.0
chip-ID: 10de:1f99 class-ID: 0300
Device-2: AMD Renoir vendor: Lenovo driver: amdgpu v: kernel arch: GCN-5
code: Vega process: GF 14nm built: 2017-20 pcie: gen: 4 speed: 16 GT/s
lanes: 16 ports: active: eDP-1 empty: none bus-ID: 05:00.0
chip-ID: 1002:1636 class-ID: 0300 temp: 40.0 C
Device-3: IMC Networks Integrated Camera driver: uvcvideo type: USB
rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-3:2 chip-ID: 13d3:56ff
class-ID: 0e02
Display: x11 server: X.Org v: 21.1.8 with: Xwayland v: 23.1.2
compositor: kwin_x11 driver: X: loaded: amdgpu,nvidia
unloaded: modesetting,nouveau alternate: fbdev,nv,vesa dri: radeonsi
gpu: amdgpu display-ID: :0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
s-diag: 582mm (22.93")
Monitor-1: eDP-1 mapped: eDP model: AU Optronics 0xd1ed built: 2019
res: 1920x1080 hz: 120 dpi: 142 gamma: 1.2 size: 344x193mm (13.54x7.6")
diag: 394mm (15.5") ratio: 16:9 modes: 1920x1080
API: OpenGL v: 4.6 Mesa 23.1.3 renderer: AMD Radeon Graphics (renoir LLVM
15.0.7 DRM 3.52 6.4.3-zen1-1-zen) direct-render: Yes
Audio:
Device-1: NVIDIA driver: snd_hda_intel v: kernel pcie: gen: 1
speed: 2.5 GT/s lanes: 8 link-max: gen: 3 speed: 8 GT/s lanes: 16
bus-ID: 01:00.1 chip-ID: 10de:10fa class-ID: 0403
Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: Lenovo driver: N/A
alternate: snd_pci_acp3x, snd_rn_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 pcie: gen: 4 speed: 16 GT/s lanes: 16
bus-ID: 05:00.5 chip-ID: 1022:15e2 class-ID: 0480
Device-3: AMD Family 17h/19h HD Audio vendor: Lenovo driver: snd_hda_intel
v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 05:00.6
chip-ID: 1022:15e3 class-ID: 0403
API: ALSA v: k6.4.3-zen1-1-zen status: kernel-api with: aoss
type: oss-emulator tools: alsactl,alsamixer,amixer
Server-1: PipeWire v: 0.3.73 status: active with:
1: pipewire-media-session status: active 2: pw-jack type: plugin
tools: pw-cat,pw-cli
Server-2: PulseAudio v: 16.1 status: active tools: pacat,pactl,pavucontrol
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Lenovo driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1
port: 2000 bus-ID: 03:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: eno1 state: down mac: <filter>
Device-2: 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>
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-3:5 chip-ID: 8087:0029
class-ID: e001
Report: bt-adapter ID: hci0 rfk-id: 5 state: down
bt-service: enabled,running rfk-block: hardware: no software: yes
address: <filter>
Drives:
Local Storage: total: 1.14 TiB used: 42.23 GiB (3.6%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung
model: MZVLB256HBHQ-000L2 size: 238.47 GiB block-size: physical: 512 B
logical: 512 B speed: 31.6 Gb/s lanes: 4 tech: SSD serial: <filter>
fw-rev: 3L1QEXH7 temp: 39.9 C scheme: GPT
ID-2: /dev/sda maj-min: 8:0 vendor: Western Digital model: WD10SPZX-08Z10
size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
tech: HDD rpm: 5400 serial: <filter> fw-rev: 1A05 scheme: GPT
Partition:
ID-1: / raw-size: 229.37 GiB size: 229.37 GiB (100.00%)
used: 42.23 GiB (18.4%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 576 KiB (0.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
ID-3: /home raw-size: 229.37 GiB size: 229.37 GiB (100.00%)
used: 42.23 GiB (18.4%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-4: /var/log raw-size: 229.37 GiB size: 229.37 GiB (100.00%)
used: 42.23 GiB (18.4%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-5: /var/tmp raw-size: 229.37 GiB size: 229.37 GiB (100.00%)
used: 42.23 GiB (18.4%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 7.13 GiB used: 17.1 MiB (0.2%) priority: 100
dev: /dev/zram0
ID-2: swap-2 type: partition size: 8.8 GiB used: 0 KiB (0.0%) priority: -2
dev: /dev/nvme0n1p3 maj-min: 259:3
Sensors:
System Temperatures: cpu: 41.2 C mobo: N/A gpu: amdgpu temp: 41.0 C
Fan Speeds (RPM): N/A
Info:
Processes: 307 Uptime: 1h 0m wakeups: 4 Memory: total: 8 GiB note: est.
available: 7.14 GiB used: 3.12 GiB (43.7%) Init: systemd v: 253
default: graphical tool: systemctl Compilers: gcc: 13.1.1 Packages: pm: apk
pkgs: 0 pm: dpkg pkgs: 0 pm: pacman pkgs: 1335 libs: 362
tools: octopi,paru,yay Shell: fish v: 3.6.1 default: Bash v: 5.1.16
running-in: konsole inxi: 3.3.28
Garuda (2.6.16-1):
System install date:     2023-05-04
Last full system update: 2023-07-12
Is partially upgraded:   No
Relevant software:       snapper NetworkManager dracut nvidia-dkms
Windows dual boot:       No/Undetected
Failed units:

Can you provide your

garuda -inxi

as per the forum template

1 Like

updated pls check

Why do you have pulse audio? It’s known to cause issues. Please uninstall it and reinstall pipwire following these steps:

  1. Remove all the configuration files in /etc/pipewire (sudo mv /etc/pipewire /tmp)
  2. Reinstall pipewire support
sudo pacman -S pipewire-support
  1. Restart pipewire’s systemd services.
systemctl --user enable --now pipewire.socket pipewire-pulse.socket wireplumber.service

and

systemctl --user enable --now pipewire.service

Multiple sound servers are not needed. Plus all of the packages that require pulseaudio as dependency are fullfilled by pipewire-pulse provided with the pipewire-support meta package. Also I can see that wireplumber is not working prolly disabled by pulseaudio another reason why pipewire is not working properly and you are facing audio issues.

1 Like

I did the above changes but still I am not able to hear any sound :grimacing:

*Able to hear system sound but not youtube sound

What's the output of

pacman -Qs pulseaudio
1 Like

local/pavucontrol 1:5.0+r64+geba9ca6-1
PulseAudio Volume Control
local/pipewire-alsa 1:0.3.73-2
Low-latency audio/video router and processor - ALSA configuration
local/pipewire-pulse 1:0.3.73-2
Low-latency audio/video router and processor - PulseAudio replacement
local/plasma-pa 5.27.6-1 (plasma)
Plasma applet for audio volume management using PulseAudio
local/pulseaudio-qt 1.3-1
Qt bindings for libpulse

What does this return?

systemctl --user disable --now pulseaudio.socket pulseaudio.service

Does it go about disabling the unit or return an error like this

Failed to disable unit: Unit file pulseaudio.socket does not exist.

yes bro

Umm which one???

λ systemctl --user disable --now pulseaudio.socket pulseaudio.service
Failed to disable unit: Unit file pulseaudio.socket does not exist.

Truly strange then. Try rebooting.

2 Likes

Did just now but still no audio bro :lying_face:

@xay If this too doesn't help can you share the output of

systemctl status --user wireplumber
systemctl status --user pipewire
systemctl status --user pipewire-pulse

If you get "stuck" after running these commands as in you can't type any more commands just press q and you will have your prompt to type commands back.

2 Likes
systemctl status --user wireplumber
● wireplumber.service - Multimedia Service Session Manager
Loaded: loaded (/usr/lib/systemd/user/wireplumber.service; enabled; preset: enabled)
Active: active (running) since Wed 2023-07-12 23:17:26 IST; 4min 18s ago
Main PID: 1262 (wireplumber)
Tasks: 6 (limit: 8607)
Memory: 23.7M
CPU: 506ms
CGroup: /user.slice/user-1000.slice/[email protected]/session.slice/wireplumber.service
└─1262 /usr/bin/wireplumber

Jul 12 23:17:26 dootx-system systemd[1251]: Started Multimedia Service Session Manager.
Jul 12 23:17:26 dootx-system wireplumber[1262]: Failed to get percentage from UPower: org.freedesktop.DBus.Er>
Jul 12 23:17:26 dootx-system wireplumber[1262]: [0:00:14.004913834] [1262]  INFO Camera camera_manager.cpp:29>
Jul 12 23:17:26 dootx-system wireplumber[1262]: <WpPortalPermissionStorePlugin:0x5564c62f5070> Failed to call>
Jul 12 23:17:26 dootx-system wireplumber[1262]: <WpPortalPermissionStorePlugin:0x5564c62f5070> Failed to call>

systemctl status --user pipewire
● pipewire.service - PipeWire Multimedia Service
Loaded: loaded (/usr/lib/systemd/user/pipewire.service; enabled; preset: enabled)
Active: active (running) since Wed 2023-07-12 23:17:26 IST; 4min 42s ago
TriggeredBy: ● pipewire.socket
Main PID: 1260 (pipewire)
Tasks: 3 (limit: 8607)
Memory: 15.3M
CPU: 2.488s
CGroup: /user.slice/user-1000.slice/[email protected]/session.slice/pipewire.service
└─1260 /usr/bin/pipewire

Jul 12 23:17:26 dootx-system systemd[1251]: Started PipeWire Multimedia Service.
Jul 12 23:17:26 dootx-system pipewire[1260]: [0:00:14.305537726] [1260]  INFO Camera camera_manager.cpp:298 l>


systemctl status --user pipewire-pulse
● pipewire-pulse.service - PipeWire PulseAudio
Loaded: loaded (/usr/lib/systemd/user/pipewire-pulse.service; disabled; preset: enabled)
Active: active (running) since Wed 2023-07-12 23:17:28 IST; 4min 51s ago
TriggeredBy: ● pipewire-pulse.socket
Main PID: 1660 (pipewire-pulse)
Tasks: 2 (limit: 8607)
Memory: 42.6M
CPU: 3.058s
CGroup: /user.slice/user-1000.slice/[email protected]/session.slice/pipewire-pulse.service
└─1660 /usr/bin/pipewire-pulse

Jul 12 23:17:28 dootx-system systemd[1251]: Started PipeWire PulseAudio.

First of all, I wouldn’t keep both of them. I’d remove pulseaudio. You can do that from the Garuda Assistant.
Then I would install wireplumber, which will remove pipewire-media-session .
And activate with

systemctl --user --now enable wireplumber

Reboot and see how it goes.

Ops, someone has been faster :wink:

3 Likes

Hmm. Truly strange then. I see wireplumber, pipewire, etc is up and running so your audio should be up and running. I have one last suggestion. If this too doesn’t work then I don’t know what’s wrong with your system.

rm -rf ~/.config/pulse

Because pipewire uses the cookie file from here and if pulseaudio has been messing around with it then yeah… You get the idea. After this

Try to follow the steps to reinstall pipewire again.

If this doesn’t help. Then I am at a dead end too.

@xay please have a look at this edited post.

1 Like

@NaN ls ~/.config/pulse
.rw------- 25k dootx 12 Jul 21:57  75fed55f925f4b90b92d2437626e65a2-card-database.tdb
.rw------- 1 dootx 12 Jul 21:57  75fed55f925f4b90b92d2437626e65a2-default-sink
.rw------- 1 dootx 12 Jul 21:57  75fed55f925f4b90b92d2437626e65a2-default-source
.rw------- 12k dootx 12 Jul 22:59  75fed55f925f4b90b92d2437626e65a2-device-volumes.tdb
.rw------- 12k dootx 12 Jul 22:59  75fed55f925f4b90b92d2437626e65a2-stream-volumes.tdb
.rw------- 256 dootx 4 May 14:20  cookie

@filo I had restarted system but still no sound coming in Youtube video

Please post always your terminal in- and output as text like
~~~
garuda-inxi
System:
Kernel: 5.18.15-zen1-2-zen arch: x86_64 bits: 64 compiler: gcc v: 12.1.1
parameters:
~~~

1 Like