steam-runtime
steam-runtime copied to clipboard
Driver/layer dependencies not available in container if used via dlopen
My VK Driver need two Libraray. It donot load the second library. For Example: VK json : { "file_format_version": "1.0.0", "ICD": { "_comment": "library_path can be a relative path as long as it's in the default search path", "library_path": "libAAA.so", "api_version": "1.0.0" } } libAAA.so will load libBBB.so when VK Driver is running. But Porton don't support becase it will show " not Found libBBB.so "
Hello @82157402, starting with Proton 5.13, Proton is run inside one of the Steam Linux Runtime container environments. This reads more like an issue with Pressure Vessel setting up that environment. Please give https://github.com/ValveSoftware/steam-runtime/blob/master/doc/reporting-steamlinuxruntime-bugs.md#essential-information a read and share the requested information.
In "~/.steam/steam/steamapps/common/SteamLinuxRuntime_sniper/var/tmp-O3IX31/usr/lib/pressure-vessel/overrides/lib/x86_64-linux-gnu" dir , these are some softlink , include libAAA.so ,But not include libBBB.so. i think these need to create a softlink link to libBBB.so.
In SourceCode, libBBB,so is loader by "dlopen". So the softlink(libBBB) isnot created.
In SourceCode, libBBB,so is loader by "dlopen"
There is no way for the container runtime to know that this is going to happen.
@kisak-valve, please retitle to: "Driver/layer dependencies not available in container if used via dlopen"
I don't think this is going to be solvable in general, so it will probably have to be a known issue.