MangoHud: MangoHud doesn't work globally on Vulkan and OpenGL

I asked on https://github.com/flightlessmango/MangoHud/issues/483 some weeks ago,if there is a way to do that,but then I forgot about it,but yesterday I wanted to try it out and it didn’t work. My .profile looks like this:

export LD_PRELOAD=/usr/lib/libMangoHud.so
export MANGOHUD_DLSYM=1
export MANGOHUD=1
export GTK_CSD=0
export LD_PRELOAD=/usr/lib/libgtk3-nocsd.so.0
export CLUTTER_BACKEND=wayland
export GTK_USE_PORTAL=1

and the relevant things are:

export LD_PRELOAD=/usr/lib/libMangoHud.so
export MANGOHUD_DLSYM=1
export MANGOHUD=1

I tried it with a vulkan game and that worked,but it doesn’t with OpenGL games. I am using arch kde,it doesn’t work on xorg and wayland. The games I tested work when I manually start them with “mangohud MANGOHUD_DLSYM=1 MANGOHUD=1”. So what do I do wrong? Other LD_PRELOAD Env Vars work.

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 15 (3 by maintainers)

Most upvoted comments

export LD_PRELOAD=/usr/lib/libMangoHud.so
...
export LD_PRELOAD=/usr/lib/libgtk3-nocsd.so.0

You’re overwriting. Also… just don’t.