The forum

Sound Driver not selected

Sound Drivers are not selected across Wine versions

Author Replies
IonParticles Thursday 19 July 2018 at 1:53
IonParticlesAnonymous

Hi POL community,

System: Linux Mint 19

POL Version: 4.2.12

Across various downloaded Wine versions I tried (3.0 staging - 3.12), winecfg would show no sound drivers selected in the audio tab. I took a screenshot here : https://imgur.com/a/KIl5ukd (includes system info)

I tried to access the driver location with registry editor in 

[HKEY_CURRENT_USER\Software\Wine\Drivers] 

yet, the "Drivers" directory didn't exist

Im at a loss here. There are similar situations involving the system installed Wine, but none of the solutions would work with PlayOnLinux. I tried to install dsound and xaudio on the Windows XP software version to no effect. 

Is there a way to restore these drivers? Or is there a possibility this is a bug?

Edited by IonParticles

booman Thursday 19 July 2018 at 20:09
booman

Wow, I've never sen this problem in Mint 18.3 and the same versions of PlayOnLinux and Wine.


† Booman †
Mint 21 64-bit | Nvidia 515| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
booman Thursday 19 July 2018 at 20:58
booman

Do you know if Mint 19 still uses Pulseaudio?


† Booman †
Mint 21 64-bit | Nvidia 515| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
IonParticles Friday 20 July 2018 at 19:56
IonParticlesAnonymous

I guess this is from corrupted PlayOnLinux Files or one of its dependencies, so what I did is completely uninstall them. This removes the POL contained Wine to reinstall again. I will attempt to reinstall in a few moments and report back. I did find a bug on the way though: an MD5 file mismatch, which I filed here.

https://www.playonlinux.com/en/issue-5710.html

and yes, LM 19 uses Pulseaudio

Edited by IonParticles

booman Friday 20 July 2018 at 20:04
booman

Yes, there are a few packages that are erroring "File Mismatch"

The only way to fix it is a work-around using Winetricks.

I didn't realize Mono has this problem as well. Geesh


† Booman †
Mint 21 64-bit | Nvidia 515| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
IonParticles Friday 20 July 2018 at 20:16
IonParticlesAnonymous

I see,

So I guess I need to set the Winetricks Wine Prefix to that of POL? Then fill in with wine gecko and the like?

Edited by IonParticles

booman Friday 20 July 2018 at 20:28
booman

Yes, you can do that.

Here is the template I use for installing Winetricks and packages in my PlayOnLinux virtual drive:

wget  https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks

chmod +x winetricks

WINEPREFIX=/home/username/.PlayOnLinux/wineprefix/gamename ./winetricks -q vcrun2015

Just replace "username" with your home name and "gamename" with the Virtual Drive name.
This one is for vcrun2015


† Booman †
Mint 21 64-bit | Nvidia 515| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
IonParticles Sunday 29 July 2018 at 7:25
IonParticlesAnonymous

Alrighty,

I found out the simple solution for this issue after browsing other forum entries. All I needed to do was install additional audio packages into the Linux Mint 19 system. (Synaptic Package Manager)

The packages were:

  • libasound2:i386
  • libasound2-plugins:i386
  • libaudio2:i386

Wine selected the correct driver backend once these packages are installed: winealsa.drv

Sound works properly now

Thanks for the suggestions as I will apply them in future cases or in the case I need them, the Winetricks method worked great!

Edited by IonParticles

booman Sunday 29 July 2018 at 18:11
booman

Oooo, that is strange.  I've never installed the packages myself in Mint 17 or 18.  Strange, I hope they add them to the Mint updater

Enjoy!


† Booman †
Mint 21 64-bit | Nvidia 515| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
virajperera Saturday 18 April 2020 at 2:10
virajpereraAnonymous

@IronParticles,
Thank you. Your solution worked for me. Additionaly I have to install libpulse0:i386.

My environment: Playonlinux 4.3.4 on Ubuntu 18.04 with Wine 5.0

Edited by virajperera