Author Topic: No sound at wit's end. SOLVED  (Read 2938 times)

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 11058
  • MLUs Forever!
Re: No sound at wit's end.
« Reply #45 on: January 26, 2013, 06:53:39 AM »
You could try installing QasMixer while running Live and delve into the depths of your sound devices.

It offers a lot more than other mixers, so might be helpful.

MLUs rule the roost!

Linux XPS 3.4.48-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline horusfalcon

  • Hero Member
  • *****
  • Posts: 998
  • Wayfarer of The Western Wastes
Re: No sound at wit's end.
« Reply #46 on: January 26, 2013, 10:27:52 PM »
Hi, Gang,

Just got home and trying to unwind a bit... dangerous business.  So much for the pleasantries.

I was researching this and ran across the following:

http://www.webupd8.org/2010/11/fix-hda-intel-realtek-alc887-no-sound.html

An excerpt seems to point to a possible fix?

Quote
The computer has an HDA Intel chip (Realtek ALC887) and I couldn't open alsamixer (this error was displayed: "load hw:0 error: Invalid argument"), although the sound seemed to be working in various applications (no error there) except I couldn't hear anything.

The fix:

Edit /etc/modprobe.d/alsa-base.conf as root:

sudo gedit /etc/modprobe.d/alsa-base.conf


And add the following line at the end of the file:

options snd-hda-intel model=generic     { <--- this part looks familiar, but keep reading, please - D }


Save, reboot (a logout might be enough too) and try to play some audio file - the sound should work. If this generic fix doesn't work for you, try "auto" instead or see THIS post.  {Emphasis mine - D.  Note that one has to register and log in to view "THIS post"... it's at an U___tu forum.}


Update: this solution continues to work with newer U___tu versions, tested with te same sound card under U___tu alot, 12.04 and 12.10 (yes, I still get no sound by default in U___tu unless I apply this fix).


Note: Quote above altered by me to avoid problems with explicit mention of another distribution, and to insert some small tidbits in {}.

Another user over at LinuxQuestions.org seems to have come up with something interesting:

http://www.linuxquestions.org/questions/linux-hardware-18/no-sound-or-bad-sound-card-with-codec-realtek-alc888-861049/

He gives a complete listing of his /etc/modprobe.d/alsa-base.conf, too.  Looks like some high-flyin' stuff he's a-doin' over there...

Lastly, here's the technical specifications document on the ALC887 - 82 pages of hardware level specs.

Is there somewhere a complete list of all the snd-hda-intel options that can be set?  Everything I'm reading says the ALC887 is a codec chip that works alongside an Intel HD or compatible sound device.  It seems what we are seeing here a "strange bedfellows" partnership between these two (where, under the current Linux drivers, they, for some reason, don't play nice with each other?)

Hope we find a solution eventually.  At least one desktop Linux user I've read about has solved this problem by installing a different sound card!  (Seems kinda brute-force to me, though.)

Later On,
D
« Last Edit: January 26, 2013, 10:49:40 PM by horusfalcon »
"The Way is not a matter of knowing or not knowing.  One word to a wise man; one lash to a bright horse."

Dell Latitude D620, PCLinuxOS 2012.08 KDE4/LXDE, 3.2.18.pclos.bfs, specs here.

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 11058
  • MLUs Forever!
Re: No sound at wit's end.
« Reply #47 on: January 27, 2013, 03:33:16 AM »
BTW, I have just noticed that the OP said he is using Clementine to test.

A range of apps should be used to test, audio & video, as apps can have their own problems.

MLUs rule the roost!

Linux XPS 3.4.48-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline skizikz

  • Jr. Member
  • **
  • Posts: 34
Re: No sound at wit's end.
« Reply #48 on: January 27, 2013, 10:57:32 AM »
BTW, I have just noticed that the OP said he is using Clementine to test.

A range of apps should be used to test, audio & video, as apps can have their own problems.



I have also tried sound in browsers with same results.I was using clementine at the time of the post.
Good point though I will keep checking with multiple apps.

You could try installing QasMixer while running Live and delve into the depths of your sound devices.

It offers a lot more than other mixers, so might be helpful.



I tried with one of the live cd's and synaptic crashed.I then burned a full monty and the qas mixer said" mixer device couldn't be opened".
I believe that was the same message I got from my installed version.
I rather like the kde full monty and it seemed to deal with sound setup better as far as kmix goes.
I am wondering if I replace my install with it and add the realtek driver if I might not be making noise again?


Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 11058
  • MLUs Forever!
