Index: [thread] [date] [subject] [author]
  From: Ketil Froyn <ketilf@ifi.uio.no>
  To  : ggi-develop@eskimo.com
  Date: Sun, 13 Jun 1999 14:04:17 +0200 (MET DST)

GGI Problems

Hi.
I'm done with my exams now, so I'm going to start bothering you all again
:)

I have:
libggi-2.0b2.1
libgii-0.6
svgalib4ggi-0.6
Matrox Millenium I
/etc/fb0
kernel 2.2.9
homemade /etc/fb.modes

I'm trying to run an SVGALib program using the GGI SVGALib wrapper. It
didn't work, and I was getting some strange errors, so I tried with
GGI_DEBUG=255... The following things I had some trouble with:
I'm getting a couple of lines saying eg:
LibGGI: display-fbdev: setmode 80x30#80x30F1[0x1001004]
LibGGI: display-fbdev: cannot get timing from /etc/fb.modes. Just hoping
it works.

I'm assuming this means it is checking what mode it is in to save it until
the running program is done. But I thought I was running 640x480x8?
Anyway, the above says a couple of times, but one time I'm getting

LibGGI: display-fbdev: checkmode 0x0#0x0F0[0x1001004]
LibGGI: display-fbdev: result 0 80x30#80x30F1[0x1001004]
LibGGI: display-fbdev: setmode 80x30#80x30F1[0x1001004]
LibGGI: display-fbdev: cannot get timing from /etc/fb.modes. Just hoping
it works.
display-fbdev: FBIOPUT_VSCREENINFO: Invalid argument
LibGGI: Failed to set mode: [T4/16]
LibGGI: ggiSetMode: done!

What is mode [T4/16]?

Also, I'm getting something like:
LibGGI: ggiCheckMode(0x81915f8, 0xbfffe868) called
LibGGI: display-fbdev: checkmode 320x200#320x200F1[0x4000808]
LibGGI: display-fbdev: result 0 320x200#320x200F1[0x4000808]
LibGGI: display-fbdev: setmode 320x200#320x200F1[0x4000808]
LibGGI: display-fbdev: virtual doesn't match for timing. Hope this doesn't
matter.

Now, I'm suspecting that this has something to do with the modes I've been
setting in /etc/fb.modes. For some reason, I can't seem to be able to make
the virtual and the physical screen-size the same. I'm setting eg. 
'fbset -g 320 200 320 200 8 -t etc...', but the virtual turns out to be
640x200 anyway. Is this a known thing? I've had some trouble with this
before, with the virtual size eating up the memory from the
screen-resolution I want.

Finally I'm getting:
LibGGI SVGAlib-wrapper: 320x200.V320x200.F1.D1x1.[P8/8]
Terminating on signal 11
LibGGI: display-fbdev: GGIdlcleanup start.

What happened here?

TIA :)

Ketil Froyn
--
He who Laughs, Lasts.

http://www.ifi.uio.no/~ketilf/       
mailto:ketilf@ifi.uio.no

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