Hi!
Today I tried to install ggi on my system. There are still a few
problems to solve... Some of them seem to have aroused before but I
couldn't find solutions in the mailing-list-archive.
First I patched my kernel to use kgi. It worked fine (i.e. it booted)
but ...
1) the usb-uhci module complains about an unresolved symbol
(don't remember which). So no mouse - no X!
Therefore I switched back to my old kernel and decided to target ggi at
the kgicon-module. I couldn't choose my graphic card at once (Elsa
Erazor II with nVidia Riva TNT II):
2) Some config-scripts in the .../kgicon/kgi - tree don't have execution
permission.
Fixed. kgicon.o compiles and gets inserted. Ah, graphical console at
640x480 !!
3) Why do I always get the message
"mtrr: base(0xe6000000) is not aligned on a size(0xfe0000) boundary"
when switching consoles ?????
Next I generated my /etc/ggi/kgicon.mon (for MiroPTLA150) and touched
/etc/fb.modes. Setmon works. No more messages when switching consoles
!!!!!!
4) Why does fbset (e.g. fbset -xres 1024 -yres 768) always return
"ioctl: FBIOPUT_VSCREENINFO: Invalid argument" ??????????
5) Is there a way to remove the kgicon-module ????
Rebooted.
6) This time trying "modprobe kgicon kgicon_width=1024 kgicon_height=768
kgicon_bpp=24". Excerpt from my /var/log/messages-file:
kernel: nVidia Riva Card detected.
kernel: Control mem=0xE4000000
kernel: Framebuffer mem=0xE6000000
kernel: 16256KByte of RAM detected
kernel: KGI monitor driver rev $Revision: 1.12 $
kernel: RAMDAC_init.
kernel: nVidia Riva Integrated Clock driver rev 0.1
kernel: Crystal = 13500KHz
kernel: Manufacturer Model driver loaded.
kernel: error: kgifb_set_var: Unsupported bpp '1'.
kernel: error: kgifb_set_var: Unsupported bpp '1'.
kernel: mtrr: base(0xe6000000) is not aligned on a size(0xfe0000)
boundary
kernel: kgifb_init: xres 640 yres 480 bpp 8 vaddr 0xc884c000 paddr
0xe6000000 size 16646144
kernel: mtrr: base(0xe6000000) is not aligned on a size(0xfe0000)
boundary
kernel: mtrr: base(0xe6000000) is not aligned on a size(0xfe0000)
boundary
kernel: Console: switching to colour frame buffer device 80x30
kernel: fb0: KGI frame buffer device using 16256K of video memory
640x480 ??? I want higher resolutions !!!
However I moved on and built and installed libgii. Next configure
libggi:
7) I can't set the include-path of libgii. The configure-script seems to
insist
on the include-files to reside in /usr/include/ggi but libgii copies
them to
/usr/local/include/ggi.
I made a symbolic link in /usr/include and built/installed libggi.
Running some demos - success !!
Any ideas how I can run ggi at higher resolutions ?
By the way: Some time ago there was a discussion to make ggi- and
X-Extensions compatible to each other so that XGGI can be run as a full
replacement of X. Is there work in progress ?
What about that great idea to have a LibGGIGL that solves all the
problems with GGIMesa ?
Sorry for the blown up mail :-(
Any help is welcome.
Martin.