Coming again with good news: I finally made my Sound Blaster Creative X-Fi work 
fine with pulseaudio! Here are all steps:
1) Install latest dtchen's test kernel (2.6.28-13-generic 
#44~lp345627~crimsun1, at the moment) from here: 
http://kernel.ubuntu.com/~dtchen/
2) Add Luke Yelavich's PPA is in your /etc/apt/sources.list:

deb http://ppa.launchpad.net/themuso/ppa/ubuntu jaunty main
deb-src http://ppa.launchpad.net/themuso/ppa/ubuntu jaunty main

3) Obviously compile the crappy xfi drivers against the new kernel -.-
4) Purge pulseaudio from system:

sudo apt-get purge pulseaudio
sudo rm -rf /etc/pulse
rm -rf ~.pulse

5) Reinstall pulseaudio, you should now get v0.9.15-1ubuntu2~ppa1:

sudo apt-get install pulseaudio

6) *KDE ONLY* Add your user to pulseaudio groups (replace myusername
with your user):

sudo adduser myusername pulse-access
sudo adduser myusername pulse-rt

7) *KDE ONLY* Let pulseaudio run at startup:

cp /usr/bin/pulse-session ~/.kde/env/pulse-session.sh

then edit /etc/default/pulseaudio so that its variables should look like
these:

PULSEAUDIO_SYSTEM_START=1
DISALLOW_MODULE_LOADING=0

8) Edit /etc/pulse/daemon.conf either uncommenting and/or modifying
these values:

high-priority = yes
nice-level = -15
realtime-scheduling = yes
realtime-priority = 5
default-fragments = 7
default-fragment-size-msec = 3
resample-method = speex-float-10

You may need different values according to your system, but remember it
will suck more CPU (I'm using an Athlon64-X2 4200+, and both me and top
don't notice any difference, anyway ;) )

9) Tell your system and your apps such as skype to use pulseaudio.
10) Reboot!
11) Forgive me for spamming your inbox! :P

-- 
Crackling noise after update to pulseaudio
https://bugs.launchpad.net/bugs/301755
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to