No sound driver available, driver manager doesn't work

Questions about Wine on Linux
Locked
andoru
Level 2
Level 2
Posts: 33
Joined: Mon Jun 02, 2014 5:57 pm

No sound driver available, driver manager doesn't work

Post by andoru »

I've just installed Wine version 1.7.19, and when trying to run winecfg and opening the audio tab, I cannot select any sound driver, nor can I change the output devices. Here's what shows up in the terminal:

Code: Select all

err:ole:CoGetClassObject class {bcde0395-e52f-467c-8e3d-c4579291692e} not registered
err:ole:CoGetClassObject no class object {bcde0395-e52f-467c-8e3d-c4579291692e} could be created for context 0x1


And when I click on Test Sound I get this:

Code: Select all

err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
err:ole:CoGetClassObject class {bcde0395-e52f-467c-8e3d-c4579291692e} not registered
err:ole:CoGetClassObject no class object {bcde0395-e52f-467c-8e3d-c4579291692e} could be created for context 0x1
I'm using straight-up ALSA, with no PulseAudio installed. I tried to look around for a fix, but there's nothing that I could find.

Also the drive manager doesn't work, gives this error when I open the tab:

Code: Select all

err:winecfg:open_mountmgr failed to open mount manager err 2
I'm using 64-bit Crunchbang distro (Debian derivative). Can anyone point out if it's a bug in the package, or a problem with Wine?
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: No sound driver available, driver manager doesn't work

Post by dimesio »

andoru wrote: Also the drive manager doesn't work, gives this error when I open the tab:

Code: Select all

err:winecfg:open_mountmgr failed to open mount manager err 2
I'm using 64-bit Crunchbang distro (Debian derivative). Can anyone point out if it's a bug in the package, or a problem with Wine?
One possible reason for that message is that you installed only 64 bit Wine. You need 32 bit Wine as well. If you installed from a package, it should have included the necessary 32 bit parts, or if they are packaged separately, pulled it in as a dependency.
andoru
Level 2
Level 2
Posts: 33
Joined: Mon Jun 02, 2014 5:57 pm

Re: No sound driver available, driver manager doesn't work

Post by andoru »

I'm not sure if that's the case, here's what was installed with the 64bit wine:

Code: Select all

  libasound2:i386 libasyncns0:i386 libcap2:i386 libdb5.3:i386 libdbus-1-3:i386
  libdrm2:i386 libexif12:i386 libexpat1:i386 libffi6:i386 libflac8:i386
  libfontconfig1:i386 libfreetype6:i386 libgcrypt11:i386 libgd3:i386
  libgl1-mesa-glx:i386 libglapi-mesa:i386 libglib2.0-0:i386 libglu1-mesa:i386
  libgnutls26:i386 libgpg-error0:i386 libgphoto2-6:i386 libgphoto2-port10:i386
  libgstreamer-plugins-base0.10-0:i386 libgstreamer0.10-0:i386 libice6:i386
  libjbig0:i386 libjpeg8:i386 libjson-c2:i386 liblcms2-2:i386
  libldap-2.4-2:i386 libltdl7:i386 libmpg123-0:i386 libogg0:i386
  libopenal1:i386 liborc-0.4-0:i386 libp11-kit0:i386 libpng12-0:i386
  libpulse0:i386 libsasl2-2:i386 libsasl2-modules-db:i386 libsm6:i386
  libsndfile1:i386 libstdc++6:i386 libsystemd-id128-0:i386
  libsystemd-journal0:i386 libtasn1-6:i386 libtiff5:i386 libudev1:i386
  libusb-1.0-0:i386 libvorbis0a:i386 libvorbisenc2:i386 libvpx1:i386
  libwrap0:i386 libx11-6:i386 libx11-xcb1:i386 libxau6:i386 libxcb-dri2-0:i386
  libxcb-dri3-0:i386 libxcb-glx0:i386 libxcb-present0:i386 libxcb-sync1:i386
  libxcb1:i386 libxdamage1:i386 libxdmcp6:i386 libxext6:i386 libxfixes3:i386
  libxi6:i386 libxml2:i386 libxpm4:i386 libxshmfence1:i386 libxtst6:i386
  libxxf86vm1:i386 wine wine1.7 wine1.7-amd64 wine1.7-i386:i386
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: No sound driver available, driver manager doesn't work

Post by dimesio »

From the list of what was installed, it looks like the package did pull in 32 bit Wine and other 32 bit dependencies. However, I also see that it pulled in libpulse0:i386, and you said you don't have PulseAudio installed. I don't know where you got your Wine package from, but if it was built with the winepulse driver (not supported here), that could be why it doesn't work with plain ALSA.
andoru
Level 2
Level 2
Posts: 33
Joined: Mon Jun 02, 2014 5:57 pm

Re: No sound driver available, driver manager doesn't work

Post by andoru »

I had PulseAudio removed before I had installed Wine last time and it worked fine. I had to remove Wine and reinstall it after I messed up the main winebottle.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: No sound driver available, driver manager doesn't work

Post by dimesio »

Messing up the wineprefix doesn't require reinstalling Wine; it requires deleting the wineprefix and creating a new one. Did you do that?
andoru
Level 2
Level 2
Posts: 33
Joined: Mon Jun 02, 2014 5:57 pm

Re: No sound driver available, driver manager doesn't work

Post by andoru »

I did, but I didn't know to reset it. I searched around and there aren't any guides on doing that.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: No sound driver available, driver manager doesn't work

Post by dimesio »

I don't know what you mean by "reset it." Reset what?
andoru
Level 2
Level 2
Posts: 33
Joined: Mon Jun 02, 2014 5:57 pm

Re: No sound driver available, driver manager doesn't work

Post by andoru »

Sorry, I meant creating the new Wine prefix. I assumed that would be created after reinstalling Wine.
oiaohm
Level 8
Level 8
Posts: 1020
Joined: Fri Feb 29, 2008 2:54 am

Re: No sound driver available, driver manager doesn't work

Post by oiaohm »

http://wiki.winehq.org/FAQ
We have a faq for a reason.
Sorry, I meant creating the new Wine prefix. I assumed that would be created after reinstalling Wine.
Reinstalling applications using Linux package management never deletes data owning to users. WINEPREFIX data is user data. The FAQ contains all the general operations including how to use WINEPREFIX and deleting complete WINEPREFIX locations.

Even under windows uninstall/reinstall applications don't commonly delete data they place in user accounts.
Locked