LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware - Installation (http://www.linuxquestions.org/questions/slackware-installation-40/)
-   -   No sound on my slackware 14 installation (http://www.linuxquestions.org/questions/slackware-installation-40/no-sound-on-my-slackware-14-installation-4175463233/)

EldonCool 05-23-2013 08:16 PM

No sound on my slackware 14 installation
 
I can't get any sound out of my latest install of
slackware, version 14, 32 bit.

This computer has given sound in the past with older
distributions of slackware, and also SUSE.

Also I see no programs that I can look at for what
is installed sound wise. On other distributions, as
I recall, there were some setup functions listed
under system type stuff.

What might be a good program for looking at my computer
hardware concerning sound?

Any suggestions on what file to look at to see what
is installed in the sound area?

allend 05-23-2013 11:12 PM

It is hard to advise without more details on your hardware.
From a command line, try running 'alsamixer'. It may be that your device is recognised but needs outputs unmuted or volume levels raised.

If that does not help, please post the output of 'aplay -l' and '/sbin/lspci'.

EldonCool 05-24-2013 02:58 PM

Okay, I ran alsamixer and chose option F6 to select a
sound card, and it told me to pick a sound card, I have
two on this computer for some reason.

IT lists (0) Ensoniq AudioPCI (1) HDA NVidia

So, it looks like the system does not know which to use?

So now I run aplay -l
results:
**** List of PLAYBACK Hardware Devices ****
card 0: AudioPCI [Ensoniq AudioPCI], device 0: ES1370/1 [ES1370 DAC2/ADC]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: AudioPCI [Ensoniq AudioPCI], device 1: ES1370/2 [ES1370 DAC1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 0: ALC880 Analog [ALC880 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 1: ALC880 Digital [ALC880 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0


And now the output of lspci:
results:
00:00.0 RAM memory: nVidia Corporation C51 Host Bridge (rev a2)
00:00.1 RAM memory: nVidia Corporation C51 Memory Controller 0 (rev a2)
00:00.2 RAM memory: nVidia Corporation C51 Memory Controller 1 (rev a2)
00:00.3 RAM memory: nVidia Corporation C51 Memory Controller 5 (rev a2)
00:00.4 RAM memory: nVidia Corporation C51 Memory Controller 4 (rev a2)
00:00.5 RAM memory: nVidia Corporation C51 Host Bridge (rev a2)
00:00.6 RAM memory: nVidia Corporation C51 Memory Controller 3 (rev a2)
00:00.7 RAM memory: nVidia Corporation C51 Memory Controller 2 (rev a2)
00:02.0 PCI bridge: nVidia Corporation C51 PCI Express Bridge (rev a1)
00:03.0 PCI bridge: nVidia Corporation C51 PCI Express Bridge (rev a1)
00:04.0 PCI bridge: nVidia Corporation C51 PCI Express Bridge (rev a1)
00:05.0 VGA compatible controller: nVidia Corporation C51G [GeForce 6100]
(rev a2)
00:09.0 RAM memory: nVidia Corporation MCP51 Host Bridge (rev a2)
00:0a.0 ISA bridge: nVidia Corporation MCP51 LPC Bridge (rev a2)
00:0a.1 SMBus: nVidia Corporation MCP51 SMBus (rev a2)
00:0a.2 RAM memory: nVidia Corporation MCP51 Memory Controller 0 (rev a2)
00:0b.0 USB controller: nVidia Corporation MCP51 USB Controller (rev a2)
00:0b.1 USB controller: nVidia Corporation MCP51 USB Controller (rev a2)
00:0d.0 IDE interface: nVidia Corporation MCP51 IDE (rev a1)
00:0e.0 IDE interface: nVidia Corporation MCP51 Serial ATA Controller (rev
a1)
00:10.0 PCI bridge: nVidia Corporation MCP51 PCI Bridge (rev a2)
00:10.1 Audio device: nVidia Corporation MCP51 High Definition Audio (rev
a2)
00:14.0 Bridge: nVidia Corporation MCP51 Ethernet Controller (rev a1)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM
Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
Miscellaneous Control
04:06.0 Ethernet controller: VIA Technologies, Inc. VT86C100A [Rhine] (rev
06)
04:07.0 Multimedia audio controller: Ensoniq ES1370 [AudioPCI] (rev 01)
04:08.0 FireWire (IEEE 1394): VIA Technologies, Inc. VT6306/7/8 [Fire II(M)]
IEEE 1394 OHCI Controller (rev 80)

allend 05-24-2013 10:46 PM

You have two audio controllers:
1. The on-board Ensoniq ES1370 which is supported by the snd-ens1370 kernel module, and
2. The nVidia MCP51 on your nVidia GeForce 6100 which is supported by the snd-hda-intel kernel module.
Which audio controller are you using?
Do you see the kernel module names in the output of 'lsmod | grep snd'?

If you are using the onboard sound, try creating a file /etc/modprobe.d/sound.conf that contains:
Code:

options snd-ens1370 index=0
options snd-hda-intel index=1

Hopefully that will ensure that the correct kernel module is associated the correct card index value. (Reverse the index values if you are using the nVidia sound.)
You are best to reboot to test this.

EldonCool 05-25-2013 11:05 AM

still flailing away
 
Well, I created the file sound.conf in directory /etc/modprobe.d
with the two line entry as described:
Quote:

ptions snd-ens1370 index=0
options snd-hda-intel index=1
When I try to do a youtube video, I do not get any
sound, and firefox (my browser) tells me I need a plugin.
Don't have a clue what plugin I need, but I do get the
video of whatever I want, just no sound.

When I try to play a song with my CD player, or DVD player,
have both installed, I use alsamixer.

The problem there, is that I can't figure out how to make
alsamixer use the CD player or DVD player(with a CD in it).
It lets me choose the sound card, but I can find no way to
choose what alsamixer uses for input. I guess you have to
be born knowing that in order to use it.

Next tried Amarok from my multimedia choices. It tells me
I recently played Merle Haggard, which is CD sitting in
my CD player. Funny, I never did hear it. When trying to
play it again, fooled around with various buttons and
sources, finally got list of tracks on the CD showing on
my display, and hitting the button that says [>] it starts
playing, the track but no sound, hitting the button
for Volume, it tells me volume 80% (muted). Wonder how
I unmute it.

I really have no idea if I am even playing the CD that shows
on the CD list (Merle Haggard), because the display seems to
be saying I am playing something for an internet site, something
like "www.artofnations.com". So I switch CDs, Now I have
Brenda Lee in the CD player, Amarok tells me I still have
Merle Haggard in there. Not a clue in the world how to tell
the Amarok what to use as input, guess you have to be born
knowing that also. Fooled with it awhile, Finally it shows
I have brenda lee. Don't have a clue in the world how I did
it. Now that particular display is gone, and it tells me
I have Merle Haggard yet. When I hit the play button, it
gives me indication it is playing a file on the art of nations
internet site. Not a clue in the world how any of this
works, and can't figure it out.

So I select Audacious from my multimedia list of audio players,
and get the display for it. First display up gives me choices
of File Playback Playlist Sevices Output View.
Same problem, I was not born knowing which of these to do
in order to play a CD, so I just hit playback, it gives
me a bunch of choices, none of which has anything to do
with picking out my input device the CD with Brenda Lee
on it. So I hit "File", maybe that will let me choose
and input file, one of the choices, is "open files",
so I try that, it gives me choices none of which is a
CD player, Same problem, have no idea in the world how
to tell this program what it is I want to play, and it
refuses to give me a clue. Finally hit a selection on top
of screen, "Sevices" and that lets me select CD player,
aha!, Services, any fool should know a CD player is a
service, so I hit that and pretty soon it shows I am playing
track number one of Brenda. Can't hear a damn thing. I hit
the button "output", it lets me turn up the volume by hitting
control +. So I hit that a few times, finally get indication
I have the volume full up. I hear the most faint sound in
the world coming out of one of my speaker sets, have
speakers connected to both output sources on computer.
I turn that set of speakers full up. I can barely hear
Brenda, so faint I can't even understand one word. I must
have gone deaf, maybe that is my problem, but no I can
hear other things around the room. At this point I wonder
is there a sound control for the system that controls the
volume of sound even from any particular device.

So I hit Systems settings on my menu from the left bottom
of screen. Can't find anything about sound volume.

Have to put this on hold right now. MY son just got here
and we are going shooting, clay pigeons. I can pretend
each target is a CD player as I blow it out of the air.
Probably a theraputic pastime for me right now. Be back
later with some more thoughts.















k

allend 05-25-2013 01:29 PM

Quote:

Which audio controller are you using?
Do you see the kernel module names in the output of 'lsmod | grep snd'?
It would be good to get some feedback on these questions.

Quote:

I hear the most faint sound in
the world coming out of one of my speaker sets, have
speakers connected to both output sources on computer.
I turn that set of speakers full up. I can barely hear
Brenda, so faint I can't even understand one word. I must
have gone deaf, maybe that is my problem, but no I can
hear other things around the room.
So the CD is being played, but all you are hearing is some crosstalk. Which speaker set is working? The speakers plugged into the nVidia card or the the onboard audio controller output?

Quote:

At this point I wonder
is there a sound control for the system that controls the
volume of sound even from any particular device.
alsamixer is a good place to look.

Quote:

So I hit Systems settings on my menu from the left bottom
of screen. Can't find anything about sound volume.
If you are using KDE as a desktop environment, then you need to look at kmix. There should be an icon in the right hand lower corner of the screen with a depiction of a speaker with sound waves emanating to the right.

It has been reported that a device with an output from lspci matching that for your nVidia audio controller needs the 'model=3stack' option to snd-hda-intel on Slackware 13.1. http://docs.slackware.com/howtos:har..._snd-hda-intel

For other information on sound on computers with multiple audio controllers. http://docs.slackware.com/howtos:har...s_on_slackware

EldonCool 05-25-2013 01:54 PM

Back from shooting, now, and have blown 100 CD players
out of the sky, and feel better. Back to finding some
program that gives me a clue to what is missing.

Now I try juK audio player from multimedia.

Click on File: no help.

Click on Player: gives me a screen that lets me select Play,
which when selected does nothing. Same problem
here, was not born knowing how to make this
program do anything, and programmers have
cleverly disguised it so I can't figure it out.

At least juK has very few buttons for me to push, so I
don't spend much time pressing them all. Still never
get any clue how to play anything.


Now what? I find program kmix in multimedia, and click
on that, and it gives me an indication program
is loading but nothing ever happens. Very clever, a
program with no output what so ever. The ultimate
in clever programming to hide what is going on. No
doubt written with an object oriented intuitive
language invented for the blind.

Back to my multimedia choices, There is one last player
available. XMMS, and I click on that one. At least
this one gives me a display on my console. It is the
picture that looks something like some sort of tape
or disc player. Very cleverly they have avoided all
use of language on the display, no words like play,
pause, reverse etc, nothing but buttons with arrows
or markings on them. Now you don't even have to know
English to use this one, so intuitive a complete idiot
can use it. So I press the button/arrow that points left,
no response. Now I press the button/arrow that points
right, aha! it did something, gives me a display that
has words on it. So it looks like I can Create a Dir,
Delete File, Rename File, Add selected files, Add all
files in directory.

How very interesting, but how in hell do I play something?

There is a button that says "play", I press that one.
Display disappears. I guess play means delete the
display. How intuitve that is!

I have figured it out that with this program I could play
some sort of audio file.

So right now I only have one clue from all this fooling
around. Way back there somthing told me that my sound
was muted. No kidding, my sound is muted.

allend 05-25-2013 02:07 PM

Quote:

and we are going shooting, clay pigeons. I can pretend
each target is a CD player as I blow it out of the air.
Probably a theraputic pastime for me right now.
Off topic - The popular opinion in my country is that taking a gun to something to make you feel better is dubious psychology. I do not think Americans understand how offensive the offhand attitude embodied in a casual comment like that can be to others in the world who look with horror at the level of gun violence in the USA.

EldonCool 05-25-2013 03:40 PM

Actually the level of gun violence in the US is less than
most countries. For example, gun violence among white
males is less in the US than in Belgium. Most gun violence
in the US is between rival gang members in the inner city
and only in cities where it is illegal to have guns. Also,
you are more likely to be a victim of crime in London than
in New York. As the USA has went to more and more
available concealed carry laws the level of murder has
dropped in every state that adopts the laws. The areas
with the most murders are the areas like Chicago which
is illegal to have guns. Sort of like London being more
prone to violent crime than New York, with London having
everything illegal, criminals can be pretty sure victims
will be defenseless to them.

Also I am told by some Australian shooters, there are some,
that crime has increased since the last gun grab of
government there.

But back to linux now. I am working on the latest suggestions.

EldonCool 05-25-2013 04:16 PM

Back to your questions,

Which sound card am I using?

Looks like I am using the addon- card.
The speakers with the very slight crosstalk
are connected to that addon card.

The very slight sound is coming out of the
speakers connected to the addon sound
controller, This computer has both windows and
linux loaded on it. Seems like I might have
added that card once upon a time for not having
a driver for the onboard sound, must be why I
have two sound cards. That was about 10 years
ago though, so I am not sure. Back in that day
we had more information on what we were doing.
Now linux has went the way of windows, and wants
to hide everything from us, so we never have
a clue what is wrong. I used linux almost from
its earliest days. Back then you had to do
everything manually. I had to set up my monitor
as to its attributes in some file, not now,
linux figures it out for me. I once upon a
time had to go into the source code and change
things in order to use my early CDrom drive,
this was before they standardized the system.
Then I had to recompile the kernal, if you
can believe that. Back in those days, we
had some guidance on what files controlled
what things. Now with the installation
program figuring out everything, we are completely
in the dark on what is going on. I have no
clue what card is being used, have no idea
what file to look at to determine it, and I
have no idea how to change which card the
system looks at to use. Maybe either one is
okay now, maybe the drivers are available for
both now, not like when I bought this computer
10 years ago. In any event, I have no idea now
what the system is doing.

cannot figure out anything from alsamixer as
to whether sound is muted or not. I have looked
at everything I can figure out to look at.

kmix is a dead end. When I select it from the
multimedia menu, it gives me the bouncing ball
that indicates loading a program. The ball bounces
for a long time, maybe a minute or two, and then
goes away and I never get anything to look at.
I am using KDE as a desktop, but since I can
never get this program to give me any output,
it is useless to me.

I created file /etc/modprobe.d/send-hda-intel.conf with the contents:
options snd-hda-intel
model=3stack

The above gave me an error on boot up, and
then put both entries on one line, like this:
options snd-hda-intel model=3stack

This gave me no boot up error messages, so is better,
but still no sound, except that crosstalk that is
less than a pin drop in strength.

When rebooted and ran things, No help.


lsmod gives me the following entries among other things:

snd_hda_codec_realtek 150654 1
snd_ens1370 16332 2

alsamixer gives me:
0 Ensonig AudioPCI
1 HDA NVidia

From this it looks like the numbers maybe are reversed.
Any idea which is which? Or any ideas how to unmute things?

Going a little further, it looks like my system figures
out which card to use. It recognizes both, and defaults
to the first one available, according to messages that
it gives at times in various programs. Looks like the
sound is there at some point, but never gets to my
speakers.

allend 05-25-2013 10:17 PM

Have you tried this in /etc/modprobe.d/sound.conf?
Code:

options snd-ens1370 index=1
options snd-hda-intel index=0

If you want to add additional options, they need to be a comma delimited list in a single line. e.g.
Code:

options snd-hda-intel index=0, model=3stack

EldonCool 05-26-2013 02:29 PM

Have you tried this in /etc/modprobe.d/sound.conf?
Code:
options snd-ens1370 index=1
options snd-hda-intel index=0

Yes, tried reversing them, no help.


If you want to add additional options, they need to be a comma delimited list in a single line. e.g.
Code:
options snd-hda-intel index=0, model=3stack

Good to know I will change it.

EldonCool 05-26-2013 04:30 PM

Here is a piece of trouble shooting advice from the slackware site:
http://docs.slackware.com/howtos:har...rev=1357430439

Here is the advice:
Quote:

alsamixer
<F6>
<select a card(s)>
<adjust volumes and make sure they aren't muted>
<ESC>

atest -D hw0,0 test.wav (WHERE 0,0 is card/slot 0, device 0 and test.wav is a sound file.)
atest -D hw0,1 test.wav
atest -D hw1,0 test.wav
atest -D hw1,1 test.wav
I would like to hit the writer of this with a 2 by 4.
First of all he says: adjust volumes and make sure they aren't muted.
How? prey tell do you do that? If you hit the up and down arrows
it adjusts some levels on the screen, is that adjusting volumes?
I have no idea in the world.
How do you make sure they are not muted? This is advice given
by an idiot. It is not trouble shooting for anyone that does not
already know all about this.
Okay, finally figured out the muted. looked at alsamixer in man,
and it says that an M is under the volume bar of the main display
on any item that is muted. Mine is not muted according to this.


Next he says to do the atest stuff. How do you do this atest stuff.
I am assuming you exit alsamixer, since he had the <ESC> thing at
the end of that and Escape does exit alsamixer. But maybe not,
maybe there is something in alsamixer that has an atest.

Anyway, if you try to run a program atest on the command line,
the system can't find it. So, how in hell to you do atest?

With help like this, a person gets absolutely nowhere.

Nothing in man about atest. I know, I am suppose to already
know about atest, sorry I don't. Also there is nothing in
the man entry on alsamixer about atest.

EldonCool 05-26-2013 09:20 PM

I ran out of ideas on resolving this software wise, with
the scarcity of information on it. Decided to see what
happens if I just removed the addon sound card, so I did.

In Windows, I no longer had sound, it apparently was
using that addon one. I fumbled around in the system functions
trying to add that on board sound card, and it cooperated with me.
It took a while but windows finally found me a driver for
the on board sound, and then windows sound was working.

Next I booted into linux. I was able to get sounds out
of the speakers, like the notes when it booted up Xwindows
so now it had sound. It would no longer run alsamixer
though, that must need some configuring which is missing.
I tried www.youtube.com and got audio with the
videos I played.

I had another problem also with this system. It froze on
me a couple times, when I had a lot of windows open
in X windows. Also dragging a window with the mouse
was a slow process. This version of KDE seems to tax
the resources of my system pretty hard, and these are
problems I never had on the previous slackware with KDE
windows manager. This particular installation of linux
would not let me load any other windows manager at
startup of X with startx. Previous versions let me do
that.

I decided to reinstall linux and let the install function
straighten everything out. When I choose a windows
manager, I chose the old fvwm2 instead of KDE, I
just did not like that slow response I got out of using
the mouse to move windows around with this new KDE.

Other than that I reloaded everything the same way.
It all worked now. I don't have all that pretty
display stuff of KDE, but the thing is much more
responsive now, and when I went to www.youtube.com
I got sound when I played any video. Now it was
all working.

Thanks for the help effort, and I am ready to call
this one solved.

allend 05-27-2013 08:05 AM

Glad that you got it working to your satisfaction.

I am sorry that you had a bad experience with the SlackDocs page. The errors had been noted on the discussion page in January 2013, but the revisions were only made on the main page on May 11 2013, after the original author did not respond. The revisions should have been in place when I linked that page in post #6. The link you posted in post #13 shows
Quote:

This is an old revision of the document!
near the top of the document when I go there.


All times are GMT -5. The time now is 08:42 PM.