You are not logged in.

#1 2023-05-28 21:10:59

nukicius
Member
Registered: 2023-05-28
Posts: 2

Pipewire doesn't output any audio at startup

I've been having this problem with pipewire for a while, it doesn't happen on pulseaudio but I'd really rather use pipewire as I'm more open to using it.
My laptop has a Realtek ALC256 sound card, and everytime i reboot my Arch Linux install, sound doesn't work.
I always have to either plug in or plug out headphones, or restart pipewire entirely.
I've tried a couple solutions, for example installing sof-firmware, changing the .conf in /etc/modprobe.d, etc. but nothing really has worked for me.
I'm open to any help, I just wanna get rid of this stupid issue lol

Offline

#2 2023-05-28 23:06:19

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,409

Re: Pipewire doesn't output any audio at startup

Post

sudo dmesg | grep -E 'snd|sof'
sudo fuser -v /dev/snd/*
aplay -lL
pactl list cards
pactl list sinks

wrapped in code tags when having the issue

Offline

#3 2023-05-28 23:11:37

nukicius
Member
Registered: 2023-05-28
Posts: 2

Re: Pipewire doesn't output any audio at startup

oh. i just figured out the issue
i didnt really see this anywhere when looking around for help, but i just needed to install alsa-utils and after the next reboot, everything seemed to work normally
thanks for the hint smile

Offline

#4 2023-05-28 23:13:51

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,409

Re: Pipewire doesn't output any audio at startup

That should not have had an inherent effect on it's own, but in any case please mark as SOLVED by editing the title in your first post

Offline

#5 2023-05-29 07:22:15

progandy
Member
Registered: 2012-05-17
Posts: 5,184

Re: Pipewire doesn't output any audio at startup

V1del wrote:

That should not have had an inherent effect on it's own, but in any case please mark as SOLVED by editing the title in your first post

alsa-utils installs two services (alsa-restore and alsa-state) and adds them to the sound target. Those may have helped.

Last edited by progandy (2023-05-29 07:23:00)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#6 2023-05-29 13:20:45

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,409

Re: Pipewire doesn't output any audio at startup

I know but afaik neither will actually do anything on their own unless you run alsactl store or alsactl daemon once explicitly. They have ConditionFile checks that should fail with neither having been ran at least once as those commands would create the corresponding files (might've changed recently though)

Offline

#7 2023-05-29 14:19:06

progandy
Member
Registered: 2012-05-17
Posts: 5,184

Re: Pipewire doesn't output any audio at startup

V1del wrote:

I know but afaik neither will actually do anything on their own unless you run alsactl store or alsactl daemon once explicitly.

That has been changed a few years ago. alsactl store/restore will always run unless you have enabled the alsactl daemon. https://github.com/alsa-project/alsa-ut … 20d8578592


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#8 2023-05-29 20:34:03

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,409

Re: Pipewire doesn't output any audio at startup

Aha that explains things

Offline

Board footer

Powered by FluxBB