Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Apr 2003 14:01:03 -0500 (EST)
From:      Kenneth Culver <culverk@yumyumyum.org>
To:        Matthias Buelow <mkb@mukappabeta.de>
Cc:        freebsd-current@freebsd.org
Subject:   Re: linux-emu ioctl not implemented w/ quake3
Message-ID:  <20030403140028.J83219-100000@alpha.yumyumyum.org>
In-Reply-To: <20030403030829.GD3941@moghedien.mukappabeta.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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"
>



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