virtualx-engine/platform/x11
Rémi Verschelde 03dda90ddd Linux: Fix PRIME detection on Steam
To avoid trying to do PRIME detection on fake `libGL.so` as used by e.g.
Renderdoc or Primus, we skip detection if there's a `libGL.so` in
`LD_LIBRARY_PATH`... and our luck is that Steam defines it and includes
system paths too, thus the actual system `libGL`... 🤦

So if we detect Steam, we skip this check.

Co-authored-by: Hein-Pieter van Braam-Stewart <hp@tmm.cx>

(cherry picked from commit 562b1cd2cda2098e62c7501dae87393def99c23a)
2021-03-08 16:03:24 +01:00
..
export Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
context_gl_x11.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
context_gl_x11.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
crash_handler_x11.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
crash_handler_x11.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
detect.py add msan sanitizer option for linus/bsd, lsan option for osx 2021-03-04 11:33:35 +01:00
detect_prime.cpp Add 'AMD' GPU vendor name to PRIME detector 2021-02-20 02:03:05 +01:00
detect_prime.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
godot_x11.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
joypad_linux.cpp Modernize atomics 2021-02-18 12:23:25 +01:00
joypad_linux.h Modernize atomics 2021-02-18 12:23:25 +01:00
key_mapping_x11.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
key_mapping_x11.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
libudev-so_wrap.c Dynamically load libudev.so.1 on Linux if udev=yes 2021-02-18 10:31:31 +01:00
libudev-so_wrap.h Dynamically load libudev.so.1 on Linux if udev=yes 2021-02-18 10:31:31 +01:00
logo.png
os_x11.cpp Linux: Fix PRIME detection on Steam 2021-03-08 16:03:24 +01:00
os_x11.h Modernize Thread 2021-02-18 11:58:08 +01:00
pck_embed.ld Fix error exporting to X11 with embedded PCK 2020-01-16 17:47:37 +01:00
pck_embed.legacy.ld Fix error exporting to X11 with embedded PCK 2020-01-16 17:47:37 +01:00
platform_config.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
platform_x11_builders.py SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
power_x11.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
power_x11.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
SCsub Dynamically load libudev.so.1 on Linux if udev=yes 2021-02-18 10:31:31 +01:00