system-info: Record more environment variables
-
tests: Don't look at the real environment for driver_environment()
If one of the variables we are interested in happens to be set already, and doesn't get overridden, then the test will fail. For example,
DRI_PRIME=1 meson test -C _build
would fail.This will become a lot more likely to happen when I start logging ubiquitous environment variables like
DISPLAY
.We can't just set envp = NULL initially, because g_environ_setenv() in Ubuntu 12.04 won't accept NULL as a valid environment block (although newer versions do).
-
system-info: Record environment variables that influence SDL, Wine, Steam
Inspired by https://github.com/ValveSoftware/steam-runtime/issues/357 which turned out to be a distro patch from a version of Slackware that didn't support PulseAudio, forcing SDL to use ALSA even though the user had upgraded to a version of Slackware that does support PulseAudio.
Various environment variables set by the Steam package on Flathub are also included.
-
system-info: Record environment variables that influence PulseAudio