- Mar 10, 2020
-
-
Ludovico de Nittis authored
"srt_vdpau_driver_get_library_path" might return a relative path. Instead with this new function we will be sure to receive an absolute path to the driver. Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
-
- Mar 06, 2020
-
-
Simon McVittie authored
This lets us do self-hosting releases from SteamRT 1 'scout'. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Gbp-Dch: ignore Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Ludovico de Nittis authored
Enumerate GLVND GLX ICDs - Alternative solution See merge request steam/steam-runtime-tools!101
-
Ludovico de Nittis authored
When listing graphics drivers now we also list GLX ICDs, such as libGLX_mesa.so.0 and libGLX_nvidia.so.0. Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
-
Simon McVittie authored
Run wflinfo and check-gl a second time if it fails the first time with LIBGL_DEBUG set to verbose. T16560 See merge request steam/steam-runtime-tools!102
-
Simon McVittie authored
system-info: Add basic container detection See merge request steam/steam-runtime-tools!108
-
Simon McVittie authored
This only detects the container technologies we are most interested in right now: pressure-vessel, Flatpak and Docker. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Mar 05, 2020
-
-
Jeremy Whiting authored
Also add message test to test_mixed_vulkan.
-
Jeremy Whiting authored
Add assertions based on new error outputs expected.
-
Jeremy Whiting authored
-
Jeremy Whiting authored
At the moment we run wflinfo with no special environment variables. Which is what we want when it's successful since setting LIBGL_DEBUG=verbose adds harmless things like libGL: Can't open configuration file /etc/drirc: No such file or directory. So if wflinfo returns any other than valid status run it again with LIBGL_DEBUG=verbose set in the environment.
-
Simon McVittie authored
Combine common code for dealing with graphics modules Closes #8 See merge request steam/steam-runtime-tools!109
-
Simon McVittie authored
Resolves: #8 Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
It's feeling increasingly odd to manipulate this via environment variables, so make it its own struct member. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
We'll need this when the fake home directory sets more parameters than just the environment. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Add check-va-api helper See merge request steam/steam-runtime-tools!105
-
Simon McVittie authored
Move rm_rf to utils.c See merge request steam/steam-runtime-tools!110
-
Ludovico de Nittis authored
The recursively deletion of directories can be used also outside our tests. Moving this function to `utils.c` will allow us to reuse it without duplicating code. Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
-
Ludovico de Nittis authored
With this helper we are able to test if VA-API is available and usable. It tests the ability to gather the supported configuration profiles, then it creates two surfaces and perform a few simple rendering transformations. Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
-
- Mar 04, 2020
-
-
Simon McVittie authored
Refactor bin/system-info See merge request steam/steam-runtime-tools!106
-
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
This means pressure-vessel branches that need the new VDPAU enumeration code can check for this prerelease. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Mar 03, 2020
-
-
Simon McVittie authored
Use loops to reduce build-system repetition See merge request steam/steam-runtime-tools!104
-
- Feb 27, 2020
-
-
Simon McVittie authored
To reduce repetition. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
It doesn't really matter which one people use. GNOME/GLib projects seem to have chosen _build, which is the preferred build directory for pressure-vessel (where it sometimes matters, because add-relocatable-install.py needs to know how to exclude it). However, Mesa suggests build, debhelper uses obj-$(GNU_TUPLE), and Meson tutorials suggest builddir. Let's ignore all of them. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Add check-vdpau helper See merge request steam/steam-runtime-tools!103
-
Ludovico de Nittis authored
With this helper we are able to test if VDPAU is available and usable. It is a simple test that renders a 4x4 surface and checks that the output is what we expected. Exit code is 0 on success. Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
-
- Feb 12, 2020
-
-
Simon McVittie authored
Enumerate VDPAU drivers See merge request steam/steam-runtime-tools!100
-
Ludovico de Nittis authored
Similarly to the already present Mesa DRI and VA-API drivers, now we are listing also VDPAU modules. Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
-
- Feb 11, 2020
-
-
Simon McVittie authored
Log driver-selection environment variables See merge request steam/steam-runtime-tools!99
-
- Feb 10, 2020
-
-
Ludovico de Nittis authored
Some drivers have an environment variable that overrides the automatic detection of which driver should be used. For example Mesa has `MESA_LOADER_DRIVER_OVERRIDE`, VA-API has `LIBVA_DRIVER_NAME` and so on. We now log these environment variables in the s-r-s-i output to have a move complete view about the state of the running system. Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
-
Simon McVittie authored
meson: remove redundant Wall and Wextra flags See merge request steam/steam-runtime-tools!98
-
- Feb 03, 2020
-
-
Ludovico de Nittis authored
Move indirect_strcmp0 to utils and rename it to _srt_indirect_strcmp0. In this way we will be able to reuse this function in places other than graphics.c Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
-
Ludovico de Nittis authored
Using the "warning_level=2" mesa option both "Wall" and "Wextra" are already set by default. With this commit we also get rid of the compiler warnings: meson.build:117: WARNING: Consider using the built-in warning_level option instead of using "-Wall". meson.build:117: WARNING: Consider using the built-in warning_level option instead of using "-Wextra". Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
-
- Jan 20, 2020
-
-
Simon McVittie authored
Fix flags behaviour See merge request steam/steam-runtime-tools!97
-