Open Leopard1907 opened 3 years ago
https://github.com/ValveSoftware/steam-runtime/issues/435#issuecomment-895455637
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.
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.
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.
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.
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?
@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=1
which only loads Vulkan layer so it won't work. mangohud
or mangohud --dlsym
is what you need.
I tried on latest develop branch just now.
https://github.com/flightlessmango/MangoHud/commit/564c254eea3ba5f36ad9030fdcb7e387345d3a4d
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.