[Help] Audio devices disappear after reboot (EndeavourOS, Pipewire)
Hello! I've posted this a few weeks ago on /c/linux4noobs@programming.dev but I didn't get much of an answer, I hope it's okay to post it here as well.
I use 3 audio devices on my computer: my monitor's speakers (through HDMI), my headphones (through line-out/built-in audio) and my microphone (line-in/built-in audio). They all work fine, but when I reboot my headphones / line-out don't seem to get recognized at all.
The only solution I've found thus far is to re-install alsa-utils twice after rebooting. Upon the first reinstall, my line-out / headphones reappear but my line-in mic disappears, only to come back after the second reinstall. Technically my sound works perfectly fine after this, but it feels extremely dumb to reinstall a package twice after every reboot.
Any help would be greatly appreciated, thanks in advance :)
Nope, I've checked and I don't have any PulseAudio, JACK, or other audio packages that could interfere. This install has only ever used PipeWire for audio.
Could be kernel related, I don't know. That'd be quite over my head, but I've had this issue using both the standard linux kernel and the zen kernel.
I didn't see anything in journalctl's logs that relates to audio as far as I can tell.
Reinstalling alsa utils twice? Interesting and weird.
Want to know what's even more fun? I need to re-install alsa-utils thrice now after properly enabling pipewire.service like I did on that other comment thread :P
Nope, I've checked and I don't have any PulseAudio, JACK, or other audio packages
Ok good. We should be able to rule that out.
Could be kernel related, I don't know.
What version? The command uname -r will give it to you. More info here
Also... If you run dmesg do you see any audio related devices or errors? I should've thought to ask about that last time.
Want to know what's even more fun? I need to re-install alsa-utils thrice now
Whee!™ Are we having fun yet lol
That is seriously bizarre.
Did I ask what audio hardware chipset you're using?
It should show up in dmesg output. Or alternatively look up your motherboard specs and get it that way. Assuming you're using the built in motherboard audio and not a separate card.
So this comment made me realize pipewire.service wasn't enabled (I had to use the command 'systemctl --now enable pipewire --user' as the ones you provided didn't work on my system.)
It's up and running now, but after a reboot I still have the same issue.
If your audio devices disappear after a reboot in EndeavourOS with Pipewire, you can try the following steps to troubleshoot the issue:
Check Pipewire Service: Ensure that the Pipewire services are running. You can check this by running:
bash
Copy code
systemctl --user status pipewire
systemctl --user status pipewire-pulse
If they're not active, you can start them with:
bash
Copy code
systemctl --user start pipewire
systemctl --user start pipewire-pulse
Update System: Make sure your system is fully updated. Run:
bash
Copy code
sudo pacman -Syu
Check for Missing Configuration: Sometimes, configurations might not be properly set. Check the ~/.config/pipewire/ directory for relevant configuration files. You can try resetting configurations by renaming or removing those files and rebooting.
Reinstall Pipewire: If issues persist, consider reinstalling Pipewire:
bash
Copy code
sudo pacman -Rns pipewire
sudo pacman -S pipewire pipewire-pulse
Check User Group: Ensure your user is part of the audio group:
bash
Copy code
groups
If not, add yourself:
bash
Copy code
sudo usermod -aG audio $USER
Log Out and Back In: After making changes to user groups, log out and log back in for the changes to take effect.
Review Logs: Check the system logs for any error messages related to audio:
bash
Copy code
journalctl --user -xe | grep pipewire
If these steps do not resolve the issue, you might want to check the EndeavourOS forums or community for further assistance. More Info Here>>