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

[OpenGL]Mangohud doesn't work on Wolfenstein Old Blood with NV ( Windows only GL game ) #560

Open
Leopard1907 opened this issue Jul 3, 2021 · 6 comments

Comments

@Leopard1907
Copy link
Contributor

I tried on latest develop branch just now.

564c254

Proton version used: 6.3-5

Mentioned game needs this in order to load Mangohud:

LD_PRELOAD=$LD_PRELOAD:/usr/lib/mangohud/lib/libMangoHud_dlsym.so:/usr/lib/mangohud/lib/libMangoHud.so %command%

On Intel ( Mesa ) Mangohud works, on NV driver it doesn't.

I've tested another game too, Wolfenstein New Order ( same engine). It also needs LD PRELOAD to load Mangohud but Mangohud works with both Intel ( Mesa ) and NV with it.

@Leopard1907
Copy link
Contributor Author

Leopard1907 commented Aug 10, 2021

ValveSoftware/steam-runtime#435 (comment)

When these requirements met ( using beta branches of both SLR and Soldier runtimes) , LD PRELOAD workaround above is not needed anymore for Mangohud OpenGL to work with Proton OGL and SLR OGL Native games.

Not related to main issue here but adding it as a note.

@Leopard1907
Copy link
Contributor Author

https://drive.google.com/file/d/1w5k0N6j_pU2qqmPqIzZ-lnXnLVejaymX/view?usp=sharing

Here is an apitrace that reproduces the issue.

On Intel Mesa Mangohud works, on Nvidia prop it doesn't.

Tested against both latest master branch and latest release.

@Leopard1907 Leopard1907 changed the title Mangohud doesn't work on Wolfenstein Old Blood with NV ( Windows only GL game ) [OpenGL]Mangohud doesn't work on Wolfenstein Old Blood with NV ( Windows only GL game ) Oct 17, 2021
@berglh
Copy link

berglh commented Feb 24, 2022

Affecting me also on Proton Experimental, 6.3-8 on NVIDIA proprietary 510.54, Ubuntu 21.10. Just finished playing Wolfenstein: The New Order without any changes on Proton Experimental, and MangoHud was working just fine. This is odd because I thought these were both running on the same engine.

@Leopard1907
Copy link
Contributor Author

Fwiw those preload stuff are not needed anymore after Steam Runtime changes but yes; Mangohud doesn't work with Nvidia on that game.
Apitrace was attached a long time ago which reproduces the issue.

@Frambooisier
Copy link

Affecting me also on Proton Experimental, 6.3-8 on NVIDIA proprietary 510.54, Ubuntu 21.10. Just finished playing Wolfenstein: The New Order without any changes on Proton Experimental, and MangoHud was working just fine. This is odd because I thought these were both running on the same engine.

For me it's not working for Wolfenstein: The New Order, Im getting conflicting informations here, should it work or not?

@Leopard1907
Copy link
Contributor Author

@Frambooisier I didn't test recently but Wolfenstein Old Blood was the only problematic one here. New Order was fine for me on NV, Old Blood didn't work.

Possibilities are;

  • Mangohud regressed or
  • You are trying to use it with MANGOHUD=1 which only loads Vulkan layer so it won't work. mangohud or mangohud --dlsym is what you need.

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

3 participants