Nuke MANGOHUD_DLSYM

[skip actions]
pull/1001/head
jackun 1 year ago
parent d41a74ca1a
commit cac664bef1
No known key found for this signature in database
GPG Key ID: 119DB3F1D05A9ED3

@ -262,7 +262,7 @@ Or alternatively, add `MANGOHUD=1` to your shell profile (Vulkan only).
## OpenGL
OpenGL games may also need `dlsym` hooking. Add `--dlsym` or `MANGOHUD_DLSYM=1` env var to your command like `mangohud --dlsym %command%` for Steam.
OpenGL games may also need `dlsym` hooking. Add `--dlsym` to your command like `mangohud --dlsym %command%` for Steam.
Some Linux native OpenGL games overrides LD_PRELOAD and stops MangoHud from working. You can sometimes fix this by editing LD_PRELOAD in the start script
`LD_PRELOAD=/path/to/mangohud/lib/`

@ -11,7 +11,6 @@ fi
MANGOHUD_LIB_NAME="@ld_libdir_mangohud@libMangoHud.so"
if [ "$1" = "--dlsym" ]; then
MANGOHUD_DLSYM=1
MANGOHUD_LIB_NAME="@ld_libdir_mangohud@libMangoHud_dlsym.so:${MANGOHUD_LIB_NAME}"
shift
fi

Loading…
Cancel
Save