The forum

Skyrim: Crackling Sound

Author Replies
MickRegister Friday 7 August 2015 at 9:52
MickRegisterAnonymous

Hello,

I simply cannot get the sound crackling fixed on my Fedora Box (4.1.3-200.fc22.x86_64). I am using pulse on the system and the error is:

ALSA lib pcm.c:7905:(snd_pcm_recover) underrun occurred

I already tried quite a lot, including

- Setting frangments in /etc/pulse/daemon.conf:

; default-fragments = 5
; default-fragment-size-msec = 2

- changing "/etc/pulse/default.pa" as described in http://thehumble.ninja/2014/02/06/fixing-alsa-lib-pcmc7843snd_pcm_recover-underrun-occurred-while-keeping-pulseaudio-in-your-system/

 

But nothing worked up to now. Can somebody help me on this please?

Greets,

Michael

petch Friday 7 August 2015 at 10:41
petch

Interesting article about making PulseAudio use dmix (so that Wine can use ALSA directly in parallel, as I understand).

But maybe the problem is elsewhere? Audio buffer underrun means that audio buffers were not refilled fast enough so eventually the card had nothing left to play; Maybe your system (hardware and/or drivers) is not powerful enough for the game options you selected, and can't keep up?

 

MickRegister Friday 7 August 2015 at 11:28
MickRegisterAnonymous

I switched down the graphics detail level, but same thing. Beside, the problem directly comes up when launching the game: There is only the logo with some simple background sound and already at this point, I have the crackling sound.

booman Friday 7 August 2015 at 19:31
booman

Try this setting:

change default-fragment-size-msec = 10

to default-fragment-size-msec = 5

That works for me.  You will need to restart or kill pulseaudio to hear if it worked.


† Booman †
Mint 21.3 64-bit | Nvidia 550| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
MickRegister Monday 10 August 2015 at 9:16
MickRegisterAnonymous

I solved it with via the settings in /etc/pulse/daemon.conf ("default-fragments" and "default-fragment-size-msec"). Up to now, I only found some guesses how to configure this, but here is a very interesting link:

https://wiki.archlinux.org/index.php/PulseAudio/Troubleshooting#Glitches.2C_skips_or_crackling

Search for the section beginning with "Setting the default fragment number and buffer size in PulseAudio". Sure, you have to calculate a bit, but I guess this is not complicated and with the settings I found out via this, Skyrim works fine up to now.

Thanks a lot, I will mark this thread as solved.

 

booman Monday 10 August 2015 at 17:26
booman

Awesome!  Glad you got it working!


† Booman †
Mint 21.3 64-bit | Nvidia 550| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmcayonlinux.com