You are not logged in.

#1 2008-05-28 22:19:19

trashcat
Member
From: NY
Registered: 2008-05-28
Posts: 7

ati video corruption

hey, I'm having a lot of trouble with the catalyst driver right now...output from fglrxinfo:

libGL error: open DRM failed (Operation not permitted)
libGL error: reverting to (slow) indirect rendering
display: :0.0  screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI Mobility Radeon X1400
OpenGL version string: 1.4 (2.1.7537 Release)

and my xorg.conf:

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

Section "Files"
    RgbPath      "/usr/share/X11/rgb"
    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  "glx"
    Load  "GLcore"
    Load  "dbe"
    Load  "extmod"
    Load  "synaptics"
    Load  "dri"
    Load  "record"
    Load  "xtrap"
    Load  "freetype"
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 "InputDevice"
    Identifier  "Touchpad"
    Driver      "synaptics"
    Option  "Device"     "/dev/input/mouse0"
    Option  "Protocol"   "auto-dev"
    Option  "LeftEdge"   "1700"
    Option  "RightEdge"  "5300"
    Option  "TopEdge"    "1700"
    Option  "BottonEdge" "4200"
    Option  "FingerLow"  "25"
    Option  "FingerHigh" "30"
    Option  "MaxTapTime" "180"
    Option  "MaxTapMove" "220"
    Option  "VertScrollDelta" "100"
    Option  "MinSpeed"   "0.06"
    Option  "MaxSpeed"   "0.12"
    Option  "AccelFactor" "0.0010"
    Option  "SHMConfig"  "on"
EndSection

