


My xorg.conf is not the problem. DRI just quit working after I upgraded the thing to mesa 6.5.vipernicus wrote:I can get the open source ati driver to do direct rendering on my 9600XT. What does your xorg.conf look like?Q-collective wrote:Same problem, haven't been able to get it working again on my radeon 9600xt using the r300 drivers.
Code: Select all
Section "Module"
Load "dbe" # Double buffer extension
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
#Load "vnc"
Load "type1"
Load "freetype"
Load "glx"
Load "dri"
EndSection
Section "Files"
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 "InputDevice"
Identifier "Keyboard1"
Driver "kbd"
Option "AutoRepeat" "500 30"
Option "XkbRules" "xorg"
#Option "XkbModel" "trustda"
Option "XkbModel" "pc105"
#Option "XkbLayout" "us,us_intl"
Option "XkbOptions" "compose:ralt"
Option "XkbOptions" "grp:ctrls_toggle,grp_led:num"
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "ZAxisMapping" "4 5"
Option "Device" "/dev/input/mice"
EndSection
Section "Monitor"
Identifier "My Monitor"
HorizSync 30-70
VertRefresh 50-120
Option "DPMS"
DisplaySize 450 330
EndSection
Section "Device"
Identifier "** ATI Radeon (generic) [radeon]"
Driver "radeon"
Option "EnablePageFlip" "off"
Option "AGPMode" "8"
#Option "AccelMethod" "exa"
#Option "RenderAccel" "true"
#VideoRam 131072
# Insert Clocks lines here if appropriate
EndSection
Section "Screen"
Identifier "Screen 1"
Device "** ATI Radeon (generic) [radeon]"
Monitor "My Monitor"
DefaultDepth 24
#Option "PasswordFile" "/root/.vnc/passwd"
Subsection "Display"
Depth 24
Modes "1400x1050" "1600x1200" "1280x1024"
ViewPort 0 0
EndSubsection
EndSection
Section "ServerLayout"
Identifier "Simple Layout"
Screen "Screen 1"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
Section "DRI"
Mode 0666
EndSection
Section "Extensions"
# Option "Composite" "Enable"
EndSection

xorg-x11 is working fine with the r300 drivers.Q-collective wrote:Same problem, haven't been able to get it working again on my radeon 9600xt using the r300 drivers.

Code: Select all
(EE) AIGLX error: Calling driver entry point failed(EE) AIGLX: reverting to software renderingCode: Select all
Rainsong james # LIBGL_DEBUG=verbose glxinfo
name of display: :0.0
libGL: XF86DRIGetClientDriverName: 4.0.3 r300 (screen 0)
libGL: OpenDriver: trying /tls/r300_dri.so
libGL: OpenDriver: trying /r300_dri.so
libGL error: dlopen /r300_dri.so failed ( /r300_dri.so: cannot open shared object file: No such file or directory)
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/tls/r300_dri.so
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/r300_dri.so
libGL error: dlopen /usr/lib/xorg/modules/dri/r300_dri.so failed (/usr/lib/xorg/modules/dri/r300_dri.so: cannot open shared object file: No such file or directory)
libGL error: unable to find driver: r300_dri.so
display: :0 screen: 0
direct rendering: No
Code: Select all
Rainsong james # LIBGL_DEBUG=verbose glxinfo
name of display: :0.0
libGL: XF86DRIGetClientDriverName: 4.0.3 r300 (screen 0)
libGL: OpenDriver: trying /tls/r300_dri.so
libGL: OpenDriver: trying /r300_dri.so
libGL error: dlopen /r300_dri.so failed ( /r300_dri.so: cannot open shared object file: No such file or directory)
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/tls/r300_dri.so
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/r300_dri.so
drmOpenByBusid: Searching for BusID pci:0000:01:05.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 4, (OK)
drmOpenByBusid: drmOpenMinor returns 4
drmOpenByBusid: drmGetBusid reports pci:0000:01:05.0
libGL error:
R300 DRI driver expected DRM version 1.24.x but got version 1.22.0
libGL warning: 3D driver returned no fbconfigs.
libGL error: InitDriver failed
libGL error: reverting to (slow) indirect rendering
display: :0 screen: 0
direct rendering: No

