Commits on Source (20)
-
Simon McVittie authored
We mostly don't actually use this to bind ICDs, so the name is misleading. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Ludovico de Nittis authored
Follow-up refactoring from !235 See merge request !247
-
Simon McVittie authored
For historical reasons, we assume that /run/host is a relatively complete view of the host system, like it would be inside Flatpak. However, in a systemd-nspawn container, /run/host contains other things but not usually /usr or /etc. Previously, the default was exactly equivalent to the old PRESSURE_VESSEL_HOST_GRAPHICS=1, which in turn is equivalent to either PRESSURE_VESSEL_GRAPHICS_PROVIDER=/run/host (if we appear to be in a container) or PRESSURE_VESSEL_GRAPHICS_PROVIDER=/ (if not). Now, the default is basically PRESSURE_VESSEL_GRAPHICS_PROVIDER=/, to maximize the chance that if Steam games can run in the older LD_LIBRARY_PATH-based Steam Runtime, they'll also run in our containers. Resolves: https://github.com/ValveSoftware/steam-runtime/issues/367 Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
If we don't have at least the equivalent of `flatpak run --filesystem=host-os` then we are not going to get very far. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
This was meant to use the graphics stack from the container itself, but we don't normally test that case (having graphics drivers is considered useful if you want to run games!) so it regressed. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Ludovico de Nittis authored
Use a better default for the graphics stack See merge request !248
-
Simon McVittie authored
We use FlatpakBwrap for any argv array, not just bwrap(1), so we might be replacing the current process with any executable. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
If we're looking for something in a sysroot, we should say which sysroot. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
If we are using a non-Debian-based runtime's terminfo, in particular if we're in Flatpak, then it won't normally search /lib/terminfo. This is problematic for PRESSURE_VESSEL_SHELL, because ncurses-base puts the xterm-256color terminfo in /lib/terminfo. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Ludovico de Nittis authored
This allows us to reduce the code duplication in pv_bwrap_run_sync(). Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
-
Ludovico de Nittis authored
If needed, try to run `nvidia-modprobe` to load the necessary `nvidia_uvm.ko` kernel module. Fixes: #59 Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
-
Simon McVittie authored
The Flathub Steam app loads a LD_AUDIT module to ignore bundled libraries in games where they cause problems. We want to treat that essentially the same as LD_PRELOAD, at least until we take on its functionality. While we're changing this, also change the misleading name of the option. It was called --host-ld-preload, but it actually took the LD_PRELOAD module from the current execution environment, not the host. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
wrap: execute nvidia-modprobe before entering the container Closes #59 See merge request !246
-
Simon McVittie authored
More Flatpak preparation See merge request !249
-
Ludovico de Nittis authored
Recently @laks updated our runners `runc` to the required minimum version 1.0.0-rc93. Additionally the latest Arch Linux docker image now includes glibc 2.33-4. With these two changes we now expect the Arch Linux CI to succeed. Addresses: #57 Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
-
Simon McVittie authored
CI: Require Arch Linux CI to succeed See merge request !250
Showing
- debian/changelog 9 additions, 2 deletionsdebian/changelog
- debian/gitlab-ci.yml 0 additions, 4 deletionsdebian/gitlab-ci.yml
- pressure-vessel/bwrap.c 6 additions, 55 deletionspressure-vessel/bwrap.c
- pressure-vessel/pressure-vessel-test-ui 42 additions, 16 deletionspressure-vessel/pressure-vessel-test-ui
- pressure-vessel/pressure-vessel-unruntime 11 additions, 1 deletionpressure-vessel/pressure-vessel-unruntime
- pressure-vessel/runtime.c 177 additions, 120 deletionspressure-vessel/runtime.c
- pressure-vessel/utils.c 25 additions, 10 deletionspressure-vessel/utils.c
- pressure-vessel/utils.h 5 additions, 3 deletionspressure-vessel/utils.h
- pressure-vessel/wrap.c 165 additions, 47 deletionspressure-vessel/wrap.c
- steam-runtime-tools/utils.c 4 additions, 4 deletionssteam-runtime-tools/utils.c
- tests/pressure-vessel/utils.c 22 additions, 11 deletionstests/pressure-vessel/utils.c
This diff is collapsed.