Mangohud works in Lutris, but not steam.

WeebLife@lemmy.world to Linux@lemmy.ml – 32 points –

I'm using "mangohud %command%" in steam launch options, but games just won't launch. I click play in steam and it tries to launch the game but then the green play icon comes back. Works perfectly in lutris. I've looked up guides but haven't found one that helps.

EDIT: it now works in steam after installing mangohud through Mint's package manager.

7

I suspect you have installed either Lutris or Steam through flatpak.

Try installing both using the same method or install MangoHud both as a flatpak and a system package.

Also, I recommend enabling MangoHud with 'MANGOHUD=1 %command%' instead.

This worked. My first install of mangohud was through the git hub instructions. But when I installed it through my package manager, it works in steam now. Thanks

Yeah, was gonna say the same. It works fine for me on native steam. But flatpak steam needs flatpak mangohud. This was actually one of the reasons that I stopped using flatpak steam though. Not a problem against flatpaks or even that it didn't work. Hell it worked even during times when native steam didn't work.

However, lots of small differences like this kinda make it harder to utilize existing software and information when the software and the communities around that software don't have flatpak in mind.

Have you tried with the --dlsym flag? Also check if mangohud works on the vkcube and glxgears demo first.

Steam has it's own copy of mangohud in the launch env, that messes with locally installed version, you have to uninstall the local version for it to work in steam last I checked

Does it work if you launch steam through mangohud? Like:

mangohud steam-native

You would probably want to temporarily remove the per-game launch command while running it that way, for the HUD to actually show up in game (assuming it will load). But that's another approach to try, at least for troubleshooting purposes.