No sound on Wine games

Dear all!

I have been trying to install some games in wine but I have found no sound when running them. I’ve tried to look elsewhere for clues but nothing worked until now. I am using PlayOnLinux (POL) and building wine virtual devices using the System wine version (i.e. 3.7). As a matter of fact if I try to install other wine versions with POL the process fails and I am unable to use them, but I guess that is matter for another thread.

I should notice that I am using Leap 15 and that the aforementioned problems were absent with Leap 42.3 (even the building of different wine versions)

The games I tried to run were Dungeon Keeper Gold (GoG edition), Dungeon Keeper 2 (GoG edition) and Civilization 5. As I said I used the system Wine version and in all cases no sound obtained. I tried to get more information by running the games in debug mode on POL. For example, here’s the output when running Dungeon Keeper 2:

[06/20/18 16:13:10] - Running wine- DKII.EXE (Working directory : /home/rodolfo/.PlayOnLinux/wineprefix/DungeonKeeper2/drive_c/GOG Games/Dungeon Keeper 2)
0009:fixme:win:EnumDisplayDevicesW ((null),0,0x33c724,0x00000000), stub!
0009:fixme:ddraw:ddraw7_Initialize Ignoring guid {00000000-0000-0000-0000-000000000000}.
0009:fixme:win:EnumDisplayDevicesW ((null),0,0x33c474,0x00000000), stub!
0009:fixme:win:EnumDisplayDevicesW ((null),0,0x33bda4,0x00000000), stub!
0009:fixme:win:EnumDisplayDevicesW ((null),0,0x33c564,0x00000000), stub!
0009:fixme:win:EnumDisplayDevicesW ((null),0,0x33c564,0x00000000), stub!
0009:fixme:win:EnumDisplayDevicesW ((null),0,0x33c2d4,0x00000000), stub!
0009:fixme:win:EnumDisplayDevicesW ((null),0,0x33c8f4,0x00000000), stub!
0009:fixme:win:EnumDisplayDevicesW ((null),0,0x33c7c4,0x00000000), stub!
0009:fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 16
0009:err:ole:CoGetClassObject class {92fa2c24-253c-11d2-90fb-006008a1f441} not registered
0009:err:ole:CoGetClassObject no class object {92fa2c24-253c-11d2-90fb-006008a1f441} could be created for context 0x1
0009:err:module:load_builtin_dll failed to load .so lib for builtin L"winepulse.drv": libpulse.so.0: cannot open shared object file: No such file or directory
ALSA lib dlmisc.c:254:(snd1_dlobj_cache_get) Cannot open shared library /usr/lib/alsa-lib/libasound_module_pcm_pulse.so
ALSA lib dlmisc.c:254:(snd1_dlobj_cache_get) Cannot open shared library /usr/lib/alsa-lib/libasound_module_pcm_pulse.so
0009:err:winediag:MIDIMAP_drvOpen No software synthesizer midi port found, Midi sound output probably won't work.
0009:fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 16
0009:fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 16
0009:err:ole:CoGetClassObject class {92fa2c24-253c-11d2-90fb-006008a1f441} not registered
0009:err:ole:CoGetClassObject no class object {92fa2c24-253c-11d2-90fb-006008a1f441} could be created for context 0x1
0009:fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 16
0009:fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 16
0009:fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 16
0009:err:ole:CoGetClassObject class {92fa2c24-253c-11d2-90fb-006008a1f441} not registered
0009:err:ole:CoGetClassObject no class object {92fa2c24-253c-11d2-90fb-006008a1f441} could be created for context 0x1
ALSA lib pcm.c:8349:(snd_pcm_recover) underrun occurred
0045:fixme:ddraw:ddraw_surface7_Flip Ignoring flags 0x1.
0034:fixme:d3d:state_subpixel Render state WINED3D_RS_SUBPIXEL not implemented yet.
Calculating Julian date for today (20/6/2018) 
Today's Julian date is 2458290 + 0.134201 
The moon is 6.782639 days old 


I noticed that some libraries are required such as libpulse.so.0. However I did not find this on any repository.
I have installed alsa-plugins, alsa-plugins-32bit, alsa-plugins-pulse, alsa-plugins-pulse-32bit
The other games I mentioned complained about the same issues.
Any help would be greatly appreciated!

Well I just figured it out! It was actually quite easy. The 32bit packages were missing.
I installed libpulse0-32bit and the respective dependencies and the sound is now playing!
I hope at least the post helps anyone with the same problem and unaware of it… or more distracted than me :stuck_out_tongue:

Nice I was also want to point this out I’ve read it also that it need libpulse-devel & libpulse-devel-32bit. Anway good to hear that mate :slight_smile:

OK, thanks, I have the same problem, your info are very useful!

Thanks for posting. I had a similar problem and now it is solved. now I can play and enjoy the game with full sound.

This happened with me too once, in my case pulseaudio was interfering with the sound. Suspending pulseaudio fixed the issue.

Glad to here that your issue got resloved. Thanks for sharing. It helped me.

I tried loading many games in wine like Myboy free games, most worked but none had audio output. Please help me

I’ve recently switched back to arch after earning playing at and I’m having an issue I’ve never had before. Sound doesn’t work in most games in Wine. Steam itself has sound, and so does FTL when I installed it, but Chivalry, Super Meat Boy, and Wanderlust all do not. I’ve tried with just plain alsa and with pulseaudio and neither affect the sound. I also have the 32-bit libs installed. Any ideas?

This might be an Arch Linux specific issue. Did you look at what they note in their wiki on wine?
https://wiki.archlinux.org/index.php/wine#Sound

In my case, I had to a do a little bit of trial and error method to find out which process was interfering with the sound. But that is definitely not the ideal solution. However i found this article where it says installing libasound2-plugins:i386 worked out.

I think you should try this out. Get the libasound2-plugins:i386 from synaptic package manager. I’ll give it a go and keep it posted on how it works. regards

Stella and orion95 - please be advised this is an openSUSE forum, not an Arch Linux forum. If you have ArchLinux problems, you are advised to go to their forum.

Further in the quoted post there was a spam link. I have removed the spam post and the spam link that was in one of the posts, but be advised we have a zero tolerance policy for spam, so please do not post spam links, else a permanent forum ban can result.