Re: linux-emu ioctl not implemented w/ quake3

From: Kenneth Culver <culverk_at_yumyumyum.org>
Date: Thu, 3 Apr 2003 14:01:03 -0500 (EST)
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_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
>
Received on Thu Apr 03 2003 - 09:01:42 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:02 UTC