Section "Monitor"
    Identifier   "Monitor0"
    VendorName   "Monitor Vendor"
    ModelName    "Monitor Model"
    HorizSync    30.0 - 130.0
    VertRefresh  50.0 - 100.0
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"                # [<bool>]
        #Option     "NoDRI"                  # [<bool>]
        #Option     "SWcursor"               # [<bool>]
        #Option     "Dac6Bit"                # [<bool>]
        #Option     "BusType"                # [<str>]
        #Option     "DRM_nbufs"              # <i>
        #Option     "DRM_bufsize"            # <i>
        #Option     "Capabilities"           # <i>
        #Option     "CapabilitiesEx"         # <i>
        #Option     "ClientDriverName"       # [<str>]
        #Option     "KernelModuleParm"       # [<str>]
        #Option     "AGPMask"                # <i>
        #Option     "AGPv3Mask"              # <i>
        #Option     "BufferTiling"           # [<bool>]
        #Option     "Profile"                # <str>
        #Option     "RingSize"               # <i>
        #Option     "EnableDepthMoves"       # [<bool>]
        #Option     "GammaCorrectionI"       # <i>
        #Option     "GammaCorrectionII"      # <i>
        #Option     "OpenGLOverlay"          # [<bool>]
        #Option     "DefaultVisualTrueColor"     # [<bool>]
        #Option     "VideoOverlay"           # [<bool>]
        #Option     "DesktopSetup"           # [<str>]
        #Option     "MonitorLayout"          # [<str>]
        #Option     "ForceMonitors"          # [<str>]
        #Option     "EnableMonitor"          # <str>
        #Option     "OverlayOnCRTC2"         # [<bool>]
        #Option     "Mode2"                  # [<str>]
        #Option     "PairModes"              # [<str>]
        #Option     "HSync2"                 # [<str>]
        #Option     "VRefresh2"              # [<str>]
        #Option     "ScreenOverlap"          # <i>
        #Option     "MemClock"               # <i>
        #Option     "ASICClock"              # <i>
        #Option     "UseInternalAGPGART"     # [<bool>]
        #Option     "FastSwap"               # [<bool>]
        #Option     "Stereo"                 # [<bool>]
        #Option     "StereoSyncEnable"       # <i>
        #Option     "DisableOvScaler"        # [<bool>]
        #Option     "UseFastTLS"             # <i>
        #Option     "BlockSignalsOnLock"     # [<bool>]
        #Option     "ForceGenericCPU"        # [<bool>]
        #Option     "CenterMode"             # [<bool>]
        #Option     "OffScreenPixmaps"       # [<bool>]
        #Option     "EnableOpaqueOverlayVisual"     # [<bool>]
        #Option     "TMDSCoherentMode"       # [<bool>]
        #Option     "EnablePrivateBackZ"     # [<bool>]
        #Option     "TVFormat"               # [<str>]
        #Option     "TVStandard"             # [<str>]
        #Option     "TVOverscan"             # [<bool>]
        #Option     "TVHSizeAdj"             # <i>
        #Option     "TVVSizeAdj"             # <i>
        #Option     "TVHPosAdj"              # <i>
        #Option     "TVVPosAdj"              # <i>
        #Option     "TVHStartAdj"            # <i>
        #Option     "TVColorAdj"             # <i>
        #Option     "PseudoColorVisuals"     # [<bool>]
        #Option     "PreferredVRefresh"      # <i>
        #Option     "FastStart"              # [<bool>]
        #Option     "ProfileDriver"          # [<bool>]
        #Option     "PPPTforGART"            # [<bool>]
        #Option     "TexturedVideo"          # [<bool>]
        #Option     "TexturedVideoSync"      # [<bool>]
        Option     "Textured2D"         "on"    # [<bool>]
        Option     "TexturedXrender"    "on"    # [<bool>]
        #Option     "DPMS"                   # [<bool>]
        #Option     "MaxGARTSize"            # <i>
        #Option     "LogoPosX"               # <i>
        #Option     "LogoPosY"               # <i>
        #Option     "LogoColFG"              # <i>
        #Option     "LogoColBG"              # <i>
        #Option     "SwapScreens"            # [<bool>]
        #Option     "FBC"                    # [<bool>]
        #Option     "FrontBufferMode"        # <i>
        #Option     "BackBufferMode"         # <i>
        #Option     "DepthBufferMode"        # <i>
        #Option     "OverlayBufferMode"      # <i>
        #Option     "VideoOverlayBufferMode"     # <i>
        #Option     "EnableIrqMgr"           # [<bool>]
        #Option     "EnableMulticard"        # [<bool>]
        #Option     "EnablePPLIB"            # [<bool>]
        #Option     "DefaultOnDC"            # [<bool>]
    Identifier  "Card0"
    Driver      "fglrx"
    VendorName  "ATI Technologies Inc"
    BoardName   "Radeon Mobility X1400"
    BusID       "PCI:1:0:0"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    DefaultColorDepth 24
    SubSection "Display"
        Viewport   0 0
        Depth     24
        Modes "1680x1050" "1440x900" "1280x1024"
    EndSubSection
EndSection

Section "Extensions"
    Option "Composite" "Enable"
EndSection

Section "ServerFlags"
    Option "AIGLX" "True"
EndSection

here's what happened:
video playback was broken, so I tried enabling certain options as suggested on a phoronix thread...this fixed video playback, but has created really back fragments behind icons/text in certain apps, and on my desktop...I switched all the options back to see if this would fix it (as I thought it should), but there are still really bad fragments, and while I'm a generally competant person the xorg.conf is black magic to me, and we've never really gotten along

any help would be greatly appreciated.

-trashcat

Offline

#2 2008-05-28 23:05:42

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: ati video corruption

libGL error: open DRM failed (Operation not permitted)

Are you using compiz while you do that command?  If not, I suggest you add the following to xorg.conf:

Section "DRI"
    Mode 0666
EndSection

Also, when changing options for the fglrx driver, you'll want to move /etc/ati/amdpcsdb away - AMD stores fglrx-specific configuration info in that file, and once it's set up, it will override any fglrx-specific settings in xorg.conf

Offline

#3 2008-05-29 00:09:02

trashcat
Member
From: NY
Registered: 2008-05-28
Posts: 7

Re: ati video corruption

not running compiz...although compiz was working, adding that section got rid of the message, and a combination of either adding that section or moving amdpcsdb corrected the fragments

thanks a lot

-trashcat

Offline

Board footer

Powered by FluxBB