Date: Sat, 4 Dec 2004 12:37:35 +0100 From: Godwin Stewart <gstewart@bonivet.net> To: freebsd-stable@freebsd.org Subject: HW accel on R128/Xorg 6.7/FBSD-5.3R (was: the best graphicscard for FreeBSD) Message-ID: <20041204123735.4b6d7c8c.gstewart@bonivet.net> In-Reply-To: <20041204111015.4cf20a73.gstewart@bonivet.net> References: <87zn15zoqo.fsf@basilikum.skogtun.org> <41A63A78.2030506@mukappabeta.de> <41A9CC27.3030408@saunalahti.fi> <41AA70E3.2000108@mukappabeta.de> <41B0AFCC.1060501@mitre.org> <20041203193450.037d5e7a.gstewart@bonivet.net> <20041203214532.GA55232@slackbox.xs4all.nl> <20041203230906.248e8311.gstewart@bonivet.net> <20041203230129.GA88194@slackbox.xs4all.nl> <20041204003549.2803a7fc.gstewart@bonivet.net> <20041204000018.GA52176@slackbox.xs4all.nl> <20041204111015.4cf20a73.gstewart@bonivet.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--Signature=_Sat__4_Dec_2004_12_37_35_+0100_Jo/j3bpuF/fH9t0Q Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: 7bit On Sat, 4 Dec 2004 11:10:15 +0100, Godwin Stewart <gstewart@bonivet.net> wrote: > You're probably on to something there. I *do* get the "Direct rendering > enabled" message on the Linux setup, although the logs also say that > there's a problem with AGP and that it's falling back to PCI mode. That was fixed painlessly. Moving on... > Anyway, I'm going to google around for hints and see what I can find. It's > probably a question of adding something to kernconf and rebuilding a > kernel. Looked at the handbook which prompted me to add agp_load="YES" to /boot/loader.conf. Okay, mea culpa for not thinking of the obvious. Everything now points to Hardware acceleration being active: $ dmesg | grep -i agp agp0: <Intel 82443BX (440 BX) host to PCI bridge> mem 0xf4000000-0xf7ffffff at device 0.0 on pci0 drm0: <ATI Rage 128 Pro Ultra TF (AGP)> port 0x9000-0x90ff mem 0xf0200000-0xf0203fff,0xf8000000-0xfbffffff irq 11 at device0.0 on pci1 info: [drm] AGP at 0xf4000000 64MB Snippets from /var/log/Xorg.0.log : (II) LoadModule: "glx" (II) Loading /usr/X11R6/lib/modules/extensions/libglx.a (II) Module glx: vendor="X.Org Foundation" compiled for 6.7.0, module version = 1.0.0 ABI class: X.Org Server Extension, version 0.2 (II) Loading sub module "GLcore" (II) LoadModule: "GLcore" (II) Loading /usr/X11R6/lib/modules/extensions/libGLcore.a (II) Module GLcore: vendor="X.Org Foundation" compiled for 6.7.0, module version = 1.0.0 ABI class: X.Org Server Extension, version 0.2 (II) Loading extension GLX (II) LoadModule: "dri" (II) Loading /usr/X11R6/lib/modules/extensions/libdri.a (II) Module dri: vendor="X.Org Foundation" compiled for 6.7.0, module version = 1.0.0 ABI class: X.Org Server Extension, version 0.2 (II) Loading sub module "drm" (II) LoadModule: "drm" (II) Loading /usr/X11R6/lib/modules/freebsd/libdrm.a (II) Module drm: vendor="X.Org Foundation" compiled for 6.7.0, module version = 1.0.0 ABI class: X.Org Server Extension, version 0.2 (II) Loading extension XFree86-DRI (II) LoadModule: "r128" (II) Loading /usr/X11R6/lib/modules/drivers/r128_drv.o (II) Module r128: vendor="X.Org Foundation" compiled for 6.7.0, module version = 4.0.1 Module class: X.Org Video Driver ABI class: X.Org Video Driver, version 0.7 (II) LoadModule: "ati" (II) Loading /usr/X11R6/lib/modules/drivers/ati_drv.o (II) Module ati: vendor="X.Org Foundation" compiled for 6.7.0, module version = 6.5.6 Module class: X.Org Video Driver ABI class: X.Org Video Driver, version 0.7 (--) Chipset ATI Rage 128 Pro ULTRA TF (AGP) found (II) Loading sub module "r128" (II) LoadModule: "r128" (II) Reloading /usr/X11R6/lib/modules/drivers/r128_drv.o (**) R128(0): Option "AGPMode" "2" drmOpenDevice: minor is 0 drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 8, (OK) drmOpenDevice: minor is 0 drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 8, (OK) drmOpenDevice: minor is 0 drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 8, (OK) drmGetBusid returned '' (II) R128(0): [drm] created "r128" driver at busid "PCI:1:0:0" (II) R128(0): [drm] added 8192 byte SAREA at 0xc17f0000 (II) R128(0): [drm] mapped SAREA 0xc17f0000 to 0x2834b000 (II) R128(0): [drm] framebuffer handle = 0xf8000000 (II) R128(0): [drm] added 1 reserved context for kernel (II) R128(0): [agp] Mode 0x1f000203 [AGP 0x0000/0x0000; Card 0x1002/0x5446] (II) R128(0): [agp] 8192 kB allocated with handle 0xc14e1a80 (II) R128(0): [agp] ring handle = 0xf4000000 (II) R128(0): [agp] Ring mapped at 0x2a400000 (II) R128(0): [agp] ring read ptr handle = 0xf4101000 (II) R128(0): [agp] Ring read ptr mapped at 0x282d3000 (II) R128(0): [agp] vertex/indirect buffers handle = 0xf4102000 (II) R128(0): [agp] Vertex/indirect buffers mapped at 0x2a501000 (II) R128(0): [agp] AGP texture map handle = 0xf4302000 (II) R128(0): [agp] AGP Texture map mapped at 0x2a701000 (II) R128(0): [drm] register handle = 0xf0200000 (II) R128(0): [dri] Visual configs initialized (II) R128(0): CCE in BM mode (II) R128(0): Using 8 MB AGP aperture (II) R128(0): Using 1 MB for the ring buffer (II) R128(0): Using 2 MB for vertex/indirect buffers (II) R128(0): Using 5 MB for AGP textures (II) R128(0): Memory manager initialized to (0,0) (1024,3840) (II) R128(0): Reserved area from (0,768) to (1024,770) (II) R128(0): Largest offscreen area available: 1024 x 3070 (II) R128(0): Reserved back buffer from (0,770) to (1024,1538) (II) R128(0): Reserved depth buffer from (0,1538) to (1024,2307) (II) R128(0): Reserved depth span from (0,2306) offset 0x902000 (II) R128(0): Reserved 17408 kb for textures at offset 0xf00000 (II) R128(0): Using XFree86 Acceleration Architecture (XAA) Screen to screen bit blits Solid filled rectangles 8x8 mono pattern filled rectangles Indirect CPU to Screen color expansion Solid Lines Dashed Lines Offscreen Pixmaps Setting up tile and stipple cache: 32 128x128 slots 14 256x256 slots (II) R128(0): Acceleration enabled (==) R128(0): Backing store disabled (==) R128(0): Silken mouse enabled (II) R128(0): Using hardware cursor (scanline 9228) (II) R128(0): Largest offscreen area available: 1024 x 1531 (II) R128(0): X context handle = 0x00000001 (II) R128(0): [drm] installed DRM signal handler (II) R128(0): [DRI] installation complete (II) R128(0): [drm] Added 128 16384 byte vertex/indirect buffers (II) R128(0): [drm] Mapped 128 vertex/indirect buffers (II) R128(0): [drm] dma control initialized, using IRQ 11 (II) R128(0): Direct rendering enabled And yet: $ glxinfo | grep direct direct rendering: No OpenGL renderer string: Mesa GLX Indirect Grrrr..... -- G. Stewart - gstewart@bonivet.net The more carefully you plan a project, the more confusion there is when something goes wrong. --Signature=_Sat__4_Dec_2004_12_37_35_+0100_Jo/j3bpuF/fH9t0Q Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBsaGFK5oiGLo9AcYRAlnUAJ4mz/ebfwtQxm0mNSKcE0Px/T8L0wCgvfkJ kMOih5j8DNcublrorq4NRQE= =EcL/ -----END PGP SIGNATURE----- --Signature=_Sat__4_Dec_2004_12_37_35_+0100_Jo/j3bpuF/fH9t0Q--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041204123735.4b6d7c8c.gstewart>