- Jan 31, 2024
-
-
Simon McVittie authored
We don't need to link SrtPortalListener or SrtPtyBridge into the shared library, only into the executable utilities. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
pv-wrap(1): Use sniper and Battle for Wesnoth in our example See merge request !659
-
Simon McVittie authored
We no longer produce scout runtimes that work like this: SLR 1.0 'scout' has been in layered mode (scout-on-soldier) since June 2021. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Jan 30, 2024
-
-
Simon McVittie authored
Remove obsolete steampipe manifests See merge request !656
-
Simon McVittie authored
populate-depot.py now generates the equivalent of these, and puts them in SteamLinuxRuntime_whatever.tar.xz. steamrt/tasks#388 Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
pressure-vessel: Look for internal Nvidia helper libraries by name See merge request !652
-
Simon McVittie authored
Stop generating and uploading steam-container-runtime.tar.gz See merge request !654
-
Simon McVittie authored
Documentation updates See merge request !655
-
Simon McVittie authored
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>
-
Simon McVittie authored
We now generate SteamLinuxRuntime.tar.xz instead. steamrt/tasks#388 Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Jan 26, 2024
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
SteamLinuxRuntime_sniper.sh: Tolerate CRLF line endings in VERSIONS.txt See merge request !653
-
Simon McVittie authored
It seems that the process of packing the runtime files into runtime_sniper_ubuntu12.zip and unpacking them on the end-user system translates (some?) text files' line endings from Unix LF to Windows CRLF, which means that a simple byte-based comparison will fail. Until we can find a better way to handle this, strip the CRs from the line endings and compare the resulting contents as text. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Jan 25, 2024
-
-
Simon McVittie authored
The Nvidia drivers have various helper libraries that get loaded as dependencies. Some of them are hard dependencies via `DT_NEEDED`, but others are loaded dynamically with `dlopen()`: for example, at the time of writing, `libGLX_nvidia.so.0` has a `DT_NEEDED` dependency on `libnvidia-glcore.so.VERSION` which is sufficient for OpenGL, but dlopens `libnvidia-glvkspirv.so.VERSION` when asked to act as a Vulkan driver. Normally, we can find these libraries by their entry in `soname_globs_even_if_older[]`, by using the `soname-match:` syntax to search `/etc/ld.so.cache` for SONAMEs matching a glob pattern like `libnvidia-glvkspirv.so.*`. This works because OS distributions normally install these libraries into the default system library directory `/usr/lib{,32,64}` or `/usr/lib/MULTIARCH`, which is indexed by ldconfig(8). However, when using Canonical's Snap apps, the Nvidia drivers can only be found in the `LD_LIBRARY_PATH`, and `soname-match:` does not implement `LD_LIBRARY_PATH` search. This leads to a situation similar to https://github.com/ValveSoftware/steam-runtime/issues/632 where these libraries are not found. The result is that the Nvidia Vulkan driver is present, but fails to load. If we can read `/sys/module/nvidia/version` (which Flatpak also relies on as its way to discover the current Nvidia driver version), then we can resolve this by looking for each of the known libraries by name. This takes into account `LD_LIBRARY_PATH` and `DT_RUNPATH`, not just the `ld.so.cache`. Making this effective will require a snapd change, to make `/sys/module/nvidia/version` readable. Helps: https://github.com/ValveSoftware/steam-runtime/issues/586 Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
pv-wrap: When running in Flatpak, forward inherited fds to subsandbox See merge request !651
-
Simon McVittie authored
When we are using steam-runtime-launch-client to set up a subsandbox for the pressure-vessel container, it is not enough to mark fds as non-O_CLOEXEC: we also need to instruct s-r-launch-client to forward them over D-Bus to flatpak-portal. We already did this for the fds managed by the FlatpakBwrap object, but not for other inherited fds. Before v0.20240103.0, all fds that we wanted to send to the remote subsandbox were managed by the FlatpakBwrap object, but this was wrong because it had the side-effect of seeking log files back to byte 0 (steamrt/tasks#370). Since v0.20240103.0, we split out some of the fds into the inherit_fds array, but we did not emit --forward-fd for those. In some situations (notably launching the SteamLinuxRuntime_sniper container for the steamwebhelper process in recent Steam client betas) this worked anyway, but it seems that this only happened by coincidence. Addresses <https://github.com/ValveSoftware/steam-runtime/issues/644> and probably <https://github.com/flathub/com.valvesoftware.Steam/issues/1235 >. Fixes: 8ee66f4c "pv-wrap: Don't register stdout, stderr, --pass-fd with FlatpakBwrap" Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Jan 24, 2024
-
-
Simon McVittie authored
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>
-
Simon McVittie authored
pv-runtime: Go back to using /run/pressure-vessel/ldso under Snap See merge request !650
-
Simon McVittie authored
In v0.20231208.0 we switched this to /var/pressure-vessel/ldso to avoid some strange behaviour under FEX-Emu. Unfortunately, snapd's AppArmor profiles make assumptions about internal implementation details of pressure-vessel, and do not currently allow /var/pressure-vessel (canonical/steam-snap#356, steam-runtime#640); and none of the maintainers or users of steam-snap seem to be using our betas, so this was only discovered when v0.20231208.0 was promoted from beta to stable. Fixing this requires snapd changes, which take a while to deploy, so temporarily work around it by going back to the previous paths when snapd is detected. Unfortunately, this also requires us to relax some checks that were put in place to check that we aren't going to regress FEX-Emu. Helps: https://github.com/canonical/steam-snap/issues/356 Helps: https://github.com/ValveSoftware/steam-runtime/issues/640 Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
populate-depot: Fix relative path to top-level regular files See merge request !649
-
- Jan 23, 2024
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
SteamLinuxRuntime_sniper.sh improvements See merge request !648
-
Simon McVittie authored
steamwebhelper will use this to keep using the steam-runtime-sniper.* names. Helps: steamrt/tasks#375 Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
steamwebhelper will use this to keep using the steam-runtime-sniper.tar.xz name. Helps: steamrt/tasks#375 Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
This will make it easier to put locking around the unpacking step, avoiding the possibility of concurrent unpacking by more than one process, which would corrupt the runtime directory. Helps: steamrt/tasks#385 Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
This avoids corrupting machine-readable output on stdout, if any. Helps: steamrt/tasks#385 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>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
steamrt/tasks#375 See !643
-
- Jan 19, 2024
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
scout-on-soldier: Cope with restructuring in yesterday's Steam client beta See merge request !647
-