Add options for up to 32x supersampling#151
Open
72374 wants to merge 1 commit into
Open
Conversation
Owner
|
Good idea, especially the larger steps for larger values. I'll add it to the next feature release. (No ETA, but I'm working on things) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is mostly useful for reducing flickering caused by aliasing, when playing games at the original resolution ("1x 224p"); but also for screenshots and videos1 at higher resolutions.
20x is the highest amount of supersampling with which my "Core i7-12700K"-CPU2 can still process F-Zero with a stable framerate of 60 fps in both bsnes-hd and RetroArch3 (performance in RetroArch was lower; up to 23x supersampling worked well in bsnes-hd). With 32x supersampling, the game slowed down to ~35fps.
I chose to add options in steps of 2 (12 to 20) or 4 (24 to 32); because each additional supersampling-multiplier has a smaller effect, and it does keep it easy to change between supersampling-options with hotkeys.
Image-comparison (F-Zero)
10x:

16x:

20x:

32x:

4096x:

Footnotes
Practically doable, even if the game is not playable at normal speed then, by using RetroArch to record a replay, and then increasing the supersampling- and resolution-settings for recording a video of the replay with the video-recording-feature, as the playback-speed of the resulting video does apparently match the expected framerate for the videogame-system. ↩
With energy-mode set to "Performance". ↩
If Gamemode is deactivated in the latency-settings of RetroArch, so that the efficiency-cores of the CPU are also used. ↩