Open vatula opened 4 years ago
Does the command to set the audio driver succeed? The error message might not be fatal if everything else works.
I checked and libudev.so.0 doesn't exist inside the Steam Flatpak (you can test this by running ldconfig -p | grep udev
both inside and outside the Flatpak), hence why winecfg fails to find it and prints the error.
I don't think it succeeds. See screenshots (it's a sequence). The second-to-last image shows the settings were not saved.
Also a question. If steam in it's flatpak does not include the library, then isn't it weird to require missing library for a flatpak protontricks? I realize it might be an upstream issue somewhere.
All of the options in the menu you provided are unchecked by default; they are simply a list of actions you can run, and the listing doesn't check whether the actions have been executed already or not.
I also checked the Winetricks code, and all the sound=alsa
option does is edit a single key in the Windows registry, which is something that doesn't require a working libudev library and the registry key is changed despite the warning. You can check it by running protontricks <APPID> regedit
and checking the value for HKEY_CURRENT_USER/Software/Wine/Drivers/Audio
.
The Wine binaries that are trying to load the libudev.so.0 file are shipped with Steam, so it makes sense to fix it there. The underlying Freedesktop SDK ships a more feature limited version of the udev library since the udev library doesn't guarantee API stability, so any third-party fix would likely be fragile.
This looks like a Proton or steam runtime issue to me. If Proton is linked with libudev.so.0
, then it should be shipped with Steam runtime. libudev.so.0
is part of udev version <= 175 and modern distributions don't provide it.
when setting sound driver to alsa with protontricks I get the error
I have vanilla Fedora 31 with Steam flatpak. I have installed protontricks as per README.