Ok, I did get r300 direct rendering to work with 7.0, but it was unstable. It would go to max cpu usage sometimes, or lock up hard when doing 3D or surfing (?). I can get the glx and dri modules to load in 7.1, but direct rendering is disabled, as noted in my post above.daff wrote:Did any of you do anything specific to get Xorg 7.1 working (or at least starting) with dri and glx modules loaded?
Following the upgrade guide I updated yesterday to the masked xorg-x11-7.1_rc2 (coming from 6.8.2) on my Thinkpad to get at least some of the improved hardware acceleration new Xorg offers for ATI cards. Mine is a FireGL T2 aka M10 using the r300 driver I think.
However I cannot even start X when I have Load "dri" and Load "glx" directives in my xorg.conf. Right after starting the command the screen goes blank and the machine completely and ultimately freezes. Can't even get in via ssh and have to disconnect it from power to start it again. It starts fine when I remove the dri and glx directives, however.
I use gentoo-sources-2.6.16-r7 and have drm.ko and radeon.ko compiled as modules (Character Devices -> Direct Rendering Manager). Before I had those X would start but report some errors about not being able to load the drm and radeon kernel modules so I figure they are needed. Mesa 6.5-r3 is installed and so is libdrm 2.0.1 and xf86-video-ati 6.6.0.
Does anybody have any ideas here? Apparently it should be possible to have DRI with the r300, but how? Did I miss anything, some needed package maybe?
Code: Select all
R300 DRI driver expected DRM version 1.24.x but got version 1.22.0
libGL warning: 3D driver returned no fbconfigs.
libGL error: InitDriver failed
libGL error: reverting to (slow) indirect renderingCode: Select all
[drm] Initialized radeon 1.22.0 20051229 on minor 0Same card, drivers and problem here after upgrading to mesa-6.5-r3.Q-collective wrote:Same problem, haven't been able to get it working again on my radeon 9600xt using the r300 drivers.
Code: Select all
~ $ LIBGL_DEBUG=verbose glxinfo
name of display: :0.0
libGL: XF86DRIGetClientDriverName: 4.0.3 r300 (screen 0)
libGL: OpenDriver: trying /usr/lib/dri/tls/r300_dri.so
libGL: OpenDriver: trying /usr/lib/dri/r300_dri.so
drmOpenByBusid: Searching for BusID pci:0000:01:00.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 4, (OK)
drmOpenByBusid: drmOpenMinor returns 4
drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0
libGL error:
R300 DRI driver expected DRM version 1.24.x but got version 1.22.0
libGL warning: 3D driver returned no fbconfigs.
libGL error: InitDriver failed
libGL error: reverting to (slow) indirect rendering
display: :0 screen: 0
direct rendering: No
Code: Select all
name of display: :0.0
libGL: XF86DRIGetClientDriverName: 4.0.3 r300 (screen 0)
libGL: OpenDriver: trying /usr/lib/dri/tls/r300_dri.so
libGL: OpenDriver: trying /usr/lib/dri/r300_dri.so
drmOpenByBusid: Searching for BusID pci:0000:03:00.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 4, (OK)
drmOpenByBusid: drmOpenMinor returns 4
drmOpenByBusid: drmGetBusid reports pci:0000:03:00.0
Radeon 9500/9700/9800 cards are not currently stable.
More details can be found at https://bugs.freedesktop.org/show_bug.cgi?id=6318
libGL warning: 3D driver returned no fbconfigs.
libGL error: InitDriver failed
libGL error: reverting to (slow) indirect rendering
display: :0 screen: 0
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2
Secondly I grabbed the tarball mentioed in this thread (last post at the bottom).echo "R300_FORCE_R300="1"" >> /etc/env.d/00local
Previously I got 230'ish and was suffering from the same:13858 frames in 5.0 seconds = 2771.562 FPS
error as some of you.libGL warning: 3D driver returned no fb configs.
libGL error: InitDriver failed
libGL error: reverting to (slow) indirect rendering