Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Dec 2004 00:35:49 +0100
From:      Godwin Stewart <gstewart@bonivet.net>
To:        freebsd-stable@freebsd.org
Subject:   Re: the best graphicscard for FreeBSD
Message-ID:  <20041204003549.2803a7fc.gstewart@bonivet.net>
In-Reply-To: <20041203230129.GA88194@slackbox.xs4all.nl>
References:  <51611.192.168.0.200.1101398532.squirrel@192.168.0.200> <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>

next in thread | previous in thread | raw e-mail | index | archive | help
--Signature=_Sat__4_Dec_2004_00_35_49_+0100_B6cbAjm7KLy34ang
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

On Sat, 4 Dec 2004 00:01:29 +0100, Roland Smith <rsmith@xs4all.nl> wrote:

> > I tried kldloading radeon anyway and running glxgears. It can't do any
> > better than about 10 fps at 1024x768/24bits.
> 
> My radeon gives 560 - 580 fps with direct rendering. An R128 would
> probably be somewhat slower.

Running Slackware with XFree86-4.3.0 I'd get about 60-70 fps out of it.

> I think this is just telling you that it is loading the modules you told
> it to. Later in the logfile you see if those modules are actually used.
> Try to grep for [drm] and [agp] to see if they are really used. Or IIRC
> grep for UnloadModule to see if Xorg discards some of those modules. Also
> check for warning (WW) or error (EE) messages.

Hmm....

$ grep -i '\(dr\(i\|m\)\|glx\)' /var/log/Xorg.0.log
        X.Org Video Driver: 0.7
        X.Org XInput driver : 0.4
        ABI class: X.Org Video Driver, version 0.7
(--) Using syscons driver with X support (version 2.0)
(II) LoadModule: "glx"
(II) Loading /usr/X11R6/lib/modules/extensions/libglx.a
(II) Module glx: vendor="X.Org Foundation"
(II) Loading extension GLX
(II) LoadModule: "dri"
(II) Loading /usr/X11R6/lib/modules/extensions/libdri.a
(II) Module dri: vendor="X.Org Foundation"
(II) Loading sub module "drm"
(II) LoadModule: "drm"
(II) Loading /usr/X11R6/lib/modules/freebsd/libdrm.a
(II) Module drm: vendor="X.Org Foundation"
(II) Loading extension XFree86-DRI
(II) Loading /usr/X11R6/lib/modules/drivers/r128_drv.o
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 0.7
(II) Loading /usr/X11R6/lib/modules/drivers/ati_drv.o
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 0.7
        Module class: X.Org XInput Driver
        ABI class: X.Org XInput driver, version 0.4
(II) ATI: ATI driver (version 6.5.6) for chipsets: ati, ativga
(II) R128: Driver for ATI Rage 128 chipsets:
(II) RADEON: Driver for ATI Radeon chipsets: ATI Radeon QD (AGP),
(II) Reloading /usr/X11R6/lib/modules/drivers/r128_drv.o
        ABI class: X.Org Video Driver, version 0.7
        ABI class: X.Org Video Driver, version 0.7
        ABI class: X.Org Video Driver, version 0.7
        ABI class: X.Org Video Driver, version 0.7
        ABI class: X.Org Video Driver, version 0.7
        ABI class: X.Org Video Driver, version 0.7
        ABI class: X.Org Video Driver, version 0.7
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 0xc1c0b000
(II) R128(0): [drm] mapped SAREA 0xc1c0b000 to 0x2834b000
(II) R128(0): [drm] framebuffer handle = 0xf8000000
(II) R128(0): [drm] added 1 reserved context for kernel
(II) R128(0): [drm] register handle = 0xf0200000
(II) R128(0): [dri] Visual configs initialized
(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) Keyboard "Keyboard1" handled by legacy driver


$ grep "^(WW)" < /var/log/Xorg.0.log
(WW) `fonts.dir' not found (or not valid) in "/usr/X11R6/lib/X11/fonts/Speedo/".
(WW) R128(0): Can't determine panel dimensions, and none specified.                           Disabling programming of FP registers.
(WW) fcntl(9, O_ASYNC): Inappropriate ioctl for device

This last line is apparently something to do with the mouse, which does work
nonetheless:

(II) XINPUT: Adding extended input device "Mouse1" (type: MOUSE)
(II) Mouse1: SetupAuto: hw.iftype is 3, hw.model is 4
(II) Mouse1: SetupAuto: protocol is SysMouse
(WW) fcntl(9, O_ASYNC): Inappropriate ioctl for device


$ grep "^(EE)" < /var/log/Xorg.0.log
(EE) R128(0): No DFP detected

Googling on this error message threw up loads of results of people seeing it
but nothing as to what it actually means. I also got it using Linux but it
didn't prevent hardware acceleration from working.

-- 
G. Stewart - gstewart@bonivet.net

The bigger they are, the harder they hit.

--Signature=_Sat__4_Dec_2004_00_35_49_+0100_B6cbAjm7KLy34ang
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFBsPhbK5oiGLo9AcYRAljnAJ9IOwU/euAjMLPUA3WDmL88ukqW6gCeKQhH
husRie8owR4jJIXVQ+uSdbg=
=jb45
-----END PGP SIGNATURE-----

--Signature=_Sat__4_Dec_2004_00_35_49_+0100_B6cbAjm7KLy34ang--



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