Team Fortress 2 Forum

This is a community forum and not official technical support. — If you need official support: Contact Us

The following comments are owned by whoever posted them. We are not responsible for them in any way.

Back to Threads Reply to Thread

Direct Sound through WINE in Ubuntu 9.10 is BROKEN

When I upgraded to Karmic it broke all my direct sound apps to have stuttering sound. I think I'm going to open up a ticket but I wanted anyone's advice before do it. I had gotten everything working perfectly in Jaunty (apart from annoying FPS issues)

hello Stephen :D

hm...may i know which sound server you use? AlSA , OSS or even Pulseaudio? or perhaps Esd?

the next thing to keep in mind is that upgrades are never really 100 % smooth and clean
somewhere and something is bound to crap up ( thats why i stick to rolling release)

so , based on the assumption that you use ALSA . it would be good to purge all settings of ALSA..
( a bit of overkill ,yes, but i wouldnt know which setting to pinpoint due to the lack of info)
DUe to debians good package manager , i presume a simple sudo apt-get purge alsa would do..(keep in mind to change alsa to whatever package that ubuntu provides for alsa)

A new release would also bound to have issues...I havent been in touch with niether ubntu nor the debian communinty for quite a while...so do give me some time to find out whether this problem is a bug

all the best Stephen

Thanks for the quick response. I have fixed it!

Yes I am using AlSA, but I did not change anything with it to fix WINE Direct Sound. I changed the "Driver Emulation" to OFF and I changed the default sample rate to 48000. It was at 22050. I don't know which of these changes fixed it, i did them at the same time, and I'm not going to mess with it. If anybody else is having problems with Direct Sound in Karmic, please try these solutions.

Before:
image

After & Fixed:
image

thats great Stephen (:
i wonder why though...why..

i got a feeling it has something to do with the oringally low sample rate

I'm actually having the same problem with my Karmic install which was also an upgrade from 9.04. I've tried your suggestion, but it made no difference.

Basically the audio is very laggy and jittery. I tried it all on emulation, but then the sound was lagged and lots of sounds were missing from in game (like the spy cloak, etc.). I can't seem to get any of it going here now.

EDIT: Just came across this bug in Ubuntu posted on oct 25th, may be the issue:

https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/460590

Aparently there is an updated WINE in PPA that fixes this.

yes, unfortunately my fix only "sorta" fixed my issues. Now it sometimes works, and sometimes doesn't. I'll try to apply that updated WINE to my cxg.

do note that pulseaudio never had a good history with wine..

if you are using pulseaudio....i would like to suggest ALSA or OSS as a viablee alternative..

@Stephen..what do you have in mind when you say you are going to apply updated WINE to Cxg? .....( crossing my fingers and hoping its not copy and paste the executables over into the Cxg folder) ...lol

Sorry, I lightly read the bug report before posting and misread it. There is no patch and no one seems to be working on it either. Ubuntu, Pulseaudio, ALSA and WINE all seem to have better things to do with their time. I'm thinking about opening a ticket. I am also expierencing some annoying crashes but I am going to defrag and hope that fixes it.

You should open a support ticket, and encourage others with the same problem to open tickets as well. This is the best way to alert the Codeweavers team that there is a problem they need to address.

Yes I will be opening a support ticket. I'll give the link as soon as I open it.

http://www.codeweavers.com/support/tickets/browse/?ticket_id=778116;layout=user_tickets;sort%5Bstatus%5D=ASC
EDIT-
Sorry for some reason its deemed a private ticket, I'll get that changed as soon as possible.
-EDIT
Hoping it gets fixed. :)

these download links have been removed, as the improvements mentioned here are in CrossOver Games

Newly compiled on Wine 1.1.35, dsound.dll.so and winealsa.drv.so have been uploaded to http://dl.codeweavers.com

Replacing these files on Ubuntu 9.10 appears to fix the sound issue.

First, go to:

http://dl.codeweavers.com
access code: left4dead2

Newly compiled on Wine 1.1.35, dsound.dll.so and winealsa.drv.so have been uploaded to http://dl.codeweavers.com

Replacing these files on Ubuntu 9.10 appears to fix the sound issue.

First, go to:

http://dl.codeweavers.com
access code: left4dead2

Download each file

Then, cd into:

~/cxgames/lib/wine (/opt/cxgames/lib/wine)

Rename dsound.dll.so (dsound.dll.so.bad)
Rename winealsa.drv.so (winealsa.drv.so.bad)

Copy dsound.dll.so & winealsa.drv.so

Into the ~/cxgames/lib/wine (/opt/cxgames/lib/wine) directory.

Launch the game affected and it should be much better.

Please let us know if this helps your situation or email us if you still experience sound issues after trying this fix (support ticket or info@codeweavers.com).

Reference Bug 5844

Tested and works perfect 😉

1 to 13 of 13

CrossOver Forums: the place to discuss running Windows applications on Mac and Linux

CodeWeavers or its third-party tools process personal data (e.g. browsing data or IP addresses) and use cookies or other identifiers, which are necessary for its functioning and required to achieve the purposes illustrated in our Privacy Policy. You accept the use of cookies or other identifiers by clicking the Acknowledge button.
Please Wait...
eyJjb3VudHJ5IjoiVVMiLCJsYW5nIjoiZW4iLCJjYXJ0IjowLCJ0enMiOi02LCJjZG4iOiJodHRwczpcL1wvbWVkaWEuY29kZXdlYXZlcnMuY29tXC9wdWJcL2Nyb3Nzb3Zlclwvd2Vic2l0ZSIsImNkbnRzIjoxNzMxNDM1MjAzLCJjc3JmX3Rva2VuIjoiRjdQcHlKTG55RUdoQnNDcSIsImdkcHIiOjB9