Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
BearZA-91 opened this issue Nov 15, 2024 · 16 comments
Open

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

BearZA-91 opened this issue Nov 15, 2024 · 16 comments

Comments

@BearZA-91
Copy link

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:

  • Endeavour OS (KDE PLASMA)
  • MangoHud version 0.7.2-2
  • GPU: RX 6600XT

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
Copy link

+1

@flightlessmango
Copy link
Owner

what proton version?

@lieserlV
Copy link

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
Copy link
Author

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
Copy link
Author

UPDATE

  1. I have tested Control Ultimate Edition (Proton Experimental)
  • DX11 - Mangohud runs, game runs
  • DX12 - Crashes as per bug description
  1. I tested Halo Infinite with Proton Experimental, 9.0-3 and 8.0-5
  • Same issue regardless of the proton version used.
  1. 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 BearZA-91 reopened this Nov 16, 2024
@BearZA-91
Copy link
Author

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
Copy link

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

@BearZA-91
Copy link
Author

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
Copy link
Author

Forza Horizon 4 does the same and it is DX12.

@Etaash-mathamsetty
Copy link
Contributor

could you try mangohud-git?

@BearZA-91
Copy link
Author

BearZA-91 commented Nov 17, 2024

Update, working/fixed...(EDIT - NOT 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 BearZA-91 changed the title Some Games no longer run with Mangohud Enabled on Steam Some Games(DX12) no longer run with Mangohud Enabled on Steam Nov 17, 2024
@BearZA-91
Copy link
Author

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 BearZA-91 reopened this Nov 19, 2024
@BearZA-91
Copy link
Author

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

@brucetony
Copy link

I'm also experiencing this issue, specifically with Tiny Tina's Wonderlands. This game can be played with both DX12 and DX11, and it only crashes on startup with Mangohud when set to DX12:

System specs:

  • Fedora 41
  • Gnome 47
  • Wayland
  • AMD RX 6700 XT

Tiny Tina's Wonderlands Results:

DX11 DX12
Proton-9.0-4
Experimental-9.0-20241206
Hotfix-20241108

@BearZA-91
Copy link
Author

I'm also experiencing this issue, specifically with Tiny Tina's Wonderlands. This game can be played with both DX12 and DX11, and it only crashes on startup with Mangohud when set to DX12:

System specs:

* Fedora 41

* Gnome 47

* Wayland

* AMD RX 6700 XT

Tiny Tina's Wonderlands Results:
DX11 DX12
Proton-9.0-4 ✅ ❌
Experimental-9.0-20241206 ✅ ❌
Hotfix-20241108 ✅ ❌

Hey, thanks for the detailed response
Might I ask if rebooting your system solves the DX12 issue? Mine does initially, it is almost like, if I use my GPU for anything else, even YT videos, before launching a dx12 title, it gives the issue, otherwise not. I would have to confirm this behaviour with a few tests though. Perharps it has something to do with the drivers or something not clearing a buffer somewhere or such.

Mine does it on X11 and Plasma, so I doubt it is DE/Window System related.

@brucetony
Copy link

Hey, thanks for the detailed response Might I ask if rebooting your system solves the DX12 issue? Mine does initially, it is almost like, if I use my GPU for anything else, even YT videos, before launching a dx12 title, it gives the issue, otherwise not. I would have to confirm this behaviour with a few tests though. Perharps it has something to do with the drivers or something not clearing a buffer somewhere or such.

Mine does it on X11 and Plasma, so I doubt it is DE/Window System related.

You're right, after a full restart I was able to launch the game with Mangohud using DX12. I even tried after starting some applications (Discord, Zoom) and then running some Youtube videos in the background. I suspect the problem will appear again after some time, but at least that helps narrow it down

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants