hedge-dev / hedge-dev/UnleashedRecomp

VSync causes significant performance loss

Open
#574 17 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
5.1k
Forks
421
PR merge metrics
No merged PRs in 30d

Description

Validation
  • I have checked the Issues page to see if my problem has already been reported
  • [Irrelevant] I have confirmed that this bug does not occur in the original game running on original Xbox 360 hardware
Describe the Bug

In some areas, enabling VSync causes about a 25-30 FPS drop, testing with ShowFPS enabled.

Steps to Reproduce

Steps to reproduce the bug:

  1. Enable VSync
  2. All my frames gone ):
Expected Behavior

VSync shouldn't do that

Footage

VSync enabled:
Image

VSync disabled:
Image

Specifications

Fill out the following details:

  • CPU: AMD Ryzen 7 3700X
  • GPU: NVIDIA RTX 2070 Super
  • GPU Driver: NVIDIA driver 565.77
  • OS: NixOS 25.05 (Linux)
  • Version: 1.0.0

If I were to guess I'd say this is NVIDIA and Linux exclusive, otherwise I would have expected someone else to open an issue by now.

Also, this is anecdotal, but the framerate seems to be even lower than what's reported with VSync on, which is why I think I managed to catch this.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue on NixOS with the reported Ryzen 7 3700X, RTX 2070 Super, NVIDIA driver 565.77, and version 1.0.0, comparing ShowFPS results with VSync enabled and disabled in the affected areas. Trace the VSync and frame-pacing path used by the Linux build. Done means VSync no longer causes the reported 25–30 FPS loss or lower-than-reported frame rate in the affected scenario.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
game-dev, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.