flightlessmango / MangoHud

A Vulkan and OpenGL overlay for monitoring FPS, temperatures, CPU/GPU load and more. Discord: https://discordapp.com/invite/Gj5YmBb
MIT License
6.49k stars 287 forks source link

Red Faction (2001) MangoHud fails to run #1066

Closed Frambooisier closed 11 months ago

Frambooisier commented 1 year ago

Describe the bug MangoHud is not showing up when starting Steam version of Red Faction 2001 (appID20530) with protonexperimental and mangohud %command% launch option or mangohud --dlsym %command%

mangohud works fine with D8VK and Red Faction via proton and Tony hawk 3 via wine

the errors I could see in atteched log file:

ERROR: ld.so: object '/tmp/pressure-vessel-libs-ZONL71/${PLATFORM}/libMangoHud_dlsym.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. ERROR: ld.so: object '/tmp/pressure-vessel-libs-ZONL71/${PLATFORM}/libMangoHud.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.

I also tried these launch options, if it's relevant I have log files for each combination:

both 32 and 64 bit at the same time (dunno if it's even legal)

LD_PRELOAD=$LD_PRELOAD:/usr/lib/mangohud/lib64/libMangoHud_dlsym.so:/usr/lib/mangohud/lib64/libMangoHud.so:/usr/lib/mangohud/lib32/libMangoHud_dlsym.so:/usr/lib/mangohud/lib32/libMangoHud.so PROTON_LOG=1 mangohud --dlsym %command%

64 bit only

LD_PRELOAD=$LD_PRELOAD:/usr/lib/mangohud/lib64/libMangoHud_dlsym.so:/usr/lib/mangohud/lib64/libMangoHud.so PROTON_LOG=1 mangohud --dlsym %command%

32bit only

LD_PRELOAD=$LD_PRELOAD:/usr/lib/mangohud/lib32/libMangoHud_dlsym.so:/usr/lib/mangohud/lib32/libMangoHud.so PROTON_LOG=1 mangohud --dlsym %command%

List relevant hardware/software information

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Additional context Add any other context about the problem here. steam-20530.log

flightlessmango commented 1 year ago

mangohud works fine with D8VK and Red Faction via proton and Tony hawk 3 via wine

after installing mangohud from github script it's working fine

What exactly isn't working?

flightlessmango commented 11 months ago

This game requires the opengl workaround gl_bind_framebuffer=0 Another option is to install d8vk

Frambooisier commented 11 months ago

how should this workaround be applied, I can't seem to find the proper steam command to do that

gort818 commented 11 months ago

Add gl_bind_framebuffer=0 to your MangoHud.conf file