Ubuntu 20.04 direct sound not working.

Questions about Wine on Linux
Post Reply
pohmelie
Newbie
Newbie
Posts: 2
Joined: Sun Jun 14, 2020 7:56 am

Ubuntu 20.04 direct sound not working.

Post by pohmelie » Sun Jun 14, 2020 8:23 am

Hi there!

I'm trying to play D2LoD (which I've played since 16.04). Everythgin works fine except sound. I'm using playonlinux, using wine64-5.10-staging version and sound works just perfect in "wine configuration" window:
Screenshot_20200614_161449.png
But, I think this is because "wine configuration" window is x64, but game is x32 and, when I start D2 logs:

Code: Select all

07:07:06.783  2020-06-14 07:07:06
07:07:06.783  Diablo II running under Windows XP (Version 6.010)
07:07:06.783  Vendor:  Intel
07:07:06.783  Version: Pentium III (no brand) (Type 0, Family 6, Model E, Stepping 9, Brand 0)
07:07:06.791  Speed: Approx. 3504 MHz
07:07:06.791  Total Physical Memory: 2048.00MB
07:07:06.791  Application Path: C:\d2\Path of Diablo
07:07:06.792  Local IP: 192.168.1.240
07:07:06.792  Computer name: HOME
07:07:06.792  ------------------------------------------------------
07:07:06.792  
07:07:06.794  imagehlp.dll loaded for better stack crawls.
07:07:07.036  DirectSound error: DSERR_NODRIVER returned on DirectSoundCreate
07:07:07.037  DirectSound error: DSERR_NODRIVER returned on DirectSoundCreate
07:07:07.037  DirectSound error: DSERR_NODRIVER returned on DirectSoundCreate
07:07:07.037  	Couldn't initialize DirectSound
Okay, lets see what wine logs:

Code: Select all

00e0:err:module:load_so_dll failed to load .so lib "/home/poh/storage/pol/wine/linux-amd64/5.10-staging/lib/wine/winepulse.drv.so": libpulse.so.0: cannot open shared object file: No such file or direc00e0:err:mmdevapi:DllGetClassObject Driver initialization failed
00e0:err:ole:apartment_getclassobject DllGetClassObject returned error 0x80004005 for dll L"C:\\windows\\system32\\mmdevapi.dll"
I think I need libpulse0:i386 to install, but I can't do that on 20.04, since

Code: Select all

$ sudo aptitude install libpulse0:i386
The following NEW packages will be installed:
  libasyncns0:i386{a} libdbus-1-3:i386{a} libflac8:i386{a} libgcrypt20:i386{a} libgpg-error0:i386{a} liblz4-1:i386{a} liblzma5:i386{a} libogg0:i386{a} 
  libpulse0:i386{b} libsndfile1:i386{a} libsystemd0:i386{ab} libvorbis0a:i386{a} libvorbisenc2:i386{a} libwrap0:i386{a} 
0 packages upgraded, 14 newly installed, 0 to remove and 0 not upgraded.
Need to get 1 890 kB of archives. After unpacking 6 150 kB will be used.
The following packages have unmet dependencies:
 libsystemd0 : Breaks: libsystemd0:i386 (!= 245.4-4ubuntu3.1) but 245.4-4ubuntu3 is to be installed
 libsystemd0:i386 : Breaks: libsystemd0 (!= 245.4-4ubuntu3) but 245.4-4ubuntu3.1 is installed
 libpulse0 : Breaks: libpulse0:i386 (!= 1:13.99.1-1ubuntu3.2) but 1:13.99.1-1ubuntu3 is to be installed
 libpulse0:i386 : Breaks: libpulse0 (!= 1:13.99.1-1ubuntu3) but 1:13.99.1-1ubuntu3.2 is installed
The following actions will resolve these dependencies:

     Keep the following packages at their current version:
1)     libdbus-1-3:i386 [Not Installed]                   
2)     libpulse0:i386 [Not Installed]                     
3)     libsystemd0:i386 [Not Installed]                   
How can I fix sound in game?

pohmelie
Newbie
Newbie
Posts: 2
Joined: Sun Jun 14, 2020 7:56 am

Re: Ubuntu 20.04 direct sound not working.

Post by pohmelie » Sun Jun 14, 2020 8:07 pm


Post Reply