Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
82157402 opened this issue Apr 23, 2023 · 4 comments
Open

Comments

@82157402
Copy link

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 "

@kisak-valve kisak-valve transferred this issue from ValveSoftware/Proton Apr 23, 2023
@kisak-valve
Copy link
Member

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.

@82157402
Copy link
Author

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

@smcv
Copy link
Contributor

smcv commented Apr 24, 2023

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
Copy link
Contributor

smcv commented Apr 24, 2023

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

@kisak-valve kisak-valve changed the title It will happen failed when run Game Driver/layer dependencies not available in container if used via dlopen Apr 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants