Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Laggy 2D in ATI Proprietary Driver
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Themerion
n00b
n00b


Joined: 22 Jun 2005
Posts: 22
Location: Sweden

PostPosted: Sun Feb 19, 2006 7:25 pm    Post subject: Laggy 2D in ATI Proprietary Driver Reply with quote

I'm having a quite unusual problem. The 3D hardware acceleration works, I've tried playing tuxracer and it ran smoothly without any delay.
glxinfo | grep direct
Code:
Direct Rendering: Yes


However, the 2D-drawings are as slow as syrup! When I open a window, for example, I can see how it is painted from the top to the bottom. Actually, the rendering process take about 1 second. Same for the desktop background. Every time fluxbox redraws it, it takes about 1 second. The worst part is, that I can barely play The Battle For Wesnoth at all! :cry:
Every time I try to scroll it have to repaint, and every repaint take 0.5 - 1.0 seconds.

Of course, I've set up the kernel according to the Gentoo Radeon Guide maintained by Wedge.
I have agpgart and via_agp loaded automatically.

I've had this problem for a while, and I also tried installing Suse Linux, and got the same result. :?
The version of the ATI-Driver is 8.22.5, but I've tried older ones as well.

Graphics Card: ATI Radeon 9600XT

lspci | grep AGP
Code:
00:00.0 Host bridge: VIA Technologies, Inc. VT8377 [KT400/KT600 AGP] Host Bridge


dmesg | grep fglrx
Code:
fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
[fglrx] Maximum main memory to use for locked dma buffers: 431 MBytes.
[fglrx] module loaded - fglrx 8.22.5 [Feb  7 2006] on minor 0
[fglrx] Kernel AGP support doesn't provide agplock functionality.
[fglrx] AGP detected, AgpState   = 0x1f000a0b (hardware caps of chipset)
[fglrx] AGP enabled,  AgpCommand = 0x1f000302 (selected caps)
[fglrx] free  AGP = 54800384
[fglrx] max   AGP = 54800384
[fglrx] free  LFB = 116387840
[fglrx] max   LFB = 116387840
[fglrx] free  Inv = 0
[fglrx] max   Inv = 0
[fglrx] total Inv = 0
[fglrx] total TIM = 0
[fglrx] total FB  = 0
[fglrx] total AGP = 16384


My xorg.conf ( generated with xorgconfig and aticonfig ):
Code:
Section "ServerLayout"
   Identifier     "Simple Layout"
   Screen      0  "aticonfig Screen 0" 0 0
   InputDevice    "Mouse1" "CorePointer"
   InputDevice    "Keyboard1" "CoreKeyboard"
EndSection

Section "Files"
   RgbPath      "/usr/X11R6/lib/X11/rgb"
   FontPath     "/usr/share/fonts/misc/"
   FontPath     "/usr/share/fonts/TTF/"
   FontPath     "/usr/share/fonts/Type1/"
   FontPath     "/usr/share/fonts/75dpi/"
   FontPath     "/usr/share/fonts/100dpi/"
   FontPath     "/usr/share/fonts/local/"
EndSection

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

Section "DRI"
   Mode 0666
EndSection

Section "InputDevice"
   Identifier  "Keyboard1"
   Driver      "kbd"
   Option       "AutoRepeat" "500 30"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
   Option       "XkbRules" "xorg"
   Option       "XkbModel" "pc104"
   Option       "XkbLayout" "fi"
EndSection

Section "InputDevice"
   Identifier  "Mouse1"
   Driver      "mouse"
   Option       "Protocol" "auto"
   Option       "Device" "/dev/input/mice"
   Option       "ZAxisMapping" "4 5"
   Option       "Buttons" "5"
# Mouse-speed setting for PS/2 mouse.
EndSection

Section "Monitor"
   Identifier   "LG FLATRON"
   HorizSync    30.0 - 83.0
   VertRefresh  56.0 - 75.0
   ModeLine     "1280x1024_60.00" 108.9 1280 1360 1496 1712 1024 1025 1028 1060 -hsync +vsync
EndSection

Section "Monitor"
   Identifier   "aticonfig Monitor 0"
EndSection

Section "Device"
   Identifier  "Standard VGA"
   Driver      "vga"
   VendorName  "Unknown"
   BoardName   "Unknown"
EndSection

Section "Device"

    #VideoRam    131072
    # Insert Clocks lines here if appropriate
   Identifier  "Radeon"
   Driver      "radeon"
EndSection

Section "Device"
   Identifier  "ATI Graphics Adapter 0"
   Driver      "fglrx"
   Option       "(null)"
   Option       "UseInternalAGPGART" "off"
   BusID       "PCI:1:0:0"
EndSection

Section "Screen"
   Identifier "Screen 1"
   Device     "Radeon"
   Monitor    "LG FLATRON"
   DefaultDepth     24
   SubSection "Display"
      Viewport   0 0
      Depth     24
      Modes    "1280x1024"
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     16
      Modes    "1280x1024_60.00"
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     24
      Modes    "1280x1024_60.00"
   EndSubSection
EndSection

Section "Screen"
   Identifier "aticonfig Screen 0"
   Device     "ATI Graphics Adapter 0"
   Monitor    "aticonfig Monitor 0"
   DefaultDepth     24
   SubSection "Display"
      Viewport   0 0
      Depth     24
   EndSubSection
EndSection

_________________
If it's not broken... Make it!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum