If you try to use mangohud on an application in a different stratum, it will throw this error
ERROR: ld.so: object 'libMangoHud.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
This does not occur if both programs are in the same stratum.
Details
To reproduce (and how I have my setup working): Fetch arch, enable multilib, install yay, install mangohud via yay, then prepend mangohud to any program from another stratum you want a hud for, such as vkcube or glxgears. Ex: mangohud glxgears However, you can also reproduce the issue with the binary from the releases page of mangohud.
Summary
If you try to use mangohud on an application in a different stratum, it will throw this error
This does not occur if both programs are in the same stratum.
Details
To reproduce (and how I have my setup working): Fetch arch, enable multilib, install yay, install mangohud via yay, then prepend
mangohud
to any program from another stratum you want a hud for, such as vkcube or glxgears. Ex:mangohud glxgears
However, you can also reproduce the issue with the binary from the releases page of mangohud.Mangohud github page: https://github.com/flightlessmango/MangoHud
If you look at the page, you can see an env var option to setup logging
output_file
, this is for fps logging. Not debug logs.