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.28k stars 272 forks source link

Tomb Raider I-III Remastered Starring Lara Croft: Mangohud only renders in classic mode. #1234

Open Bitwolfies opened 6 months ago

Bitwolfies commented 6 months ago

Describe the bug Game for sure uses OpenGL in classic mode, however im unsure what the remastered graphics use, dlsym hooking is required.

Classic mode and Modern graphics are both rendered in real time, with one button being used to swap between them.

List relevant hardware/software information

To Reproduce Steps to reproduce the behavior:

  1. Start the game with mangohud --dlsym %command%
  2. Use F1/Select on controllers to swap the graphics
  3. FPS counter go boom/appears

Expected behavior It to appear regardless of graphics setting.

Screenshots Classic can display Mangohud fine Screenshot_20240214_014847

Switching the graphics to modern hides the overlay Screenshot_20240214_014935 Unsure if this is user error or some massive edge case.

o-schneider commented 6 months ago

Had an issue like this in an OpenGL game that I fixed by setting gl_bind_framebuffer to 1. Maybe try it out?

Bitwolfies commented 6 months ago

gl_bind_framebuffer

mangohud --dlsym gl_bind_framebuffer=1 %command% sadly has no effect.

flightlessmango commented 6 months ago

You set gl_bind_framebuffer=1 in mangohud config

flightlessmango commented 4 months ago

Try setting gl_bind_framebuffer=0 or any other number up 10 for sanity

Bitwolfies commented 4 months ago

Try setting gl_bind_framebuffer=0 or any other number up 10 for sanity

Setting it to 1 just outright removes the counter in both modes.

flightlessmango commented 3 months ago

It works fine on my end, I can see the hud in both modes

Generator commented 2 weeks ago

Having the same issue, adding gl_bind_framebuffer to options didn't made any difference (gl_bind_framebuffer=1 removes MANGOHUD completely), also tried with other gl_* options, none had any effect.

MANGOHUD only shows on classic mode, loading screens, when bars (health, oxygen) are on screen or some areas.

Screenshot: Screenshot_20240808_140752 [area with MANGOHUD visible on remastered]

Running on GeForce GTX 850M (as primary GPU) PS: Only tested on Tomb Raider 1

jcsstelar commented 2 weeks ago

Hello folks, this issue only happens with nvidias? for me its like that with RTX3070 but with intel HD610 MangoHud overlay shows both in classic and remastered.

Generator commented 2 weeks ago

nvidia on X11
Tested on Wayland and it show Mangohud