Rob Guest
|
Posted: Fri Nov 18, 2011 11:48 am Post subject: Low latency Vsync |
|
|
Hi,
Recently some discussion and developements in the Amiga emulator WinUAE has resulted in the addition of a Low Latency VSync feature. This makes it possible under Windows to have accurate VSync without double or triple buffering, resulting in very low latency response on joystick and mouse.
The crux of the story is that the reported refresh rate in Windows is inaccurate (it only reports integer rate, not the real floating point precision). Through the use of the following function one can find the real refresh rate, time vblank accurately, and have more accurate video and audio sync. This without the use of double or triple buffering, which brings input-response and video sync close to real hardware. Some discussion also shows that one needs a monitor that is capable of both ~50hz and ~60hz for accurate PAL/NTSC behaviour, which luckily all monitors with a HDMI connection are capable of these days.
The crucial function is (please note the h t t p: because of your antispam mod)
A very lengthy discussion on the whole topic can be found here:
h t t p://eab.abime.net/showthread.php?t=58900 ("No-buffering display mode with zero screen tearing, the next step?")
From about post #15 the raster status function is mentioned.
I was wondering if you would consider adding such a Low Latency VSync mode to BlueMSX? Or otherwise your thoughts on this?
Many thanks and best regards to all authors (especially to dvik). |
|