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.54k stars 291 forks source link

Some Games(DX12) no longer run with Mangohud Enabled on Steam #1481

Open BearZA-91 opened 1 week ago

BearZA-91 commented 1 week ago

Installed version & system: mangohud 0.7.2-2 lib32-mangohud 0.7.2-1 EndeavourOS Kernel 6.11.7-arch1-1 AMD CPU/GPU

Description of the bug So I updated my system the last day or two and all of a sudden some games, such as The First Descendent, Halo: Infinite and Hogwarts Legacy has trouble starting. Black Screen with half of mangohud loaded is all I can see, seems frozen, high CPU usage on some cores.

Sometimes rebooting the system helps the game start again, but I just tested and removing the mangohud launch option solves the issue, putting it back in the same session, brings the issue back. Logging out of the desktop session and back in does not help. Switching from Proton Experimental to 9.0-3 does not help. I have had the issue on this kernel and lts.

hardware/software information:

To Reproduce Steps to reproduce the behavior:

  1. Launch the game with the "mangohud %command%" launch option on Steam.
  2. If black screen/freeze on startup, "STOP" the game and remove the launch options.
  3. Game Starts normally
  4. Close the game, add the launch option back
  5. Black Screen again.

Expected behavior I expect the game to start along with Mangohud as normal, all the above-mentioned games were running fine in the past.

Additional context I recently updated my Mangohud config to include average and 1% low frame rates, but it did run fine and does still run fine on other games not exhibiting this behavior...

lieserlV commented 6 days ago

+1

flightlessmango commented 6 days ago

what proton version?

lieserlV commented 6 days ago

what proton version?

It can be Experimental, like 9.0 or native. I don't have my computer at hand so I don't have the list of games with this problem at the moment.

BearZA-91 commented 6 days ago

what proton version?

It can be Experimental, like 9.0 or native. I don't have my computer at hand so I don't have the list of games with this problem at the moment.

As per my OP, seems to be with experimental and 9.0-3

I'll do my best to do some more testing later this weekend.

BearZA-91 commented 6 days ago

UPDATE

  1. I have tested Control Ultimate Edition (Proton Experimental)
    • DX11 - Mangohud runs, game runs
    • DX12 - Crashes as per bug description
  2. I tested Halo Infinite with Proton Experimental, 9.0-3 and 8.0-5
    • Same issue regardless of the proton version used.
  3. I tested Witcher 3: Wild Hunt (Proton Experimental)
    • DX11 - No issues as with control
    • DX12 - Issue remains as mentioned above

So it would seem:

That it is an issue with DX12 rather than the Proton version.

BearZA-91 commented 6 days ago

Vulkan and OpenGL titles seem entirely unaffected as far as I can tell. Feel free to check my games list and request a test. https://www.exophase.com/steam/user/Dw07u/

lieserlV commented 6 days ago

If it helps, I have this problem with EA games. It crashes right after EA App launches.

BearZA-91 commented 6 days ago

If it helps, I have this problem with EA games. It crashes right after EA App launches.

Thanks, it would seem that all my DX12 titles are affected, the ones I have tried so far at least, EA or not...

BearZA-91 commented 6 days ago

Forza Horizon 4 does the same and it is DX12.

Etaash-mathamsetty commented 5 days ago

could you try mangohud-git?

BearZA-91 commented 5 days ago

Update, working/fixed...

could you try mangohud-git?

Okay, I uninstalled Mangohud, now installing the git version, 0.7.2.r89.gb12b698-1. Worked as normal with the git version. No issues. Uninstalled the Git version, and reinstalled the normal version and so far so good. Everything is working. Not sure what could have changed from last night. Same config file and such.

Thanks all! I will close:

FIX: Uninstall and reinstall MangoHud, or use the git version.

BearZA-91 commented 3 days ago

Reopening issue

Issue persists, but random.

I played Hogwarts about an hour ago with no issues, loading back in now it is giving me that black screen again, no settings have changed, no updates made.

BearZA-91 commented 3 days ago

Seems the only thing that helps once it starts is a system reboot.