Skip to content

libobs-winrt: Prevent hard cap of 60 fps for WGC capture#12759

Open
Skajdrowski wants to merge 2 commits into
obsproject:masterfrom
Skajdrowski:winrt_min_interval
Open

libobs-winrt: Prevent hard cap of 60 fps for WGC capture#12759
Skajdrowski wants to merge 2 commits into
obsproject:masterfrom
Skajdrowski:winrt_min_interval

Conversation

@Skajdrowski
Copy link
Copy Markdown

Description

By overriding WGC’s default pacing with 'MinUpdateInterval' (introduced in Windows build 26100), OBS avoids the compositor’s conservative frame-delivery interval and unlocks higher capture rates, aligning frame arrival frequency with the framerate we request via OBS settings.

Motivation and Context

Windows 10 capture helps with recording stuff that is not compatible with regular Game Capture method, but currently is limited to 60 fps, which is really inconvenient for people who might wanna use higher framerates.

How Has This Been Tested?

By checking video footage frame-by-frame
RTX 4060, Windows 11 24H2

Types of changes

  • Tweak (non-breaking change to improve existing functionality)

Checklist:

  • My code has been run through clang-format.
  • I have read the contributing document.
  • My code is not on the master branch.
  • The code has been tested.
  • All commit messages are properly formatted and commits squashed where appropriate.
  • I have included updates to all appropriate documentation.

@WizardCM WizardCM added kind/enhancement Enhancements are not bugs or new features but can improve usability or performance. platform/windows Categorizes issue or PR as affecting Windows specifically labels Oct 25, 2025
@ThrowTop
Copy link
Copy Markdown

Works perfectly. for me, Finally i can avoid DXGI as long as the hardware cursor issues dont show up. Very nice!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/enhancement Enhancements are not bugs or new features but can improve usability or performance. platform/windows Categorizes issue or PR as affecting Windows specifically

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants