PDA

View Full Version : Is there any way to synchronize the display of images



kiransu123
17th March 2007, 17:57
i am working on parallel graphics i m displaying one image on 4 different clients but the image is not displayed at same time some tile is displyed image earlier and some takes time

i am using mpich for message passing so is there any way to synchronize these events so that all images will be displyed simultaneously

i am using linux redhat 9 smp
QT3 and openGL for image division and dislay
mpich1.2.7

so plz help me

wysota
17th March 2007, 18:19
Ok, but what is the problem related to Qt?

jacek
17th March 2007, 20:50
First of all you have to know how much time it takes to communicate between the server and the clients. This way you will know how many frames you have to buffer. The second thing you need to know is the maximum allowed delay between the first client that shows a new frame and the last one.

Most likely you will have to synchronise the time between the server and the clients (for example using NTP) and attach some kind of a timestamp to each frame. Also check whether the processing on the client doesn't take too long, so you can fit into the desired framerate.