No sound at all from wine1.4

Bug #946305 reported by Alistair Buxton
24
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Baltix
New
Undecided
Unassigned
wine1.4 (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

To reproduce:

1. Open winecfg.
2. Click "Audio"
3. Click "test sound" button.

No sound is heard at all. At the top of the tab is the message:

"Selected driver: (none)"

When clicking "test sound" the following error message is printed on the terminal each time:

err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
err:ole:COMPOBJ_DllList_Add couldn't load in-process dll L"C:\\windows\\system32\\mmdevapi.dll"
err:ole:CoGetClassObject no class object {bcde0395-e52f-467c-8e3d-c4579291692e} could be created for context 0x1

No other messages are given.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: wine1.4 1.4~rc5-0ubuntu2
ProcVersionSignature: Ubuntu 3.2.0-17.27-generic 3.2.6
Uname: Linux 3.2.0-17-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 1.94-0ubuntu1
Architecture: amd64
Date: Sun Mar 4 12:44:09 2012
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20110921.2)
SourcePackage: wine1.4
UpgradeStatus: Upgraded to precise on 2012-02-10 (22 days ago)

Revision history for this message
Alistair Buxton (a-j-buxton) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in wine1.4 (Ubuntu):
status: New → Confirmed
Revision history for this message
Scott Ritchie (scottritchie) wrote :

Does this occur in a clean wine prefix? (mv ~/.wine ~/.wine-backup, run winecfg again)

Revision history for this message
Alistair Buxton (a-j-buxton) wrote :

Yes, that fixes it. Also removing the dll override on mmdevapi.dll fixes it too. I don't know how I failed to find that fix yesterday.

Sound still doesn't work properly but it is at least making some kind of noise now. Checking if the new problem has been reported or not... (sounds play back too fast - pitch isn't affected, parts of the audio are dropped to keep up.)

Revision history for this message
Radu Cristescu (radu.c) wrote :

I narrowed this down to this:

File: .wine/user.reg
Line:
[Software\\Wine\\Drivers\\winealsa.drv] 1331502832

There was another line with "Drivers" in its path, which I deleted - including its child key/value pair.

Note that the new key doesn't have a key/value pair child at all.

Revision history for this message
Radu Cristescu (radu.c) wrote :

Right, the lines I deleted and replaced with the above are:

[Software\\Wine\\Drivers] 1331504630
"Audio"="esd"

If that number is a UNIX timestamp, it's in the future because I went to another computer to figure out what I deleted, because I didn't keep a copy before I posted.

Revision history for this message
Scott Ritchie (scottritchie) wrote :

So what seems to have happened here is that in an old version of Wine you told it to use the esd driver and Wine isn't smart enough to fallback to a reasonable default.

Revision history for this message
Id2ndR (id2ndr) wrote :

If it still doesn't work and you are on precise 64 bits, your trouble may be the one of bug #978293

Revision history for this message
Scott Ritchie (scottritchie) wrote :

This particular sound issue seems like a configuration thing, so I'm going to close this one (the other bugs are valid though)

Changed in wine1.4 (Ubuntu):
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.