Re: HW accel on R128/Xorg 6.7/FBSD-5.3R (was: the best graphicscard for FreeBSD)
On Sat, Dec 04, 2004 at 12:37:35PM +0100, Godwin Stewart wrote: > (II) R128(0): Direct rendering enabled That's beginning to look like it... > And yet: > $ glxinfo | grep direct > direct rendering: No > OpenGL renderer string: Mesa GLX Indirect Hmm. Bummer. What kind of framerate does glxgears produce now? > G. Agreed :-) One other thing: check is if LIBGL_ALWAYS_INDIRECT isn't set somewhere in your environment. This causes glxinfo (and other GL apps) to use software rendering even though accelleration is available. Roland -- R.F. Smith /"\ASCII Ribbon Campaign r s m i t h @ x s 4 a l l . n l \ /No HTML/RTF in email http://www.xs4all.nl/~rsmith/ X No Word docs in email / \Respect for open standards pgpOViYXUk3OS.pgp Description: PGP signature
Re: HW accel on R128/Xorg 6.7/FBSD-5.3R (was: the best graphicscard for FreeBSD)
On Sat, 4 Dec 2004 23:26, Godwin Stewart wrote: > wrote: > > What does.. > > pkgdb /usr/X11R6/lib/libGL.so > > > > say? > > $ pkg_info -W /usr/X11R6/lib/libGL.so > /usr/X11R6/lib/libGL.so was installed by package xorg-libraries-6.7.0_3 Hmm, well I didn't use pkg_info because it stops at the first find.. > Could it be that this is just a stub? I ask because I just noticed > $PORTS/graphics/mesagl which is *not* installed. No, the GL library installed with X is the whole shebang. -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C pgphhHf3t71TU.pgp Description: PGP signature
Re: HW accel on R128/Xorg 6.7/FBSD-5.3R (was: the best graphicscard for FreeBSD)
On Sat, 4 Dec 2004 23:20:46 +1030, "Daniel O'Connor" <[EMAIL PROTECTED]> wrote: > What does.. > pkgdb /usr/X11R6/lib/libGL.so > > say? $ pkg_info -W /usr/X11R6/lib/libGL.so /usr/X11R6/lib/libGL.so was installed by package xorg-libraries-6.7.0_3 Could it be that this is just a stub? I ask because I just noticed $PORTS/graphics/mesagl which is *not* installed. -- G. Stewart - [EMAIL PROTECTED] If you change lines, the one you just left will start to move faster than the one you are now in. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: HW accel on R128/Xorg 6.7/FBSD-5.3R (was: the best graphicscard for FreeBSD)
On Sat, 4 Dec 2004 23:12, Godwin Stewart wrote: > Not that wild... > > I only installed what is included with the ports version of xorg, which I > assume to be MESA. If the ATI R128 requires something extra then that would > be a good reason for this not working... It shouldn't need anything but the X libs, but if you had inadvertantly installed something over the top of them it could cause a problem. What does.. pkgdb /usr/X11R6/lib/libGL.so say? If you don't have pkgdb try this.. grep libGL.so /var/db/pkg/*/+CONTENTS -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C pgpqjZn5yDOoS.pgp Description: PGP signature
Re: HW accel on R128/Xorg 6.7/FBSD-5.3R (was: the best graphicscard for FreeBSD)
On Sat, 4 Dec 2004 23:03:15 +1030, "Daniel O'Connor" <[EMAIL PROTECTED]> wrote: > Sure you don't have nvidia GL, or bog standard MESA libraries installed > for some crazy reason? > (Wild stab in the dark..) Not that wild... I only installed what is included with the ports version of xorg, which I assume to be MESA. If the ATI R128 requires something extra then that would be a good reason for this not working... -- G. Stewart - [EMAIL PROTECTED] If it's good, they discontinue it. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: HW accel on R128/Xorg 6.7/FBSD-5.3R (was: the best graphicscard for FreeBSD)
On Sat, 4 Dec 2004 22:07, Godwin Stewart wrote: > And yet: > $ glxinfo | grep direct > direct rendering: No > OpenGL renderer string: Mesa GLX Indirect > > G. Sure you don't have nvidia GL, or bog standard MESA libraries installed for some crazy reason? (Wild stab in the dark..) -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C pgptog0pWoFlF.pgp Description: PGP signature
HW accel on R128/Xorg 6.7/FBSD-5.3R (was: the best graphicscard for FreeBSD)
On Sat, 4 Dec 2004 11:10:15 +0100, Godwin Stewart <[EMAIL PROTECTED]> 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: mem 0xf400-0xf7ff at device 0.0 on pci0 drm0: port 0x9000-0x90ff mem 0xf020-0xf0203fff,0xf800-0xfbff irq 11 at device0.0 on pci1 info: [drm] AGP at 0xf400 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 0xc17f (II) R128(0): [drm] mapped SAREA 0xc17f to 0x2834b000 (II) R128(0): [drm] framebuffer handle = 0xf800 (II) R128(0): [drm] added 1 reserved context for kernel (II) R128(0): [agp] Mode 0x1f000203 [AGP 0x/0x; Card 0x1002/0x5446] (II) R128(0): [agp] 8192 kB allocated with handle 0xc14e1a80 (II) R128(0): [agp] ring handle = 0xf400 (II) R128(0): [agp] Ring mapped at 0x2a40 (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 = 0xf020 (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 0xf0 (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: