Dear all:

My pc is need to support two monitor- VGA and HDMI.
After setting xorg.conf, and run libva program - putsurface.
The program can play well, but when drag-and-drop to HDMI, it halt.

I try to analysis it.
when setting "AccelMethod" "sna", this situation occur,  but "AccelMethod"
"sna" +  "TearFree" "true" or "AccelMethod" "uxa"
the program play on well either VGA or HDMI.

Can someone help me?
Bellow is my setting.

HW:
Intel(R) HD Graphics 4600

Lib:
X.Org X Server : 1.14.3
intel_drv.so     : 2.21.15
i965 driver      : 1.2.0
VA-API version: 0.34.0
libva               : 1.2.1

and my xorg.conf setting is


Section "ServerLayout"
Identifier     "X.org Configured"
Screen      0  "Screen0" 0 0
Screen      2  "Screen2" 1280 0
InputDevice    "Mouse0" "CorePointer"
InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
ModulePath   "/usr/X11R7/lib/xorg/modules"
FontPath     "/usr/X11R7/share/fonts/X11/misc/"
FontPath     "/usr/X11R7/share/fonts/X11/TTF/"
FontPath     "/usr/X11R7/share/fonts/X11/OTF/"
FontPath     "/usr/X11R7/share/fonts/X11/Type1/"
FontPath     "/usr/X11R7/share/fonts/X11/100dpi/"
FontPath     "/usr/X11R7/share/fonts/X11/75dpi/"
EndSection

Section "Module"
Load  "glx"
EndSection

Section "InputDevice"
Identifier  "Keyboard0"
Driver      "kbd"
EndSection

Section "InputDevice"
Identifier  "Mouse0"
Driver      "mouse"
Option    "Protocol" "auto"
Option    "Device" "/dev/input/mice"
Option    "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
Identifier   "VGA1"
VendorName   "Monitor Vendor"
ModelName    "Monitor Model"
Option      "PreferredMode" "1280x1024"
Option     "Position" "0 0"
EndSection

Section "Monitor"
Identifier   "HDMI2"
VendorName   "Monitor Vendor"
ModelName    "Monitor Model"
Option       "PreferredMode" "1280x1024"
Option     "Position" "1280 0"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "NoAccel"             # [<bool>]
        #Option     "AccelMethod"         # <str>
        #Option     "Backlight"           # <str>
        #Option     "DRI"                 # <str>
        #Option     "ColorKey"           # <i>
        #Option     "VideoKey"           # <i>
        #Option     "Tiling"             # [<bool>]
        #Option     "LinearFramebuffer"   # [<bool>]
        #Option     "SwapbuffersWait"     # [<bool>]
        #Option     "TripleBuffer"       # [<bool>]
        #Option     "XvPreferOverlay"     # [<bool>]
        #Option     "HotPlug"             # [<bool>]
        #Option     "ReprobeOutputs"     # [<bool>]
        #Option     "XvMC"               # [<bool>]
        #Option     "ZaphodHeads"         # <str>
        #Option     "TearFree"           # [<bool>]
        #Option     "PerCrtcPixmaps"     # [<bool>]
        #Option     "FallbackDebug"       # [<bool>]
        #Option     "DebugFlushBatches"   # [<bool>]
        #Option     "DebugFlushCaches"   # [<bool>]
        #Option     "DebugWait"           # [<bool>]
        #Option     "BufferCache"         # [<bool>]
Identifier  "Card0"
Driver      "intel"
BusID       "PCI:0:2:0"
Option      "Monitor-VGA1" "VGA1"
Option      "Monitor-HDMI2" "HDMI2"
Option     "AccelMethod" "sna"
#Option     "TearFree" "true"
#Option    "AccelMethod" "uxa"
  #Option    "FallbackDebug" "true"
EndSection

Section "Screen"
Identifier "Screen0"
Device     "Card0"
Monitor    "VGA1"
SubSection "Display"
Viewport   0 0
Depth     1
EndSubSection
SubSection "Display"
Viewport   0 0
Depth     4
EndSubSection
SubSection "Display"
Viewport   0 0
Depth     8
EndSubSection
SubSection "Display"
Viewport   0 0
Depth     15
EndSubSection
SubSection "Display"
Viewport   0 0
Depth     16
EndSubSection
SubSection "Display"
Viewport   0 0
Depth     24
EndSubSection
EndSection

Section "Screen"
Identifier "Screen2"
Device     "Card0"
Monitor    "HDMI2"
SubSection "Display"
Viewport   0 0
Depth     1
EndSubSection
SubSection "Display"
Viewport   0 0
Depth     4
EndSubSection
SubSection "Display"
Viewport   0 0
Depth     8
EndSubSection
SubSection "Display"
Viewport   0 0
Depth     15
EndSubSection
SubSection "Display"
Viewport   0 0
Depth     16
EndSubSection
SubSection "Display"
Viewport   0 0
Depth     24
EndSubSection
EndSection
_______________________________________________
[email protected]: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.x.org/mailman/listinfo/xorg
Your subscription address: %(user_address)s

Reply via email to