<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt;color:#000000;">Hi all,<br><br>I try to use the vertical synchronization on a program which use the functions of openGL (glXWaitVideoSyncSGI), but the driver drm.ko does a wait (DRM_WAIT_ON) on the crtc 0 and does a wake up (DRM_WAKEUP) on the crtc 1. <br><br>If I put the wait on the crtc 1 in the source of the driver, I have a synchronisation.<br><br>So I would like to know how to configure my Xserver to do the wait and the wake up on the crtc 1.<br><br>this is my xorg.conf :<br><br><font style="font-family: arial,helvetica,sans-serif;" size="2">Section "ServerLayout"<br> Identifier "X.org Configured"<br> Screen 0 "Screen0" 0 0<br> #InputDevice "Mouse0"
"CorePointer"<br> InputDevice "Keyboard0" "CoreKeyboard"<br> #Option "AIGLX" "false"<br>EndSection<br><br>Section "Files"<br> ModulePath "/usr/lib/xorg/modules"<br> FontPath "/usr/lib/X11/fonts/misc/"<br> FontPath "/usr/lib/X11/fonts/TTF/"<br> FontPath "/usr/lib/X11/fonts/OTF"<br> FontPath "/usr/lib/X11/fonts/Type1/"<br> FontPath "/usr/lib/X11/fonts/100dpi/"<br> FontPath "/usr/lib/X11/fonts/75dpi/"<br>EndSection<br><br>Section "Module"<br> Load "dbe"<br> Load "dri"<br> Load "dri2"<br> Load "extmod"<br>
Load "glx"<br>EndSection<br><br>Section "ServerFlags"<br> Option "blank time" "0" <br> Option "standby time" "0"<br> Option "suspend time" "0"<br> Option "off time" "0"<br>EndSection<br><br>Section "InputDevice"<br> Identifier "Keyboard0"<br> Driver "kbd"<br>EndSection<br><br>#Section "InputDevice"<br># Identifier "Mouse0"<br># Driver "mouse"<br># Option "Protocol" "auto"<br># Option "Device" "/dev/input/mice"<br># Option
"ZAxisMapping" "4 5 6 7"<br>#EndSection<br><br>Section "Monitor"<br> Identifier "TMDS-1"<br> Option "DPMS"<br> VendorName "Monitor Vendor"<br> ModelName "Monitor Model"<br> Modeline "1024x768 INITIAL MODE" 64.99 1024 1048 1184 1344 768 771 777 806 -HSync -VSync<br> Modeline "1280x720 60Hz CEA" 74.25 1280 1500 1540 1650 720 725 730 750 +HSync +VSync<br> ModeLine "1360x768 60Hz" 85.50 1360 1392 1712 1744 768 783 791 807 +HSync +Vsync<br> ModeLine "1366x768 60Hz" 85.86 1366 1440 1584 1800 768 769 772 795 -HSync +Vsync<br> Modeline "1376x768 60Hz VESA" 85.25 1376 1448 1584 1784 768 771 781 798 -HSync +VSync<br>EndSection<br><br>Section "Device"<br>
### Available Driver options are:-<br> ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",<br> ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"<br> ### [arg]: arg optional<br> #Option "NoAccel" "False" # [<bool>]<br> #Option "SWcursor" # [<bool>]<br> #Option "ColorKey" #
<i><br> #Option "CacheLines" # <i><br> #Option "Dac6Bit" # [<bool>]<br> #Option "DRI" "True" # [<bool>]<br> #Option "NoDDC" "True" # [<bool>]<br> #Option
"ShowCache" # [<bool>]<br> #Option "XvMCSurfaces" # <i><br> #Option "PageFlip" # [<bool>]<br> Option "ForceEnablePipeB" "True"<br> Option "SwapbuffersWait" "True"<br> Identifier "Card0"<br> Driver "intel"<br> VendorName "Unknown Vendor"<br> BoardName "Unknown Board"<br>
BusID "PCI:0:2:0"<br>EndSection<br><br>Section "Screen"<br> Identifier "Screen0"<br> Device "Card0"<br> Monitor "TMDS-1"<br> SubSection "Display"<br> Viewport 0 0<br> Depth 16<br> Modes "1024x768 INITIAL MODE" "1280x720 60Hz CEA" "1360x768 60Hz" "1366x768 60Hz" "1376x768 60Hz VESA"<br> EndSubSection<br> SubSection "Display"<br> Viewport 0 0<br> Depth 24<br> Modes "1024x768 INITIAL MODE" "1280x720 60Hz CEA" "1360x768 60Hz" "1366x768 60Hz" "1376x768 60Hz VESA"<br>
EndSubSection<br>EndSection<br></font><div> <br><br>Thank for your help, nicolas<br></div><br></div><br>
</body></html>