Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
I did this on SteamOS and has pretty much 'fixed' my audio issues with tearing/static.
Tested with Bioshock Infinate and Saints Row 4.
Run from terminal;
(This will prompt for root password, if you have not set your password, type 'passwd' into terminal and set it).
sudo nano /etc/pulse/daemon.conf
Now comb through the lines, matching the below, updating the values and uncommenting them - remove the ';'
high-priority = no
nice-level = -1
realtime-scheduling = yes
realtime-priority = 5
flat-volumes = no
resample-method = speex-float-1
default-sample-rate = 48000
Ctrl+X - to exit
Y - to save changes
Enter - to save as same file name
Go into SteamOS - Restart PC.
Test out games.
Update: Forcing PulseAudio's samplerate to 48000 has resolved it for me. (default-sample-rate = 48000 in /etc/pulse/daemon.conf)
When using PulseAudio the problem sometimes does not occur at all and sometimes it is so bad that the audio gets completely distorted. Once the problem occurs, the only way to get rid of it again is to restart the game. Setting the sample rate to 48kHz did not make any difference for me.
When using plain ALSA the crackling is always present but a lot less than with PulseAudio.
I now completely removed the dmixer plugin from my ALSA plugin chain and this seems to fix the problem. However, without the dmixer plugin, only one application can access the ALSA sound device at any given time. So it's not a perfect solution but one that works for now.
With some instructions on the Mint forum I was able to tune my PulseAudio fragment size to the maximum my card supports (only 20 msec): http://forums.linuxmint.com/viewtopic.php?f=42&t=44862
This way I was able to get rid of the problem as long as I do not display the streaming stats. When displaying the streaming stats (F6), the streaming client seems to switch to vsync and I get audio stuttering again. I can see that vsync is on when displaying the streaming stats because then i only get either 30 or 60 fps. When disabling streaming stats I get all kind of frame rates which are in between 30 and 60 - and more importantely, no audio stuttering.
In short, open Terminal and do this:
Look for this line:
Change it to this:
Press Ctrl - X to exit, then Y to save your changes, and Enter to save to the same file. Restart your computer and see how it works!
Big Picture gives me the most trouble. It pops every 30 seconds or so, which is a huge improvement over every single time you take any action and get that nasty crackle.
When playing Borderlands 2, the crackle only happens every few minutes, and it's not very severe at all, but still noticeable.
While better, it is NOT totally fixed, and all of the threads I have seen so far don't TOTALLY fix it. Oh well, hopefully this is one thing that time and attention will eventually fix.
[Update] It worked for me. :D
Also, you don't really need to restart the whole computer for the changes to take effect.
Restarting pulseaudio is enough.
Do:
[/update]
Have Fun! :D
Z.