This is blueMSX forum for the users
Navigation :: blueMSX forum
FAQ :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in

Low latency Vsync

 
Post new topic   Reply to topic    blueMSX forum Forum Index -> General discussion
View previous topic :: View next topic  
Author Message
Rob
Guest





PostPosted: Fri Nov 18, 2011 11:48 am 
Post subject: Low latency Vsync
Reply with quote

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)

Quote:
Sailorsat wrote: You can ask a Direct3D Device if it currently is in VBLank via the D3DRASTER_STATUS

h t t p://msdn.microsoft.com/en-us/library/bb174402(v=vs.85).aspx


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).
Back to top
Display posts from previous:   
Post new topic   Reply to topic    blueMSX forum Forum Index -> General discussion All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group