- Feb 20, 2023
-
-
Simon McVittie authored
Fix regression for Vulkan layers with $LIB or $PLATFORM in their layer_path See merge request !538
-
Simon McVittie authored
Because implicit layers don't respect VK_LAYER_PATH, we rely on adding /overrides/share to $XDG_DATA_DIRS as our way to get our modified JSON manifests to be picked up. However, this will only work if all of our layers are described by manifests directly inside /overrides/share/vulkan/*_layers.d/, and putting the manifests in a subdirectory of that directory will not work. steamrt/tasks#239 Fixes: c2fd0c62 "pressure-vessel: Reuse the drivers basename" Resolves: https://github.com/ValveSoftware/steam-runtime/issues/564 Co-authored-by:
Ludovico de Nittis <ludovico.denittis@collabora.com> Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Diagnoses: https://github.com/ValveSoftware/steam-runtime/issues/564 Diagnoses: steamrt/tasks#239 Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Ludovico de Nittis authored
pv-runtime: Don't append layers to VK_DRIVER_FILES under FEX-Emu See merge request !537
-
Simon McVittie authored
Layers are not drivers, and their search path is different. Fixes: 451544d8 "Add support for FEX-Emu graphics thunking" Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Feb 16, 2023
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
pv-wrap: Temporarily provide /run/host/container-runtime See merge request !535
-
Simon McVittie authored
SDL 2.26.x doesn't detect non-Flatpak, non-Snap sandboxes correctly (a regression in 2.25.1, specifically commit e8cb4da7 "Add utility function to detect if SDL is inside a sandbox") because the path it looks for was unintentionally changed from the intended /run/host/container-manager (from systemd's Container Interface document) to /run/host/container-runtime. Until we get the fixed SDL deployed to all branches, we can easily work around this by having pressure-vessel provide both paths. steamrt/tasks#234 Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Ludovico de Nittis authored
check-vulkan: Add new error codes from Vulkan-Loader v1.3.239 See merge request !536
-
Simon McVittie authored
This fixes the build with -Werror=switch-enum on systems that have upgraded Vulkan-Loader, such as Debian 12 'bookworm'. steamrt/tasks#228 Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Feb 06, 2023
-
-
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
runtime: Always use the driver basename See merge request !534
-
Ludovico de Nittis authored
When creating the JSON manifests, we were simply naming them sequentially, as an easy way to avoid conflicts. However, since Vulkan Loader 1.3.234, it is possible to select which driver to use by listing their names in the environment variable `VK_LOADER_DRIVERS_SELECT`. This functionality would not work in pressure-vessel, unless we keep the original JSON manifest name. With this commit now we always reuse the JSON manifest basename. In the rare events where this could cause a conflict, we create unique sub directories to avoid issues. Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
-
Ludovico de Nittis authored
Be more explicit about what we are doing. Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
-
- Feb 03, 2023
-
-
Ludovico de Nittis authored
Move the creation of the directory in the same function that actually uses it. This will make it more clear what is happening and reduces the function implicit requirements. This is also a preparation step towards reusing the manifest basename, that will be added as a subsequent commit. The directories are only created when we have an ICD_KIND_ABSOLUTE because, in all the other cases, the eventual need to create the parent directories is automatically handled by `pv_runtime_take_from_provider()`. With this commit we might end up with a slightly increased number of `g_mkdir_with_parents()` calls, but the overhead should be negligible, compared to the complexity of pressure-vessel. Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
-
Ludovico de Nittis authored
Group together the various checks to make the code easier to follow. Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
-
- Jan 31, 2023
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Debian's site.py has started using modern Python features and can no longer be imported successfully by Python 3.5, making it inconvenient to keep an old copy of python3.5 installed to run these tests unless we explicitly skip import of the site module. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
We want to use this script with a local build in CI, to integrate it with the actual runtime build (for soldier/sniper) or the steam-runtime-tools build (for scout). Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
In CI builds, we often know better than `git describe` does. Change the precedence so a new --scripts-version is highest priority, then a .tarball-version file, and finally a version guessed from `git describe`. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Jan 30, 2023
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
CI: Build and upload content for Steam app 1070560 (SteamLinuxRuntime) See merge request !533
-
Simon McVittie authored
Ever since we started using the "layered" scout-on-soldier runtime (depot version 0.20210630.32, Steampipe build ID 6958552), the content of SteamLinuxRuntime has depended only on files shipped by steamrt/steamlinuxruntime>, which was merged into this project in v0.20221208.0. This means it's no longer useful to build SteamLinuxRuntime as part of the same workflows as the soldier and sniper runtimes, so we can simplify its workflow by having its version advance in lockstep with pressure-vessel. Helps: steamrt/tasks#200, steamrt/tasks#207 Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
CI: Run the old SteamLinuxRuntime CI tests in the subproject See merge request !532
-
Simon McVittie authored
runtime: Fix path_visible_in_provider_namespace() check Closes tasks#213 See merge request !531
-
Ludovico de Nittis authored
The check to ensure that the path had the prefix `sbin` was wrongly using the OR comparison instead of the AND. This meant that `path_visible_in_provider_namespace()` was returning true for every path that was under a 4 characters long directory. E.g. `home/[...]` was unexpectedly considered to be visible in the provider namespace. This check is used in `pv_runtime_take_from_provider()` to evaluate if a simple symlink would be enough or if instead the files should be copied in a directory that is visible from inside the container. Leading to possible unexpected dangling symlinks. Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
-
- Jan 26, 2023
-
-
Simon McVittie authored
This is almost certainly redundant with some of what we do in pressure-vessel, but it's a step towards fully integrating the subproject. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Jan 24, 2023
-
-
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
This makes these scripts a better template to drop into other projects. 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
This avoids warnings from newer versions of Meson. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Jan 12, 2023
-
-
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
Avoid #!/usr/bin/env bash scripts See merge request !530
-