flightlessmango/MangoHud

Feature request: Display generated / “fake” frames

Opened this issue · 9 comments

Steam can now display the “real” FPS and “fake” FPS from generated frames (DLSS, FSR) separately … on Windows (https://help.steampowered.com/en/faqs/view/3462-CD4C-36BD-5767).

Is there any way MangoHud can attempt the same thing? Disclaimer: I have absolutely 0 idea how any of this works. And apparently Valve haven’t figured out how to do it on Linux either :)

Oh wow. That looks good. I think in order to see what the "Real" FPS are and the "Fake" or Frame generated ones are (or even if they are 2x, 3x, or 4x) the AMD or NVidia driver would need to allow some kind of call to happen to see this.

Also Ihave been testing that Steam FPS counter on the latest videos at https://www.youtube.com/@xtremelinux and it looks VERY different from the one they advertise at https://help.steampowered.com/en/faqs/view/3462-CD4C-36BD-5767

The one they advertise is:

Image

The current actual one on Linux is:

Image

And the documentation about what in the world are the other values in there is not clear yet. Like what is 73 or 90 in there and what is the graph showing. It says it is a 90 second graph that averages several checks (low FPS during that time, high FPS during that time, Average FPS), but even looking at it, I can compare MangoHUD at that same time and see this:

Image

So my personal take is that, even if MangoHUD can not accomplish this (because of driver access issues for example) I would still use it for the value it brings. Nonetheless, it would be amazing to show, having DLSS or FrameGen enabled on a game, what the real FPS values would be for a particular scene in a game.

Also Ihave been testing that Steam FPS counter on the latest videos at youtube.com/@xtremelinux and it looks VERY different from the one they advertise at help.steampowered.com/en/faqs/view/3462-CD4C-36BD-5767

[…]

The current actual one on Linux is:

Image

Like I said; the fake frames feature in Steam is Windows only (along with a bunch of other metrics). Linux only shows the above (avg FPS, highest/lowest frame time converted to “FPS”, FPS graph).

lsfg-vk support would be nice as well

I assume this would have to be accessed from vkd3d and then shared with mangohud
@doitsujin could it be possible to get this information in vkd3d?

Image Image

with lsfg-vk, Mangohud & Steam overlay display real numbers and generated numbers respectively. Doesn't seem like any additional stuff on the vkd3d layer needs to be done?

Doesn't seem like any additional stuff on the vkd3d layer needs to be done?

That's assuming the same behavior is present when using dlss/fsr frame gen

From my testing with fsr frame gen in talos principle 2 and cyberpunk, mangohud and steam overlay shows the same FPS

Still no way of seeing if lsfg-vk is working?

Still no way of seeing if lsfg-vk is working?

I'm working on it with the lsfg developer