Skip to content

Show CPU efficiency #1629

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gnusenpai
Copy link
Contributor

CPU analog of #1622.

Adds a HUD element that displays CPU efficiency in frames per joule (F/J).

I would be interested in adding a CPU power limit indicator like in #1623, but AFAIK, CPUs don't seem to report that without poking at the MSRs and such.

image

@gnusenpai
Copy link
Contributor Author

Maybe flip_efficiency should be moved since it now applies to both CPU and GPU?

MangoHud/README.md

Lines 409 to 411 in f8a36e9

| `gpu_efficiency` | Display GPU efficiency in frames per joule |
| `flip_efficiency` | Flips GPU efficiency to joules per frame |
| `hide_fsr_sharpness` | Hides the sharpness info for the `fsr` option (only available in gamescope) |

# gpu_efficiency
# flip_efficiency

@flightlessmango
Copy link
Owner

Maybe flip_efficiency should be moved since it now applies to both CPU and GPU?

Moved where/how? But probably yes?

@gnusenpai
Copy link
Contributor Author

gnusenpai commented Mar 27, 2025

Moved where/how? But probably yes?

I was sorta asking what your preference would be for an option like that. It's not obvious to me where it should go other than just stick it at the bottom lol.

@flightlessmango
Copy link
Owner

I see what you mean. Can't really think of a good place to put it

@flightlessmango
Copy link
Owner

This might be interesting to have for devices like steam deck where you calculate based on the battery wattage

@gnusenpai
Copy link
Contributor Author

Something like system_efficiency?

@flightlessmango
Copy link
Owner

Yeah I think that sounds good

@gnusenpai gnusenpai force-pushed the feat/cpu-efficiency branch from a997fbf to d6b8ed4 Compare March 29, 2025 08:38
@gnusenpai gnusenpai force-pushed the feat/cpu-efficiency branch from d6b8ed4 to fa3423e Compare March 29, 2025 08:51
@gnusenpai
Copy link
Contributor Author

I've moved flip_efficiency to where I think it makes sense. It appears the variables in the README were sorted alphabetically at some point, but it no longer is so I just put it at the bottom.

Do you have a development workflow for testing on the Steam Deck? I made it happen when making the power limit PR, but it was a complete mess. Kinda need that sorted to work on system_efficiency.

@flightlessmango
Copy link
Owner

Do you have a development workflow for testing on the Steam Deck?

No not really

@axet
Copy link

axet commented Apr 25, 2025

Because we have GPU measured in WATT would be nice to convert JOULES to WATTs. W=J/s

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

Successfully merging this pull request may close these issues.

3 participants