Thursday, June 25, 2009

Pulse Audio Sound On My Dell D620 in Jaunty

A great source of help for sound issues in Ubuntu 9.04

Jaunty 9.04 Sound Solutions - Ubuntu Forums

But, I had to make sure the following was installed:
$ sudo apt-get install gstreamer0.10-pulseaudio


Also, I was receiving the following error in Banshee while playing back tracks:
[Error 09:36:31.332] GStreamer resource error: Failed
I: caps.c: Limited capabilities successfully to CAP_SYS_NICE.
I: caps.c: Dropping root privileges.
I: caps.c: Limited capabilities successfully to CAP_SYS_NICE.

So I re-enabled "glitch free" audio in pulseaudio which is disabled by default. To do this, I changed the following from /etc/pulse/default.ps
load-module module-hal-detect tsched=0
to
load-module module-hal-detect

and then changed the line in /etc/group where "myusername" is my login.
pulse-rt:x:125:
to
pulse-rt:x:125:myusername,root,pulse

in pulse/daemon.conf I commented out the #resample-method = src-linear

and finally, added the following to the bottom of pulse/daemon.conf
default-fragment-size-msec = 25
default-fragments = 16
realtime-scheduling = yes

An alternative to the above that seems to also work:
#default-fragment-size-msec = 10
#default-fragments = 8
high-priority = yes
nice-level = -11
#realtime-scheduling = yes

No comments:

Post a Comment

AddThis

Bookmark and Share