From: Lennart P. <poe...@us...> - 2002-10-27 00:39:42
|
Hi! I am currently working on getting DRI on my Radeon Mobility M6 LW (in an IBM Thinkpad A31) to work. However, some strange errors occur. I am using Xfree 4.2 of Debian/Sid and the DRI of kernel 2.4.19. I got Xfree so far that it's log file contains the following lines: <snip> =2E.. drmOpenDevice: minor is 0 drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 7, (OK) drmOpenDevice: minor is 0 drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 7, (OK) drmOpenDevice: minor is 0 drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 7, (OK) drmGetBusid returned '' (II) RADEON(0): [drm] created "radeon" driver at busid "PCI:1:0:0" (II) RADEON(0): [drm] added 8192 byte SAREA at 0xd08ef000 (II) RADEON(0): [drm] mapped SAREA 0xd08ef000 to 0x40012000 (II) RADEON(0): [drm] framebuffer handle =3D 0xe8000000 (II) RADEON(0): [drm] added 1 reserved context for kernel (II) RADEON(0): [agp] Mode 0x1f000211 [AGP 0x8086/0x1a30; Card 0x1002/0x4c5= 7] (II) RADEON(0): [agp] 8192 kB allocated with handle 0xd28f3000 (II) RADEON(0): [agp] ring handle =3D 0xe0000000 (II) RADEON(0): [agp] Ring mapped at 0x4220a000 (II) RADEON(0): [agp] ring read ptr handle =3D 0xe0101000 (II) RADEON(0): [agp] Ring read ptr mapped at 0x40014000 (II) RADEON(0): [agp] vertex/indirect buffers handle =3D 0xe0102000 (II) RADEON(0): [agp] Vertex/indirect buffers mapped at 0x4230b000 (II) RADEON(0): [agp] AGP texture map handle =3D 0xe0302000 (II) RADEON(0): [agp] AGP Texture map mapped at 0x4250b000 (II) RADEON(0): [drm] register handle =3D 0xd0100000 (II) RADEON(0): [dri] Visual configs initialized (II) RADEON(0): CP in BM mode (II) RADEON(0): Using 8 MB AGP aperture (II) RADEON(0): Using 1 MB for the ring buffer (II) RADEON(0): Using 2 MB for vertex/indirect buffers (II) RADEON(0): Using 5 MB for AGP textures (II) RADEON(0): Memory manager initialized to (0,0) (1408,3297) (II) RADEON(0): Reserved area from (0,1050) to (1408,1052) (II) RADEON(0): Largest offscreen area available: 1408 x 2245 (II) RADEON(0): Reserved back buffer at offset 0x8dc000 (II) RADEON(0): Reserved depth buffer at offset 0xbae000 (II) RADEON(0): Reserved 17920 kb for textures at offset 0xe80000 (=3D=3D) RADEON(0): Backing store disabled (=3D=3D) RADEON(0): Silken mouse enabled (II) RADEON(0): Using XFree86 Acceleration Architecture (XAA) Screen to screen bit blits Solid filled rectangles Solid Lines Dashed Lines Offscreen Pixmaps Setting up tile and stipple cache: 32 128x128 slots 18 256x256 slots 5 512x512 slots (II) RADEON(0): Acceleration enabled (II) RADEON(0): Using hardware cursor (scanline 2104) (II) RADEON(0): Largest offscreen area available: 1408 x 2243 (**) Option "dpms" (**) RADEON(0): DPMS enabled (II) RADEON(0): X context handle =3D 0x00000001 (II) RADEON(0): [drm] installed DRM signal handler (II) RADEON(0): [DRI] installation complete (II) RADEON(0): [drm] Added 32 65536 byte vertex/indirect buffers (II) RADEON(0): [drm] Mapped 32 vertex/indirect buffers (II) RADEON(0): Direct rendering enabled =2E.. </snip> This makes me think that I configured DRI correctly. (agpgart.o and radeon.o are loaded into the kernel) However, glxinfo denies this: <snip> whiskey:~#: LIBGL_DEBUG=3Dverbose glxinfo libGL: XF86DRIGetClientDriverName: 4.0.1 radeon libGL: trying /usr/X11R6/lib/modules/dri/radeon_dri.so libGL: trying /usr/X11R6/lib/modules/dri/radeon_dri.so name of display: :0.0 display: :0 screen: 0 direct rendering: No server glx vendor string: SGI server glx version string: 1.2 server glx extensions: GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context client glx vendor string: SGI client glx version string: 1.2 client glx extensions: GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context GLX extensions: GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context OpenGL vendor string: VA Linux Systems, Inc. OpenGL renderer string: Mesa GLX Indirect OpenGL version string: 1.2 Mesa 3.4.2 </snip> It seems as if libGL can't load der dri module correctly. but why? the module exists. "test -f /usr/X11R6/lib/modules/dri/radeon_dri.so || echo $?" prints 0. This all is run a root, thus it can't be an access failure or something like this. Please! What's the error, where's my fault? I'm so keen on playing tuxracer with that new laptop! Thanks in advance, Lennart --=20 name { Lennart Poettering } mail { poe...@us... } icq { 11060553 } loc { hamburg, germany } pgp { 0x1A015CC4 } sourceforge.net { asd, battstat, befound, libsample, libshbuf, ivam } |