Het forum

Sound Driver not selected

Sound Drivers are not selected across Wine versions

Auteur Antwoorden
IonParticles Donderdag 19 Juli 2018 om 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?

Aangepast door IonParticles

booman Donderdag 19 Juli 2018 om 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 Donderdag 19 Juli 2018 om 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 Vrijdag 20 Juli 2018 om 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

Aangepast door IonParticles

booman Vrijdag 20 Juli 2018 om 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 Vrijdag 20 Juli 2018 om 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?

Aangepast door IonParticles

booman Vrijdag 20 Juli 2018 om 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 Zondag 29 Juli 2018 om 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!

Aangepast door IonParticles

booman Zondag 29 Juli 2018 om 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 Zaterdag 18 April 2020 om 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

Aangepast door virajperera