Re: No sound at wit's end.
« Reply #49 on: January 27, 2013, 02:20:12 PM »
Back to the installed OS ....

do you have a populated /usr/share/alsa/ directory?
Are there many files/folders in it?

Mine looks something like this




MLUs rule the roost!

Linux XPS 3.4.48-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline skizikz

  • Jr. Member
  • **
  • Posts: 34
Re: No sound at wit's end.
« Reply #50 on: January 27, 2013, 08:53:19 PM »
Back to the installed OS ....

do you have a populated /usr/share/alsa/ directory?
Are there many files/folders in it?

Mine looks something like this







Yes,That is similar to what I see when running on the live DVD or my other computer with pclinuxos.
here is this one:

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 11058
  • MLUs Forever!
Re: No sound at wit's end.
« Reply #51 on: January 28, 2013, 03:07:09 AM »
MLUs rule the roost!

Linux XPS 3.4.48-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline skizikz

  • Jr. Member
  • **
  • Posts: 34
Re: No sound at wit's end.
« Reply #52 on: January 28, 2013, 06:40:12 AM »
You are missing files & folder

Did you do this?

http://www.pclinuxos.com/forum/index.php/topic,112527.msg961802.html#msg961802


I thought I had but now I am not so sure.
Using synaptic I can easily find alsa-utils but there is nothing labeled alsa.
What is the exact name of the package "alsa"?

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 11058
  • MLUs Forever!
Re: No sound at wit's end.
« Reply #53 on: January 28, 2013, 07:16:42 AM »
You are missing files & folder

Did you do this?

http://www.pclinuxos.com/forum/index.php/topic,112527.msg961802.html#msg961802


I thought I had but now I am not so sure.
Using synaptic I can easily find alsa-utils but there is nothing labeled alsa.
What is the exact name of the package "alsa"?


