On 4/18/05, Benno Schulenberg <[EMAIL PROTECTED]> wrote:
> Mark Knecht wrote:
> >    I've been trying to work through the Gentoo Hardware 3D
> > instructions:
> 
> Are you using a 2.6 kernel?  

Yes.

> Did you follow the instructions at
> http://dri.freedesktop.org/wiki/Building (the drm and mesa parts)?

No. The Gentoo instructions at
http://www.gentoo.org/doc/en/dri-howto.xml stated "If you use a 2.4
kernel, make sure the Direct Rendering Manager (DRM) is off. The
X11-DRM package will provide its own. 2.6 kernel users should enable
the Direct Rendering Manager (DRM) as the X11-DRM package currently
does not support 2.6 kernels yet."

I took that to mean 

[ M] Direct Rendering Manager (XFree86 DRI support)

Is that not correct?

> Did you disable DRI support in the kernel config ?  

As above, I think.

> Did you put "radeon" into your xorg.conf ?

Yes, and it is loaded as is drm: (copied from the first message)

lash kernel $ lsmod
Module                  Size  Used by
radeon                 75776  1
drm                    60820  2 radeon

ati_agp                 6796  1
agpgart                28968  2 drm,ati_agp

flash kernel $
> 
> > What other info do I need to give?
> 
> dmesg | grep drm

flash mark $ dmesg | grep drm
[drm] Initialized drm 1.0.0 20040925
[drm] Initialized radeon 1.14.0 20050125 on minor 0: ATI Technologies
Inc RV250 5c61 [Radeon Mobility 9200 M9+]
[drm] Loading R200 Microcode
flash mark $

So it's loaded.

> 
> grep drm /var/log/Xorg.0.log

flash root # grep drm /var/log/Xorg.0.log
(II) Loading sub module "drm"
(II) LoadModule: "drm"
(II) Loading /usr/lib/modules/linux/libdrm.a
(II) Module drm: vendor="X.Org Foundation"
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: Open failed
drmOpenByBusid: Searching for BusID pci:0000:01:05.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 6, (OK)
drmOpenByBusid: drmOpenMinor returns 6
drmOpenByBusid: drmGetBusid reports pci:0000:01:05.0
(II) RADEON(0): [drm] loaded kernel module for "radeon" driver
(II) RADEON(0): [drm] DRM interface version 1.2
(II) RADEON(0): [drm] created "radeon" driver at busid "pci:0000:01:05.0"
(II) RADEON(0): [drm] added 8192 byte SAREA at 0xe0976000
(II) RADEON(0): [drm] mapped SAREA 0xe0976000 to 0xb3cd6000
(II) RADEON(0): [drm] framebuffer handle = 0xf0000000
(II) RADEON(0): [drm] added 1 reserved context for kernel
(II) RADEON(0): [drm] register handle = 0xe8100000
(II) RADEON(0): [drm] installed DRM signal handler
(II) RADEON(0): [drm] Added 32 65536 byte vertex/indirect buffers
(II) RADEON(0): [drm] Mapped 32 vertex/indirect buffers
(II) RADEON(0): [drm] dma control initialized, using IRQ 16
(II) RADEON(0): [drm] Initialized kernel GART heap manager, 5111808
flash root #

flash root # cat /etc/group | grep video
video::27:root,mark
flash root #

Thanks Benno!

With best regards,
Mark

-- 
gentoo-user@gentoo.org mailing list

Reply via email to