Sunday, 9 August 2009
Making Wine sound work with PulseAudio on Ubuntu - properly
Wine sounds in Ubuntu has had a problem for a while now since they introduced to PulseAudio sound server. There are a lot of kludgy workarounds on the Internet that will get the sound working for one particular application, but the side effect is that it stops it working for everything else. And you lose pulseaudio's ability to move sound streams between sound cards and sound servers.
There is a way of fixing it properly, and that is to run a version of Wine with a native Pulseaudio driver installed. The code exists, but due to the politics of Open Source it hasn't been included in the main upstream codebase.
Since I can't stand kludgy workarounds I decided to take it upon myself to create a wine package with the pulseaudio driver in place and now that is available on my PPA.
It is targeted at the Karmic Koala release, which contains the required version of PulseAudio. Can I ask all those currently testing the new Ubuntu release to try out the package and see if it improves matter for you. Everybody else will have to wait until October :)
If you do try out the software can you report back your experiences in Launchpad
https://bugs.launchpad.net/wine/+bug/371897
The more data we collect, the more evidence we have that this should be included in Ubuntu as standard. And of course if you have problems I can work with upstream to get them sorted.
You can install the software from my PPA
https://launchpad.net/~neil-aldur/+archive/ppa
To install the software follow the instructions on Launchpad (https://help.launchpad.net/Packaging/PPA/InstallingSoftware)
Read more about the Winepulse patches and why they're not in the mainline
There is a way of fixing it properly, and that is to run a version of Wine with a native Pulseaudio driver installed. The code exists, but due to the politics of Open Source it hasn't been included in the main upstream codebase.
Since I can't stand kludgy workarounds I decided to take it upon myself to create a wine package with the pulseaudio driver in place and now that is available on my PPA.
It is targeted at the Karmic Koala release, which contains the required version of PulseAudio. Can I ask all those currently testing the new Ubuntu release to try out the package and see if it improves matter for you. Everybody else will have to wait until October :)
If you do try out the software can you report back your experiences in Launchpad
https://bugs.launchpad.net/wine/+bug/371897
The more data we collect, the more evidence we have that this should be included in Ubuntu as standard. And of course if you have problems I can work with upstream to get them sorted.
You can install the software from my PPA
https://launchpad.net/~neil-aldur/+archive/ppa
To install the software follow the instructions on Launchpad (https://help.launchpad.net/Packaging/PPA/InstallingSoftware)
Read more about the Winepulse patches and why they're not in the mainline
Subscribe to:
Post Comments (Atom)
22 comments:
this did wonders for my spotify. better sound and no crashes..
Nice work
Works great. Thanks!
Thanks Neil that worked a treat!
Thanks works like a charm!!!!!!!!!!
Thanks a bunch! Worked for me too.
Here's what I did for anyone wondering how to do it:
- Installed the repositories as explained on your site
- removed wine (sudo apt-get remove wine)
- updated apt (sudo apt-get update)
- installed your patch (sudo apt-get install wine1.2)
- ran winecfg, clicked the Audio tab
- Chose 'pulseaudio' as the sound driver, unchecked ALSA.
- Clicked Apply and OK.
I then ran Spotify and it worked straight away.
ohhh! I followed the steps described by David... and Spotify is working like a charm!
thank you VERY much!
Works better than ALSA, but still some clipping in the sound, which started to annoy after a while. EsounD works in terms of sound quality - but when I'm using EsounD, Spotify does not start playing after pausing a song.
Brilliant, thank you :)
i got 2 machines with this setup now, both running ubuntu 9.10, had some clipping on one of the machines, but after upgrading from 8.04 (the LTS) to 9.10 the problem was gone.
Can post more details if anybody want it...
THNX a million. I've got now a running spotify in all my computers.
I was experiencing stutter and complete failure of sound in Spotify. This fix worked perfectly!
Thank you, thank you, thank you!!!!
Thank you Neil!
Spotify works now perfectly on my Ubuntu Karmic.
Sweet!
... and thanx to Davids comment as well. (First time Linux user today... had to get Spotify) :)
Thanx! Needed it for spotify, neither OSS nor ALSA worked at all. Works excellent with my ubuntu karmic!
Now my Spotify works perfectly with Ubuntu 9.10 Karmic.
Thank you!
Hello, Neil!
Really nice work! Made my day :-)
/David
Thanks Neil,
Now i can play Red Alert 3 on wine with sound.
I spend a day downloading wine applying patches and i didn't get it working. It seemed to crash on a sound issue. I had
tried alsa, oss. starting with padsp and without, killing pulseaudio etc..etc...
So thank you
Works perfect!
Thanks
Omg, it actually works perfectly now!
Awsome job man!
Lot of thanks! Really
Thank you very much!
My Ubuntu experience has been flawless since I made the jump starting with v6.10.
It's only in v9.10 that I experienced glitches... I hope things get better in v10.
Post a Comment