Skip to content

Video: Add option to automatically set display-reported refresh rate - #19443

Open
Ryunam wants to merge 1 commit into
libretro:masterfrom
Ryunam:autoset_display_refresh_rate
Open

Video: Add option to automatically set display-reported refresh rate#19443
Ryunam wants to merge 1 commit into
libretro:masterfrom
Ryunam:autoset_display_refresh_rate

Conversation

@Ryunam

@Ryunam Ryunam commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Description

This PR adds an option under Settings -> Video called "Automatically Set Display-Reported Refresh Rate". It defaults to OFF and, when enabled, will automatically set the vertical refresh rate to the display-reported value.

This is quite handy to have especially on PC gaming handhelds, where the embedded screen might be running at a certain refresh rate (120hz, for instance) while another external monitor used when docking the device might have a completely different native rate (60hz, for instance).

The new option will also work in conjunction with the existing content-based "Automatic Refresh Rate Switch" setting found in Settings -> Video, based on the following logic:

  • When "Automatically Set Display-Reported Refresh Rate" is ON, the content-based "Automatic Refresh Rate Switch" is also ON and RetroArch is using any of the matching fullscreen modes, "Automatic Refresh Rate Switch" will take precedence and the refresh rate will be adjusted accordingly based on the running content.

  • On the other hand, when "Automatically Set Display-Reported Refresh Rate" is ON, and "Automatic Refresh Rate Switch" is OFF, or is ON but RetroArch is not using any matching fullscreen mode(s), the automatic switch to the display-reported value will kick in at startup and driver reinits.

Reviewers

@LibretroAdmin
@sonninnos

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.

1 participant