Subject: DRM, DRI, X11 and Radeon and NetBSD-current
To: None <tech-x11@NetBSD.org>
From: Vincent <10.50@free.fr>
List: tech-x11
Date: 03/29/2007 23:03:50
Hi there,
I am trying to get the DRI working on my old Radeon M7, which, at least,
cannot claim to require special attention because of its novelty.
I have several questions:
* Which version of Mesa is actually needed? Is 6.4.2 all right?
* When I compile Mesa 6.4.2 after patching it, I get several files in
the lib directory: the various usual libGL* and a few xxx_dri.so, where
xxx correspond to a Radeon chipset. Question: where do I copy those?
* I can't seem to get a useful set of librairies: when I discard the
ones I regularly get ouf of pkgsrc/x11/MesaLib and replace them by the
dri-enable ones, glxinfo and glxgears crash reporting:
/usr/pkg/lib/libGLU.so.1: Undefined symbol
"_ZTVN10__cxxabiv120__si_class_type_infoE" (symnum = 378)
* While I get this all right:
$ dmesg | grep drm
radeondrm0 at vga0
info: [drm] ATI Radeon LW RV200 Mobility 7500 M7 (unit 0)
[drm:pid0:drm_load]
[drm:pid0:radeon_driver_load] AGP card detected
[drm:pid0:drm_agp_init] agp_available = 1
info: [drm] AGP at 0xa0000000 256MB
[drm:pid0:drm_mtrr_add] offset=a0000000 size=268435456
[drm:pid0:drm_ctxbitmap_next] drm_ctxbitmap_next bit : 0
[drm:pid0:drm_ctxbitmap_init] drm_ctxbitmap_init : 0
info: [drm] Initialized radeon 1.25.0 20060524
In the XFree log, I get that:
(--) RADEON(0): Chipset: "ATI Radeon Mobility M7 LW (AGP)" (ChipID = 0x4c57)
(--) RADEON(0): Linear framebuffer at 0x88000000
(II) RADEON(0): AGP card detected
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (Device not configured)
drmOpenDevice: open result is -1, (Device not configured)
drmOpenDevice: Open failed
[drm] failed to load kernel module "radeon"
(EE) RADEON(0): [dri] RADEONDRIGetVersion failed to open the DRM
[dri] Disabling DRI.
Any idea? (Besides, the card0 device does go away indeed)
Thanks for all.
Vincent
Oh, BTW, I use the drm code out of current.