Forums

Wine sound crackle and Echo - winealsa.drv

Auteur Réponses
Adenzel Mercredi 19 Aoüt 2015 à 8:30
AdenzelAnonymous

TL:DR

How do I fix Play on Linux using winealsa.drv when it apears it should be using winepulse.drv
 

 

Hiya

Seems to be a common problem wine in general and a problem with the way sound is done one way or the other in linux.

I've installed two games so far (PoE & LoL) using PoL and I've noticed that the sound is broken. It's not just broken in the game it's also broken when using the test sound button in Wine config; however once I discovered this I did a default installe of Wine and that worked fine. The difference I discovered is that PoL is using winealsa.drv and vanila Wine uses winepulse.drv.

Now I'm guessing theres a reason that PoL uses broken drivers and there must be a reason Wine doesn't want this to be configerable, but it's got me completely stumped =/

 

Edit: Also I forgot to mention I'm on Linux Mint 17.2

Error log (I really hope this style does some kinda spoiler mode    OK no spoiler mode so edited it down. That last line just repeats until the game is finaly closed. )

 


REGEDIT4

[HKEY_CURRENT_USER\Software\Wine\DllOverrides]
"*openal32"="native,builtin"
-----------
[08/19/15 12:45:33] - Running wine-1.5.28-PathOfExile PathOfExile.exe (Working directory : /home/adenzel/.PlayOnLinux/wineprefix/pathofexile/drive_c/Program Files/Grinding Gear Games/Path of Exile)
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred

Edité par Adenzel

Adenzel Mercredi 19 Aoüt 2015 à 9:16
AdenzelAnonymous

Well bugger me sideways I managed to get things working without needing to change drivers (Honestly kinda suprised I got it working not entirely suprised I didn't need to change drivers.)

This worked for me.

https://wiki.debian.org/PulseAudio#Various_problems_with_Skype_and_Wine

 

Add or uncomment the line in / etc / pulse / daemon.conf

 

default-fragments = 25
default-fragment-size-msec = 25
petch Mercredi 19 Aoüt 2015 à 18:14
petch

Now I'm guessing theres a reason that PoL uses broken drivers and there must be a reason Wine doesn't want this to be configerable, but it's got me completely stumped =/
 

We're using what comes with official Wine sources, pulse support is usually added by distributions.

But you can try wine-staging versions, I think they have pulse support too.

schotty Jeudi 20 Aoüt 2015 à 14:32
schotty

What I have done to make PoL work better than Crossover is to go into the PoL configuration screen, click on the shortcut for the game in question, Miscellaneous tab, and in the bottom box titled "Command to exec before running program" I put in:

 

export WINEDEBUG=-all

LD_PRELOAD="libpthread.so.0 libGL.so.1" __GL_THREADED_OPTIMIZATIONS=1 

export PULSE_LATENCY_MSEC=60

 

I did this for a friend and then started doing it myself when he commented how awesome it worked.  Now, I do not get the buffer underruns or garbled audio.  In Crossover I do if I don't use a custom bash script to do this and load the game from that.

Another thing that may help is going thru the tuning guide below for finding out what settings you need for each audio device and pass that along in that aforementioned blob.

http://www.overclock.net/a/how-to-get-the-best-sound-with-and-properly-configure-pulseaudio

Edité par schotty

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