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.
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
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.
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
So then how would I use it in lutris and steam?
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.