Skip to content

pressure-vessel fails to link in gbm backends from the host (regression since mesa-24.3.0) #797

@hoshinolina

Description

@hoshinolina

Pressure-vessel links in libgbm from the host:

.local/share/umu/steamrt3/var/tmp-M308I3/usr/lib/pressure-vessel/overrides/lib/x86_64-linux-gnu/libgbm.so.1 -> /run/host/lib64/libgbm.so.1.0.0

But it does not link in the /usr/lib/gbm directory. This means that when an application tries to use libgbm from within the container, it fails with:

MESA-LOADER: failed to open dri: /usr/lib64/gbm/dri_gbm.so: cannot open shared object file: No such file or directory (search paths /usr/lib64/gbm/, suffix _gbm)

By analogy, dri uses a similar mechanism and pressure-vessel does handle it correctly:

.local/share/umu/steamrt3/var/tmp-LRY2I3/usr/lib/pressure-vessel/overrides/lib/x86_64-linux-gnu/dri/radeonsi_dri.so -> /run/host/usr/lib64/dri/libdril_dri.so

This is a regression since this mesa commit (released in mesa-24.3.0), which split off gbm into backends similar to how dri already worked.

A simple workaround is to set GBM_BACKENDS_PATH=/run/host/usr/lib64/gbm, which makes things work.

The pressure-vessel code that handles dri drivers is here. A similar codepath is needed for gbm.

Your system information

  • Steam Runtime Version: sniper_platform_3.0.20251216.191774
  • Distribution (e.g. Ubuntu 18.04): Fedora 42
  • Have you checked for system updates?: Yes
  • What compatibility tool are you using?: Proton-GE
  • What versions are listed in steamapps/common/SteamLinuxRuntime_sniper/VERSIONS.txt?
#Name   Version         Runtime Runtime_Version Comment
depot   3.0.20251216.191774                     # Overall version number
pressure-vessel 0.20251210.0    scout           # pressure-vessel-bin.tar.gz
scripts 0.20251210.0                    # from steam-runtime-tools
sniper  3.0.20251216.191774     sniper  3.0.20251216.191774     # sniper_platform_3.0.20251216.191774/

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions