Great - no sound again after alsa-util and pulseaudio update
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.
Great - no sound again after alsa-util and pulseaudio update
I installed the updates today which included alsa-utils and pulseaudio.
I've lost my sound again. I've done searches to try and get help but I don't really know what to ask. I should have documented how I fixed this before...lesson learned.
I have two sound cards. There is an onboard card which doesn't work and a Creative Labs card.
I can't seem to get the Creative Labs card to be the one selected. I've used alsamixer, pavucontrol and the speaker icons that are attached to the taskbar in KDE. None seem to help making a change to the card used.
I know this is something simple but I don't seem to be able to find a reference to something like this.
I'm also kind of at a loss when it comes to Digital Stereo and Digital Surround 5.1. Not sure what to pick or if it makes a difference.
I'm hoping pipewire will at some point murder and dismember pulseaudio, but in the meantime I specify default devices in "/etc/asound.conf". Belo is my complete asound.conf with commented out options to try from time to time to see how things are advancing. The uncommented alsa default insures my expensive sound card always stays the same and always works.... well except for one or two middlin older Steam games that seem to demand pulse.
Anyway this works quite well and I don't have to look up options syntax, just switch commenting
Code:
# ALSA system-wide config file
# By default, redirect to Pipewire:
###
#pcm.!default {
# type pipewire
# hint {
# show on
# description "Pipewire Sound Server"
# }
#}
#
#ctl.!default {
# type pipewire
#}
##
pcm.!default {
type hw
card II
device "hw:1,0"
}
ctl.!default {
type hw
card II
}
#pcm.default pulse
#ctl.default pulse
Note: In my case "card II" refers to Xonar Virtuoso II. It isn't essential once "hw:1,0" exists, but again, it is more of a reminder to me how Alsa sees my card. Just using the Device displayed by "aplay -l" should work just fine.
I'm hoping pipewire will at some point murder and dismember pulseaudio, but in the meantime I specify default devices in "/etc/asound.conf". Belo is my complete asound.conf with commented out options to try from time to time to see how things are advancing. The uncommented alsa default insures my expensive sound card always stays the same and always works.... well except for one or two middlin older Steam games that seem to demand pulse.
Anyway this works quite well and I don't have to look up options syntax, just switch commenting
Code:
# ALSA system-wide config file
# By default, redirect to Pipewire:
###
#pcm.!default {
# type pipewire
# hint {
# show on
# description "Pipewire Sound Server"
# }
#}
#
#ctl.!default {
# type pipewire
#}
##
pcm.!default {
type hw
card II
device "hw:1,0"
}
ctl.!default {
type hw
card II
}
#pcm.default pulse
#ctl.default pulse
Note: In my case "card II" refers to Xonar Virtuoso II. It isn't essential once "hw:1,0" exists, but again, it is more of a reminder to me how Alsa sees my card. Just using the Device displayed by "aplay -l" should work just fine.
I have two sound cards. There is an onboard card which doesn't work and a Creative Labs card.
From my own experience, all motherboards I've seen and touched had the ability to disable the onboard audio at BIOS (or UEFI) level, then it will literally NOT exists for the operating system.
I suggest you to disable the onboard audio from motherboard's firmware, the the Linux will see and use only your discrete audio card.
Last edited by LuckyCyborg; 06-03-2022 at 01:20 AM.
I ended up reinstalling Slackware. Couldn't figure this out. Thanks for the help everyone.
I spent over 4 hours yesterday working on this. It takes me well less than 2 hours to install Slackware and all my software and to configure my settings.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.