El Foro

Sound Driver not selected

Sound Drivers are not selected across Wine versions

Autor Respuestas
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?

Editado por: 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 19 64-bit | Nvidia 415.25 | GeForce GTX 1060
Linux for Beginners | List of Linux Games | My Games
PlayOnLinux Guides | PlayOnLinux Explained
booman Thursday 19 July 2018 at 20:58
booman

Do you know if Mint 19 still uses Pulseaudio?


† Booman †
Mint 19 64-bit | Nvidia 415.25 | GeForce GTX 1060
Linux for Beginners | List of Linux Games | My Games
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

Editado por: 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 19 64-bit | Nvidia 415.25 | GeForce GTX 1060
Linux for Beginners | List of Linux Games | My Games
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?

Editado por: 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 19 64-bit | Nvidia 415.25 | GeForce GTX 1060
Linux for Beginners | List of Linux Games | My Games
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!

Editado por: 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 19 64-bit | Nvidia 415.25 | GeForce GTX 1060
Linux for Beginners | List of Linux Games | My Games
PlayOnLinux Guides | PlayOnLinux Explained