Skip to content
Snippets Groups Projects
Simon McVittie's avatar
Simon McVittie authored
Since !173, we have been able to create symbolic links to graphics
drivers anywhere on the filesystem, but that didn't mean the graphics
driver would necessarily be usable, because the directory containing it
would not necessarily be visible in the container. Add these directories
to the list of directories to be "exported".

Manual test (Debian on on Intel hardware, adjust as required for
others):

* Modify /usr/share/vulkan/icd.d/intel_icd.i686.json
  to use /opt/moved-from-usr/lib/i386-linux-gnu/libvulkan_intel.so
* Move the real i386 libvulkan_intel.so to that location
* ./run --verbose -- steam-runtime-system-info 2>&1 | tee container.log

Resolves: #29
Resolves: https://github.com/ValveSoftware/steam-runtime/issues/313


Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
23834972
History

steam-runtime-tools — Steam Runtime integration for the Steam client

The steam-runtime-tools library provides low-level Unix-specific tools and functionality for the Steam client, including the pressure-vessel tool that runs Steam games in containers.

To support multiple architectures (currently only i386 and x86_64 are supported), you will need to build it once for each architecture and install at least the helper tools in /usr/libexec/steam-runtime-tools-0 (the libsteam-runtime-tools-0-helpers package) for every architecture in parallel.

The helper tools are located relative to the shared library, so it's OK to bundle steam-runtime-tools alongside some other stack in this layout:

anything/
    lib/
        x86_64-linux-gnu/
            libsteam-runtime-tools-0.so.0
    libexec/
        steam-runtime-tools-0/
            i386-linux-gnu-*
            x86_64-linux-gnu-*

as long as the program that is linked to libsteam-runtime-tools-0.so.0 can find it (via a RPATH or RUNPATH or by setting the LD_LIBRARY_PATH environment variable).

pressure-vessel — putting Steam in containers

The pressure-vessel/ subdirectory of this project contains the pressure-vessel utilities, which are used by Steam's Steam Linux Runtime compatibility tool to run games in individual game-specific containers. For background on pressure-vessel and SteamLinuxRuntime, please see: