I've been trying for awhile now to get the accelerated opengl renderer
working on my radeon xpress 200M card(which is supposedly an rv370 or
rs4000 according to this wiki page:
http://dri.freedesktop.org/wiki/ATIRadeon). I've been following this
guide alot: http://dri.freedesktop.org/wiki/ATIRadeon
I know it is important to change this string from glxinfo:
OpenGL renderer string: Software Rasterizer
to this:
OpenGL renderer string: Mesa DRI R200 (RV280 5C61) 20090101
x86/MMX+/3DNow!+/SSE TCL DRI2
But I'm not sure how.
This error in my xorg.log seems to be the key:
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: Searching for BusID pci:0000:01:05.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -19
drmOpenDevice: node name is /dev/dri/card1
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -19
drmOpenDevice: node name is /dev/dri/card2
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -19
(etc, etc, etc, etc, etc, etc, etc)
(EE) RADEON(0): [dri] RADEONDRIGetVersion failed to open the DRM
[dri] Disabling DRI.
Well the directory /dev/dri/ is empty, so there you go.
I have these package versions:
xorg-server 1.7.6
mesa 7.8
libdrm 2.4.19
xf86-video-ati 6.12.192
xorg-drivers 1.7
I have drm set in my kernel too:
t...@o_0 ~ $ zgrep DRM /proc/config.gz
CONFIG_DRM=m
CONFIG_DRM_KMS_HELPER=m
CONFIG_DRM_TTM=m
# CONFIG_DRM_TDFX is not set
# CONFIG_DRM_R128 is not set
CONFIG_DRM_RADEON=m
CONFIG_DRM_RADEON_KMS=y
# CONFIG_DRM_I810 is not set
# CONFIG_DRM_I830 is not set
# CONFIG_DRM_I915 is not set
# CONFIG_DRM_MGA is not set
# CONFIG_DRM_SIS is not set
# CONFIG_DRM_VIA is not set
# CONFIG_DRM_SAVAGE is not set
# CONFIG_DRM_VMWGFX is not set
# CONFIG_DRM_NOUVEAU is not set
# CONFIG_DRM_I2C_CH7006 is not set
and this dmesg output appears to indicate that its working ok:
[ 53.428828] [drm] Initialized drm 1.1.0 20060810
[ 53.642115] [drm] radeon defaulting to kernel modesetting.
[ 53.642122] [drm] radeon kernel modesetting enabled.
But glxgears only gets about 19 fps. Here is what glxinfo | grep OpenGL reports:
OpenGL vendor string: Mesa Project
OpenGL renderer string: Software Rasterizer
OpenGL version string: 2.1 Mesa 7.8
OpenGL shading language version string: 1.20
OpenGL extensions:
And might as well post my xorg.conf as well:
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/OTF"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/75dpi/"
EndSection
Section "Module"
Load "record"
Load "extmod"
Load "dri"
Load "glx"
Load "GLcore"
Load "dri2"
Load "dbe"
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"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
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 "ShadowFB" # [<bool>]
#Option "DefaultRefresh" # [<bool>]
#Option "ModeSetClearScreen" # [<bool>]
Identifier "Card0"
Driver "radeon"
VendorName "ATI Technologies Inc"
BoardName "RC410 [Radeon Xpress 200M]"
BusID "PCI:1:5:0"
Option "MergedFB" "true"
Option "CRT2Position" "LeftOf"
Option "ColorTiling" "true"
Option "EnablePageFlip" "true"
#Option "AccelMethod" "EXA"
#Option "AccelDFS" "true"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x1024" "1280x800" "1024x768" "800x600" "640x480"
Virtual 2560 1024 #the first value is the sum of horizontal
resolutions your displays use
EndSubSection
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
EndSubSection
EndSection
If anyone has any idea, please let me know. Would posting to the xorg
or radeon mailing lists be good places for help as well?