Doesn't work with Prince of Persia: Warrior Within
zastrixarundell opened this issue · 8 comments
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:
- Start game, no mangohud
Expected behavior
Mangohud should be displayed.
Additional context
I've enabled DXVK_HUD just to see FPS and similar stuff.
the game is 32bit, is there a separate mangohud package for 32bit in flatpak?
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.
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.
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?
What proton version are you using for Prince of persia? I had to use 3.7-8 for it to start at all
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.
@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%