Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jul 2005 17:52:23 -0400
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        freebsd-x11@FreeBSD.org
Cc:        Eric Anderson <anderson@centtech.com>
Subject:   Re: cvs commit: src/sys/conf files src/sys/i386/conf NOTES	src/sys/amd64/conf NOTES src/sys/modules/drm/radeon Makefile	src/sys/dev/drm ati_pcigart.c drmP.h drm_agpsupport.c drm_pciids.h	r128_cce.c r300_cmdbuf.c r300_reg.h radeon_cp.c radeon_drm.h ...
Message-ID:  <200507211752.26656.jkim@FreeBSD.org>
In-Reply-To: <42DFE61D.9090903@centtech.com>
References:  <200507202110.j6KLAvvZ011985@repoman.freebsd.org> <1121895836.4260.25.camel@leguin> <42DFE61D.9090903@centtech.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 21 July 2005 02:14 pm, Eric Anderson wrote:
> Is there an uptodate quick howto on using this?  I've
> built/installed the xorg-server-snap (and it's working great),
> installed the dri-devel, and the latest cvs tree for -current
> (7.0).   I have 'device agp' in my kernel config, the radeon kernel
> module loaded, and the drm kernel module loaded.  I don't see any
> notes about any of that in dmesg.

If everything works, you should see something like this in your
dmesg:

agp0: <VIA 8385 host to PCI bridge> mem 0xe0000000-0xefffffff at device 0.0 on pci0
(Note: You won't see this if you have PCI-Express controller.)

and

drm0: <ATI Radeon RV300 Mobility 9600 M10> port 0x2000-0x20ff mem 0xd8000000-0xdfffffff,0xd0100000-0xd010ffff irq 16 at device 0.0 on pci1

When you start Xorg server:

info: [drm] AGP at 0xe0000000 256MB
info: [drm] Initialized radeon 1.16.0 20050311 on minor 0

/var/log/Xorg.0.log:
(WW) RADEON(0): Enabling DRM support

        *** Direct rendering support is highly experimental for Radeon 9500
        *** and newer cards. In fact, the only thing you could probably use
        ***  it for is better 2d acceleration. The 3d mesa driver is not  
        *** provided in this tree. A very experimental (and incomplete)
        *** version is available from http://r300.sourceforge.net
        *** This message has been last modified on 12/12/04.

drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmOpenByBusid: Searching for BusID pci:0000:01:00.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmOpenByBusid: drmOpenMinor returns 7
drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0
(II) RADEON(0): [drm] DRM interface version 1.2
(II) RADEON(0): [drm] created "radeon" driver at busid "pci:0000:01:00.0"
(II) RADEON(0): [drm] added 8192 byte SAREA at 0x
(II) RADEON(0): [drm] mapped SAREA 0xffffffff80c62000 to 0x800731000
(II) RADEON(0): [drm] framebuffer handle = 0xd8000000
(II) RADEON(0): [drm] added 1 reserved context for kernel
(II) RADEON(0): [agp] Mode 0x1f000a0b [AGP 0x0000/0x0000; Card 0x1002/0x4e50]
(II) RADEON(0): [agp] 8192 kB allocated with handle 0xffffff0018238000
(II) RADEON(0): [agp] ring handle = 0xe0000000
(II) RADEON(0): [agp] Ring mapped at 0x80ac62000
(II) RADEON(0): [agp] ring read ptr handle = 0xe0101000
(II) RADEON(0): [agp] Ring read ptr mapped at 0x800733000
(II) RADEON(0): [agp] vertex/indirect buffers handle = 0xe0102000
(II) RADEON(0): [agp] Vertex/indirect buffers mapped at 0x80ad63000
(II) RADEON(0): [agp] GART texture map handle = 0xe0302000
(II) RADEON(0): [agp] GART Texture map mapped at 0x80af63000
(II) RADEON(0): [drm] register handle = 0xd0100000
(II) RADEON(0): [dri] Visual configs initialized

and

(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): [drm] dma control initialized, using IRQ 16
(II) RADEON(0): [drm] Initialized kernel GART heap manager, 5111808
(II) RADEON(0): Direct rendering enabled

> Sorry if this is a FAQ - the little guide on your site looked
> fairly out of date..

You can probably want to take a look at this:

http://dri.freedesktop.org/wiki/Documentation

Jung-uk Kim



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507211752.26656.jkim>