PDA

View Full Version : DRI on Ati 9100 IGP


d80tb7
2006-09-07, 04:25 AM CDT
Helleo everybody.

First let me say that I'm a Linux newbie so bear with me :)

I've recently installed FC5 and have been very impressed with it: the only problem left for me to solve is how to get harware acceleration working with my Ati 9100 IGP. This isn't supported in the official Ati drivers but I believe it is with the open source "radeon" driver supplied wth Fedora (at least that what the output form the 'man radeon' command seems to suggest).

Anyway, I made what I though was an appropriate xorg.conf file and started x. Everything is good and /var/log/Xorg.0.log looks fine with lots of lines like:

DRI installation complete

and only one thing that looks like an error which is:

(EE) RADEON(0) : drm: could not allocate surface for front buffer

A google search shows up very litte of interest fro this error.

Anyway. To check if dri is working, I use the command
# glxinfo | grep -i "direct rendering"

which returns
direct rendering "no"

glxgears returns ~150 fps which I believe is not good either.

I wonder if anyone here knows what I might be doing wrong or even if dri is supported for my card. I've enclosed my xorg.conf (i tried to add my Xorg.0.log but it was too long) below. All help is, of course, much appreciated.

Chris


xorg.conf

Section "dri"
Mode 0666
EndSection

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

Section "Files"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/TTF/"
EndSection

Section "Module"
Load "dbe"
# SubSection "extmod"
# Option "omit xfree86-dga"
# EndSubSection
Load "extmod"
Load "record"
Load "dri" # Incompatible with RealVNC
Load "glx"
# Load "xtrap"
Load "freetype"
Load "type1"
EndSection

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

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
EndSection

Section "Monitor"
Identifier "RGB-SCART"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
HorizSync 11.5-25.5
VertRefresh 15-65
DisplaySize 240 146
# Radeon
Modeline "960x540" 20.22 960 1044 1116 1272 540 569 578 637 +hsync +vsync composite interlace
Modeline "1024x576" 19.875 1024 1092 1140 1272 576 581 586 625 +hsync +vsync composite interlace
# Matrox
EndSection

Section "Device"
Identifier "Radeon"
Driver "radeon"
VendorName "Ati"
BoardName "Radeon 9100IGP"
Option "AGPFastWrite" "1"
Option "MonitorLayout" "CRT, NONE"
Option "RenderAccel" "1"
Option "AccelMethod" "xaa"

Option "ForceMinDotClock" "15MHz"
Option "NoTV" "1"
EndSection

Section "Screen"
Identifier "RadeonSCART"
Device "Radeon"
Monitor "RGB-SCART"
DefaultDepth 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 "960x540" "1024x576"
EndSubSection
EndSection