Skip to content

Commit

Permalink
Add pressure-vessel's overrides data dir to XDG_DATA_DIRS
Browse files Browse the repository at this point in the history
This is a hack until the underlying issue is fixed in the steam-runtime. Pressure-vessel mounts Flatpak extensions on a different path within the container, and that breaks Vulkan Layers due to that path not being in Vulkan-Loader's search paths, documented on: https://github.com/KhronosGroup/Vulkan-Loader/blob/main/docs/LoaderLayerInterface.md#linux-layer-discovery

This directory doesn't exist outside a pressure-vessel container, which is only used by games and not by all of them. But still, adding it to XDG_DATA_DIRS in finish-args shouldn't cause any adverse effect, as these search paths are not required to be all valid.

fixes #1280
  • Loading branch information
jntesteves authored and bbhtt committed Apr 3, 2024
1 parent a380271 commit c9aadfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion com.valvesoftware.Steam.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ finish-args:
- --env=PYTHONPATH=/app/utils/lib/python3.10/site-packages
- --env=PROTON_DEBUG_DIR=/var/tmp
- --env=XDG_CONFIG_DIRS=/etc/xdg:/usr/lib/x86_64-linux-gnu/GL:/usr/lib/i386-linux-gnu/GL
- --env=XDG_DATA_DIRS=/app/share:/usr/lib/extensions/vulkan/share:/usr/share:/usr/share/runtime/share:/run/host/user-share:/run/host/share
- --env=XDG_DATA_DIRS=/app/share:/usr/lib/extensions/vulkan/share:/usr/share:/usr/share/runtime/share:/run/host/user-share:/run/host/share:/usr/lib/pressure-vessel/overrides/share
- --env=GST_PLUGIN_SYSTEM_PATH=/app/lib/gstreamer-1.0:/app/lib32/gstreamer-1.0:/usr/lib/extensions/gstreamer-1.0:/usr/lib/x86_64-linux-gnu/gstreamer-1.0:/usr/lib/i386-linux-gnu/gstreamer-1.0
- --require-version=1.12.0

Expand Down

0 comments on commit c9aadfa

Please sign in to comment.