Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Main Support Categories > Multimedia & Video
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Ubuntu 9.10 is out!!!

When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu.

The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely.

Multimedia & Video
Have multimedia question? ATI, Nvidia, Sound cards. Just ask here.

 
Thread Tools Display Modes
Old December 7th, 2008   #1
edwinw
5 Cups of Ubuntu
 
Join Date: Mar 2007
Beans: 19
sounds stops working in 8.10 (Ibex)

When I first start the computer, sound is working fine. However, the problem is that sound stops working in all applications after a certain amount of time, usually over 12 hours. Rebooting is a workaround (simply logging in and out is doesn't work) but is an annoyance for obvious reasons.

When I go into sound settings to test them, I get the error message:

Code:
audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! gconfaudiosink: Could not open audio device for playback.
Googling this error message comes up with hits for people in which sound is not working at all right off the bat. Nobody seems to have quite my problem.

I took a look at my system messages log file and this entry seems to be relevant (I'm guessing it's the time my system loses its sound ability):

Code:
Dec  7 12:22:55 edwin-desktop3 pulseaudio[5419]: protocol-native.c: Failed to push data into queue
Dec  7 12:22:56 edwin-desktop3 last message repeated 1498 times
So this appears to be a pulseaudio problem, anybody have any ideas on how to fix it? Thanks!
edwinw is offline   Reply With Quote
Old December 9th, 2008   #2
tomszyszko
5 Cups of Ubuntu
 
Join Date: Aug 2008
Location: /home@uremum
Beans: 28
Ubuntu 9.04 Jaunty Jackalope
Re: sounds stops working in 8.10 (Ibex)

Exact same problem
Code:
Dec  9 11:56:51 tom-laptop2 pulseaudio[6025]: protocol-native.c: Failed to push data into queue
Its very annoying. Also found that if you:
Code:
killall pulseaudio
sudo pulseaudio
You get
Code:
 sudo pulseaudio
W: ltdl-bind-now.c: Failed to find original dlopen loader.
W: main.c: This program is not intended to be run as root (unless --system is specified).
E: alsa-util.c: Error opening PCM device hw:0: Device or resource busy
E: module.c: Failed to load  module "module-alsa-sink" (argument: "device_id=0 sink_name=alsa_output.pci_1002_4383_sound_card_0_alsa_playback_0"): initialization failed.
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:0
tomszyszko is offline   Reply With Quote
Old December 9th, 2008   #3
tomszyszko
5 Cups of Ubuntu
 
Join Date: Aug 2008
Location: /home@uremum
Beans: 28
Ubuntu 9.04 Jaunty Jackalope
Re: sounds stops working in 8.10 (Ibex)

Found a workaround.
If sound stops working do :
Code:
killall pulseaudio
sudo alsa force-reload
Sound starts working.
tomszyszko is offline   Reply With Quote
Old December 9th, 2008   #4
edwinw
5 Cups of Ubuntu
 
Join Date: Mar 2007
Beans: 19
Re: sounds stops working in 8.10 (Ibex)

Thanks tomszyszko, will try it out next time my sound cuts out, I'll keep on looking for a fix as well.
edwinw is offline   Reply With Quote
Old December 9th, 2008   #5
psyke83
Chocolate-Covered Ubuntu Beans
 
Join Date: Nov 2005
Location: Ireland
Beans: 2,302
Ubuntu 9.04 Jaunty Jackalope
Re: sounds stops working in 8.10 (Ibex)

Quote:
Originally Posted by tomszyszko View Post
Exact same problem
Code:
Dec  9 11:56:51 tom-laptop2 pulseaudio[6025]: protocol-native.c: Failed to push data into queue
Its very annoying. Also found that if you:
Code:
killall pulseaudio
sudo pulseaudio
The next time this happens, try the following instead:
Code:
killall pulseaudio
pulseaudio -vv
In other words, check the verbose output - and don't run as root. Ubuntu is configured to launch PulseAudio as a user process (spawned from gnome-session-daemon in Intrepid, and via a Gnome Session startup entry for Hardy), so running it as superuser may cause problems.

I've observed users reporting problems with PulseAudio crashing only for certain sound cards, due the tweaked buffering in Ubuntu's PulseAudio.

Edit /etc/pulse/default.pa, and change this:
Code:
default-fragments = 8
default-fragment-size-msec = 10
To this:
Code:
; default-fragments = 8
; default-fragment-size-msec = 10
This will force the internal fragment settings for PulseAudio and may increase stability in your case.

See here for information on PulseAudio (including some recommended troubleshooting steps): http://ubuntuforums.org/showthread.php?t=789578

Last edited by psyke83; December 9th, 2008 at 09:29 PM..
psyke83 is offline   Reply With Quote
Old December 23rd, 2008   #6
Burmuda
First Cup of Ubuntu
 
Burmuda's Avatar
 
Join Date: Apr 2008
Beans: 10
Thumbs down Re: sounds stops working in 8.10 (Ibex)

Quote:
Originally Posted by psyke83 View Post
Edit /etc/pulse/default.pa, and change this:
Code:
default-fragments = 8
default-fragment-size-msec = 10
To this:
Code:
; default-fragments = 8
; default-fragment-size-msec = 10
Found this settings in /etc/pulse/daemon.conf and disabled them.

I also added myself to the pulse-rt and pulse group (Administration -> User and Groups). But when I play music over pulseaudio the sound or even the whole X still hangs some times...

I'm using powernowd - could this be a problem? It shouldn't....

Code:
lspci | grep Audio
00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)
01:00.1 Audio device: ATI Technologies Inc RV630/M76 audio device [Radeon HD 2600 Series]
Quote:
See here for information on PulseAudio (including some recommended troubleshooting steps): http://ubuntuforums.org/showthread.php?t=789578
I reinstalled pulseaudio like described there - didn't help.

Last edited by Burmuda; December 23rd, 2008 at 02:39 PM..
Burmuda is offline   Reply With Quote
Old December 24th, 2008   #7
alex1973
Spilled the Beans
 
Join Date: Jul 2006
Beans: 14
Re: sounds stops working in 8.10 (Ibex)

Sound stopped working 2-3 days ago. Restarting alsa and pulse fixes the sound until restart.

I'm on Intrepid with "proposed" enabled and http://ppa.launchpad.net/psyke83/ubuntu.

$ lspci | grep Audio
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
01:00.1 Audio device: ATI Technologies Inc RV630/M76 audio device [Radeon HD 2600 Series]
alex1973 is offline   Reply With Quote
Old December 25th, 2008   #8
caro
Gee! These Aren't Roasted!
 
caro's Avatar
 
Join Date: Jun 2007
Location: Georgia (USA)
Beans: 215
Ubuntu 9.04 Jaunty Jackalope
Re: sounds stops working in 8.10 (Ibex)

Thanks psyke83 and tomszyszko!
caro is offline   Reply With Quote
Old December 25th, 2008   #9
Subban
Gee! These Aren't Roasted!
 
Subban's Avatar
 
Join Date: Apr 2006
Location: Devon, UK
Beans: 168
Ubuntu 9.10 Karmic Koala
Re: sounds stops working in 8.10 (Ibex)

Quote:
Originally Posted by tomszyszko View Post
Found a workaround.
If sound stops working do :
Code:
killall pulseaudio
sudo alsa force-reload
Sound starts working.
Same problem has been bugging me also, this workaround gets sound back without a reboot, as noted earlier log out/log in isn't enough to fix it.
Subban is online now   Reply With Quote
Old January 19th, 2009   #10
jsully1
Gee! These Aren't Roasted!
 
Join Date: Aug 2006
Beans: 207
Re: sounds stops working in 8.10 (Ibex)

This is now suddenly happening to me on my Thinkpad T60 as well as my Asus M2N desktop all within the last few weeks. Then today it just started happening out of the blue today to a colleague. It's strange to me that this would come up out of the blue on three unique machines - is anyone else experiencing this suddenly?
jsully1 is offline   Reply With Quote

Bookmarks

Tags
pulseaudio

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:25 AM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry