The forum

Alsa-Pulse-Issue / underrun

Difficult solution doesn't seem to work

Author Replies
Stargreeter Monday 19 October 2015 at 14:32
StargreeterAnonymous

Some problems have the same cause for me, it is a quite common sound-issue, known as the "alsa-pulse-issue". Symptoms are crackling and so on ruining the sound and more or less an effect on performance. Sometimes a crash.

The logs repeated this line (according to how long you were in the game for thousands of lines):

"ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred"

There are some advisors in the web:

(1) https://defectivecompass.wordpress.com/2007/12/05/alsa-configuration/
- concerning different issues
(2) http://www.gamersonlinux.com/forum/threads/how-to-fix-wine-underrun-occurred-problem.539/
- just leading to (3):
(3) http://thehumble.ninja/2014/02/06/fixing-alsa-lib-pcmc7843snd_pcm_recover-underrun-occurred-while-keeping-pulseaudio-in-your-system/
- concerning my issue, but with extras

(4) http://alsa.opensrc.org/
- a buzzword-catalogue for alsa
(5) https://wiki.archlinux.org/index.php/PulseAudio/Troubleshooting
- like the name tells, a systematic approach

(6) http://wiki.winehq.org/WineAndPulseaudio
- a source to link 3; a cleaner hit to my issue
(7) http://www.alsa-project.org/main/index.php/Asoundrc
- official information about the file "asoundrc"

the solution for my issue demands changes on the file "default.pa". how to locate and to open it with "sudo" i could read in link 3. i had to look, what i really needed there and to modifiy a little bit (i wrote "gedit" instead of "kate"). (btw - link 5 offers a different solution on this file, just compared)
i followed link 6 so far, but there is a second file, which must be edited, ".asoundrc". first I couldn't find it (even looking for hidden files; well, i see it is one) on my computer. later i saw link 7, who explains, that alsa is running without this file in default and it isn't needed always. but its purpose is to define, what is not default, and i wanted to do that. so i put the "changes" from link 6 to a textfile and saved it to my home as ".soundrc".

In the end i tried the soundtest, mentioned in link 6. but i think, something went wrong (or simply: it doesn't work so far). i heard a crackling sound only and don't got the message, which should pop up.
Instead in terminal appeared:

fixme:winediag:AUDDRV_GetAudioEndpoint Winepulse is not officially supported by the wine project
fixme:winediag:AUDDRV_GetAudioEndpoint For sound related feedback and support, please visit http://ubuntuforums.org/showthread.php?t=1960599
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded

while testing i got a wine-configuration window. it says chosen driver is "winepulse.drv". all standards are set to "system standard", but scrolling down them just reveals "Pulseaudio" (seems to be a version 4.0).

So i am still with pulseaudio and not with alsa directly ?

Hm, next to "default.pa" is a "system.pa" - i shouldn't fiddle around with that, should i?

Perhaps i forgot to modify something ?


I am an old veteran gamer from times of C=64 on - used to ms-dos and basic - but i prefer linux ubuntu trusty tahr and dislike windy win-doh!-s and nasty nsa and webwielding whackers and spying spiders - face me in a dungeon and i'll show you (you mobs)!

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 dmca-notice@playonlinux.com