Improve how we collect DRI drivers
- Dec 14, 2020
-
-
Simon McVittie authored
This means we use all the search paths that steam-runtime-tools knows about, and in particular we respect LIBGL_DRIVERS_PATH and a Slackware-specific path. It also means we stop collecting "extra" drivers, which is potentially dangerous, as justified in the previous commit. Resolves: https://github.com/ValveSoftware/steam-runtime/issues/318 Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
These are drivers for which our best guess is that the native loader would not actually load them. We want to include them in steam-runtime-system-info's diagnostic output in case we are wrong, but we don't want to include them in the container: if our guess is correct, then the host system doesn't actually load them, and the worst-case scenario is that they are somehow broken, in which case adding them to the search path might *break* the container. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Dec 11, 2020
-
-
Simon McVittie authored
We can make life easier for the VA-API and VDPAU driver loaders by trying to put everything in one directory, as we already do for DRI. We might as well do the same for Vulkan and EGL, where the names we choose are completely arbitrary anyway. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Instead of building a list of drivers and then converting it into a search path, we can build the search path as we go. The only side-effect is that previously we interleaved x86_64 and i386 paths, but now we put all the x86_64 paths before all the i386 paths. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
We need those to be able to deal with some graphics drivers. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Slackware puts DRI drivers here. Partially addresses https://github.com/ValveSoftware/steam-runtime/issues/318 Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Now that we have a backport of this function, we don't need to use a simplified version. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Because capsule-capture-libs doesn't overwrite existing symbolic links, in the unlikely event that s2tc exists in more than one directory in the search path, we want to look at the highest-precedence first. The reversed order was correct for the current implementation of collecting DRI drivers, but not for s2tc. 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
This hasn't been true since af22427b. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-