On Sat, 30 Nov 2002, Christoph Egger wrote:

> On Fri, 29 Nov 2002, Rodolphe Ortalo wrote:
>
> > Hello,
> >
> > When trying to compile libggi & libgii (a CVS version from Wednesday IIRC)
> > --with-kii I have a few problems.
>
>
> Hi!
>
>
> I just tried KGI, too.
>
>
> Finally I got the star demo working using the Mach64 driver w/o
> acceleration. Unfortunately, libgii's input target didn't work, so I was
> forced to push the reset button to 'exit' the stars demo.

This is great news! One more tester!

Note that there's a lot more going on than possibly just the kii target
not working. Currently, as the insertion of a driver doesn't take over
console, once you set a graphic mode, there is nothing to get the card to
go back to text mode. What is supposed to happen is that once the ggi
aplication exits the console layer will restore the text mode. But
currently the console layer thinks it's still using the dpy-i386 boot
driver and doesn't tell the new driver to switch back to text mode. I have
a fix for this in my tree, but I still need to create a proper fix that I
can check in.

As you noticed, the mach64 target in libggi is somewhat incomplete. The
MACH64.h register definition is missing from libggi cvs. The reason is
that this file is identintical to the one in kgi tree and I felt really
wrong duplicating it in two places. A quick fix is to just pop it in there
from your kgi tree (no modifications necessary) a long term solution
would be somehow figure out where that file is and use it (this is really
hard as there is no way for drivers to expose header files to userspace
and forcing you to have a kgi tree while building libggi is unacceptable).


> I had to fix libgii's kii input target and libggi's kgi-target for this,
> plus some kii header.
>
> I've committed all changes.

Please don't be so quick to commit any solution to compilation problems.
For instance, you might notice that Bernhard's previous previous check-in
explicitly removes inclusion of kgi/system.h from kii/kii.h so adding it
back in is probably not the right solution.


It's great so see that you have finally seen the stars! I know there's
still plenty issues with kgi that I have personally learned to live
with or learned to get around, but they still need fixing! So please do
keep brining them up so that kgi finally gets fully useable.

-Filip


Reply via email to