[ltp] DRI/Mesa from CVS on Radeon 7500

Michal Trzcinski linux-thinkpad@linux-thinkpad.org
Mon, 24 Jan 2005 09:34:58 +0100


Hi,

I have R51, kernel 2.6.10-bk1, Slackware-current, X.org 6.8.1, DRI and Mesa from CVS.
I have compile Mesa with: make linux-dri-x86 (for radeon). And have compile DRM drivers for kernel 2.6 from typing from drm/linux-core: make DRM_MODULES="radeon".
Then I have copy from Mesa/lib: libGL.so.1.2, libGLU...,libGLw... and libglut... to /usr/X11R6/lib directory (remove old version of these files). File radeon_dri.so i have copy to /usr/X11R6/lib/modules/dri directory.
DRM drivers i have copy to /lib/modules/2.6.10-bk1/kernel/drivers/char/drm directory (drm.ko and radeon.ko file). I have do: depmod -a, ldconfig, x.conf is setted properly. Reboot.
After reboot my dmesg is:

[drm] Initialized drm 1.0.0 20040925
mtrr: 0xe0000000,0x8000000 overlaps existing 0xe0000000,0x2000000
[drm] Initialized radeon 1.13.0 20041207 on minor 0: ATI Technologies Inc Radeon Mobility M7 LW [Radeon Mobility 7500]
[drm] Used old pci detect: framebuffer loaded <-- /* old pci detect?? */
agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V2 device at 0000:00:00.0 into 1x mode
agpgart: Putting AGP V2 device at 0000:01:00.0 into 1x mode <-- /* why?? */

My glxinfo show:

name of display: :0.0
libGL error: open DRM failed (Operation not permitted)
libGL error: reverting to (slow) indirect rendering
display: :0  screen: 0
direct rendering: No

(why??)

But sometimes I have "direct rendering: Yes", but when I run glxgears, window of gears opened (is black) and laptop has freeze - i have to power off -> power on button :(
Second time i run Q3Demo, I play 30s. and laptop freeze...

Where id the problem? Mesa or DRI drivers for kernel?

Regards,
jz