You are not logged in.

#1 2009-04-11 10:00:32

Ginux
Member
Registered: 2009-04-11
Posts: 7

Video Tearing with ATI HD4850, please help

Hi everyone!
I have lately switched to Arch64 2009.02 and I really like it. But my problem is that when I watch a movie I get pretty much video tearing, have tried a lot but nothing seems to help.
When I choose gl as output in SMPlayer it seems like it runs smoother but if I enable fullscreen it starts lagging, like my videocard is too slow to render it. With xv as output fullscreen works bur with tearing.
Does anyone have any ideas?

My xorg.conf:

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

Section "Files"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/100dpi:unscaled"
    FontPath     "/usr/share/fonts/75dpi:unscaled"
    FontPath     "/usr/share/fonts/TTF"
    FontPath     "/usr/share/fonts/Type1"
EndSection

Section "Module"
    Load  "dbe"
    Load  "xtrap"
    Load  "record"
    Load  "dri"
    Load  "glx"
    Load  "extmod"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "se"
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   "Monitor0"
    VendorName   "Monitor Vendor"
    ModelName    "Monitor Model"
EndSection

Section "Device"
    Option    "TexturedVideo" "on"
    Option "TexturedXrender" "on"
    Option "UseFastTLS" "1"
    Option "BackingStore" "on"
    Option "VideoOverlay" "on"
    Option "OpenGLOverlay" "off"
    Option "XAANoOffscreenPixmaps" "on"
        Option     "DRI"   "on"  
    Option "IgnoreEDID" "on"
    Identifier  "Card0"
    Driver      "radeonhd"
    VendorName  "ATI Technologies Inc"
    BoardName   "RV770 [Radeon HD 4850]"
    BusID       "PCI:1:0:0"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    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 "Extensions"
    Option "Composite" "Enable"
    Option "RENDER" "Enable"
    Option "DAMAGE" "Enable"
    Option "XVideo" "Enable"
EndSection

Offline

#2 2009-04-11 10:48:49

vacant
Member
From: downstairs
Registered: 2004-11-05
Posts: 816

Re: Video Tearing with ATI HD4850, please help

You could try:

1) Option "AccelMethod" "exa" in your device section
2) Adding a DRI section
3) Replacing radeon.ko and drm.ko supplied in the kernel26 package by Perry3d's AUR package
4) The ati driver rather than radeonhd.

I can run HD video  full screen on my laptop (1280x800) or on my 42 inch HD TV (1280x768) using vga without tearing if I shut down my laptop screen.

Section "ServerLayout"
    Identifier    "X.org Configured"
    Screen          0  "lcd"
    InputDevice    "touchpad"  "SendCoreEvents"
EndSection

Section "ServerFlags"
    Option      "AIGLX"    "off"
EndSection

Section "Module"
    Load    "synaptics"
EndSection

Section "InputDevice"
    Identifier  "touchpad"
        Driver      "synaptics"
        Option      "AlwaysCore"        "true"  # send events to CorePointer
    Option      "Device"            "/dev/psaux"
    Option      "Protocol"          "auto-dev"
    Option      "SHMConfig"         "true" # configurable at runtime? security risk
    Option      "LeftEdge"          "1700"  # x coord left
    Option      "RightEdge"         "5300"  # x coord right
    Option      "TopEdge"           "1700"  # y coord top
    Option      "BottomEdge"        "4200"  # y coord bottom
    Option      "FingerLow"         "25"    # pressure below this level triggers release
    Option      "FingerHigh"        "30"    # pressure above this level triggers touch
    Option      "MaxTapTime"        "180"   # max time in ms for detecting tap
    Option      "VertEdgeScroll"    "true"  # enable vertical scroll zone
    Option      "HorizEdgeScroll"   "true"  # enable horizontal scroll zone
    Option      "CornerCoasting"    "true"  # enable continuous scroll with finger in corner
    Option      "CoastingSpeed"     "0.30"  # corner coasting speed
    Option      "VertScrollDelta"   "100"   # edge-to-edge scroll distance of the vertical scroll
    Option      "HorizScrollDelta"  "100"   # edge-to-edge scroll distance of the horizontal scroll
    Option      "MinSpeed"          "0.20"  # speed factor for low pointer movement
    Option      "MaxSpeed"          "0.90"  # maximum speed factor for fast pointer movement
    Option      "AccelFactor"       "0.0060"    # acceleration factor for normal pointer movements
    Option      "TapButton1"    "1"
    Option      "TapButton2"    "2"
    Option      "TapButton3"    "3"
    Option        "RTCornerButton"    "2"
    Option      "RBCornerButton"    "3"
EndSection

Section "Monitor"
        Identifier   "laptop"
    Option       "DPMS"
EndSection

Section "Monitor"
        Identifier   "vistron"
    Option       "DPMS"
    DisplaySize  697 392
    HorizSync    48-60
    VertRefresh  60-75
    Modeline     "1280x720_60.00"  74.48  1280 1336 1472 1664  720 721 724 746  -HSync +Vsync
    Modeline     "1280x768_60.00"  80.14  1280 1344 1480 1680  768 769 772 795  -HSync +Vsync
EndSection
        
Section "Device"
        Identifier  "hd3200"
        Driver      "ati"
    Option      "AccelMethod"    "exa" # or "xaa" default shadowfb
    Option      "DRI"        "true"
    Option      "AccelDFS"    "1"
    Option      "AGPMode" "1"
    Option      "AGPFastWrite" "1"
    Option      "GARTSize" "64"
    Option      "EnablePageFlip" "1"
    Option      "ColorTiling" "1"
    Option        "Monitor-LVDS" "laptop"
    Option      "Monitor-VGA-0" "vistron"
EndSection
                                
Section "Screen"
        Identifier "lcd"
        Device     "hd3200"
EndSection

Section "Screen"
        Identifier "vistron"
        Device     "hd3200"
EndSection
                      
Section "DRI"
    Mode    0666
EndSection

Offline

#3 2009-04-11 14:46:06

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: Video Tearing with ATI HD4850, please help

I guess that problem may be only solved with one of the latest xf86-video-ati as that driver has a specific option for xv video sync.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

Board footer

Powered by FluxBB