You are not logged in.

#1 2005-09-02 20:44:13

rbl
Member
Registered: 2005-08-29
Posts: 64

Missing Hardware Acceleration in OpenGL

Hi,
after setting up my ATI Radeon everything 3d was just fine. Tuxracer and others were running fast and with nice graphics.
Well, now I must have broken something, dunno when or how.. I still have direct rendering (direct rendering: Yes), glxgears and others run fast (glxgears@2000fps, fgl_glxgears@350fps), but OpenGL apps like zsnes or Tuxracer seem to have no hardware acceleration, they are terribly slow..
I'll post some stuff right now, please ask more specific info if you think you could help me  :cry:

$ glxinfo
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions: [...]
client glx vendor string: ATI
client glx version string: 1.3
client glx extensions: [...]
GLX extensions: [...]
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: MOBILITY/RADEON 9000 DDR Generic
OpenGL version string: 1.3.1010 (X4.3.0-8.16.20)
OpenGL extensions: [...]
$ cat /etc/X11/xorg.conf

Section "dri"
    Mode 0666
EndSection

Section "Module"
    Load        "dbe"      # Double buffer extension
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection
    Load        "type1"
    Load        "freetype"
    Load        "glx"   # libglx.a
    Load        "dri"   # libdri.a
EndSection

Section "Files"
    RgbPath    "/usr/X11R6/lib/X11/rgb"
    FontPath   "/usr/X11R6/lib/X11/fonts/local/"
    FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"
#    FontPath   "/usr/X11R6/lib/X11/fonts/Speedo/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"
#    ModulePath "/usr/X11R6/lib/modules"

EndSection

Section "ServerFlags"
#    Option "NoTrapSignals"
#    Option "DontZap"
#    Option "Dont Zoom"
#    Option "DisableVidModeExtension"
#    Option "AllowNonLocalXvidtune"
#    Option "DisableModInDev"
#    Option "AllowNonLocalModInDev"
EndSection

Section "InputDevice"
    Identifier    "Keyboard1"
    Driver    "kbd"
    Option "AutoRepeat" "500 30"
    Option "XkbRules"    "xfree86"
    Option "XkbModel"    "pc105"
    Option "XkbLayout"    "de"
    Option "XkbVariant" "nodeadkeys"
EndSection

Section "InputDevice"
    Identifier    "Mouse1"
    Driver "mouse"
    Option "Protocol"   "ImPS/2"
    Option "ZAxisMapping"   "4 5"
    Option "Device"     "/dev/input/mice"
#    Option "Emulate3Buttons"
#    Option "Emulate3Timeout"    "50"
EndSection

Section "Monitor"
    Identifier  "Monitor0"
    VendorName  "Monitor Vendor"
    ModelName   "Monitor Model"
    Option "DPMS" "true"
EndSection

Section "Device"
    Identifier                          "Card0"
    Driver                              "fglrx"
    #Option                             "NoDDC"
    Option "no_accel"                   "no"
    Option "no_dri"                     "no"
    Option "mtrr"                       "off" 
    Option "DesktopSetup"               "0x00000000" 
    Option "MonitorLayout"              "AUTO, AUTO"
    Option "IgnoreEDID"                 "off"
    Option "HSync2"                     "unspecified" 
    Option "VRefresh2"                  "unspecified" 
    Option "ScreenOverlap"              "0" 
    Option "NoTV"                       "no"     
    Option "TVStandard"                 "NTSC-M"     
    Option "TVHSizeAdj"                 "0"     
    Option "TVVSizeAdj"                 "0"     
    Option "TVHPosAdj"                  "0"     
    Option "TVVPosAdj"                  "0"     
    Option "TVHStartAdj"                "0"     
    Option "TVColorAdj"                 "0"     
    Option "GammaCorrectionI"           "0x00000000"
    Option "GammaCorrectionII"          "0x00000000"
    Option "Capabilities"               "0x00000000"
    Option "VideoOverlay"               "on"
    Option "OpenGLOverlay"              "off"
    Option "CenterMode"                 "off"
    Option "PseudoColorVisuals"         "off"
    Option "Stereo"                     "off"
    Option "StereoSyncEnable"           "1"
    Option "FSAAEnable"                 "no"
    Option "FSAAScale"                  "1"
    Option "FSAADisableGamma"           "no"
    Option "FSAACustomizeMSPos"         "no"
    Option "FSAAMSPosX0"                "0.000000"
    Option "FSAAMSPosY0"                "0.000000"
    Option "FSAAMSPosX1"                "0.000000"
    Option "FSAAMSPosY1"                "0.000000"
    Option "FSAAMSPosX2"                "0.000000"
    Option "FSAAMSPosY2"                "0.000000"
    Option "FSAAMSPosX3"                "0.000000"
    Option "FSAAMSPosY3"                "0.000000"
    Option "FSAAMSPosX4"                "0.000000"
    Option "FSAAMSPosY4"                "0.000000"
    Option "FSAAMSPosX5"                "0.000000"
    Option "FSAAMSPosY5"                "0.000000"
    Option "UseFastTLS"                 "0"
    Option "BlockSignalsOnLock"         "on"
    Option "UseInternalAGPGART"         "no"
    Option "ForceGenericCPU"            "no"
    Option "KernelModuleParm"           "agplock=0"
    BusID "PCI:1:0:0"    # vendor=1002, device=5c61
    Screen 0
EndSection

Section "Screen"
    Identifier  "Screen0"
    Device      "Card0"
    Monitor     "Monitor0"
    DefaultDepth 24
    Subsection "Display"
        Depth       24
        Modes       "1280x800"
        ViewPort    0 0  # initial origin if mode is smaller than desktop
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier  "Server Layout"
    Screen "Screen0"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection

Section "Extensions"
    Option "Composite" "Disable"
    Option "RENDER" "Enable"
EndSection

### EOF ###

..any ideas?  roll

Offline

#2 2005-09-02 21:19:23

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

Re: Missing Hardware Acceleration in OpenGL

I have similar problems with ATI and games, though I can't say I've ever gotten it to run nicely before.  I always thought it was because the drivers were bunk.

Offline

#3 2005-09-02 22:58:57

rbl
Member
Registered: 2005-08-29
Posts: 64

Re: Missing Hardware Acceleration in OpenGL

yep, ATI sucks balls when running linux. I'd immediately use an NVidia card if this wouldn't mean buying a new notebook to me.
But well, it did work until today: I followed the new HowTo Wiki, pacman'ed the vmlinuz26archck kernel and ati-drivers from [community], and Tux thereafter was happily sliding down frozen hills full of fish.
If only I knew what just went wrong.. sad

Offline

#4 2005-09-03 12:21:01

rbl
Member
Registered: 2005-08-29
Posts: 64

Re: Missing Hardware Acceleration in OpenGL

Got it working again smile
I installed mesa yesterday for some reason. Removed it, tuxracer and others are working fine again. Well, only zsnes is still very (far too) slow in OpenGL mode, but as far as I recall, I never got that one to coop with OpenGL yet.

Offline

#5 2005-09-03 14:15:39

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

Re: Missing Hardware Acceleration in OpenGL

WOW.  That's scary.. I decided to try that, and so I uninstalled mesa here too (don't know how it got installed, maybe implicitly with x?) but as soon as I did, my test program (neverball) went from chunk city to smooth as silk.

Amazing, thanks rbl!

Offline

#6 2005-09-03 18:17:39

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

Re: Missing Hardware Acceleration in OpenGL

Edited ATI Wiki Page to note that simply having mesa installed could severely impact performance.

Offline

Board footer

Powered by FluxBB