LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-02-2022, 07:46 PM   #1
NakedRider
Member
 
Registered: Nov 2008
Location: Sacramento, CA
Distribution: Slackware and only Slackware
Posts: 194

Rep: Reputation: 114Reputation: 114
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.

Please help. I'll be forever indebeted
 
Old 06-02-2022, 09:10 PM   #2
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,784

Rep: Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434
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.

Last edited by enorbet; 06-02-2022 at 09:11 PM.
 
Old 06-02-2022, 10:22 PM   #3
NakedRider
Member
 
Registered: Nov 2008
Location: Sacramento, CA
Distribution: Slackware and only Slackware
Posts: 194

Original Poster
Rep: Reputation: 114Reputation: 114
Quote:
Originally Posted by enorbet View Post
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.
Thanks for the reply. I had no luck.
 
Old 06-03-2022, 01:04 AM   #4
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,784

Rep: Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434
I hate to mention another distro but the docs are quite good

https://wiki.archlinux.org/title/Adv...roubleshooting
 
Old 06-03-2022, 01:13 AM   #5
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,500

Rep: Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308
Quote:
Originally Posted by NakedRider View Post
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.
 
Old 06-03-2022, 10:10 AM   #6
NakedRider
Member
 
Registered: Nov 2008
Location: Sacramento, CA
Distribution: Slackware and only Slackware
Posts: 194

Original Poster
Rep: Reputation: 114Reputation: 114
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Debian Jessie - Have Pulseaudio and ALSA installed. Everything is unmuted and settings show sound outputting but no sound actually playing. jjd3592 Linux - Software 12 03-07-2016 07:10 AM
[SOLVED] Are the programs in util-linux the same version as those in util-linux-ng? harryhaller Slackware - Installation 2 10-07-2011 09:43 AM
[SOLVED] Squeeze + Pulseaudio + Alsa and USB Midi device causes Pulseaudio crash mad4linux Debian 1 01-26-2011 03:57 AM
Winecfg crashes on sound tab with Pulseaudio and no 'sounddrivers' without pulseaudio William (Dthdealer) Linux - Software 5 06-13-2010 07:30 AM
Great place, great people, and me feel great to be here rajshekarj LinuxQuestions.org Member Intro 2 10-22-2009 03:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration