libretro / libretro/RetroArch

vulkan driver requires vsync to be OFF

Open
#10,696 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug: vulkan gpu api: vulkan platform: windows
Dominant language
C
Stars
14.1k
Forks
2.2k
Avg merge
7h 35m
Merged PRs (30d)
51

Description

First and foremost consider this:

  • Only RetroArch bugs should be filed here. Not core bugs or game bugs
  • This is not a forum or a help section, this is strictly developer oriented

Description

if vulkan is driver and vsync is on, you get stuttering A/V, FULLSCREEN only, does not affect windowed

Expected behavior

smooth A/V

Actual behavior

framrate drops below core norm or resolution norm in RA UI

Steps to reproduce the bug
  1. set vulkan as driver
  2. make sure vsync is on
  3. start a core that uses vulkan (beetle psx, parallel, etc..)
  4. observer performance in full screen (bug does not affect windowed)
  5. turn vsync off and observe difference in performance
Bisect Results

[Try to bisect and tell us when this started happening]

Version/Commit

You can find this information under Information/System Information

  • RetroArch: 1.8.7
Environment information
  • OS: windows 10 pro 64bit, gtx 1660, latest nvidia drivers
  • Compiler: [In case you are running local builds]

Contributor guide

Open the contributing guide

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

Reproduce the issue using the listed Windows 10, GTX 1660, fullscreen Vulkan, and vsync settings, comparing performance with vsync enabled and disabled. Narrow the regression with a bisect if possible; done means smooth audio/video in fullscreen with vsync enabled while windowed behavior remains unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
computer-graphics, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.