PDA

View Full Version : [ubuntu] Audio randomly stops working. Have to reboot to get it back.



xl_cheese
December 18th, 2008, 11:14 PM
So my audio randomly quits working on my PC. Started occuring after I upgraded to IBEX.

I can get it back simply by rebooting. However, I don't like rebooting my computer everday. Is there a way I can either fix it or restart the sounds stuff?

Thanks.

markbuntu
December 19th, 2008, 02:04 AM
Try this

http://ubuntuforums.org/showthread.php?t=997506

xl_cheese
December 30th, 2008, 03:36 PM
Try this

http://ubuntuforums.org/showthread.php?t=997506

Thanks, but none of that worked.

It seems that applications randomly quit working at different times. Never had this problem till I upgraded to Ibex.

sarang
December 30th, 2008, 04:03 PM
Try grace-killing pulseaudio and restarting it manually.


killall pulseaudio

and then



pulse-session


If this does not work, try force-killing it:



killall -9 pulseaudio

and then

pulse-session

xl_cheese
December 31st, 2008, 09:21 PM
Try grace-killing pulseaudio and restarting it manually.


killall pulseaudio

and then



pulse-session


If this does not work, try force-killing it:



killall -9 pulseaudio

and then

pulse-session

Thanks. I'd really like a permanant solution tho if anyone can help.

xl_cheese
December 31st, 2008, 09:23 PM
nope that didn't work anyway.

This kind of blows. When the sound dies on rhythmbox it will crash if I try to start or stop the music.

Pigeon just seems to stop making chimes, but doesn't crash.

markbuntu
December 31st, 2008, 10:20 PM
What hardware are you using?

xl_cheese
January 1st, 2009, 12:32 AM
What hardware are you using?

I never had this problem on gutsy or hardy. I'm not sure the hardware is the problem.

markbuntu
January 1st, 2009, 10:42 PM
Some of the alsa 1.0.17 drivers in Intrepid are causing problems with some hardware, that's why I asked.

xl_cheese
January 2nd, 2009, 01:40 AM
Some of the alsa 1.0.17 drivers in Intrepid are causing problems with some hardware, that's why I asked.


**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC888 Analog [ALC888 Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC888 Digital [ALC888 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0

xl_cheese
January 5th, 2009, 05:12 PM
bump

markbuntu
January 5th, 2009, 11:14 PM
OK, try this. It is a very comprehensive troubleshooting guide. Do not forget to follow the links if there is a chance one of them might help.

http://ubuntuforums.org/showthread.php?t=843012

xl_cheese
January 11th, 2009, 04:05 PM
OK, try this. It is a very comprehensive troubleshooting guide. Do not forget to follow the links if there is a chance one of them might help.

http://ubuntuforums.org/showthread.php?t=843012

thanks, but I can't seem to find a fix there.

I've found that

killall -9 pulseaudio
pulse-session

will bring audio back if I close the app first. Rhythmbox and pideon are the two apps that loose sound often. It is random and they loose sound independent of each other.

This is really just becoming annoying because I like to use rhythmbox to listen to music all the time.

sickenmcsluggets
January 18th, 2009, 05:21 PM
I'm having the same problem. Sound will randomly quit working, and it will freeze quod libet, beep media player, and flash videos. The killall -9 pulseaudio does work for me too , however, that is a temporary fix. I tried the thread here http://ubuntuforums.org/showthread.php?t=997506 , I guess I'll see if that works.

gwk
January 21st, 2009, 11:31 PM
I'm having the same issue, and I've noticed that closing the applications and then killing the pulseaudio process does indeed bring back the audio. This was an upgrade from Hardy Heron; no audio problems while on Hardy.

theMayor
January 27th, 2009, 07:35 PM
Try grace-killing pulseaudio and restarting it manually.


killall pulseaudio

and then



pulse-session


If this does not work, try force-killing it:



killall -9 pulseaudio

and then

pulse-session


Awesome, thanks so much for this.

I was having this problem for quite some time(same hardware even) on both hardy and intrepid and begrudgingly thought I'd have to just deal with it.

Wanted to add one other thing, I found that I needed to close all the applications that needed audio first, run these commands, and then reopen. It worked like a charm.

Again, thanks so much for this.
-theMayor

xl_cheese
February 18th, 2009, 01:08 AM
Anyone else ever find a permanent solution?

pbpersson
March 13th, 2009, 01:58 AM
Has someone reported this bug?

Is it being worked on?

I rely on Pidgin being able to notify me if someone is posting, even if I am in another part of the house.

Please let me know what the ETA is for this or if I need to re-partition the hard drive and go back to Hardy Heron.

I installed II on this new machine thinking all the bugs had been ironed out but I guess I was wrong. :(

StaticIp
March 22nd, 2009, 07:46 AM
Same problem here, thanks for the temp fix

nhale25
March 23rd, 2009, 09:03 PM
Ditto for me... same problem, the above fix works. Is there an open bug report on this? Would be good if the sound didn't arbitrarily keep stopping working :P

xl_cheese
April 13th, 2009, 03:29 PM
Ugh?!

I'm sooo sick of this problem. I'm tired of closing firefox, rhythmbox, et al and having to kill pulse and restart it.

I'm hope the upgrade to jaunty will fix it.

nhale25
April 13th, 2009, 03:59 PM
My rather hackish solution is make a shell script like this:


#!/bin/bash

killall firefox
killall rhythmbox
killall -9 pulseaudio

pulse-session

and then create a launcher for it on the panel. I suppose a cleverer script should restart firefox etc. if they were running before, but I'm rubbish at shell scripting

xl_cheese
May 13th, 2009, 01:43 AM
This problem is fixed after upgrading to Jaunty.

cjsteele
May 13th, 2009, 02:30 AM
So my audio randomly quits working on my PC. Started occuring after I upgraded to IBEX.

I can get it back simply by rebooting. However, I don't like rebooting my computer everday. Is there a way I can either fix it or restart the sounds stuff?

What chipset?