Re: Swap Barriers

New Message Reply Date view Thread view Subject view Author view

Rémi Arnaud (remi++at++remi.engr.sgi.com)
Thu, 4 Sep 1997 11:42:16 -0700 (PDT)


Dirk Reiners wrote:
>
>
> Hi Performers,
>
> it's a little off-topic, but this list should probably have a subtitle along
> the lines of 'the high-end-SGI-wizards list' anyway ;).
>
> I'm looking for a demo program for swap barriers. The man page looks simple
> enough, but starting with known good code is always better. I couldn't find
> anything on the Website or in the Toolbox. So if anybody has a little test I'd
> be thankful.
>
> What are people's experiences with using swap barriers anyway? Do you use
> special quality cable? How long can it be? Has anybody tried connecting an Onyx
> iR to an Onyx2 iR? Any other things to watch out for?
>
> Any info welcome
>
> Dirk
>

 SwapBarrier is not implemented in Performer for OpenGL. It will be
 available with performer2.2.
 You need patch 1808 for OnyxiR and patch or patch 2191 on Onyx2 to use
 the swapbarrier.
 You can use openGL directly to set the swapbarrier with those patches.
 The two functions call are:

 glXJoinSwapGroupSGIX(dsp, w, group);
 glXBindSwapBarrierSGIX(dsp, w, barrier);

 The first group windows together so they swap at the same time. It
 is only possible to attach windows on the same pipe.

 the second call attach a window, or a group of window if the window
 passed as a parameter is in a group, to the SwapBarrier Signal. Only
 one window can be attached to a swapbarrier.

 So, you join all your windows in the same group (you can use the
 window id as a group id), and then attach one window on the BArrier.
 You do the same for all pipes you want to synchronize. It work the
 same if the pipe are in the same rack, or in different racks.

 It should work fine to swapBarrier an Onyx2 with an Onyx1 IR, even
 a RE2. Be carefull to have the same video format, and to genlock
 the video as the SwapBarrier signal is only active on the Vertical
 sync, every video should have the same Vsync.

 a 75ohms cable would be just fine. Just plug directly the cable in
 the swap ready connector at both end (no terminator).
 If you have more than two pipes, use a 'T'.

 Regards

    _ / _ _
|_) _ ._ _ o /\ |_)|\ | /\ | || \
| \(/_| | || /--\| \| \|/--\|_||_/
                                           
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
            Submissions: info-performer++at++sgi.com
        Admin. requests: info-performer-request++at++sgi.com


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:55:52 PDT

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