steam-runtime icon indicating copy to clipboard operation
steam-runtime copied to clipboard

Driver/layer dependencies not available in container if used via dlopen

Open 82157402 opened this issue 1 year ago • 4 comments

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 "

82157402 avatar Apr 23 '23 03:04 82157402

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.

kisak-valve avatar Apr 23 '23 12:04 kisak-valve

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.

image

82157402 avatar Apr 24 '23 02:04 82157402

In SourceCode, libBBB,so is loader by "dlopen"

There is no way for the container runtime to know that this is going to happen.

smcv avatar Apr 24 '23 16:04 smcv

@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.

smcv avatar Apr 24 '23 16:04 smcv