From owner-freebsd-x11@FreeBSD.ORG Thu Jul 21 21:52:48 2005 Return-Path: X-Original-To: freebsd-x11@FreeBSD.org Delivered-To: freebsd-x11@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4F87316A41F for ; Thu, 21 Jul 2005 21:52:48 +0000 (GMT) (envelope-from jkim@FreeBSD.org) Received: from anuket.mj.niksun.com (gwnew.niksun.com [65.115.46.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id DEDA443D49 for ; Thu, 21 Jul 2005 21:52:47 +0000 (GMT) (envelope-from jkim@FreeBSD.org) Received: from niksun.com (anuket [10.70.0.5]) by anuket.mj.niksun.com (8.13.1/8.13.1) with ESMTP id j6LLscpp055973; Thu, 21 Jul 2005 17:54:38 -0400 (EDT) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-x11@FreeBSD.org Date: Thu, 21 Jul 2005 17:52:23 -0400 User-Agent: KMail/1.6.2 References: <200507202110.j6KLAvvZ011985@repoman.freebsd.org> <1121895836.4260.25.camel@leguin> <42DFE61D.9090903@centtech.com> In-Reply-To: <42DFE61D.9090903@centtech.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <200507211752.26656.jkim@FreeBSD.org> X-Virus-Scanned: ClamAV 0.85.1/987/Thu Jul 21 10:57:41 2005 on anuket.mj.niksun.com X-Virus-Status: Clean Cc: Eric Anderson 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 ... X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jul 2005 21:52:48 -0000 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: mem 0xe0000000-0xefffffff at device 0.0 on pci0 (Note: You won't see this if you have PCI-Express controller.) and drm0: 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