Index: [thread] [date] [subject] [author]
  From: Matthew Vanecek <mev0003@unt.edu>
  To  : andreas.beck@ggi-project.org
  Date: Mon, 5 Apr 1999 16:53:02 -0500 (CDT)

Re: Documentation, and getting SVGALib to work...

On  5 Apr, becka@rz.uni-duesseldorf.de spewed forth:
:: Hi !
:: 
:: > Hello, I have a couple of questions.
:: > I've got an SiS 6326 AGP/8M video card.
:: > I'm trying to get SVGALib (specifically, Quake ;) ), to work
:: > w/framebuffers, using the libggi as a wrapper.  The README said to set
:: > various environment variables, but I can't find a list of acceptable
:: > values for the environment variables.
:: > 
:: > I've got libggi, libgii, and svgalib4ggi installed (latest versions). 
:: > When I start Quake, the screen is all scrambled. 
:: 
:: Where from do you start Quake ? From the console ? From X ?
:: 
:: If you started from the console, chances are, that you are still using the
:: SVGAlib in some way. Check with ldd and follow eventual links, please.
:: 
:: Other than that: Do you have _any_ working driver for your chipset ?
:: 
:: LibGGI doesn't do magic (well only just a little bit), you will still need
:: some kind of driver. Either in SVGAlib, in X, in fbcon, in kgicon, or
:: whatever ...
:: 
:: CU, Andy
:: 

I always run squake, which is from the console.  It works fine in
SVGALib in a vga console (I'll get a 3D card one of these days!).  I
also run the XFree SVGA server.  Currently, I am booted into fbcon at
1024x768x16M, with X running.  

An ldd of squake:
root:reliant quake$ ldd squake 
       libm.so.5 => not found
       libvga.so.1 => /usr/lib/libvga.so.1 (0x40005000)
       libc.so.5 => not found
       libggi.so.2 => /usr/local/lib/libggi.so.2 (0x4000e000)
       libc.so.6 => /lib/libc.so.6 (0x4001a000)
       libgii.so.0 => /usr/local/lib/libgii.so.0 (0x400be000)
       libgg.so.0 => /usr/local/lib/libgg.so.0 (0x400c4000)
       /lib/ld-linux.so.1 => /lib/ld-linux.so.2 (0x2aaaa000)
       libdl.so.2 => /lib/libdl.so.2 (0x400c9000)


and my libvgas:
root:reliant quake$ ls -l /usr/lib/libvga.so*
lrwxrwxrwx   1 root     root           18 Apr  4 23:22 /usr/lib/libvga.so -> libvga.so.1.99.ggi*
lrwxrwxrwx   1 root     root           18 Apr  4 23:22 /usr/lib/libvga.so.1 -> libvga.so.1.99.ggi*
-rwxr-xr-x   1 root     root       256444 Oct 23 01:06 /usr/lib/libvga.so.1.3.0*
-rwxr-xr-x   1 root     root       104968 Apr  4 23:21 /usr/lib/libvga.so.1.99.ggi*

As far as I can tell, everything is set up right.  With the appropriate
environment variables all set to '1', I get a scrambled screen.  It's
like the frequencies are set wrong or something.  The program is
running, though.  This is from the fbcon.

Documentation is *Very* scarce for both SVGALib and libggi, beyond a
few basics, so I'm just kinda flying by the seat of my pants here.  I
don't even know if the svgalib configuration affects libggi, or if I
need to change something there.  I just assumed that my libvga.conf was
set up correctly, because beyond changing the mousetype I haven't
edited it from the standard RH 5.1 install, and everything works.
The only thing I'm not clear on in that file is the modes.  I don't
have any in there, don't know if I'm  *supposed* to have everything in
there, for modes, or what to put in there if I do.  But if libvga.conf
doesn't affect using SVGALib thru libggi, I figure it's a moot point.

-- 
Matthew Vanecek
Course of Study: http://www.unt.edu/bcis
Visit my Website at http://people.unt.edu/~mev0003
For answers type: perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'
*****************************************************************
For 93 million miles, there is nothing between the sun and my shadow
except me. I'm always getting in the way of something...


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