Re: multi-channel synchronizing

New Message Reply Date view Thread view Subject view Author view

Jim Helman (jimh++at++surreal)
Tue, 21 Jun 94 11:16:27 -0700


I can think of two things that might contribute to this:

1) You don't mention whether your pipes are genlocked.
When driving multiple pipes from the same Performer
application, it's important that the pipes be genlocked for
good synchronization.

2) There's a bug in 1.2 regarding the vertical retrace clock
initialization in multiple hardware pipes. We don't
initialize them so they can be out of sync. The workaround
is to do it yourself by simulataneously (i.e. within the
same video field) calling pfInitVClock(0.0). A good place
to do this synchronization is during the first invocation of
the channel draw callback. Something like this should work:

        if first invocation of a channel draw callback on this pfPipe
        {
            wait for other draw processes to reach this point
             
            /* block on pipe until next retrace */
            gsync();
            cpack(0x000000);

            /* initialize clocks */
            pfInitVClock(0.0f);
        }

rgds,

-jim helman

jimh++at++surreal.asd.sgi.com
415/390-1151


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:50:21 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.