sorry  :(

check you have installed

alsaconf
alsa-utils
libalsa2
libalsa-plugins

In fact I suggest you mark for reinstallation, any that are installed, and install any others that you think might be useful.

When searching in Synaptic, use search word   alsa   and select 'by name' from the drop down box.


MLUs rule the roost!

Linux XPS 3.4.48-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline skizikz

  • Jr. Member
  • **
  • Posts: 34
Re: No sound at wit's end.
« Reply #54 on: January 28, 2013, 09:08:44 PM »
You are missing files & folder

Did you do this?

http://www.pclinuxos.com/forum/index.php/topic,112527.msg961802.html#msg961802


I thought I had but now I am not so sure.
Using synaptic I can easily find alsa-utils but there is nothing labeled alsa.
What is the exact name of the package "alsa"?


sorry  :(

check you have installed

alsaconf
alsa-utils
libalsa2
libalsa-plugins

In fact I suggest you mark for reinstallation, any that are installed, and install any others that you think might be useful.

When searching in Synaptic, use search word   alsa   and select 'by name' from the drop down box.





I reinstalled all the packages you suggested plus anything else that had alsa in the name.
I now have files in the folder as your example.I don't have the alsa-utils or the bluetooth file.
The good news is that I now have sound..sort of!
When I open phonon and test the hardware I hear sound.When the desktop loads or shuts down I have the
standard sounds.
With clementine, amorak, or youtube in firefox I get silence.

here is a picture of phonon with the hardware.Seems to be correctly identified.


« Last Edit: January 29, 2013, 07:18:48 AM by skizikz »

Offline Phil

  • Hero Member
  • *****
  • Posts: 769
Re: No sound at wit's end.
« Reply #55 on: January 29, 2013, 01:03:07 AM »

Have you played with:

Configure Your Desktop (icon at bottom) > multimedia

Test the different options and see which one makes any sound, prefer that

(getting closer.....)

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 11058
  • MLUs Forever!
Re: No sound at wit's end.
« Reply #56 on: January 29, 2013, 03:59:05 AM »
You are missing files & folder

Did you do this?

http://www.pclinuxos.com/forum/index.php/topic,112527.msg961802.html#msg961802


I thought I had but now I am not so sure.
Using synaptic I can easily find alsa-utils but there is nothing labeled alsa.
What is the exact name of the package "alsa"?


sorry  :(

check you have installed

alsaconf
alsa-utils
libalsa2
libalsa-plugins

In fact I suggest you mark for reinstallation, any that are installed, and install any others that you think might be useful.

When searching in Synaptic, use search word   alsa   and select 'by name' from the drop down box.





I reinstalled all the packages you suggested plus anything else that had alsa in the name.
I now have files in the folder as your example.I don't have the alsa-utils or the bluetooth file.
The good news is that I now have sound..sort of!
When I open phonon and test the hardware I hear sound.When the desktop loads or shuts down I have the
standard sounds.
With clementine, amorak, or youtube in firefox I get silence.

here is a picture of phonon with the hardware.Seems to be correctly identified.





Imageshack images are blocked on the forum  ;)

Did you try changing the entries in Phonon to being the second one to the top -----  IF it also produces sound when tested.


If that does not work you should try again

aplay -l

and take note of the sound card number which should be the default .....  in my case the internal sound card and NOT the HDMI.

Then create the  ~/.asoundrc  file as described here

http://www.pclinuxos.com/forum/index.php/topic,112527.30.html

and edit what you enter (if necessary) to use your chose card number.

MLUs rule the roost!

Linux XPS 3.4.48-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline skizikz

  • Jr. Member
  • **
  • Posts: 34
Re: No sound at wit's end.
« Reply #57 on: January 29, 2013, 07:30:27 AM »

Have you played with:

Configure Your Desktop (icon at bottom) > multimedia

Test the different options and see which one makes any sound, prefer that

(getting closer.....)





Imageshack images are blocked on the forum  ;)

Did you try changing the entries in Phonon to being the second one to the top -----  IF it also produces sound when tested.


If that does not work you should try again

aplay -l

and take note of the sound card number which should be the default .....  in my case the internal sound card and NOT the HDMI.

Then create the  ~/.asoundrc  file as described here

http://www.pclinuxos.com/forum/index.php/topic,112527.30.html

and edit what you enter (if necessary) to use your chose card number.




Phil,Yes I did try that as Just17 also suggested.  aplay -l listed the second choice from the phonon listing as the default card.
both choices gave sound  with the test button.
As to the .asoundrc it is currently the same as the Pulse audio enabled example in your thread Just17.
I double checked and PA is enabled in my sound configuration.My symptoms now seem to be the same as Rastiazul who postaed in that thread.
I recall on my last mobo and sound card combination that Qasmixer seemed to work where all else failed.
There was an option which I don't recall at the moment which gave me sound when unchecked.
I shall fiddle with that next.
« Last Edit: January 29, 2013, 12:22:02 PM by Old-Polack »

Offline skizikz

  • Jr. Member
  • **
  • Posts: 34
Re: No sound at wit's end.
« Reply #58 on: January 29, 2013, 09:06:53 PM »
Have  an update after some work on this problem.In a prior post  I had reported after reinstalling Alsa that sound had returned but only for notifications.
After reviewing my steps and reading more posts on sound troubles I have come one step closer to a solution.One of the search results was this thread and I was
looking at Just17's reply about no sound in browser that he had posted in another thread.
He mentioned creating the .asoundrc file in the home directory.I had done this but used the first example which was with pulse audio enabled.
I did this because my sound configuration showed pulse audio was enabled.I had done this as root.
I was logged in to my normal user account and decided to try the other example which was without pulse audio.I was using youtube at the time as a
test for sound but was also checking with music players from time to time as a test of sound in that type of application.
I did not have a .asoundrc file in my  /home so I created it and copy/pasted the text.I clicked on the youtube video and to my surprise I had sound.
 
I still am not sure why my usr/share/alsa/ does not contain a alsa.conf file as shown in the example provided by Just17.
I also played with the settings in Qasmixer and changed the card to 1 instead of 0.This then finally showed some slider controls for making volume adjustments.
I am not using Qasmixer at the moment just Kmix and the sound in browser works fine.
Both music players still thow up errors when I hit play so that is still a problem but at least I got to hear a buckethead solo on youtube.!
I also reinstalled the realtek driver tonight but I am not seeing anything change after trying that twice now?

any thoughts or suggestions would be appreciated at this point.I have a feeling I am perhaps just a tweak or two away.

 
 

Offline Phil

  • Hero Member
  • *****
  • Posts: 769
Re: No sound at wit's end.
« Reply #59 on: January 30, 2013, 08:04:44 AM »
I am out of ideas, keep going, mostly there. Maybe review the entire thread and check all suggestions.

(You can get really cheap usb soundcards which you can plug speakers into. Had issues with my main box an eternity ago which ultimately got resolved via updates. The usb sound card worked a treat as a temp measure).