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

Doesn't work with Prince of Persia: Warrior Within #1285

Open
zastrixarundell opened this issue Apr 7, 2024 · 8 comments
Open

Doesn't work with Prince of Persia: Warrior Within #1285

zastrixarundell opened this issue Apr 7, 2024 · 8 comments

Comments

@zastrixarundell
Copy link

Describe the bug
Trying to run mangohud don't work with Prince of Persia: Warrior Within. Running with --dlsym doesn't help.

List relevant hardware/software information

  • Linux Distribution: Fedora Kinoite 39, but using the flatpak version
  • Flatpak info:
$ flatpak info org.freedesktop.Platform.VulkanLayer.MangoHud 

MangoHud - A Vulkan overlay layer for monitoring FPS, temperatures, CPU/GPU
load and more

          ID: org.freedesktop.Platform.VulkanLayer.MangoHud
         Ref: runtime/org.freedesktop.Platform.VulkanLayer.MangoHud/x86_64/23.08
        Arch: x86_64
      Branch: 23.08
     Version: 0.7.1
     License: MIT
      Origin: flathub
  Collection: org.flathub.Stable
Installation: system
   Installed: 33.8 MB

      Commit: 8f9b916108d1467bf357f268b48ae42a71d52c520bef4f680d1f6491ab5298cc
      Parent: 00bbf0a5c505cd0b7877f54564a292b03ab1484ec1f259f51284eb72ee0391f4
     Subject: patch: reset_fps_metrics: check that metrics is inited first (83059163)
        Date: 2024-03-12 01:14:47 +0000

To Reproduce
Steps to reproduce the behavior:

  1. Start game, no mangohud

Expected behavior
Mangohud should be displayed.

Screenshots
image

Additional context
I've enabled DXVK_HUD just to see FPS and similar stuff.

@flightlessmango
Copy link
Owner

the game is 32bit, is there a separate mangohud package for 32bit in flatpak?

@zastrixarundell
Copy link
Author

zastrixarundell commented Apr 8, 2024

Most likely there isn't, at least I can't find it.

Hm, all of these issue (mosty not having gamescope) are really making think of moving to Bazzite instead of Kinoite.

I'll switch on my laptop and then check if the issue still persists.

@zastrixarundell
Copy link
Author

Well after messing around, this game neither oblivion wanted to start out of the box and I don't have the will to see to debug it. I'll see to make an issue on repo for MangoHud fltatpak to setup 32bit dependencies.

@zastrixarundell
Copy link
Author

Hm, I've actually started Fallout: New Vegas which is supposedly 32bit and MangoHud is working there, so it might be an issue with it being 32bit then?

@flightlessmango
Copy link
Owner

What proton version are you using for Prince of persia? I had to use 3.7-8 for it to start at all

@zastrixarundell
Copy link
Author

Proton-GE 9.2, flatpak version of Steam as it didn't load some files on the native version but worked out of the box on flatpak.

@jntesteves
Copy link

jntesteves commented Apr 9, 2024

@zastrixarundell On latest proton you're using the new steam-runtime and I think Valve has changed some paths inside the runtime that's been causing some trouble lately. Just to check if that might be the issue, could you please try this launch parameter:

MANGOHUD=1 LD_PRELOAD='/run/parent/usr/lib/extensions/vulkan/MangoHud/$LIB/libMangoHud_dlsym.so:/run/parent/usr/lib/extensions/vulkan/MangoHud/$LIB/libMangoHud_opengl.so' %command%

Edit: or this one:

MANGOHUD=1 LD_PRELOAD='/run/parent/usr/lib/extensions/vulkan/MangoHud/$LIB/libMangoHud.so:/run/parent/usr/lib/extensions/vulkan/MangoHud/$LIB/libMangoHud_dlsym.so:/run/parent/usr/lib/extensions/vulkan/MangoHud/$LIB/libMangoHud_opengl.so' %command%

@zastrixarundell
Copy link
Author

zastrixarundell commented Apr 10, 2024

Both of them gave a similar display issue:
image

Although for the first set of options made the lines static, the other one made the lines intrerlace.

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