Index: [thread] [date] [subject] [author]
  From: becka@rz.uni-duesseldorf.de
  To  : dj@wnmail.wndev.att.com
  Date: Wed, 5 May 1999 16:09:42 +0200 (MET DST)

Re: newbie XGGI problem

Hi 

> I'm trying to use Crystal Space and I wasn't impressed with its
> performance over X (frames per second isn't too high on a Pentium 
> MMX 166mhz, like 5-7 walking around, but less than 1 inside of 'fog').  

Hmm - IIRC Crystal space isn't limited so much by the video subsystem
(as long as it doesn't use heavy hardware acceleration), but rather
by FPU power.

> I hoped that XGGI would be faster, due to more direct access to the
> frame buffer, 

No. XGGI is an X server. Speed is still comparable to any other X server.
The main bottleneck cannot be removed. It will usually even be a little
slower (though not much), as it is a bit less accelerated than the average
accelerated XF86 server.

> but I can't get it to start.  Am I wrong?  Do XF86's SVGA driver's 
> acceleration benefit more than direct access to the frame buffer.

You do not get direct framebuffer access by using XGGI. You get as much
access as with any other X server.

But IIRC Crystalspace has a GGI driver, which should allow you to run
it directly on fbcon or SVGAlib, or whatever your card can be driven by.

> export GGI_DEBUG=255 # seems to have no effect

Because the server terminates, before LibGGI comes up.

> _XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
> _XSERVTransMakeAllCOTSServerListeners: server already running
> Fatal server error:
> Cannot establish any listening sockets - Make sure an X server isn't already running

This is very probably a stale socket lingering around in /tmp/.X11*.

Try XGGI :1 or remove that old socket. strace might help finding it.

> I'm sure no X server is running.  Most of the libgii/libggi demos 
> seem to work.  Searching DejaNews doesn't help on this problem.
> Searching the GGI faq's doesn't give me much info on XGGI and its
> setup.  

XGGI unlike other X server is not SUID-root. Thus it cannot just forcibly 
remove the old socket.

> Do I need to have XF86FBdev?  

No. It is an alternative way to use the fbcon driver to get an X.
XGGI should be better, as it is a bit accelerated on kgicon drivers
(and AFAIK with the Matroxfb as well).

> Do I need kgi?  

No necessarily. Either use a kernel supplied driver or a KGI driver.

> drivers under kgi it doesn't seem to compile.  kgi's configure seems
> to have guessed my video card wrong.

What card do you have ?

CU, Andy

-- 
Andreas Beck              |  Email :  <Andreas.Beck@ggi-project.org>

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