Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
steam-runtime-tools
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
steamrt
steam-runtime-tools
Commits
0e68cc9b
Commit
0e68cc9b
authored
1 year ago
by
Simon McVittie
Browse files
Options
Downloads
Patches
Plain Diff
distro-assumptions: Describe our use of ${LIB}
Signed-off-by:
Simon McVittie
<
smcv@collabora.com
>
parent
1c9eff6a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/distro-assumptions.md
+29
-0
29 additions, 0 deletions
docs/distro-assumptions.md
with
29 additions
and
0 deletions
docs/distro-assumptions.md
+
29
−
0
View file @
0e68cc9b
...
@@ -338,6 +338,35 @@ unless they happen to be part of the dependency stack of a graphics driver.
...
@@ -338,6 +338,35 @@ unless they happen to be part of the dependency stack of a graphics driver.
This is intentional, and is done to provide a predictable environment
This is intentional, and is done to provide a predictable environment
across distributions.
across distributions.
## glibc dynamic string tokens
Some features of the container runtime framework require that we can
automatically load appropriate 64- or 32-bit x86 libraries using glibc's
`${ORIGIN}`
and
`${LIB}`
dynamic string tokens (see
`ld.so(8)`
).
NVIDIA's VDPAU is particularly affected by this.
The expansion of
`${LIB}`
is not standardized, so each variation needs
specific support.
The framework currently knows about the following pairs:
*
`lib/x86_64-linux-gnu`
and
`lib/i386-linux-gnu`
, as used on Debian,
modern Ubuntu, and the freedesktop.org Platform normally used by Flatpak
*
`x86_64-linux-gnu`
and
`i386-linux-gnu`
, as used on very old Ubuntu
*
`lib64`
and
`lib`
, as used in the Linux Standard Base and on Fedora
*
`lib`
and
`lib32`
, as used on Arch Linux
For systems where
`${LIB}`
has an unsupported pair of expansions that are
different for 64- and 32-bit code, please
[
contact the maintainers][Steam Runtime issues
]:
it
is straightforward to
add to this list.
For systems where
`${LIB}`
has the same expansion for 64- and 32-bit
binaries (for example if it expands to
`lib`
in both cases), some features
cannot be made to work reliably.
The container runtime framework will attempt to work around this by using
the
`${PLATFORM}`
dynamic string token, but that cannot work on older
CPUs (those that do not have all the features of Intel Haswell).
## Graphics drivers
## Graphics drivers
The Steam Runtime is not able to provide graphics drivers that are
The Steam Runtime is not able to provide graphics drivers that are
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment