From owner-freebsd-current@FreeBSD.ORG Thu Apr 3 11:01:42 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5BC9637B401 for ; Thu, 3 Apr 2003 11:01:42 -0800 (PST) Received: from alpha.yumyumyum.org (dsl092-171-091.wdc1.dsl.speakeasy.net [66.92.171.91]) by mx1.FreeBSD.org (Postfix) with ESMTP id 74D0C43FA3 for ; Thu, 3 Apr 2003 11:01:40 -0800 (PST) (envelope-from culverk@yumyumyum.org) Received: from alpha.yumyumyum.org (localhost [127.0.0.1]) by alpha.yumyumyum.org (8.12.8/8.12.6) with ESMTP id h33J14sF083242; Thu, 3 Apr 2003 14:01:04 -0500 (EST) (envelope-from culverk@yumyumyum.org) Received: from localhost (culverk@localhost)h33J13iT083239; Thu, 3 Apr 2003 14:01:03 -0500 (EST) (envelope-from culverk@yumyumyum.org) X-Authentication-Warning: alpha.yumyumyum.org: culverk owned process doing -bs Date: Thu, 3 Apr 2003 14:01:03 -0500 (EST) From: Kenneth Culver To: Matthias Buelow In-Reply-To: <20030403030829.GD3941@moghedien.mukappabeta.net> Message-ID: <20030403140028.J83219-100000@alpha.yumyumyum.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Status: No, hits=-2.1 required=5.0 tests=IN_REP_TO,X_AUTH_WARNING,DOUBLE_CAPSWORD,AWL version=2.31 cc: freebsd-current@freebsd.org Subject: Re: linux-emu ioctl not implemented w/ quake3 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Apr 2003 19:01:42 -0000 I'd say this is a video card driver issue, because with my geforce3 and the nvidia drivers I could run q3 for as long as I wanted without any issues. Ken On Thu, 3 Apr 2003, Matthias Buelow wrote: > Hi folks, > > I'm running 5.0-RELEASE-p7 on i386 and investigated how quake3 (linux) > would be doing at the moment. I had some relative success on 4.7 > (quake3 ran ok, in 3d acceleration, but only for about 30 seconds, at > which point the whole machine froze solid) so I hoped it might just > work out. This time at least it didn't freeze but I don't even get so > far. When I run quake3.x86, I get the following: > > quake3 spits: > > Using XFree86-VidModeExtension Version 2.2 > XFree86-VidModeExtension Activated at 640x480 > libGL error: failed to open DRM: Operation not permitted > ... > (at which point it offers me to use Mesa software rendering > as a fallback which, of course, works...) > > and the kernel says: > > Apr 3 04:59:23 reiher kernel: linux: 'ioctl' fd=13, cmd=0x6401 ('d',1) not implemented > > Does anybody know what ioctl that would be? I didn't get that on 4.7, > is linux-emu divergent between -stable and -current? > > The relevant ktrace excerpt follows: > > ... > 1713 quake3.x86 RET old.setrlimit 12/0xc > 1713 quake3.x86 CALL ftruncate > 1713 quake3.x86 RET ftruncate 1000/0x3e8 > 1713 quake3.x86 CALL setrlimit(0x2cea6c30,0xbfbfea00,0) > 1713 quake3.x86 NAMI "/compat/linux/dev/dri" > 1713 quake3.x86 NAMI "/dev/dri" > 1713 quake3.x86 RET setrlimit 0 > 1713 quake3.x86 CALL setrlimit(0xbfbfeb00,0xbfbfea00,0) > 1713 quake3.x86 NAMI "/compat/linux/dev/dri/card0" > 1713 quake3.x86 NAMI "/dev/dri/card0" > 1713 quake3.x86 RET setrlimit 0 > 1713 quake3.x86 CALL open(0xbfbfeb00,0x2,0) > 1713 quake3.x86 NAMI "/compat/linux/dev/dri/card0" > 1713 quake3.x86 NAMI "/dev/dri/card0" > 1713 quake3.x86 RET open 13/0xd > 1713 quake3.x86 CALL ioctl(0xd,0xc0086401 ,0xbfbfec00) > 1713 quake3.x86 RET ioctl -1 errno -22 Unknown error: -22 > 1713 quake3.x86 CALL close(0xd) > 1713 quake3.x86 RET close 0 > 1713 quake3.x86 CALL ftruncate > 1713 quake3.x86 RET ftruncate 1000/0x3e8 > 1713 quake3.x86 CALL setrlimit(0x2cea6c30,0xbfbfea00,0) > 1713 quake3.x86 NAMI "/compat/linux/dev/dri" > 1713 quake3.x86 NAMI "/dev/dri" > 1713 quake3.x86 RET setrlimit 0 > 1713 quake3.x86 CALL setrlimit(0xbfbfeb00,0xbfbfea00,0) > 1713 quake3.x86 NAMI "/compat/linux/dev/dri/card1" > 1713 quake3.x86 NAMI "/dev/dri/card1" > 1713 quake3.x86 RET setrlimit JUSTRETURN > 1713 quake3.x86 CALL ftruncate > 1713 quake3.x86 RET ftruncate 1000/0x3e8 > 1713 quake3.x86 CALL setrlimit(0x2cea6c30,0xbfbfea00,0) > 1713 quake3.x86 NAMI "/compat/linux/dev/dri" > 1713 quake3.x86 NAMI "/dev/dri" > 1713 quake3.x86 RET setrlimit 0 > 1713 quake3.x86 CALL setrlimit(0xbfbfeb00,0xbfbfea00,0) > 1713 quake3.x86 NAMI "/compat/linux/dev/dri/card2" > 1713 quake3.x86 NAMI "/dev/dri/card2" > 1713 quake3.x86 RET setrlimit JUSTRETURN > 1713 quake3.x86 CALL ftruncate > 1713 quake3.x86 RET ftruncate 1000/0x3e8 > 1713 quake3.x86 CALL setrlimit(0x2cea6c30,0xbfbfea00,0) > 1713 quake3.x86 NAMI "/compat/linux/dev/dri" > 1713 quake3.x86 NAMI "/dev/dri" > 1713 quake3.x86 RET setrlimit 0 > 1713 quake3.x86 CALL setrlimit(0xbfbfeb00,0xbfbfea00,0) > 1713 quake3.x86 NAMI "/compat/linux/dev/dri/card3" > 1713 quake3.x86 NAMI "/dev/dri/card3" > 1713 quake3.x86 RET setrlimit JUSTRETURN > 1713 quake3.x86 CALL ftruncate > 1713 quake3.x86 RET ftruncate 1000/0x3e8 > 1713 quake3.x86 CALL setrlimit(0x2cea6c30,0xbfbfea00,0) > 1713 quake3.x86 NAMI "/compat/linux/dev/dri" > 1713 quake3.x86 NAMI "/dev/dri" > 1713 quake3.x86 RET setrlimit 0 > 1713 quake3.x86 CALL setrlimit(0xbfbfeb00,0xbfbfea00,0) > 1713 quake3.x86 NAMI "/compat/linux/dev/dri/card4" > 1713 quake3.x86 NAMI "/dev/dri/card4" > 1713 quake3.x86 RET setrlimit JUSTRETURN > 1713 quake3.x86 CALL ftruncate > 1713 quake3.x86 RET ftruncate 1000/0x3e8 > 1713 quake3.x86 CALL setrlimit(0x2cea6c30,0xbfbfea00,0) > 1713 quake3.x86 NAMI "/compat/linux/dev/dri" > 1713 quake3.x86 NAMI "/dev/dri" > 1713 quake3.x86 RET setrlimit 0 > 1713 quake3.x86 CALL setrlimit(0xbfbfeb00,0xbfbfea00,0) > 1713 quake3.x86 NAMI "/compat/linux/dev/dri/card5" > 1713 quake3.x86 NAMI "/dev/dri/card5" > 1713 quake3.x86 RET setrlimit JUSTRETURN > 1713 quake3.x86 CALL ftruncate > 1713 quake3.x86 RET ftruncate 1000/0x3e8 > 1713 quake3.x86 CALL setrlimit(0x2cea6c30,0xbfbfea00,0) > 1713 quake3.x86 NAMI "/compat/linux/dev/dri" > 1713 quake3.x86 NAMI "/dev/dri" > 1713 quake3.x86 RET setrlimit 0 > 1713 quake3.x86 CALL setrlimit(0xbfbfeb00,0xbfbfea00,0) > 1713 quake3.x86 NAMI "/compat/linux/dev/dri/card6" > 1713 quake3.x86 NAMI "/dev/dri/card6" > 1713 quake3.x86 RET setrlimit JUSTRETURN > 1713 quake3.x86 CALL ftruncate > 1713 quake3.x86 RET ftruncate 1000/0x3e8 > 1713 quake3.x86 CALL setrlimit(0x2cea6c30,0xbfbfea00,0) > 1713 quake3.x86 NAMI "/compat/linux/dev/dri" > 1713 quake3.x86 NAMI "/dev/dri" > 1713 quake3.x86 RET setrlimit 0 > 1713 quake3.x86 CALL setrlimit(0xbfbfeb00,0xbfbfea00,0) > 1713 quake3.x86 NAMI "/compat/linux/dev/dri/card7" > 1713 quake3.x86 NAMI "/dev/dri/card7" > 1713 quake3.x86 RET setrlimit JUSTRETURN > 1713 quake3.x86 CALL ftruncate > 1713 quake3.x86 RET ftruncate 1000/0x3e8 > 1713 quake3.x86 CALL setrlimit(0x2cea6c30,0xbfbfea00,0) > 1713 quake3.x86 NAMI "/compat/linux/dev/dri" > 1713 quake3.x86 NAMI "/dev/dri" > 1713 quake3.x86 RET setrlimit 0 > 1713 quake3.x86 CALL setrlimit(0xbfbfeb00,0xbfbfea00,0) > 1713 quake3.x86 NAMI "/compat/linux/dev/dri/card8" > 1713 quake3.x86 NAMI "/dev/dri/card8" > 1713 quake3.x86 RET setrlimit JUSTRETURN > 1713 quake3.x86 CALL ftruncate > 1713 quake3.x86 RET ftruncate 1000/0x3e8 > 1713 quake3.x86 CALL setrlimit(0x2cea6c30,0xbfbfea00,0) > 1713 quake3.x86 NAMI "/compat/linux/dev/dri" > 1713 quake3.x86 NAMI "/dev/dri" > 1713 quake3.x86 RET setrlimit 0 > 1713 quake3.x86 CALL setrlimit(0xbfbfeb00,0xbfbfea00,0) > 1713 quake3.x86 NAMI "/compat/linux/dev/dri/card9" > 1713 quake3.x86 NAMI "/dev/dri/card9" > 1713 quake3.x86 RET setrlimit JUSTRETURN > 1713 quake3.x86 CALL ftruncate > 1713 quake3.x86 RET ftruncate 1000/0x3e8 > 1713 quake3.x86 CALL setrlimit(0x2cea6c30,0xbfbfea00,0) > 1713 quake3.x86 NAMI "/compat/linux/dev/dri" > 1713 quake3.x86 NAMI "/dev/dri" > 1713 quake3.x86 RET setrlimit 0 > 1713 quake3.x86 CALL setrlimit(0xbfbfeb00,0xbfbfea00,0) > 1713 quake3.x86 NAMI "/compat/linux/dev/dri/card10" > 1713 quake3.x86 NAMI "/dev/dri/card10" > 1713 quake3.x86 RET setrlimit JUSTRETURN > 1713 quake3.x86 CALL ftruncate > 1713 quake3.x86 RET ftruncate 1000/0x3e8 > 1713 quake3.x86 CALL setrlimit(0x2cea6c30,0xbfbfea00,0) > 1713 quake3.x86 NAMI "/compat/linux/dev/dri" > 1713 quake3.x86 NAMI "/dev/dri" > 1713 quake3.x86 RET setrlimit 0 > 1713 quake3.x86 CALL setrlimit(0xbfbfeb00,0xbfbfea00,0) > 1713 quake3.x86 NAMI "/compat/linux/dev/dri/card11" > 1713 quake3.x86 NAMI "/dev/dri/card11" > 1713 quake3.x86 RET setrlimit JUSTRETURN > 1713 quake3.x86 CALL ftruncate > 1713 quake3.x86 RET ftruncate 1000/0x3e8 > 1713 quake3.x86 CALL setrlimit(0x2cea6c30,0xbfbfea00,0) > 1713 quake3.x86 NAMI "/compat/linux/dev/dri" > 1713 quake3.x86 NAMI "/dev/dri" > 1713 quake3.x86 RET setrlimit 0 > 1713 quake3.x86 CALL setrlimit(0xbfbfeb00,0xbfbfea00,0) > 1713 quake3.x86 NAMI "/compat/linux/dev/dri/card12" > 1713 quake3.x86 NAMI "/dev/dri/card12" > 1713 quake3.x86 RET setrlimit JUSTRETURN > 1713 quake3.x86 CALL ftruncate > 1713 quake3.x86 RET ftruncate 1000/0x3e8 > 1713 quake3.x86 CALL setrlimit(0x2cea6c30,0xbfbfea00,0) > 1713 quake3.x86 NAMI "/compat/linux/dev/dri" > 1713 quake3.x86 NAMI "/dev/dri" > 1713 quake3.x86 RET setrlimit 0 > 1713 quake3.x86 CALL setrlimit(0xbfbfeb00,0xbfbfea00,0) > 1713 quake3.x86 NAMI "/compat/linux/dev/dri/card13" > 1713 quake3.x86 NAMI "/dev/dri/card13" > 1713 quake3.x86 RET setrlimit JUSTRETURN > 1713 quake3.x86 CALL ftruncate > 1713 quake3.x86 RET ftruncate 1000/0x3e8 > 1713 quake3.x86 CALL setrlimit(0x2cea6c30,0xbfbfea00,0) > 1713 quake3.x86 NAMI "/compat/linux/dev/dri" > 1713 quake3.x86 NAMI "/dev/dri" > 1713 quake3.x86 RET setrlimit 0 > 1713 quake3.x86 CALL setrlimit(0xbfbfeb00,0xbfbfea00,0) > 1713 quake3.x86 NAMI "/compat/linux/dev/dri/card14" > 1713 quake3.x86 NAMI "/dev/dri/card14" > 1713 quake3.x86 RET setrlimit JUSTRETURN > 1713 quake3.x86 CALL write(0x2,0xbfbfc540,0x39) > 1713 quake3.x86 GIO fd 2 wrote 57 bytes > "libGL error: failed to open DRM: Operation not permitted > " > 1713 quake3.x86 RET write 57/0x39 > ... > > --mkb > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >