From owner-freebsd-multimedia Wed Nov 22 15:53:29 2000 Delivered-To: freebsd-multimedia@freebsd.org Received: from grok.example.net (cr479972-a.rct1.bc.wave.home.com [24.113.37.168]) by hub.freebsd.org (Postfix) with ESMTP id B1C2537B4CF for ; Wed, 22 Nov 2000 15:53:27 -0800 (PST) Received: by grok.example.net (Postfix, from userid 1000) id 3BE87212E29; Wed, 22 Nov 2000 15:53:18 -0800 (PST) Date: Wed, 22 Nov 2000 15:53:18 -0800 From: Steve Reid To: freebsd-multimedia@freebsd.org Subject: XF86-4, Linux binaries, DRI? Message-ID: <20001122155318.A11020@grok> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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