LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Audio doesnt work! (https://www.linuxquestions.org/questions/slackware-14/audio-doesnt-work-4175600389/)

yakiza 02-22-2017 06:49 PM

Audio doesnt work!
 
Hello everyone i just installed Slackware 14.02 and i have trouble with my speakers, so for instance when i put something to play is not like they dont work at all but i barely hear anything.

here is the url of a prnt screen with all the informations of my system http://prnt.sc/ec8pjf

thank you

alex14641 02-22-2017 06:55 PM

Run pavucontrol: it's a GUI component of Pulse Audio that allows changing the volume.

yakiza 02-22-2017 07:07 PM

Audio max
 
Audio is at Max there

GazL 02-23-2017 03:57 AM

On both the playback and output devices tabs?

camorri 02-23-2017 06:19 AM

Is this a laptop or a desktop?

On my laptop, I have external speakers plugged in the headphone jack. To get sound out, I have to select Port: Headphones, on the Output devices tab.

yakiza 02-23-2017 08:08 AM

Its my desktop and the motherboard is msi b250 m3 and i have everything at maximum and not muted, i guess its something wrong with the selections i really dont know i tried to plug it in all the ports it has

jostber 02-23-2017 08:34 AM

Can you run "alsamixer" and raise the volume there to check if this works?

camorri 02-23-2017 08:36 AM

Have you ever had sound working on this system?

I had a look at the manual for the system board. There are three manuals listed, based on release date of the system. It appears the board supports 7.1 channel speakers. The ports you use depend on the speakers you wish to use. Have you got a 7.1 speaker system, or a more basic stereo 2 speaker system?

There may be settings in the BIOS you need to set up, and then set up the host system to match.

BW-userx 02-23-2017 09:05 AM

With Pulse Audio and alsa and the software your using to play . turn everything up to max. See if that works. Trying using head phones themselves plugged into your ears and see if they get blasted out, if yes, then maybe speakers.

built in audio selected if you are using your head phone jack.

yakiza 02-24-2017 05:37 AM

Quote:

Originally Posted by camorri (Post 5674971)
Have you ever had sound working on this system?

I had a look at the manual for the system board. There are three manuals listed, based on release date of the system. It appears the board supports 7.1 channel speakers. The ports you use depend on the speakers you wish to use. Have you got a 7.1 speaker system, or a more basic stereo 2 speaker system?

There may be settings in the BIOS you need to set up, and then set up the host system to match.

A guy on another forum said something similar.. yes but i had ubuntu 16.10 not slackware, i have 2 speakers with 1 woofer
what is this 7.1 and how do i change or see what i have?

GazL 02-24-2017 06:17 AM

Open a terminal.

Make sure pulseaudio isn't running, stop it if it is:
Code:

ps -C pulseaudio && pactl exit
...run the command again to make sure it has gone.


Check your real mixer settings (not the pulseaudio nonsense):
Code:

alsamixer -c 0
Adjust as necessary.


Now test:
Code:

speaker-test -t wav -c 8 -D plughw:0
If it doesn't have all 8 channels then you will see 'unused' displayed for each channel your hardware doesn't have. You should hear a nice lady talking to you from your speakers.

To play a mp3 directly to alsa, avoiding pulseaudio you can use:
Code:

AUDIODRIVER='alsa' AUDIODEV='plughw:0' play songfile.mp3

Now, once you've got it all sorted to your satisfaction save your mixer settings with:
Code:

alsactl store
Unfortunately pulseaudio decides to crap all over any settings you've set yourself when it starts, but that's a different issue and it still makes sense to have alsa configured correctly even if pulse craps on it later.

Give that a go and see how you get on. Once we know alsa is working correctly we can start worrying about pulseaudio.

P.S. For HDMI, you'll typically need 'alsamixer -c 1' and 'plughw:1,3', but this may vary depending on your hardware so you may have to experiment with the numbers. (my hdmi uses device 3).

camorri 02-24-2017 06:46 AM

Quote:

yes but i had ubuntu 16.10 not slackware, i have 2 speakers with 1 woofer
what is this 7.1 and how do i change or see what i have?
I asked the question to find out, first if the speakers are known working - yea they are, and the configuration you have. If you want to know more about 7.1 setups, you can look in the manual for your MSI system board, It gives you the information on the ports on the rear of the system.

Give GazL information a go and post back.


All times are GMT -5. The time now is 01:52 PM.