Project

General

Profile

Actions

Emulator Issues #10555

closed

Disabling emulation speed while using Vulkan and Vsync in fullscreen causes entire emulator window to briefly flash black and create other visual errors(this effects overlays too)

Added by garbageboy over 7 years ago. Updated over 1 year ago.

Status:
Working as intended
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

Game Name?

Occurred in every game I tried.

What's the problem? Describe what went wrong.

Using Vulkan with Vsync enabled and in fullscreen: activating or deactivating the "Disable Emulation Speed Limit" hotkey immediately flashes black over the entire emulation window for a brief period of time, and also occasionally flashes a very noisy garbage-like visual effect, then afterwards it goes back to rendering the game correctly. The entire process takes less than a third of a second. These effects also affect the overlays supplied by Dolphin, like the FPS counter or lag meter.

What steps will reproduce the problem?

Use Vulkan, enable Vsync, be in fullscreen, hit the Disable Emulation Speed Limit key.

Is the issue present in the latest development version? For future reference, please also write down the version number of the latest development version.

Occurs in current dev build 5.0-5564
Also occurs in every version all the way back to 5.0-991 and 5.0-985.
The disable emulation speed limit function doesn't seem to work in the first available Vulkan version (5.0-750) so I couldn't test to see if it occurred there and other versions up until 985.

What are your PC specifications? (CPU, GPU, Operating System, more)

Windows 10 x64
Intel Core i5-3570K
Geforce GTX 760 (latest drivers)
Two monitors

Is there anything else that can help developers narrow down the issue? (e.g. logs, screenshots,
configuration files, savefiles, savestates)

Shadowplay, screenshots, and even printscreen don't capture the flashing or visual garbage so please forgive the extremely bad cell phone picture showing the visual errors.


Files

pikmin.JPG (1.41 MB) pikmin.JPG garbageboy, 09/22/2017 03:40 AM
Actions #1

Updated by Stenzek over 7 years ago

  • Status changed from New to Working as intended

In Vulkan, to disable the speed limiter with vsync on, we need to disable vsync in the presentation engine. We can't do this without recreating the swap chain, hence the potential flicker to black when it is recreated.

Actions #2

Updated by vlad54rus over 1 year ago

Should be possible to fix by using new Vulkan extension - VK_EXT_swapchain_maintenance1 (when Windows drivers start supporting it, of course)

Actions

Also available in: Atom PDF