- Apr 21, 2021
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Remove unused vulkaninfo, vainfo dependencies See merge request !299
-
Simon McVittie authored
Spotted by Ludovico de Nittis. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
We never actually ran this, because it doesn't have machine-readable output. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
We now use our own check-vulkan executable instead of vulkaninfo, because it can give us more machine-readable information about non-default GPUs. A side benefit is one less dependency. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Ludovico de Nittis authored
pressure-vessel: Avoid checking for duplicate Vulkan layers See merge request !298
-
- Apr 20, 2021
-
-
Simon McVittie authored
utils: Create _srt_filter_gameoverlayrenderer_from_envp() See merge request !296
-
Simon McVittie authored
We don't actually need this information, and it has a significant startup time cost with a cold cache. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Ludovico de Nittis authored
With this new function we can avoid repeating the same code over and over. Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
-
- Apr 19, 2021
-
-
Simon McVittie authored
CI: Update populate-depot to latest version See merge request !294
-
Simon McVittie authored
The latest version in SteamLinuxRuntime requires a ${source_dir}/common directory available. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
This avoids the depot being a mixture of source files and generated files. Signed-off-by:
Simon McVittie <smcv@collabora.com> (originally steamlinuxruntime@f36fbcda)
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com> (originally steamlinuxruntime@3f821430)
-
(originally steamlinuxruntime@fa634281)
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com> (originally steamlinuxruntime@13ae83de)
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com> (originally steamlinuxruntime@0c0e1b3a)
-
Ludovico de Nittis authored
Simplify Flatpak support See merge request !293
-
- Apr 16, 2021
-
-
Simon McVittie authored
We did this as a very early prototype, but it never fully worked, and required configuring Flatpak specially to allow Steam to escape from the sandbox (which obviously undermines Flatpak's intended sandboxing). Now that we've implemented the features we need in Flatpak's sub-sandboxing code, we have a better way to handle this, and can simplify the code by not trying to have it both ways. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
At the moment we assume it's just "bwrap" when using Flatpak, but when we stop supporting the Flatpak sandbox escape code path, that will become meaningless. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
The Steam Flatpak app can't have this property set by default until the Flatpak version used to build apps on Flathub's buildbot supports it, but we need it (either that or --device=shm, but --device=shm weakens the sandbox). Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Everything we need is in Flatpak git master now, so we don't need to allow for people who have patched their Flatpak with my WIP versions of the same code. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
All the features we need seem to have been merged into Flatpak git master. If people are running a git snapshot, let's assume it's the right git snapshot. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Apr 15, 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
Improve Flatpak sub-sandboxing support See merge request !292
-
- Apr 14, 2021
-
-
Simon McVittie authored
For a working Steam overlay, we need either a per-app-ID /dev/shm (flatpak#4214), or /dev/shm shared with the host. Similarly, for a working Steam overlay web browser, we need either a per-app-ID /tmp (flatpak#4093), or /tmp shared with the host. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Now that we're parsing /.flatpak-info, we can check whether we are able to talk to the session helper to run arbitrary code on the host. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Now that the ability to specify a custom path for /usr and /app has been merged into Flatpak git master, we can mostly assume that if the user has a git snapshot of Flatpak, they have that feature available. 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
wrap.c is too big, and main() in particular is too big, so anything we can reasonably factor out here is quite welcome. 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>
-
Ludovico de Nittis authored
runtime: Don't set PulseAudio as default if PULSE_SERVER isn't set See merge request !291
-
- Apr 13, 2021
-
-
Simon McVittie authored
Since !269, on systems where PulseAudio is available, we set PULSE_SERVER to a suitable non-empty value, and "lock" it into the environment to avoid it getting overridden by pressure-vessel-launch (in use-cases where we're using that). We also create an /etc/asound.conf in the container's namespace that will make PulseAudio the default for applications that use the ALSA user-space library libasound.so.2, such as Shadowrun Returns. Conversely, on systems where PulseAudio is *not* available (for example where the system is using plain ALSA), we "lock" PULSE_SERVER to a null value so that we will actively remove it from the environment if set. However, this caused a regression: we created /etc/asound.conf based on whether PULSE_SERVER was "locked", which effectively meant this was done unconditionally. An /etc/asound.conf that configures PulseAudio to be the default is not going to work on non-PulseAudio systems. Instead of checking whether PULSE_SERVER is "locked", check whether it's null. This has the desired effect: we configure PulseAudio to be the default if and only if we detected that it's available. Helps: https://github.com/ValveSoftware/steam-runtime/issues/344 Helps: https://github.com/ValveSoftware/steam-runtime/issues/384 Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
runtime: Search for libdrm_amdgpu.so.1 instead of libdrm.so.2 See merge request !290
-
Simon McVittie authored
runtime: Correctly handle data dirs when in a Flatpak environment See merge request !289
-
Ludovico de Nittis authored
libdrm.so.2 is not included in the freedesktop.org GL Platform runtime and this leads us to search for the libdrm directory in the wrong place. For this reason we first look at libdrm_amdgpu.so.1 and use libdrm.so.2 as a fallback. Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
-