LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-28-2010, 12:04 PM   #1
GreyBeard
Member
 
Registered: Oct 2003
Location: Taxachusetts, USA
Distribution: Slackware
Posts: 45

Rep: Reputation: 1
Sound fails in SOME applications until reboot.


Hi,

I am having a HARD, PARTIAL FAILURE OF SOUND on my Linux system (Slackware 13.1, the latest, with a 2.6.33.4-smp kernel and KDE 4.4.3). The failure is "HARD" in the sense that once it occurs it remains broken until I reboot the system. It's a "PARTIAL" failure in that it affects ONLY SOME sound software on my system. Here is a list of what fails and what doesn't. (I'm sure there are other programs I could use to test with, but I don't know what they are since I am "just an average user" when it comes to multimedia software.)

These don't fail:

Amarok
KDE event notification

These do fail:

Firefox
Xine
Mplayer

In the things that fail it is only the sound portion of whatever (flash, mp4, etc) which goes away; the video portion plays normally.

I leave my system up for days at a time. The failure occurs some "long-ish" time (days) after I reboot. I have no idea what triggers it. I do not use sound most of the time, but when I do it's music through Amarok (which doesn't fail) so I do not notice the failure when it occurs.

It seems clear to me that it is NOT the failed programs which are at fault but it is, rather, some underlying set of sound libraries and/or servers used in common by all the programs which fail, and that the failure occurs when something happens which affects that set of sound libraries and/or servers.

I don't think this is specifically a Slackware issue since I've seen a few other problem reports on the web where the sound simply stops on non-Slackware Linux systems. Some of the problem reports I've seen suggest that playing sound from one program stops sound from other programs. I've tried various combinations of sound-producing programs but none have triggered the problem.

I've looked at /var/log/{messages,debug,syslog} and see nothing relevant. I've gotten process lists from ps before and after the failure and no "relevant" processes have gone away. (But note, as before, that I am NOT a Linux "multimedia guy" so I can only make intelligent guess at what is "relevant".)

Does anyone know what this problem is and, better still, how to solve it? Or where I could look for additional clues? Is there some way to "reset" the sound system without having to reboot?

Help.


Thanks in advance,
Jeff B

Last edited by GreyBeard; 07-28-2010 at 12:05 PM.
 
Old 07-28-2010, 01:31 PM   #2
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
Some applications initially mute the volume, in case some guy starts playing a porno video, and his mom is in the next room. So, check the volume control and make sure everything is working with that. The system might also be switching between different sound systems (alsa, jack, pulse), but only one of them is configured for the system. AND, if I were a self respecting slack junkie, I sure a h*** wouldn't use sound.
 
Old 08-17-2010, 12:51 PM   #3
GreyBeard
Member
 
Registered: Oct 2003
Location: Taxachusetts, USA
Distribution: Slackware
Posts: 45

Original Poster
Rep: Reputation: 1
>> Some applications initially mute the volume

I've checked that too, and it is not the problem.

>> if I were a self respecting slack junkie, I sure a h*** wouldn't use sound.

Good thing I am not a "slack junkie". Junkies of all types have no self-respect. I use Slackware Linux for everything that I can get out of it and have no problems with my self-respect.


Anyone else have any ideas as to why my sound system just stops working until I reboot?


Thanks
 
Old 09-24-2010, 06:03 PM   #4
GreyBeard
Member
 
Registered: Oct 2003
Location: Taxachusetts, USA
Distribution: Slackware
Posts: 45

Original Poster
Rep: Reputation: 1
I have found the trigger for this problem. It happens when I do a "Switch User" under KDE. This is a reproducible error. It seemed random before because I am the one to log in after a reboot, so everything works initially, but at some later date my wife logs in via "Switch User" to read her eMail, and the sound is gone after that.

It doesn't matter which user I switch to (myself, my wife, root), the sound from the original session quits sometime just after the new session's desktop appears. The affected programs under the new session have no sound. When the new session logs out and I go back to the old session, the sound stays gone.

Anyone have any idea who I should complain to? This is an inter-system bug between whatever sound software the affected programs use and KDE or something KDE runs.
 
Old 09-24-2010, 09:31 PM   #5
GreyBeard
Member
 
Registered: Oct 2003
Location: Taxachusetts, USA
Distribution: Slackware
Posts: 45

Original Poster
Rep: Reputation: 1
I've found a work-around for this problem. I manually run the following on the command line:

/usr/sbin/alsactl init

after I return to the original session. I do not need to be root to run it. Having to do this is a pain the ass but it's less work than rebooting et al. Running this command initializes the ALSA sound system and the applications which were silenced by the "Switch User" are now able to produce sound again.

This is still a bug which needs to be fixed.
 
Old 09-25-2010, 08:30 AM   #6
Skcrog86
LQ Newbie
 
Registered: Sep 2010
Location: Paris, France
Distribution: Debian Squeeze
Posts: 2

Rep: Reputation: 0
I don't know if it's the same problem but I have the same Slackware version with XFCE.
I also have issues with sound getting unavailable.
It goes like :
I play music on Amarok.
I have some other applications potentially needing sound running : Firefox, video game, teamspeak.
I select another track on the playlist on Amarok... so it basically stops playing, then restart with another file.
There it is : The track goes as if it was playing sound but I do not hear anything.
I have to shutdown Amarok and any other applications that use sound mentioned above, then restart amarok and then restart the other applications back.
I'm having the issue right now and the command you gave returns :
Code:
Unknown hardware: "HDA-Intel" "VIA VT1708S" "HDA:11060397,1043836c,00100000" "0x1043" "0x836c"
Hardware is initialized using a guess method
The sound is still available in firefox and WoW but the volume is lowered...
 
  


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
Mandriva 10.1 fails to reboot and shows "No reboot fixup found for your hardware" ROY913 Mandriva 1 12-12-2005 02:10 AM
Sound fails after reboot spotslayer SUSE / openSUSE 2 11-12-2005 06:45 PM
fails to reboot chamalsl Linux - Newbie 10 02-15-2005 06:15 PM
Reboot Fails lobo78 Linux - Hardware 1 01-17-2005 08:34 AM
Server fails to reboot marghorp Linux - Hardware 1 02-10-2004 07:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:14 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