Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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?

share|improve this question

3 Answers 3

up vote 3 down vote accepted

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.

share|improve this answer

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.

share|improve this answer

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.