- Apr 09, 2021
-
-
Ludovico de Nittis authored
When we need to run the main executable for a game, Steam usually appends to the LD_PRELOAD the 32-bit and 64-bit version of gameoverlayrenderer.so However this leads to multiple warnings in the pressure-vessel log because ld.so will complain that it was not able to preload the 32-bit (or 64-bit) version of the library that was requested. To prevent that, we remove the game overlay library from LD_PRELOAD and we let pressure-vessel put it back when necessary, with the adjusted path that avoids preloading warnings. Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
-
- Mar 16, 2021
-
-
Simon McVittie authored
Separate source and generated depot files, improve documentation See merge request !35
-
- Mar 12, 2021
-
-
Simon McVittie authored
Refer to the bug reporting information and known issues, and replace details of how to activate the scout SDK with a simpler approach. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Information that is appropriate for scout is not necessarily appropriate for soldier and vice versa. 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>
-
- Mar 09, 2021
-
-
Simon McVittie authored
Make pressure-vessel-wrap responsible for unpacking runtimes See merge request !32
-
- Feb 23, 2021
-
-
Simon McVittie authored
This simplifies the startup scripts a lot: deploy-runtime and run-in-steamrt no longer need to exist (although I've left behind stub versions to make it easier to switch between versions during testing), and we are not trying to do locking from shell script code. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Feb 17, 2021
-
-
Ludovico de Nittis authored
Don't redirect stdout to log under PRESSURE_VESSEL_BATCH Closes #6 See merge request !31
-
Simon McVittie authored
This avoids redirecting the steam-runtime-system-info machine-readable output, or the output of pre-launch setup commands for Proton games. Resolves: #6 Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Jan 13, 2021
-
-
Ludovico de Nittis authored
Unpack runtimes into var/ by default See merge request !29
-
Simon McVittie authored
The log is a variable file, so let's move it into the subdirectory. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
This draws a line between the static parts of SteamLinuxRuntime (managed by Steam) and the runtime-modified parts (managed by SteamLinuxRuntime). Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Jan 08, 2021
-
-
Simon McVittie authored
_v2-entry-point: use the relaunch container option by default See merge request !28
-
Ludovico de Nittis authored
The relaunch container option allows us to correctly handle the final environment variables from the main program, because we don't know them in advance, when we create the container for the setup steps. The downside is a potentially increased startup time. Until we enable this by default it would be very difficult to estimate the real impact that this option could have on real world systems. Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
-
- Jan 05, 2021
-
-
Ludovico de Nittis authored
Improve logging See merge request !27
-
Simon McVittie authored
It's distracting to see messages about gameoverlayrenderer all over the place. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
This will be enabled if we are writing a log. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
_v2-entry-point: Add support for pressure vessel log file See merge request !26
-
- Jan 04, 2021
-
-
Ludovico de Nittis authored
With this change it should be easier for users to gather the necessary logs when filing an issue report. They can now just launch Steam with "STEAM_LINUX_RUNTIME_LOG=1", and optionally also "STEAM_LINUX_RUNTIME_VERBOSE=1", and a log file will be created in their Scout/Soldier install directory. Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
-
Ludovico de Nittis authored
With the new "STEAM_LINUX_RUNTIME_VERBOSE" it should be more clear that we are enabling the verbose logs for all the Steam Linux Runtime components, instead of just pressure-vessel. Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
-
- Dec 10, 2020
-
-
Ludovico de Nittis authored
Improve error behaviour See merge request !25
-
Ludovico de Nittis authored
run-in-steamrt: If run inside Flatpak, don't force copy mode forever See merge request !24
-
Simon McVittie authored
This creates a lot of noise on stderr if we're in verbose mode, but is not actually useful. By silencing it, we can have the actual problem appear more prominently. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
If starting the container failed the first time we tried it, there's no point in trying again repeatedly. Unfortunately, when Steam runs setup commands, it ignores their exit status, so we can't make it give up early. Because the main game runs in a slightly different environment, it's possible that it might succeed even when setup commands fail, and it's also possible that launch options are making it more verbose or debuggable, so try harder to start that one. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Dec 07, 2020
-
-
Simon McVittie authored
When sharing a Steam library directory between Flatpak and non-Flatpak instances of Steam, just because we have to activate PRESSURE_VESSEL_COPY_RUNTIME_INTO for Flatpak, that doesn't necessarily mean we want to do the same in the non-Flatpak case. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Dec 04, 2020
-
-
Simon McVittie authored
Optionally shut down and relaunch container See merge request !23
-
- Dec 03, 2020
-
-
Simon McVittie authored
The waitforexitandrun verb is the first opportunity we get to know what our final environment variables are. It's also the first time we get run under "adverb" wrappers, if any, such as taskset. Proton uses a single set of Wine services to run the setup commands, then shuts them down and relaunches everything for the actual game; we can do similarly here. However, the startup time cost of doing this could be significant, so it's currently off by default so that we can experiment with it. Run with PRESSURE_VESSEL_RELAUNCH_CONTAINER=1 to try it. Partially addresses steam-runtime#304. Resolves: T25223 Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
If we don't find the socket, we are not going to be able to communicate with the launcher, so we had better try to terminate it, print an error message and exit. Partially addresses steam-runtime#300. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
This is used for transient copies of the runtime (in some modes) and might be used for logging later. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
deploy-runtime: If available, automatically unpack the debug symbols See merge request !22
-
Ludovico de Nittis authored
This will make it easier to start debugging programs inside the container. Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
-
- Nov 24, 2020
-
-
Simon McVittie authored
_v2-entry-point: Support custom LD_LIBRARY_PATH from game launch options See merge request !19
-
When a game is launched with a custom launch option as: "LD_LIBRARY_PATH="/my_libs:${LD_LIBRARY_PATH}" %command%" we want to treat /my_libs as if it were part of the OS-level search path. Instead of overloading "SYSTEM_LD_LIBRARY_PATH", this patch introduces a new, more appropriate, environment variable called "PRESSURE_VESSEL_APP_LD_LIBRARY_PATH". Please note that "PRESSURE_VESSEL_APP_LD_LIBRARY_PATH" will also contain the system paths that are coming from `ldconfig` (added by the "run.sh" script). Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
-
- Nov 18, 2020
-
-
Ludovico de Nittis authored
scripts: Don't assume bash is at /bin/bash See merge request !21
-
- Nov 17, 2020
-
-
Simon McVittie authored
Apparently NixOS puts it somewhere else, although it does at least concede that a path other than /usr/bin for env is doomed to failure. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Oct 29, 2020
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
_v2-entry-point: Check whether launch_args is empty before use See merge request !20
-
- Oct 26, 2020
-
-
Simon McVittie authored
In newer versions of bash, an empty array counts as having been set, and can be dereferenced as `"${array[@]}"` without triggering `set -u`. However, in older versions, empty arrays count as being unset, and the entry point script fails with `launch_args[@]: unbound variable`. Resolves: https://github.com/ValveSoftware/steam-runtime/issues/284 Signed-off-by:
Simon McVittie <smcv@collabora.com>
-