flightlessmango / MangoHud

A Vulkan and OpenGL overlay for monitoring FPS, temperatures, CPU/GPU load and more. Discord: https://discordapp.com/invite/Gj5YmBb
MIT License
6.56k stars 291 forks source link

Mangohud is not working for certain games(Starcraft 2,Heroes of the Storm) #1388

Closed RealMoosey closed 4 months ago

RealMoosey commented 4 months ago

Do not report issue for old MangoHud versions

Describe the bug Mangohud is not showing up in certain games

List relevant hardware/software information

To Reproduce Steps to reproduce the behavior:

  1. Install X game (some steam games too)
  2. Input the command "mangohud" or "MANGOHUD=1" in the application command field(with the %command% end for steam games)
  3. Launch the game
  4. No mangohud

Additional context I am new to linux so there is possibly a good explenation why some games work and some games dont. I got warcraft 3 reforged to work instantly but theese other ones are just not working.

Headedbranch225 commented 4 months ago

Have you tried --dlsym added to the arguments, since they might need special hooking (I haven't played either so it might not work)

RealMoosey commented 4 months ago

Ok additional context for the problem; Warcraft 3 Reforged, Starcraft 2, Heroes of the Storm; are all installed using Lutris. And adding the "mangohud" command to the argument field inside the blizzard launcher did nothing.(tried with the --dlsym too but same problem) Now i did find a post on reddit with the guide to add the value "MANGOHUD" to lutris (Properties-> System options ->Game execution) and set the value to 1. Now mangohud is there but the screen is black, and mangohud is spitting out some wierd values including "inf" on the DXVK ms field. Edit: After i posted this i restarted the game and it worked. (mangohud is present and even fps limits) Will test other games :)

flightlessmango commented 4 months ago

Sounds like you've solved the issue