Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Nov 2000 15:53:18 -0800
From:      Steve Reid <sreid@sea-to-sky.net>
To:        freebsd-multimedia@freebsd.org
Subject:   XF86-4, Linux binaries, DRI?
Message-ID:  <20001122155318.A11020@grok>

next in thread | raw e-mail | index | archive | help
I have XFree86-4 working with DRI for FreeBSD binaries on my new Matrox
G450 (this helped: http://wop21.wop.wtb.tue.nl/freebsd/hwaccel.txt) and
am now trying to get DRI working with Linux binaries, Q3A specificly.
Right now Quake 3 appears to be doing software rendering (<1 fps).

If needed I can give more info on what I've done to get to this point,
but for now I'll just cut to the chase...

dmesg says:
 linux: syscall sysctl is obsoleted or not implemented (pid=11110)
 linux: 'ioctl' fd=11, cmd=6401 ('d',1) not implemented

I can't find any reference to "sysctl" in ktrace output, but it looks
like the ioctl can stop direct rendering all by itself:

 11110 quake3.x86 CALL  open(0xbfbfe320,0x2,0)
 11110 quake3.x86 NAMI  "/compat/linux/dev/dri/card0"
 11110 quake3.x86 NAMI  "/dev/dri/card0"
 11110 quake3.x86 RET   open 11/0xb
 11110 quake3.x86 CALL  ioctl(0xb,0xc0086401 ,0xbfbfe2d8)
 11110 quake3.x86 RET   ioctl -1 errno -22 Unknown error: -22
 11110 quake3.x86 CALL  close(0xb)
 11110 quake3.x86 RET   close 0

Any suggestions?

My system:
FreeBSD 4.1-RELEASE
XFree86 4.0.1 built from ports
Various Debian XF86-4 packages extracted into /compat/linux
Matrox G450 16MB
using the mga_drv.o from Matrox



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message




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