- Apr 20, 2020
-
-
Ludovico de Nittis authored
Add a check similarly to the VDPAU one that we already have. Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
-
Ludovico de Nittis authored
Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
-
Ludovico de Nittis authored
We use the automated VDPAU check to add an entry in the steam-runtime-system-info report. Also `check-vdpau` has a new option `--verbose` that prints additional info about the driver in use. Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
-
- Apr 10, 2020
-
-
Ludovico de Nittis authored
VDPAU modules can be loaded in three different ways: - Using VDPAU_DRIVER_PATH environment variable, if set: ${VDPAU_DRIVER_PATH}/libvdpau_${VDPAU_DRIVER}.so.1 - Using VDPAU_MODULEDIR that evaluates to something like: /usr/lib/${multiarch}/libvdpau_${VDPAU_DRIVER}.so.1 - dlopening the bare filename libvdpau_${VDPAU_DRIVER}.so This commit tries to cover the third way that was still missing. Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
-
- Apr 06, 2020
-
-
Ludovico de Nittis authored
The python import fix has been taken from pressure-vessel. Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
-
- Apr 03, 2020
-
-
Signed-off-by:
Simon McVittie <smcv@collabora.com> Co-authored-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
-
- Mar 12, 2020
-
-
Ludovico de Nittis authored
Ubuntu 16.04 is older than GLVND and it places Mesa loaders in ${libdir}/mesa and the DRIs in ${libdir}/dri. So if we find a loader in a path that ends with "/mesa" we try to look one directory above. Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
-
- Mar 10, 2020
-
-
Ludovico de Nittis authored
"srt_dri_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>
-
Ludovico de Nittis authored
"srt_va_api_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>
-
Ludovico de Nittis authored
Reduce code duplication and improve readability. Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
-
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
-
-
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>
-
- 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.
-
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>
-
- Feb 12, 2020
-
-
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>
-
- Jan 09, 2020
-
-
Previously we were listing only ICDs (graphics drivers). With this commit we are now able to get a more complete vision of the running system listing also Mesa DRI and VA-API drivers. Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
-
- Jan 08, 2020
-
-
Simon McVittie authored
If a GLib function that raises an error fails unexpectedly during testing, it's a lot more informative to see an assertion failure that includes details of the error, rather than just the boolean result. For a conventional GLib function we should not look at the "out" parameters until we have checked that the function was successful. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Dec 05, 2019
-
-
Jeremy Whiting authored
-
Jeremy Whiting authored
-
Jeremy Whiting authored
If helper times out or is killed we report the exit_status of the helper and terminating_signal if it was terminated. Tested locally by making wflinfo symlink point to hanging mock test. Will add unit tests in next commit. Also added SRT_LIBRARY_ISSUES_TIMEOUT for timeout result.
-
- Nov 20, 2019
-
-
Jeremy Whiting authored
Also added mock-mixed gl test to test scenario of wflinfo working but check-gl failing.
-
- Nov 08, 2019
-
-
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>
-
- 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.
-
- Sep 26, 2019
-
-
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 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 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 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.
-