Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Libretro] Ninja Assault, stutter with vulkan #530

Closed
F0xH0L3 opened this issue Feb 14, 2022 · 5 comments
Closed

[Libretro] Ninja Assault, stutter with vulkan #530

F0xH0L3 opened this issue Feb 14, 2022 · 5 comments
Labels
bug Something isn't working

Comments

@F0xH0L3
Copy link

F0xH0L3 commented Feb 14, 2022

Platform / OS / Hardware: Win 10 x64, RTX 3080, I9-10900kf, 32GB Ram

Hi.
Using the latest version of the core (13/02/2022) the inputs for ninja assault seem to be fixed and p2 even works now,
but it seems to have introduce a new issue... stutter.
Specifically it stutters every time you shoot or reload, easy to reproduce just by spamming the trigger or offscreen reload.
Tested on 2 setups,
Win 10 With RTX3080 and I9-10900kf
and Win 7 with HD7850 and I7-7700K (using for crt 15khz).
It happens only when the video driver is Vulkan.
With GL it works just fine.
Basically what's happening is with Vulkan there's no white flash when shooting as opposed to GL driver, so instead there's a hiccup when there's supposed to be a white flash frame.
after using frame advance i was able to see exactly what's happening.
what is supposed to happen is that after pressing the trigger, three frames afterwards there should be a white flash, with GL that is the case and that is how it's supposed to be.
But with vulkan, on the third frame after pressing the trigger, instead of showing the white flash frame it instead goes back to first frame after pressing the trigger, causing the stutter/hiccup.

@F0xH0L3 F0xH0L3 added the bug Something isn't working label Feb 14, 2022
@StormedBubbles
Copy link

Hey, I experience a similar issue (#474) with the two Dreamcast versions of Virtua Cop 2. I use a Raspberry Pi 4B with the GL video driver and do not get any stutter at all in Ninja Assault. Do you get that stutter with Virtua Cop 2 if you use Vulkan?

The issue with Virtua Cop 2 has been known since the summer, but I don't think the exact issue causing the stutter was ever identified.

@flyinghead
Copy link
Owner

I was wondering too is the two issues are linked but the Virtua Cop 2 one also happens with Open GL.

@F0xH0L3
Copy link
Author

F0xH0L3 commented Feb 17, 2022

Just tried Virtua cop 2 with both Vulkan and GL, same stutter with both video drivers, but it's not the same behavior as ninja assault on vulkan.

@flyinghead
Copy link
Owner

I haven't been able to reproduce this issue with the latest flycast core (2ed4b4a)
Also there's no white flash frame when shooting in ninja assault. I've tested both OpenGL and Vulkan.

Reopen if this is still an issue.

@BroKill
Copy link

BroKill commented Nov 26, 2023

I can confirm Ninja Assault with latest Flycast core version runs good, no white flash while shooting and no stutter.
Tested with Vulkan render.

GREETs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants