2

I don't use Wine much, but saw this about running the BBC Doctor Who games

OMG! Ubuntu

I only get sound for the first few seconds and then nothing. In the Wine Config it auto-selected ALSA. The Test Sound button there makes a few odd noises and locks up that screen.

Any fixes for this?

3 Answers 3

3

You can try to disable Hardware Acceleration in Wine Configuration.

Open Wine configuration, go to the Audio tab, on the bottom make sure that Hardware Acceleration is set to Emulation.

1

You may need to close other audio-using programs before running Wine, particularly Firefox if you have any flash videos (youtube, etc) open. PulseAudio's Alsa compatibility layer does not like Wine very much, and sometimes the audio system breaks entirely when Wine uses it.

I also find it helpful to set my IM status to away so that the IM client doesn't create sounds while I'm running one of these applications.

You may also need to run killall -9 pulseaudio in a terminal once the audio has gotten off and Wine has exited. This will forcekill PulseAudio, which will then restart itself in a couple seconds.

The long term solution to this problem is to improve either Wine or PulseAudio. The PulseAudio developers have been pretty clear that they don't want to support Wine's "abuses" of the ALSA API, so the only solution for Wine is to stop using ALSA and instead have a PulseAudio output path for audio. You can read more about this here: http://yokozar.org/blog/archives/178 -- as far as time goes, Wine's OpenAL layer (and therefore PulseAudio support) is being actively worked on by two developers but I don't know when it will enter the code.

-1

For who is still interested in these issues:

The developers of Wine have made it pretty clear that they are not going to support PulseAudio.

Wine in the Ubuntu repositories is delivered with a PulseAudio driver that is not support by Wine.

So it's a dead end here. Neither Alsa nor PulseAudio is working optimal and sound playback in Wine is still terrible.

Besides there's currently a backlog of problems with Ubuntu 12.04 (see the forum on the Wine website).

As far as I can tell it's quite safe to assume that Wine for Ubuntu is dead now.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .