Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am using Wine 1.5.17 on Ubuntu 10.04 LTS. The installation was finished successfully. I clicked the audio tab to configure audio, but it says Selected driver:(None). I can't even change the driver. When I click Test Sound button no sound is heard. Here is a screenshot :

screenshot of WIne Audio Tab

The error I got when clicking Test Sound button was:

err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded err:mmdevapi:DllGetClassObject Driver initialization failed err:ole:apartment_getclassobject DllGetClassObject returned error 0x80004005 err:ole:CoGetClassObject no class object {bcde0395-e52f-467c-8e3d-c4579291692e} could be created for context 0x1

How can I fix this sound problem ?

share|improve this question

1 Answer

It's likely that you're missing some dependencies. Another wine user seemed to be having the same issue, and it was suggested they install the libasound2-dev package, although they were using Linux Mint, so that may or may not help.


The following two methods I found on the Wine Wiki, on a page about building Wine, so they might not work for an already-built

The Ubuntu-specific method seems to be to run sudo apt-get build-dep wine1.5 in a terminal.

However, according to the Wine Wiki, the easiest way to install all the correct dependencies is to download and run this script as root (e.g. with sudo). (Note: To save the script, either copy paste it into a notepad, or just right-click on the link and click "Save link as".)

Then, in terminal run sudo sh ./install-wine-deps.sh.

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.