[SOLVED] No sound / output device after upgrade to RC1
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
The PulseAudio wasn't upgraded (but rebuilt) on the last batch, but the kernel was upgraded to latest version.
In other hand, the PipeWire has an alternate implementation of PulseAudio server. And it fails too, according with you.
So, the fault's with the kernel. Maybe you should tune something, like others here said.
Perhaps there is some interaction, but I can get sound by downgrading to pulseaudio-14.2 even with the latest kernel (kernel-generic-5.13.11). I could also try the previous kernel with pulseaudio-15.0 and see how that goes.
*edit* Downgrading to pulseaudio-14.2 is a partial fix, my HDMI sound doesn't work, but direct audio out does at least (neither work with pulseaudio-15.0).
Upgrading another machine (a desktop with hdmi), got sound working again by just uninstalling then re-installing alsa-lib and pulseaudio-15.0
@pomf, thanks for the idea.
Last edited by dr.s; 08-16-2021 at 11:39 AM.
Reason: typo
I am having a similar but not exactly same problem.
I usually use two output devices: Jabra USB headset or Built-In audio via HDMI.
Since the last update update the HDMI part is not working, but I can use the USB device. I've tried downgrading to pulseaudio-14.2-x86_64-3 and there are some differences, but the result is the same: no audio through HDMI.
In this case, with PulseAudio 15, in Settings > Audio I can see the output device but the only profile available is off (screenshot attached)
And edit to confirm pomf hint works: I reinstalled alsa-lib and pulseaudio and everything working fine again (re-installing only pulseaudio wasn't enough)
Last edited by elMoco; 08-16-2021 at 11:41 AM.
Reason: FIXED
I had sound but noticed I can't access or control the mixer in any meaningful way (and that's only because my volume changing keybinds defined for xbindkeys stopped working). The errors spewed by alsa seemed to indicate an issue with configuration and the problem resolved itself after I:
reinstalled alsa-lib and pulseaudio while overwriting every config it prompted for
reapplied the previous workarounds to disable the pulseaudio malware
At that point everything started working fine but I think reinstalling alsa-lib and pulseaudio caused new-config to notice more changes between configs than before - so take notice of that. I should've paid more attention but I was getting a bit flustered at this point
Thanks for this, got sound working again after a clean uninstall/reinstall of latest pulseaudio and alsa-lib.
And edit to confirm pomf hint works: I reinstalled alsa-lib and pulseaudio and everything working fine again (re-installing only pulseaudio wasn't enough)
Yes, I can confirm that this restores my sound with the latest pulseaudio-15.0, although I have only HDMI audio working (no audio out on the computer any more).
But now I realize that my problems actually started earlier. I only switched to HDMI audio fairly recently because I thought my regular audio out hardware had died, turns out it's some weird Pulse issue (maybe starting with 15.0?). I've lost track of all the installs/uninstalls I've been doing just now, but at one point I had only regular audio out and no HDMI, whereas now I'm back to only HDMI audio working with regular audio out being dead. All pretty weird, so I'm hesitant to mark this is as solved, but from pomf's tip I did*:
I had my speakers working, but my HDMI audio died after upgrading to RC1. I can confirm tha the workaround offered by @pomf fixed the issue (uninstall alsa-lib and pulseaudio and reinstall them). Thanks @pomf and fellow Slackers.
Last edited by sombragris; 08-16-2021 at 12:03 PM.
OK, so I am back to where I started prior to RC1 (HDMI audio working, but regular audio out not working). Considering the original thread issue was no sound at all (which was fixed by reinstalling alsa-lib and pulseaudio), I'll mark it as solved.
Yes, I can confirm that this restores my sound with the latest pulseaudio-15.0, although I have only HDMI audio working (no audio out on the computer any more).
But now I realize that my problems actually started earlier. I only switch to HDMI audio fairly recently because I thought my regular audio out hardware had died, turns out it's some weird Pulse issue (maybe starting with 15.0?). I've lost track of all the installs/uninstalls I've been doing just now, but at one point I had only regular audio out and no HDMI, whereas now I'm back to only HDMI audio working with regular audio out being dead. All pretty weird, so I'm hesitant to mark this is as solved, but from pomf's tip I did:
So, the fault's with the kernel. Maybe you should tune something, like others here said.
Please note that something is changed on configuration regarding audio, on this latest kernel.
The total loss of sound problem was something to do with alsa/pulse (reinstalling those packages fixed the HDMI sound).
Since fixing the HDMI audio out, I've tested the Pipewire setup with kernels 5.13.8 and 5.13.11, and there is no difference for me between Pipewire and pulseaudio-15.0 (i.e., HDMI works, but regular audio out doesn't work). Maybe something changed in an earlier kernel, I don't know.
The total loss of sound problem was something to do with alsa/pulse (reinstalling those packages fixed the HDMI sound).
Since fixing the HDMI audio out, I've tested the Pipewire setup with kernels 5.13.8 and 5.13.11, and there is no difference for me between Pipewire and pulseaudio-15.0 (i.e., HDMI works, but regular audio out doesn't work). Maybe something changed in an earlier kernel, I don't know.
Reinstalling alsa-lib and pulseaudo-15 fixed it for me as well.
For those running pipewire make sure not to overwrite /etc/pulse/client.conf and rename /etc/xdg/autostart/pulseaudio.desktop to /etc/xdg/autostart/pulseaudio.disabled or remove it after upgrading/reinstalling pulseaudio-15. I completely forgot I'd modified client.conf and caught the other issue double checking the pipewire setup.
I spoke too soon. Firefox is OK. Supercollider is OK. Any game with Proton is OK, as is any native sound-producing application. (Frescobaldi with timidity also OK.) WINE applications are not, although I suspect my WINE will need to be rebuilt.
No change on rebuilt WINE. Is it a gstreamer issue? The default.pa was missing those lines, so I added it, pulseaudio -k, but still no sound with WINE. There's definitely something up with pulse:
So everything's working, and I didn't need to rebuild WINE, nor did I have to downgrade pulse. So if you're having weird audio issues, try the above. (I don't know if just alsa would've been sufficient. I don't know why reinstalling alsa fixed it, unless some config got clobbered, but the only ones that changed were pulse's configs, not ALSA's.)
And furthermore, why would it only be WINE programs for me that were a problem? MIDI wasn't. Anything native wasn't. Mass Effect Legendary Edition with Glorious Eggroll's proton version wasn't. Curious.
ETA: these are the lines I added to the new default.pa that were missing (not sure if it was part of the fix):
I have sound but errors with amixer commands and selecting a card with mplayer.
Digging the alsa-lib tip, I think there is a problem with the latest aaa_libraries package.
It contains a /usr/lib64/libasound.so.2.0.0 file dating from February, much more older than the alsa-lib one.
EDIT: Re-installing the /usr/lib64/libasound.so.2.0.0 file from before the upgrade solves my problems immediately.
Thanks to pomf for suggesting re-installing alsa-lib.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.