Problem: Wait for VSync on pipe A and Wake up on pipe B

Nicolas Cadio <[email protected]> Thu, 20 Aug 2009 09:41:28 +0000 (GMT)
Newsgroups gmane.comp.freedesktop.xorg,gmane.comp.video.mesa3d.devel,gmane.comp.video.mesa3d.user,gmane.comp.video.dri.devel,gmane.comp.video.dri.user
Message-ID <[email protected]>
--===============1775504049==
Content-Type: multipart/alternative; boundary="0-436743621-1250761288=:51196"

--0-436743621-1250761288=:51196
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Hello,=0A=0AI have an application which must to synchronize with the vertic=
al synchronisation of my display. =0ATo do this synchronization, I use a fu=
nction of GLX (glXWaitVideoSyncSGI).=0A=0AThis function call the function D=
RM to wait the vertical synchronization (drmWaitVBlank) and the driver (drm=
.ko) does a wait on the pipe A of my Xserver.=0A=0ABut my output  (LVDS) of=
 my Xserver is connected to the pipe B and so the driver (drm.ko) does a wa=
ke up on the pipe B.=0A=0ASo my applicaton is not synchronized with my disp=
lay.=0A=0AI would like to know how to configure my application for it uses =
the pipe B when it does a wait for the vertical synchronization.=0AWhere I =
can configure my application for it uses the pipe B for the VSync ?=0AIs it=
 in the xorg.conf or elsewhere?=0A=0AThanks, Nicolas=0A=0A=0A      
--0-436743621-1250761288=:51196
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html><head><style type=3D"text/css"><!-- DIV {margin:0px;} --></style></he=
ad><body><div style=3D"font-family:arial,helvetica,sans-serif;font-size:10p=
t;color:#000000;">Hello,<br><br>I have an application which must to synchro=
nize with the vertical synchronisation of my display. <br>To do this synchr=
onization, I use a function of GLX (glXWaitVideoSyncSGI).<br><br>This funct=
ion call the function DRM to wait the vertical synchronization (drmWaitVBla=
nk) and the driver (drm.ko) does a wait on the pipe A of my Xserver.<br><br=
>But my output&nbsp; (LVDS) of my Xserver is connected to the pipe B and so=
 the driver (drm.ko) does a wake up on the pipe B.<br><br>So my applicaton =
is not synchronized with my display.<br><br>I would like to know how to con=
figure my application for it uses the pipe B when it does a wait for the ve=
rtical synchronization.<br>Where I can configure my application for it uses=
 the pipe B for the VSync ?<br>Is it in the xorg.conf or
 elsewhere?<br><br>Thanks, Nicolas<br><br></div><br>=0A=0A=0A=0A      </bod=
y></html>
--0-436743621-1250761288=:51196--

--===============1775504049==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
xorg mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/xorg
--===============1775504049==--