Emulator Issues #12244
Vulkan and Vsync: previous buffer shown when fast forwarding
What's the problem? Describe what went wrong.
Using the settings below, toggling fast forward by tapping/releasing the TAB button, quickly interrupts the emulation to show the frame that was rendered when going fullscreen.
Video here (recorded on phone because the problem wasn't shown with a screen recorder): https://photos.app.goo.gl/yGq4Gf2uGD7rz4Ff6
(I also set the backlash button to toggle fullscreen for easier recording)
What steps will reproduce the problem?
Video backend: Vulkan;
Play any game, toggle fullscreen (both borderless and exclusive have the problem) and press TAB: you will see the problem.
Something is still wrong even on windowed though: mashing TAB slows down the emulation, which doesn't happen with a different backend and/or Vsync off.
Is the issue present in the latest development version? For future reference, please also write down the version number of the latest development version.
Is the issue present in the latest stable version?
If the issue isn't present in the latest stable version, which is the first broken version? (You can find the first broken version by bisecting. Windows users can use the tool https://forums.dolphin-emu.org/Thread-green-notice-development-thread-unofficial-dolphin-bisection-tool-for-finding-broken-builds and anyone who is building Dolphin on their own can use git bisect.)
What are your PC specifications? (CPU, GPU, Operating System, more)
CPU: AMD A10-9700
Video Card: AMD RX 460 2GB (drivers: Adrenalin 20.8.3, the latest)
OS: Windows 10 2004
- Status changed from New to Questionable
I have actually seen this before, and I'm pretty sure I know the cause. I think losing v-sync causes Dolphin to lose exclusive fullscreen for a moment which causes the previous buffer to be shown for a moment.
If this is the case, there isn't anything we can do about it aside from figuring out a way to not lose exclusive fullscreen.
I tried Vulkan with Vsync in windowed mode and cannot reproduce it making the emulator slower.
There is a unique issue with Vulkan + non-immediate XFB copies in certain games, but I don't think that's related to vsync. Also, I'm not using dualcore because that's a mess in and of itself with speed changes.
#5 Updated by SuperSamus 7 months ago
Video of the windowed issue: https://photos.app.goo.gl/rKqVMzfTsMsk42ke7
Tested with dual core on and off, same with all the XFB options.
I noticed that disabling hacks slows the emulation even more, so maybe it doesn't slow down to you because my hardware is weaker than yours.