Open Bitwolfies opened 1 year ago
MangoHud for OpenGL won't work with the env var alone, you're supposed to prefix the game launch command with mangohud
, or add MangoHud lib path to LD_PRELOAD
manually.
Unfortunate, but I understand opengl is a lot more complicated to get working. I would however had assumed that since adding mangohud to the etc file starts it for every app automatically, that maybe using DLSYM would do the same.
I did try running flatpak run net.kuribo64.melonDS -- mangohud --dlysm and mangohud --dlsym flatpak run net.kuribo64.melonDS but it seems to have had no effect. Might be related to this issue? https://github.com/flatpak/flatpak/issues/4011
You'll need to run something like flatpak run --command=/usr/lib/extensions/vulkan/MangoHud/bin/mangohud net.kuribo64.melonDS melonDS
flatpak run --command=/usr/lib/extensions/vulkan/MangoHud/bin/mangohud net.kuribo64.melonDS melonDS
Thanks :slightly_smiling_face: I can confirm this works with Minetest, for instance:
flatpak run --command=/usr/lib/extensions/vulkan/MangoHud/bin/mangohud net.minetest.Minetest minetest
For instance, melonds only has an opengl backend at this time, using flatseal to add the env variable MANGOHUD_DLSYM=1 unfortunately does not allow for mangohud to work.