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

Bug: Vertical Sync doesn't behave like Source. #1260

Open
LittlePlanetCD opened this issue Nov 28, 2024 · 4 comments
Open

Bug: Vertical Sync doesn't behave like Source. #1260

LittlePlanetCD opened this issue Nov 28, 2024 · 4 comments
Labels
Type: Bug This is a problem with something that should be working one way, but isn't.

Comments

@LittlePlanetCD
Copy link

Describe the bug

In the best, yet shortest description i can give of this:
Strata seems to have a problem in its DX11 renderer where VSync actually caps the framerate to the refresh rate, when in Source this very much behaves differently. Source still seems to try to render at high frames while somehow still maintaining a solid display with no tearing.

Strata, Momentum Mod:

image

Half-Life 2 (Anniversary Update):

image

To Reproduce

  1. Open game (Example being momentum mod, my analysis was done on the steam playtest build, main branch). ensure DX11 is the renderer.
  2. open any map
  3. turn on vsync while having the fps display on
  4. see that it caps to the refresh rate.

Issue Map

happens on any map.

Expected Behavior

Strata should be rendering like how source does on DX9 with vsync enabled.

Operating System

Windows 11 23H2

@LittlePlanetCD LittlePlanetCD added the Type: Bug This is a problem with something that should be working one way, but isn't. label Nov 28, 2024
@SCell555
Copy link
Member

SCell555 commented Nov 28, 2024

Vsync capping framerate is how it always worked in source (and everywhere else). Why it does not cap framerate in hl2 for you, might be because some driver hacks going on when it detects hl2. Or something is up with anniversary update.

You also did not specify your HW configuration (at least the GPU(s) since this is graphics related.

@Equalizer5118
Copy link
Member

Even if this behaviour is not consistent, wouldn't it be better to keep it this way? Locking the framerate to the refresh rate is how vsync should work.

@SCell555
Copy link
Member

Also to note that vsync does only work in exclusive fullscreen mode on dx9, while on dx11 it can work in borderless and windowed mode.

@LittlePlanetCD
Copy link
Author

LittlePlanetCD commented Nov 28, 2024

while on dx11 it can work in borderless and windowed mode.

i guess that makes sense, fair enough. sounds like intended behavior in this case

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug This is a problem with something that should be working one way, but isn't.
Projects
None yet
Development

No branches or pull requests

3 participants