-
Notifications
You must be signed in to change notification settings - Fork 47
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
2 additional frames of input lag #33
Comments
Here we go again... :/ Do you think it might be due to the polling being called at the wrong time, as with other cores in the past? |
Could be that, could be end frame timing, could be both. |
Could PCSX2/pcsx2#4115 have anything to do with it? It slightly reduced input lag in standalone, but hasn't been backported to the core. Not sure if that'd account for 2 additional frames, though. |
Maybe, if @Tatsuya79 was testing the latest standalone nightly, then perhaps the latency reduction caused by that commit should be taken into account. Otherwise, it is something that is specific to the Libretro implementation. |
I probably tested before that already in the past. |
Did some quick testing in Gradius V. Here's what I found: First, I was able to replicate the 2 additional frames of input lag vs. a recent build of the standalone. I got the same result when trying a build of the standalone from just prior to the initial libretro port. So it's something specific to the libretro implementation. The PR I mentioned adds the |
Indeed setting VsyncQueueSize = 0 is working, now 5 frames to react in Gradius V, 3 in Thunderforce VI in RetroArch. Stand-alone doesn't show the effect of that setting change with their frame step method indeed... I wonder if we should set it to 0 by default in RA, if it has any impact on perfs here. |
The VsyncQueueSize = 0 doesn't work anymore and is overwritten after each boot. I tried to make it read only but another temp file is written then. |
There's no official support for manually tweaking the .ini files in |
I think the proper way to go about the VsyncQueueSize setting would be to backport PCSX2/pcsx2#4244 so that the setting is unaffected by speed hack presets, then expose the setting as a core option (probably under a different name than "VsyncQueueSize" since camel casing looks pretty bad in UI. I forget exactly what standalone calls it in their GUI, but we should probably go with that.) |
There's 2 additional frames of input lag in the libretro core vs stand-alone.
Tested in Gradius V, opengl in stand-alone (with "input record" frame advance feature), glcore in RA, win7 x64.
The text was updated successfully, but these errors were encountered: