Re: GGI Project Unhappy On Linux

George (jirka@5z.com)
Sun, 29 Mar 1998 02:06:52 -0800


Quoting Alan Cox (alan@lxorguk.ukuu.org.uk):
> > would it be possible to separate the video driver to a separate user
> > level process, which X would talk to? ...
>
> Well that user level process _is_ the X server. And as people rightly
> observe also SVGAlib, the kernel and has rather limited arbitration

I meant something that would run ALL the time and would be the ONLY
thing talking to the graphics card, thus avoiding the nighthmares with
multiple graphics programs running at the same time etc .... it could
also do ALL the video stuff including the console ... the kernel would
have very minimal console support, you would start this daemon on boot
and it would manage the console, provide virtual consoles and graphics
access

I dunno how good this would be compared to something like KGI, but it
would fill a similiar purpose, but from userspace

> > less buggy too ... would it be possible to take the "drivers" from the
> > Xfree, dump em into the userlevel driver ??? that way it doesn't have to
> > be written from scratch ...
>
> Moving some of the low level support doesn't change the stability per se,
> but it does give you more control over things and especially over
> abitration. The problem is there is a penalty for that. A syscall costs time
> and you have to really get the syscall count down to sane levels. A fast
> graphics card can plot a line in less time than a syscall takes, so it
> is a real hard issue

I think just the fact of less of the code (theoretically the driver
would be by far smaller then X) ... and the fact that it is the ONLY
process controlling the graphics card .. it should increase stability
...

although I think something like KGI would be a better solution, it's
true that it might be putting too much stuff into the kernel ...

again ... I probably don't know what I'm talking about :)

George

-- 
------------------------------------------------------------------------------
George Lebl <jirka@5z.com> http://www.5z.com/jirka/
------------------------------------------------------------------------------
  The following implements RSA in perl and is illegal to export from the US:

#!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj $/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1 lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu