Project

General

Profile

Emulator Issues #12761

Black flashing when pressing or releasing turbo button with Vulkan in Exclusive Fullscreen in my laptop's 120hz screen

Added by intruso about 2 months ago. Updated about 2 months ago.

Status:
New
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

DescripciĆ³n

Game Name/Game ID/MD5 Hash

All games I tested are affected, even the GC and Wii System Menu

What's the problem? Describe what went wrong.

The moment I press the turbo button to disable the "emulation speed limit", during a second the screens blinks with black (sometimes showing part of an outdated frame in the process). The same brief blinking happens when I release the button to limit the speed.

This only happens on Vulkan (OpenGL, D3D11 and D3D12 work fine), in exclusive fullscreen (windowed or borderless fullscreen are fine) and with my 120hz laptop screen (if I connect my laptop to my TV, it runs fine).

What steps will reproduce the problem?

Run any game in (exclusive) fullscreen with the Vulkan backend in a high refresh ratio monitor (I only tested 120hz, I suspect other refresh ratios may be affected).

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

5.0-15613

Is the issue present in the latest stable version?

There wasn't a Vulkan backend in the latest stable.

If your issue is a graphical issue, please attach screenshots and record a three frame fifolog of the issue if possible. Screenshots showing what it is supposed to look like from either console or older builds of Dolphin will help too. For more information on how to use the fifoplayer, please check here: https://wiki.dolphin-emu.org/index.php?title=FifoPlayer

[Attach any fifologs if possible, write a description of fifologs and screenshots here to assist people unfamiliar with the game.]

What are your PC specifications? (CPU, GPU, Operating System, more)
Laptop legion 5 15arh05h (82b1)
CPU: AMD Ryzen 7 4800H @ 2.9-4.2 GHz (8/16)
GPU: NVIDIA GeForce RTX 2060 @ 6GB @ 120hz with driver 497.09 (Radeon disabled in BIOS)
RAM: 16 GB @ DDR4
OS: Windows 10 64bits

Is there anything else that can help developers narrow down the issue?

Video of me repetitively hitting the turbo key, causing flashing and shuttering.
https://drive.google.com/file/d/1TFpDJTqUxEHqwO6ioBjnfhuMQ55xzhPI/view?usp=sharing

History

#1 Updated by Techjar about 2 months ago

Yeah this is because toggling unlimited speed also temporarily toggles vsync, which recreates the entire swapchain.

#2 Updated by intruso about 2 months ago

Vsync must be on to cause the blinking, for the reasons Techjar mentioned.

Also available in: Atom PDF