- Sep 06, 2019
-
-
Simon McVittie authored
Add calling vulkaninfo to get vulkan device and version. See merge request steam/steam-runtime-tools!44
-
Jeremy Whiting authored
Also add using vulkaninfo mock executables to graphics test.
-
Jeremy Whiting authored
TODO: Add a mock-vulkaninfo to use for graphics test.
-
Jeremy Whiting authored
Add more preconditions for window system/rendering interface combinations See merge request steam/steam-runtime-tools!47
-
Jeremy Whiting authored
When executing graphics helpers use timeout command to kill if needed. See merge request steam/steam-runtime-tools!46
-
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
The historical libGL.so.1 interface combines the GLX windowing system with "desktop" OpenGL, with no way to disentangle the rendering interface from the windowing system. wflinfo accepts the combination of --platform glx with --api gles2, but as can be seen from the resulting version string, it is actually printing information about "desktop" OpenGL instead. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
EGL is specifically for OpenGL and OpenGL ES, so when we add Vulkan (or, hypothetically, other rendering interfaces), it would make no sense to request EGL_X11 in combination with a non-GL-based window system. The only combination that makes sense for Vulkan in the short term is (X11, VULKAN); if we later add support for non-X11 windowing systems like Wayland, then (WAYLAND, VULKAN) would also make sense. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
We should fail early if the argument cannot possibly be a valid window system or rendering interface. The valid window systems are in the range 0 <= window_system < SRT_N_WINDOW_SYSTEMS, and the valid rendering interfaces follow the same pattern. 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 28, 2019
-
-
Simon McVittie authored
Add checks for locales and locale-related issues See merge request steam/steam-runtime-tools!45
-
- 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>
-
Jeremy Whiting authored
Add a build that uses clang, scan-build and UBSan See merge request steam/steam-runtime-tools!41
-
Jeremy Whiting authored
helpers: Depend on waffle-utils-multiarch See merge request steam/steam-runtime-tools!43
-
Jeremy Whiting authored
graphics: Include string.h, for strstr See merge request steam/steam-runtime-tools!42
-
Simon McVittie authored
We need xyz-linux-gnu-wflinfo for each supported architecture. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Using clang here isn't very important, but it might give us some extra compiler warnings that gcc wouldn't. ASan will detect memory leaks and other memory corruption, UBSan will detect other badness, and scan-build might give us some helpful warnings from static analysis. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
This is included by some other header in Debian 10, but not in scout. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Previously we used scout for all stages except build, which had the same practical effect, but this way round scales better if we want to run things like scan-build in a modern environment. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Jeremy Whiting authored
Fix memory leaks See merge request steam/steam-runtime-tools!40
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Jeremy Whiting authored
Move static assertion to the place where it matters See merge request steam/steam-runtime-tools!38
-
Jeremy Whiting authored
system-info: Add missing GObject-Introspection annotation See merge request steam/steam-runtime-tools!39
-
Simon McVittie authored
We aren't really relying on GObject-Introspection in this project, but it can be a useful tool for rapid prototyping in Python or Javascript, and it also forces us to provide C APIs that match GLib conventions and are easy to reason about. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Otherwise it confuses gtk-doc's C parser. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Add SrtGraphics wrapper to wrap graphics checker. See merge request steam/steam-runtime-tools!24
-
- 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
Also remove references to GPL since helpers licensed as gpl are removed. Also remove bits about GPL 2 from debian copyright. Also remove unused gnome-session-check-accelerated-common.h file. Also remove no longer used dependencies from debian/control.
-
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.
-
Jeremy Whiting authored
SrtGraphics is gobject shaped and gives a public interface to check graphics capabilities for different window systems and renderers. Use wflinfo binaries for checking gl and gles. If llvmpipe renderer is used, set SOFTWARE_RENDERING issue flag.
-
- Aug 20, 2019
-
-
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: Fix buffer underrun if version.txt is empty See merge request steam/steam-runtime-tools!37
-