Skip to content

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

Open

Description

@Leopard1907

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.

Activity

  1. Leopard1907 commented on Aug 10, 2021

    @Leopard1907
    ContributorAuthor

    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.

  2. Leopard1907 commented on Oct 17, 2021

    @Leopard1907
    ContributorAuthor

    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.

  3. 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 )[/+] on Oct 17, 2021
  4. berglh commented on Feb 24, 2022

    @berglh

    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.

  5. Leopard1907 commented on Feb 24, 2022

    @Leopard1907
    ContributorAuthor

    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.

  6. Frambooisier commented on Mar 21, 2023

    @Frambooisier

    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?

  7. Leopard1907 commented on Mar 21, 2023

    @Leopard1907
    ContributorAuthor

    @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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions