Why Isn’t MangoHUD Working with Some Games?

0
99
Asked By CoolCat99 On

I've been creating a YouTube video about the Lenovo Thinkpad T440p and using MangoHUD to monitor fps and performance. While it works fine with some games, I've noticed that it doesn't show up in many others. I'm launching these games from Steam with the command "mangohud %command%" as a launch option, but I've had the same issue with the GOG version of Crysis when launching it via terminal with "MANGOHUD=1 wine-vanilla-10.0 Crysis.exe". I also tried the command "mangohud --dlsym %command%", but it didn't help. Interestingly, the games that do work seem to be utilizing OpenGL. Here's a list of the games I'm having trouble with: Portal, Black Mesa, and Crysis. I've included my system specs below for reference.

2 Answers

Answered By GentooGuru On

Since you're using Gentoo, there may be a 32-bit multilib issue at play here. Portal and the default Crysis.exe are both 32-bit apps. If your MangoHUD installation doesn’t have 32-bit support, it won’t inject into those processes. Check your USE flags for `games-util/mangohud` to include `abi_x86_32`. Just create a file named `mangohud` in your package.use directory and add `USE="abi_x86_32" games-util/mangohud`. Once you re-emerge it, it should work with those older games!

NewbieNerd -

So just to clarify, I can create that file and add that line, and then run `sudo emerge --ask --verbose games-util/mangohud[abi_x86_32]` to make it work, right?

GentooGuru -

Exactly! That’s the way to go. And if anyone else stumbles upon this, that’s how I fixed it too.

Answered By TechieTinker On

Have you tried running a simple Vulkan program to check if it's working? You can use `MANGOHUD=1 vkcube`. If that doesn't work, there might be an issue with your Vulkan layers not being set up correctly or broken. `vkcube` is usually part of the `vulkan-tools` package, so make sure that’s installed.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.