uberhalit / SekiroFpsUnlockAndMore

A small utility to remove frame rate limit, add custom resolutions (widescreen support), increase FOV, borderless window, display and log stats and various game modifications for Sekiro
MIT License
378 stars 31 forks source link

Preferred refresh rate #3

Closed ghost closed 5 years ago

ghost commented 5 years ago

Just a heads-up, if someone is wanting to run the game in windowed or borderless mode, there's no point in changing the refresh rate preferences because the desktop environment is already vertically synced. Screen tearing is only a phenomenon when a game is fullscreen.

The only exception is G-SYNC, which lets a borderless/windowed mode game bypass the 1 frame of delay that would normally be there, i.e. 1/60th or 1/120th or 1/144th of a second.

I am also curious about your testing, did you record the game at your monitor's full refresh rate and verify through a video analyzing tool that there weren't any duplicate frames? A game is quite capable of falsely displaying its own fps.

uberhalit commented 5 years ago

Hi. Please have a look at the features description:

60 Hz monitors: disable VSYNC via driver (use 'Enhanced Sync' on AMD) and use fullscreen

high refresh rate monitors: use borderless or force monitor to always use highest available refresh rate and then use fullscreen

It's true that DWM enforces VSYNC on desktop which is why (borderless) windowed mode isn't suggested on 60 Hz displays as depending on the game context they may never go above desktop vsync rate.

As far as I have tested this on my own machine I can certainly state that the frame rate unlock is working as expected on a 144 Hz display running at 144 Hz in both windowed and fullscreen mode. GSYNC works too and I haven't noticed any tearing. As long as I don't downclock my GPU to simulate older hardware I am not getting any frame stutters or frame time issues either.

Keith94 commented 5 years ago

high refresh rate monitors: use borderless or force monitor to always use highest available refresh rate and then use fullscreen

Can you confirm if disabling fullscreen optimizations for sekiro.exe enables native refresh rate properly as mentioned here?

uberhalit commented 5 years ago

Can you confirm if disabling fullscreen optimizations for sekiro.exe enables native refresh rate properly as mentioned here?

Not on my end, monitor will lock to 60Hz. The only reliable way I've found that force the the game to run on the display's native refresh rate in fullscreen is to set Preferred refresh rate to Highest available in Nvidia Control Panel (or Nvidia Inspector if you don't have that option).

uberhalit commented 5 years ago

@Aidolii please have a look at the guide again, I've updated it. It seems like there is a bug with the premade Sekiro profile in Nvidia Control Panel.