MangoHud icon indicating copy to clipboard operation
MangoHud copied to clipboard

Some games don't run with mangohud, or the hud doesn't work at all, when launched outside of gamescope

Open joker-119 opened this issue 1 year ago • 2 comments

Describe the bug Some games through WINE (specifically the ones I tested were WoW classic and era), freeze with a black screen when launching with mangohud. Some games (Minecraft) mangohud just doesn't exist for at all, for some reason. Some games mangohud works perfectly as expected.

All of the above issues only occur when using mangohud OUTSIDE of gamescope.

For example: mangohud wine WowClassic.exe results in the game freezing on a black screen indefinitely. But gamescope -W 2560 -H 1440 --mangoapp -- wine WowClassic.exe works fine, both the game and mango load up and there's no issues.

Another example: mangohud java -jar minecraft.jar ... results in MC loading up, but with no mangohud present. But gamescope -W 2560 -H 1440 --mangoapp -- java -jar minecraft.jar ... works fine.

I really want to use mangohud, but using it with gamescope is just not a viable option for me due to it's own bugs (like games refusing to grab the cursor when they should, unless you specify --force-grab-cursor, which wrecks any special sensitivity settings you have, as well as makes the cursor behave unexpectedly when alt-tabbing).

List relevant hardware/software information

  • Fedora 40
  • 0.7.1
  • 6700 XT

To Reproduce Steps to reproduce the behavior: Varies

Expected behavior mangohud should not be reliant on gamescope for consistent operation.

joker-119 avatar Oct 02 '24 09:10 joker-119

It seems to only be an issue with native wine, proton via steam seems to work alright, but using mangohud on wine causes the graphics pipeline to die. Sound still works but graphics don't and the program gets marked as "not responding".

I've manually updated to v 0.7.2 (didn't realize the fedora repo was outdated) and no change in behavior.

It remains broken when trying to use it on minecraft.

Again, the issues only persist when NOT using gamescope.

joker-119 avatar Oct 02 '24 13:10 joker-119

I am encountering this issue as well, and it appears to be completely random. I've encountered it with Elden Ring (Steam), Observer System Redux (GOG) and other games as well, while others (Silent Hill 2 Remake, Banishers) work fine. Always when using Proton (either via Steam or UMU Launcher). One thing I've noticed is that is starts happening after a while: I've played Elden Ring A LOT before this started happening, and two days ago I started Observer without issues while today it won't start at all.

Disabling Mangohud solves the issue. I can't comment on Gamescope because it always crashes instantly on Nvidia.

Update: I have solved the issue by compiling Mangohud from source, and I noticed that the lib32 version of Mangohud on the AUR is version 0.7.2-1, while the 64 bit is 0.7.2-2. My guess is that by compiling the latest git release I've updated the 32 bit version of Mangohud, thus solving the issue, even though it's just speculation.

gianmarcotoso avatar Oct 14 '24 20:10 gianmarcotoso

Somehow Titanfall 2 doesn't work now, it was working a month ago ( I am not quite sure which version was working).

But I test 0.7.0~.0.7.2, no luck on me.

I'm using umu-launcher btw (umu-launcher version 1.1.3 UMU-PROTON

Operating System: Arch Linux 
KDE Plasma Version: 6.2.2
KDE Frameworks Version: 6.7.0
Qt Version: 6.8.0
Kernel Version: 6.11.4-arch1-1-surface (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-8650U CPU @ 1.90GHz
Memory: 15.5 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620
Dedicated Graphics: Nvidia GTX 1060 Mobile

Ramen-LadyHKG avatar Oct 25 '24 15:10 Ramen-LadyHKG

Somehow Titanfall 2 doesn't work now, it was working a month ago ( I am not quite sure which version was working).

But I test 0.7.0~.0.7.2, no luck on me.

I'm using umu-launcher btw (umu-launcher version 1.1.3 UMU-PROTON

Operating System: Arch Linux 
KDE Plasma Version: 6.2.2
KDE Frameworks Version: 6.7.0
Qt Version: 6.8.0
Kernel Version: 6.11.4-arch1-1-surface (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-8650U CPU @ 1.90GHz
Memory: 15.5 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620
Dedicated Graphics: Nvidia GTX 1060 Mobile

Basically all EA Games doesn't work (eg. Battlefield 4, Sim City 4) But Team Fortores 2, Garry Mod, Outlast working.

Ramen-LadyHKG avatar Oct 25 '24 15:10 Ramen-LadyHKG

I made a super simple raylib "game" and that doesn't work either

nonetrix avatar Feb 13 '25 08:02 nonetrix

Reopen if still an issue

flightlessmango avatar May 17 '25 03:05 flightlessmango

This is still a problem on Linux under both native Linux exports AND Windows exports ran through WINE

laviphon avatar Jul 30 '25 15:07 laviphon