Skip to content
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

Gamescope / MangoApp: Refactored FSR hud element to be technology independent / added scaler #1042

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

Root-Core
Copy link

@Root-Core Root-Core commented Jun 7, 2023

As Gamescope has also implemented NIS, a single FSR output is really limited. They might add even more filters in the future, so it would be nice to have a singular output for all filters.

Also there is currently no output for the used scaler, which will be a easier to set option if ValveSoftware/gamescope#893 or cycling the settings get merged.

I have repurposed the FSR field, please forgive me. I think a double inclusion of FSR would be wasteful.
Feedback regarding this situation is appreciated and necessary.
Thank you!

PR for Gamescope: ValveSoftware/gamescope#895

EDIT:
To be technology agnostic, I have renamed the parameter hide_fsr_sharpness to hide_scaler_additional.
This might be a "breaking change" to somebody, but it's undocumented so it shouldn't affect many people.

EDIT 2:
The parameter fsr_steam_sharpness is the last one referencing FSR explicitly, but I do not understand what it's used for and by whom. Should it stay untouched?

- Refactored fsrSharpness to scaler sharpness, as the data already reflect it
- Refactored parameter hide_fsr_sharpness to hide_scaler_additional, to be technology agnostic
@Root-Core Root-Core changed the title Gamescope: Added parameters for scaler Gamescope / MangoApp: Refactored FSR hud element to be technology independent / added scaler Jun 7, 2023
else
HUDElements.g_fsrSharpness = params.fsr_steam_sharpness - mangoapp_v1->fsrSharpness;
HUDElements.g_scaler_sharpness = params.fsr_steam_sharpness - mangoapp_v1->scaler_sharpness;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fsr_steam_sharpness is the maximum sharpness. To get the same value that the steam UI uses we do fsr_steam_sharpness - gamescope reported.
Steam also adds nis_steam_sharpness which we don't have a param for yet and should be calculated the same way as fsr

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.

None yet

2 participants