- Nov 11, 2019
-
-
Simon McVittie authored
This matters when invoked as a subproject, for example by pressure-vessel, in which case we don't get -I$(top_builddir). Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
If steam-runtime-system-info is run from an unpacked LD_LIBRARY_PATH Steam Runtime, we want it to find that runtime's library expectations. This is a step towards that. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Nov 08, 2019
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
When a window system/rendering interface pair is an alias for another, we normalize the resulting SrtGraphics object. This test passes when cherry-picked to a commit prior to b3aa7bee, regressed in b3aa7bee, and is fixed by 1b7990b8. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Nov 07, 2019
-
-
Ludovico de Nittis authored
With this change we are now able to check if the used driver is GLVND or non-GLVND. This information is useful for example when steam-runtime-system-info is failing to find GLX ICDs. When this will happens we will be able to know if this is due to the use of non-GLVND driver or if there is something unexpected. Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
-
- Oct 31, 2019
-
-
Ludovico de Nittis authored
Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
-
Ludovico de Nittis authored
Some libraries like "libtheoraenc.so.1" or "libCgGL.so" assumes that you have already linked to other libraries. With this commit we add support for those situations with the concept of "hidden dependencies". Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
-
- Oct 29, 2019
-
-
Jeremy Whiting authored
Also add mock good and bad check-vulkan binaries to tests. Also add new graphics issues item for vulkan draw errors.
-
- Oct 11, 2019
-
-
Ludovico de Nittis authored
When we are in a steamrt container we log the content of the "/overrides" folder. Otherwise, if we are not in a container, we log the content of both "pinned_libs_32" and "pinned_libs_64". Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
-
- Sep 26, 2019
-
-
Simon McVittie authored
Instead of inspecting the LD_LIBRARY_PATH runtime with _srt_runtime_check(), we open-code a small partial reimplementation of that function to inspect os-release(5) and provide information about a Steam Runtime container. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
This one is a bit different because the raw field is a space-separated list. For convenience, srt_system_info_dup_os_id_like() can be asked to include the OS itself, for use in logic like this pseudocode: for id in info.dup_os_id_like(True): if id in special_cases: special_cases[id].run() break else: do_generic_behaviour() Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
This doesn't include information about similar OSs (ID_LIKE), and also does not include a fallback to lsb_release or OS-specific files. However, it's enough to detect Steam Runtime containers. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
I'm about to add a second feature that needs to fake a sysroot for test coverage. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Sep 25, 2019
-
-
Simon McVittie authored
Until now we've been conflating these two, but Timothee Besset recently clarified their status for me. ~/.steam/steam is maintained by bin_steam.sh, aka /usr/bin/steam, in which it is referred to as STEAMDATALINK. It is the data directory containing user data (cloud-synced configuration and saves), the download cache, and the default Steam Library directory. ~/.steam/root is maintained by steam.sh, in which it is referred to as STEAMROOTLINK. It is the installation directory, containing Steam executables and libraries. As a result, they are normally the same, but can differ, in particular in two situations: * When testing a new Steam client build by running client/steam.sh, client/ gets used as the installation directory, in conjunction with the existing data directory pointed to by ~/.steam/steam. This avoids having to re-login or re-download your library of games for the new test installation. * When Debian bug #916303 was present during the initial Steam installation, the Steam client was unpacked into ~/.steam, resulting in creation of ~/.steam/steam as a real directory that cannot be replaced with a symbolic link. We effectively ended up using ~/.steam as the installation path, but with ~/.steam/steam as the data path. (The Debian steam package has since been fixed, but we cannot easily disentangle existing installations.) Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Sep 24, 2019
-
-
Simon McVittie authored
This is necessary for pressure-vessel containers to support Vulkan: to be able to make the Vulkan ICDs available in the container, we have to be able to find them, bind-mount them into a suitable location, and provide corresponding ICD JSON metadata to the contained game. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Sep 16, 2019
-
-
Ludovico de Nittis authored
Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
-
- Sep 10, 2019
-
-
Simon McVittie authored
Rather than dumping this to Steam's stderr, it's more useful if we gather it up and make it available alongside all the other diagnostic information. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Sep 09, 2019
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Sep 06, 2019
-
-
Jeremy Whiting authored
Also add using vulkaninfo mock executables to graphics test.
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Sep 05, 2019
-
-
Jeremy Whiting authored
If we get exit code 124 from timeout command, give SRT_GRAPHICS_ISSUES_TIMEOUT in addition to CANNOT_LOAD.
-
- Aug 27, 2019
-
-
Simon McVittie authored
Some Steam games assume that the en_US.UTF-8 locale is available, and it's reasonably likely that others assume that the C.UTF-8 locale is available, or that the locale environment variables are set to usable values. Having checks for locale properties will also help us when experimenting with containers: we can check whether the locale that was set outside the container is available inside the container. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Aug 22, 2019
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Aug 21, 2019
-
-
Jeremy Whiting authored
Should use SRT_GRAPHICS_ISSUES_NONE, not SRT_LIBRARY_ISSUES_NONE.
-
Jeremy Whiting authored
Moved srt_check_graphics to _srt_check_graphics and made it internal. Call _srt_check_graphics from srt_system_info_check_graphics after checking if we have a cached result first. Changed graphics test to use srt_system_info to do the check_graphics tests. Pass helpers_path to _srt_check_graphics and prepend path if set. Add srt_sytem_info_check_all_graphics. In srt_system_info_check_all_graphics try each of the 4 combinations of window system and renderer and report back a GList of results. Also added to bin/steam-system-info.c using srt_system_info_check_all_graphics and outputting all found information in json format. Also added use of LD_PRELOAD environment variable. Also changed call to g_spawn_sync to search PATH so it can find -wflinfo binaries.
-
Jeremy Whiting authored
Added missing _get_multiarch_tuple and _get_issues helpers. Added test for object, good, bad and software rendering.
-
Jeremy Whiting authored
In order to test SrtGraphics on CI systems that likely aren't running X we needed a mock-graphics to return most of what wflinfo gives in different settings. Use mock-bad-wflinfo, mock-good-wflinfo and mock-software-wflinfo in srt_check_graphics. Use mock-good-wflinfo for good output, mock-bad-wflinfo for error output and mock-software-wflinfo for software rendering test output.
-
- Aug 20, 2019
-
-
Ludovico de Nittis authored
`gameoverlayrenderer.so` leads to a spammy and slow output while running `steam-runtime-system-info`. Because of this we just remove it from the `LD_PRELOAD` before calling the all the helper subrocesses. Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
-
- Aug 19, 2019
-
-
Ludovico de Nittis authored
Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
-
- Aug 15, 2019
-
-
Simon McVittie authored
We can use this to connect up a mock implementation if necessary. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Ludovico de Nittis authored
Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
-
- Aug 13, 2019
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Aug 12, 2019
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Aug 06, 2019
-
-
Ludovico de Nittis authored
Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
-
Simon McVittie authored
This has become less an example and more a command-line driver for the library, so rename it accordingly. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Ludovico de Nittis authored
examples/system-info.c now prints a JSON object containing all the available API of steam-runtime-tools. Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
-
- Aug 02, 2019
-
-
Simon McVittie authored
These are implied by some other header on Debian 10, but not on SteamRT 1. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Ludovico de Nittis authored
This provides a high-level API to wrap SrtLibrary and check if the current system has the expected libraries and symbols. Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
-
- Jul 29, 2019
-
-
Simon McVittie authored
This provides a high-level API, with a cache to prevent repeated calls to helpers. It does not yet wrap SrtLibrary or do anything with the expectations directory. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-