You are not logged in.

#1 2007-04-09 22:17:41

Plexxxy
Member
Registered: 2006-07-31
Posts: 10

open source ati driver -- garbled graphics

I'm trying to run an openGL game (Uplink-demo) with the open source ati driver, but I just get strange garbled graphics. It's not the card or the game either -- I installed opensuse 10.2 on this same box the other day and had no problems running the game. Even XGL worked surprisingly. But opensuse is a pig next to Arch though so I'm hoping for a fix wink Here is the result:

944477_4ac87b1d8d.jpg

Help! :S

BTW, I can't run the closed source fglrx driver because my card is no longer supported (Radeon 9000, rv250 chipset). The legacy drivers ATI provides don't seem to install with Xorg 7.2.

::edit::
Here's a copy of my xorg.conf

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
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  "xtrap"
    Load  "dbe"
    Load  "record"
    Load  "extmod"
    Load  "dri"
    Load  "GLcore"
    Load  "glx"
    Load  "type1"
    Load  "freetype"
    Load  "drm"
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"
    #DisplaySize      360   270    # mm
    Identifier   "Monitor0"
    VendorName   "VSC"
    ModelName    "A90f"
 ### Comment all HorizSync and VertRefresh values to use DDC:
    HorizSync    30.0 - 86.0
    VertRefresh  50.0 - 150.0
    Option        "DPMS"
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     "SWcursor"               # [<bool>]
        #Option     "Dac6Bit"                # [<bool>]
        #Option     "Dac8Bit"                # [<bool>]
        #Option     "BusType"                # [<str>]
        #Option     "CPPIOMode"              # [<bool>]
        #Option     "CPusecTimeout"          # <i>
        #Option     "AGPMode"                # <i>
        #Option     "AGPFastWrite"           # [<bool>]
        #Option     "AGPSize"                # <i>
        #Option     "GARTSize"               # <i>
        #Option     "RingSize"               # <i>
        #Option     "BufferSize"             # <i>
        #Option     "EnableDepthMoves"       # [<bool>]
        #Option     "EnablePageFlip"         # [<bool>]
        #Option     "NoBackBuffer"           # [<bool>]
        #Option     "DMAForXv"               # [<bool>]
        #Option     "FBTexPercent"           # <i>
        #Option     "DepthBits"              # <i>
        #Option     "AccelDFS"               # [<bool>]
        #Option     "PanelOff"               # [<bool>]
        #Option     "DDCMode"                # [<bool>]
        #Option     "MonitorLayout"          # [<str>]
        #Option     "IgnoreEDID"             # [<bool>]
        #Option     "UseFBDev"               # [<bool>]
        #Option     "MergedFB"               # [<bool>]
        #Option     "CRT2HSync"              # [<str>]
        #Option     "CRT2VRefresh"           # [<str>]
        #Option     "CRT2Position"           # [<str>]
        #Option     "MetaModes"              # [<str>]
        #Option     "MergedDPI"              # [<str>]
        #Option     "MergedXinerama"         # [<bool>]
        #Option     "MergedXineramaCRT2IsScreen0"     # [<bool>]
        #Option     "MergedNonRectangular"     # [<bool>]
        #Option     "MergedMouseRestriction"     # [<bool>]
        #Option     "DisplayPriority"        # [<str>]
        #Option     "PanelSize"              # [<str>]
        #Option     "ForceMinDotClock"       # <freq>
        #Option     "ColorTiling"            # [<bool>]
        #Option     "VideoKey"               # <i>
        #Option     "RageTheatreCrystal"     # <i>
        #Option     "RageTheatreTunerPort"     # <i>
        #Option     "RageTheatreCompositePort"     # <i>
        #Option     "RageTheatreSVideoPort"     # <i>
        #Option     "TunerType"              # <i>
        #Option     "RageTheatreMicrocPath"     # <str>
        #Option     "RageTheatreMicrocType"     # <str>
        #Option     "RenderAccel"            # [<bool>]
        #Option     "SubPixelOrder"          # [<str>]
        #Option     "ShowCache"              # [<bool>]
        #Option     "DynamicClocks"          # [<bool>]
        #Option     "BIOSHotkeys"            # [<bool>]
        #Option     "VGAAccess"              # [<bool>]
        #Option     "ReverseDDC"             # [<bool>]
        #Option     "LVDSProbePLL"           # [<bool>]
        #Option     "AccelMethod"            # <str>
        #Option     "ConstantDPI"            # [<bool>]
        Option "AGPMode" "4"
    Identifier  "Card0"
    Driver      "radeon"
    VendorName  "ATI Technologies Inc"
    BoardName   "Radeon RV250 If [Radeon 9000]"
    BusID       "PCI:1:0:0"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    DefaultColorDepth 24
    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
        Modes    "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "DRI"
    Group    "video"
    Mode 0660
EndSection

Last edited by Plexxxy (2007-04-09 22:20:34)

Offline

#2 2007-04-10 12:21:31

whompus
Member
From: Durham. UK
Registered: 2005-08-09
Posts: 256

Re: open source ati driver -- garbled graphics

Here are some of my settings I used with a Radeon 9000 which may be of some help.

Section "Module"
    Load  "ddc"
    Load  "freetype"
    Load  "type1"
    Load  "bitmap"
    Load  "dbe"
    Load  "extmod"
    Load  "record"
    Load  "glx"
    Load  "drm"
    Load  "dri"
        Load  "wacom"
EndSection

Section "Device"
    BoardName   "Radeon RV250"
    BusID       "PCI:1:0:0"
    Driver      "radeon"
    Identifier  "ATI Graphics Adapter 0"
    Option        "AccelMethod"  "XAA"
    Option        "AGPMode" "4"
    Option        "EnablePageFlip"  "on"
    Option        "ColorTiling"  "on"
    Option        "RenderAccel" "on"
EndSection

Offline

#3 2007-04-10 16:54:12

junglepeanut
Member
From: California
Registered: 2007-01-24
Posts: 145
Website

Re: open source ati driver -- garbled graphics

If you tried the fglrx package first did you reinstall libgl or is it libdri? The exact one is in the wiki something having to do with them being the same name but different internally so one is downloaded based on which driver you have...or something like that.

Also do you have the right mesa? This is am totally guessing you do have. But I received weird issues once very similar to yours when I tried to do things with out mesa...

Offline

#4 2007-04-10 21:10:52

Plexxxy
Member
Registered: 2006-07-31
Posts: 10

Re: open source ati driver -- garbled graphics

whompus wrote:

Here are some of my settings I used with a Radeon 9000 which may be of some help.
...

Nope, no dice. By any chance, does this game load ok for you?

junglepenut wrote:

If you tried the fglrx package first did you reinstall libgl or is it libdri? The exact one is in the wiki something having to do with them being the same name but different internally so one is downloaded based on which driver you have...or something like that.

Also do you have the right mesa? This is am totally guessing you do have. But I received weird issues once very similar to yours when I tried to do things with out mesa...

Well, I've never installed fglrx on this box since I already knew about the incompatibility regarding ati cars older than r300. So that's taken out of the equation. Is there a different mesa? I only see one in the packages.

On a whim, I decided to try a fresh install of Arch. I installed xorg, xf86-video-ati, and  gnome + extras -- I basically got the same result. So it's either something missing in my xorg config or I'm missing some gl lib. I hope. Dunno sad

Thanks for the replies guys!

Offline

#5 2007-04-10 21:20:02

junglepeanut
Member
From: California
Registered: 2007-01-24
Posts: 145
Website

Re: open source ati driver -- garbled graphics

That program totally destroys my X session.
Other gl programs work fine.

Offline

Board footer

Powered by FluxBB