Index: [thread] [date] [subject] [author]
  From: Marcus Sundberg <mackan@stacken.kth.se>
  To  : ggi-develop@eskimo.com
  Date: Tue, 29 Jun 1999 21:43:39 +0000

Re: ggi acting up solved

Andreas Beck wrote:
> > geteuid()                               = 500
> > open("/dev/3dfx",
> > O_RDWR) = -1 ENOSYS (Function not implemented)
> > open("/dev/3dfx", O_RDWR)               = -1 ENOSYS (Function not implemented)
> > open("/dev/3dfx", O_RDWR)               = -1 ENODEV (No such device)

You do not have the 3dfx driver loaded.

> > iopl(0x3)                               = -1 EPERM (Operation not permitted)

So Glide will try to hit the hardware directly.

> > --- SIGSEGV (Segmentation fault) ---

But because you are not root that fails too.

> > +++ killed by SIGSEGV +++
> 
> So it happens exactly what is to be expected. It looks like the kernel
> driver doesn't let you in, and even if it would, calling iopl() will require
> root privs ... seems like you can't use Glide as non-root ...

Sure you can. It works just fine here with Device3Dfx.

//Marcus
-- 
-------------------------------+------------------------------------
        Marcus Sundberg        | http://www.stacken.kth.se/~mackan/
 Royal Institute of Technology |       Phone: +46 707 295404
       Stockholm, Sweden       |   E-Mail: mackan@stacken.kth.se

Index: [thread] [date] [subject] [author]