<div dir="ltr">Dear all:<div><br></div><div>My pc is need to support two monitor- VGA and HDMI.</div><div>After setting xorg.conf, and run libva program - putsurface.</div><div>The program can play well, but when drag-and-drop to HDMI, it halt.</div>
<div><br></div><div>I try to analysis it. </div><div>when setting "AccelMethod" "sna", this situation occur,  but "AccelMethod" "sna" +  "TearFree" "true" or "AccelMethod" "uxa"</div>
<div>the program play on well either VGA or HDMI.</div><div><br></div><div>Can someone help me?</div><div>Bellow is my setting.</div><div><br></div><div>HW:</div><div>Intel(R) HD Graphics 4600<br></div><div><br></div><div>
Lib:</div><div><table border="0" cellpadding="0" cellspacing="0" width="194" style="border-collapse:collapse;width:146pt"><tbody><tr height="22" style="height:16.2pt">
  <td height="22" width="194" style="height:16.2pt;width:146pt">X.Org X Server : 1.14.3<br>intel_drv.so     : 2.21.15<br>i965 driver      : 1.2.0<br>VA-API version: 0.34.0<br>libva               : 1.2.1</td></tr></tbody></table>
</div><div><br></div><div>and my xorg.conf setting is</div><div> </div><div><br></div><div><div>Section "ServerLayout"</div><div><span class="" style="white-space:pre">  </span>Identifier     "X.org Configured"</div>
<div><span class="" style="white-space:pre">    </span>Screen      0  "Screen0" 0 0</div><div><span class="" style="white-space:pre">     </span>Screen      2  "Screen2" 1280 0</div><div><span class="" style="white-space:pre">  </span>InputDevice    "Mouse0" "CorePointer"</div>
<div><span class="" style="white-space:pre">    </span>InputDevice    "Keyboard0" "CoreKeyboard"</div><div>EndSection</div><div><br></div><div>Section "Files"</div><div><span class="" style="white-space:pre">    </span>ModulePath   "/usr/X11R7/lib/xorg/modules"</div>
<div><span class="" style="white-space:pre">    </span>FontPath     "/usr/X11R7/share/fonts/X11/misc/"</div><div><span class="" style="white-space:pre">  </span>FontPath     "/usr/X11R7/share/fonts/X11/TTF/"</div>
<div><span class="" style="white-space:pre">    </span>FontPath     "/usr/X11R7/share/fonts/X11/OTF/"</div><div><span class="" style="white-space:pre">   </span>FontPath     "/usr/X11R7/share/fonts/X11/Type1/"</div>
<div><span class="" style="white-space:pre">    </span>FontPath     "/usr/X11R7/share/fonts/X11/100dpi/"</div><div><span class="" style="white-space:pre">        </span>FontPath     "/usr/X11R7/share/fonts/X11/75dpi/"</div>
<div>EndSection</div><div><br></div><div>Section "Module"</div><div><span class="" style="white-space:pre"> </span>Load  "glx"</div><div>EndSection</div><div><br></div><div>Section "InputDevice"</div>
<div><span class="" style="white-space:pre">    </span>Identifier  "Keyboard0"</div><div><span class="" style="white-space:pre">  </span>Driver      "kbd"</div><div>EndSection</div></div><div><br></div><div>
<div>Section "InputDevice"</div><div><span class="" style="white-space:pre">      </span>Identifier  "Mouse0"</div><div><span class="" style="white-space:pre">     </span>Driver      "mouse"</div><div>
<span class="" style="white-space:pre">       </span>Option<span class="" style="white-space:pre">    </span>    "Protocol" "auto"</div><div><span class="" style="white-space:pre">  </span>Option<span class="" style="white-space:pre">    </span>    "Device" "/dev/input/mice"</div>
<div><span class="" style="white-space:pre">    </span>Option<span class="" style="white-space:pre">    </span>    "ZAxisMapping" "4 5 6 7"</div><div>EndSection</div><div><br></div><div>Section "Monitor"</div>
<div><span class="" style="white-space:pre">    </span>Identifier   "VGA1"</div><div><span class="" style="white-space:pre">      </span>VendorName   "Monitor Vendor"</div><div><span class="" style="white-space:pre">    </span>ModelName    "Monitor Model"</div>
<div><span class="" style="white-space:pre">    </span>Option <span class="" style="white-space:pre">   </span>     "PreferredMode" "1280x1024"</div><div><span class="" style="white-space:pre">       </span>Option<span class="" style="white-space:pre">    </span>     "Position" "0 0"</div>
<div>EndSection</div></div><div><br></div><div><div>Section "Monitor"</div><div><span class="" style="white-space:pre"> </span>Identifier   "HDMI2"</div><div><span class="" style="white-space:pre">     </span>VendorName   "Monitor Vendor"</div>
<div><span class="" style="white-space:pre">    </span>ModelName    "Monitor Model"<span style="white-space:pre">       </span></div><div><span class="" style="white-space:pre">   </span>Option       "PreferredMode" "1280x1024"</div>
<div><span class="" style="white-space:pre">    </span>Option<span class="" style="white-space:pre">    </span>     "Position" "1280 0"<span style="white-space:pre"> </span></div><div>EndSection</div></div><div>
<br></div><div><div>Section "Device"</div><div>        ### Available Driver options are:-</div><div>        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",</div>
<div>        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",</div><div>        ### <percent>: "<f>%"</div><div>        ### [arg]: arg optional</div><div>        #Option     "NoAccel"            <span class="" style="white-space:pre">   </span># [<bool>]</div>
<div>        #Option     "AccelMethod"        <span class="" style="white-space:pre"> </span># <str></div><div>        #Option     "Backlight"          <span class="" style="white-space:pre">   </span># <str></div>
<div>        #Option     "DRI"                <span class="" style="white-space:pre"> </span># <str></div><div>        #Option     "ColorKey"           <span class="" style="white-space:pre">   </span># <i></div>
<div>        #Option     "VideoKey"           <span class="" style="white-space:pre"> </span># <i></div><div>        #Option     "Tiling"             <span class="" style="white-space:pre">     </span># [<bool>]</div>
<div>        #Option     "LinearFramebuffer"  <span class="" style="white-space:pre"> </span># [<bool>]</div><div>        #Option     "SwapbuffersWait"    <span class="" style="white-space:pre">        </span># [<bool>]</div>
<div>        #Option     "TripleBuffer"       <span class="" style="white-space:pre"> </span># [<bool>]</div><div>        #Option     "XvPreferOverlay"    <span class="" style="white-space:pre">        </span># [<bool>]</div>
<div>        #Option     "HotPlug"            <span class="" style="white-space:pre"> </span># [<bool>]</div><div>        #Option     "ReprobeOutputs"     <span class="" style="white-space:pre">        </span># [<bool>]</div>
<div>        #Option     "XvMC"               <span class="" style="white-space:pre"> </span># [<bool>]</div><div>        #Option     "ZaphodHeads"        <span class="" style="white-space:pre">        </span># <str></div>
<div>        #Option     "TearFree"           <span class="" style="white-space:pre"> </span># [<bool>]</div><div>        #Option     "PerCrtcPixmaps"     <span class="" style="white-space:pre">        </span># [<bool>]</div>
<div>        #Option     "FallbackDebug"      <span class="" style="white-space:pre"> </span># [<bool>]</div><div>        #Option     "DebugFlushBatches"  <span class="" style="white-space:pre">        </span># [<bool>]</div>
<div>        #Option     "DebugFlushCaches"   <span class="" style="white-space:pre"> </span># [<bool>]</div><div>        #Option     "DebugWait"          <span class="" style="white-space:pre">        </span># [<bool>]</div>
<div>        #Option     "BufferCache"        <span class="" style="white-space:pre"> </span># [<bool>]</div><div><span class="" style="white-space:pre">   </span>Identifier  "Card0"</div><div><span class="" style="white-space:pre">      </span>Driver      "intel"</div>
<div><span class="" style="white-space:pre">    </span>BusID       "PCI:0:2:0"</div><div><span class="" style="white-space:pre">  </span>Option      "Monitor-VGA1" "VGA1"</div><div><span class="" style="white-space:pre">      </span>Option      "Monitor-HDMI2" "HDMI2"</div>
<div><span class="" style="white-space:pre">    </span>Option     "AccelMethod" "sna"</div><div><span class="" style="white-space:pre"> </span>#Option     "TearFree" "true"</div><div><span class="" style="white-space:pre">  </span>#Option<span class="" style="white-space:pre">   </span>    "AccelMethod" "uxa"</div>
<div>  #Option<span class="" style="white-space:pre">   </span>    "FallbackDebug" "true"  </div><div>EndSection</div></div><div><br></div><div><div>Section "Screen"</div><div><span class="" style="white-space:pre"> </span>Identifier "Screen0"</div>
<div><span class="" style="white-space:pre">    </span>Device     "Card0"</div><div><span class="" style="white-space:pre">       </span>Monitor    "VGA1"</div><div><span class="" style="white-space:pre">        </span>SubSection "Display"</div>
<div><span class="" style="white-space:pre">            </span>Viewport   0 0</div><div><span class="" style="white-space:pre">             </span>Depth     1</div><div><span class="" style="white-space:pre">        </span>EndSubSection</div><div><span class="" style="white-space:pre">      </span>SubSection "Display"</div>
<div><span class="" style="white-space:pre">            </span>Viewport   0 0</div><div><span class="" style="white-space:pre">             </span>Depth     4</div><div><span class="" style="white-space:pre">        </span>EndSubSection</div><div><span class="" style="white-space:pre">      </span>SubSection "Display"</div>
<div><span class="" style="white-space:pre">            </span>Viewport   0 0</div><div><span class="" style="white-space:pre">             </span>Depth     8</div><div><span class="" style="white-space:pre">        </span>EndSubSection</div><div><span class="" style="white-space:pre">      </span>SubSection "Display"</div>
<div><span class="" style="white-space:pre">            </span>Viewport   0 0</div><div><span class="" style="white-space:pre">             </span>Depth     15</div><div><span class="" style="white-space:pre">       </span>EndSubSection</div><div><span class="" style="white-space:pre">      </span>SubSection "Display"</div>
<div><span class="" style="white-space:pre">            </span>Viewport   0 0</div><div><span class="" style="white-space:pre">             </span>Depth     16</div><div><span class="" style="white-space:pre">       </span>EndSubSection</div><div><span class="" style="white-space:pre">      </span>SubSection "Display"</div>
<div><span class="" style="white-space:pre">            </span>Viewport   0 0</div><div><span class="" style="white-space:pre">             </span>Depth     24</div><div><span class="" style="white-space:pre">       </span>EndSubSection</div><div>EndSection</div>
</div><div><br></div><div><div>Section "Screen"</div><div><span class="" style="white-space:pre">   </span>Identifier "Screen2"</div><div><span class="" style="white-space:pre">     </span>Device     "Card0"</div>
<div><span class="" style="white-space:pre">    </span>Monitor    "HDMI2"</div><div><span class="" style="white-space:pre">       </span>SubSection "Display"</div><div><span class="" style="white-space:pre">             </span>Viewport   0 0</div>
<div><span class="" style="white-space:pre">            </span>Depth     1</div><div><span class="" style="white-space:pre">        </span>EndSubSection</div><div><span class="" style="white-space:pre">      </span>SubSection "Display"</div>
<div><span class="" style="white-space:pre">            </span>Viewport   0 0</div><div><span class="" style="white-space:pre">             </span>Depth     4</div><div><span class="" style="white-space:pre">        </span>EndSubSection</div><div><span class="" style="white-space:pre">      </span>SubSection "Display"</div>
<div><span class="" style="white-space:pre">            </span>Viewport   0 0</div><div><span class="" style="white-space:pre">             </span>Depth     8</div><div><span class="" style="white-space:pre">        </span>EndSubSection</div><div><span class="" style="white-space:pre">      </span>SubSection "Display"</div>
<div><span class="" style="white-space:pre">            </span>Viewport   0 0</div><div><span class="" style="white-space:pre">             </span>Depth     15</div><div><span class="" style="white-space:pre">       </span>EndSubSection</div><div><span class="" style="white-space:pre">      </span>SubSection "Display"</div>
<div><span class="" style="white-space:pre">            </span>Viewport   0 0</div><div><span class="" style="white-space:pre">             </span>Depth     16</div><div><span class="" style="white-space:pre">       </span>EndSubSection</div><div><span class="" style="white-space:pre">      </span>SubSection "Display"</div>
<div><span class="" style="white-space:pre">            </span>Viewport   0 0</div><div><span class="" style="white-space:pre">             </span>Depth     24</div><div><span class="" style="white-space:pre">       </span>EndSubSection</div><div>EndSection</div>
</div></div>