- Jan 26, 2021
-
-
Simon McVittie authored
check-vulkan: Fix compilation on Steam Runtime 1½ 'heavy' See merge request !230
-
Simon McVittie authored
heavy is still on Vulkan loader v1.1.73, which doesn't know VK_ERROR_INVALID_DRM_FORMAT_MODIFIER_PLANE_LAYOUT_EXT. 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
check-vulkan: Temporarily print JSON details of GPUs to stderr See merge request !229
-
Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
-
Simon McVittie authored
When the corresponding code in SrtGraphics is ready, we can parse the JSON on stdout and produce machine-readable output from steam-runtime-system-info. However, until we have that, human-readable output is better than nothing. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Jan 25, 2021
-
-
Ludovico de Nittis authored
Represent diagnostic messages as arrays See merge request !227
-
Simon McVittie authored
Various improvements to check-vulkan See merge request !222
-
Simon McVittie authored
A single line with escaped newlines is unnecessarily hard to read. This repurposes code that we already had for printing a udev uevent pseudo-file in this way. We retain the ability to parse old s-r-s-i output in which the diagnostic messages were a string: the intended meaning is fairly obvious. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
The reference is now the man page. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Ludovico de Nittis authored
system-info: Log more influential environment variables See merge request !223
-
Ludovico de Nittis authored
When we call the check-vulkan helper we will have in output information about all the available physical GPUs and also a separate JSON object that tells us if the GPU 0 is able to draw the triangle test. Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
-
- Jan 21, 2021
-
-
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
Backport the new json_from_string() function See merge request !224
-
Ludovico de Nittis authored
JSON-GLib 1.2.0 introduced a new function called `json_from_string()`. It is an handy function that allows us to obtain a jsonNode with just a single operation. This function had to be backported, and modified a little, because we are targeting Scout that has an older JSON-GLib version that misses both `json_from_string()` and `json_parser_steal_root()` (that was used in `json_from_string()`). Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
-
Ludovico de Nittis authored
Without this knowledge, `_srt_find_myself()` will fail to return the right prefix for statically-linked installed tests. Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
-
Simon McVittie authored
xdg-portal: Guard against a possible NULL local_error See merge request !225
-
Ludovico de Nittis authored
Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
-
- Jan 20, 2021
-
-
Ludovico de Nittis authored
Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
-
Ludovico de Nittis authored
Our entire codebase is in C with the only exception for check-vulkan and check-gl. They were coded in C++ because they were based on pre-existing codes. Converting check-vulkan in C allows us to conform it to the rest of our codebase and also it will be easier to expand its functionalities, like for example as outlined in #50. Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
-
Ludovico de Nittis authored
If it's not zero-initialized, it could lead to a SEGV when we try to create the XCB surface. Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
-
Ludovico de Nittis authored
Improve container detection See merge request !220
-
- Jan 18, 2021
-
-
Simon McVittie authored
wrap: parse env-if-host options as filenames instead of strings Closes #52 See merge request !221
-
Ludovico de Nittis authored
If we parse the "env-if-host" options as "G_OPTION_ARG_STRING_ARRAY", Glib assumes them to be encoded with the current locale. This can be an issue when pressure-vessel needs to run the main game, because Steam will set "LC_ALL=C", but the "env-if-host" might still contain characters that are not ASCII. To solve this we use "G_OPTION_ARG_FILENAME_ARRAY" that treats the options as opaque byte-blobs. Fixes: #52 Fixes: steam-runtime#349 Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
-
- Jan 14, 2021
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Podman is a lot like Docker, but can run unprivileged. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
See <https://systemd.io/CONTAINER_INTERFACE/ > for details. Recent versions of flatpak and pressure-vessel support this. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Jan 13, 2021
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Ludovico de Nittis authored
runtime: Use bwrap->envp to run readlink See merge request !219
-
Simon McVittie authored
Previously, pv_capture_output() always inherited pressure-vessel-wrap's own environment, and bwrap->envp was ignored. Thanks to @mawww on Github for spotting this. Fixes: f584a55c "runtime: Don't assume container's env is in the PATH" Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Look for runtimes in PRESSURE_VESSEL_VARIABLE_DIR See merge request !216
-
Simon McVittie authored
Making this configurable as an environment variable will help us to move the logic for unpacking and GC'ing runtimes from SteamLinuxRuntime shell scripts into pressure-vessel C code. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Making this configurable as an environment variable will help us to move the logic for unpacking and GC'ing runtimes from SteamLinuxRuntime shell scripts into pressure-vessel C code. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Jan 12, 2021
-
-
Ludovico de Nittis authored
Implement the container indicator from systemd's CONTAINER_INTERFACE See merge request !215
-
Simon McVittie authored
This is a container-manager-agnostic version of probing /.flatpak-info and /run/pressure-vessel. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Ludovico de Nittis authored
runtime: Create symlinks for various distros' ld.so.cache equivalents See merge request !218
-