Is there any way to use mangohud globally for OpenGL applications?
My .bash_profile looks like this:
#
# ~/.bash_profile
#
[[ -f ~/.bashrc ]] && . ~/.bashrc
export LD_PRELOAD=/usr/lib/libMangoHud.so:/usr/lib32/libMangoHud.so
export MANGOHUD_DLSYM=1
export MANGOHUD=1
export CLUTTER_BACKEND=wayland
export GTK_USE_PORTAL=1
and mangohud works for all Vulkan games globally,but not for OpenGL games globally. Even when I put it in .profile,then it still doesn't work. It is frustrating that I can't get that to work globally for OpenGL,this even works on windows. So is there a way to make it work? I am on Kde Wayland.
About this post
- Posted
- Archived
- Score
- 2 · 63% up
- Kind
- Text
- ID
- o0ield
8 comments
https://github.com/flightlessmango/MangoHud/issues/483
They didn't say that it doesn't work,they just couldn't help the person who made the issue.
When I try the same things then it doesn't work,but the devs said that it should.
Protip: don't do this is you have a compositor. It will fail to launch.
You are better off adding the
mangohud --dlsymto any shortcuts/launch parameters for all the games you play.But it is annoying to add
mangohud --dlsymper application. I hate it that I can't use a feature that I can use on windows,there must be a way to do that.The only reason you can do this on windows is because the drivers have a list of the most common games integrated.
Technically this is still "per-application" but someone else did the "per-application" part.