Re:KGIcon ATI driver

1999-12-06 Thread tim_harris

You might need to run 'con2fbmap 0 1' which tells Linux to use the kgicon fb as
the console.
This tool comes with kgicon under the util directory.
Hope this helps,
Tim


Reply Separator
Subject:KGIcon ATI driver 
Author: [EMAIL PROTECTED]
Date:   12/3/99 4:34 PM


I tried the ATI driver. I got a blank screen. Here is what I got for teh
debug info

fb1: KGI frame buffer device using 8192K of video memory

then blank screen.

  -==  
  ==   _   
  ---==   (_)__  __   __   James Simmons
  --==   / / _ \/ // /\ \/ /   [EMAIL PROTECTED]
  -=/_/_//_/\_,_/ /_/\_\   fbcon/gfx developer
The choice of a GNU generation





Problem with lastest versions

1999-12-06 Thread Rubén

I've problems both with lastest debian package of GGI, all programs
die with SEGV at ggiOpen, see an example:

#includeggi/ggi.h
int main()
{
 ggi_visual_t *v;
 ggiInit();
 v=ggiOpen(NULL);
 ggiSetGraphMode(v,GGI_AUTO,GGI_AUTO,GGI_AUTO,GGI_AUTO,GT_AUTO);
 ggiClose(v);
 return 0;
}

I execute this simple program in _any_ target except of memory, and
it crashes with this backtrace:

#0  0x804c6c0 in ?? ()
#1  0x40060c55 in vfprintf () from /lib/libc.so.6
#2  0x4006812d in fprintf () from /lib/libc.so.6
#3  0x40109aaf in ggDPrintf () from /usr/lib/libgg.so.0
#4  0x40109b40 in ggLoadModule () from /usr/lib/libgg.so.0
#5  0x4001b7b8 in ggiDBGetBuffer () from /usr/lib/libggi.so.2
#6  0x4001baca in _ggiAddDL () from /usr/lib/libggi.so.2
#7  0x4001bd08 in _ggiOpenDL () from /usr/lib/libggi.so.2
#8  0x4001ca82 in ggiOpen () from /usr/lib/libggi.so.2
#9  0x4001c92e in ggiOpen () from /usr/lib/libggi.so.2
#10 0x80485e5 in main ()

I've tried also to compile the lastest snapshot (99/12/05), and I
got errors in all places where appeared EXPORTVAR and IMPORTVAR, for
example:
init.c:40: syntax error before `uint32'
init.c:41: syntax error before `int'
init.c:42: syntax error before `void'

I need GGI to continue development of GGL, I finished the new 2D
engine and I can't test if it works :( 
-- 
Regards
  _
 /_) \/ / /  email: mailto:[EMAIL PROTECTED]
/ \  / (_/   www  : http://programacion.mundivia.es/ryu
[ GGL developer ]  [ IRCore developer ]  [ GPUL member ]



Re:KGIcon ATI driver

1999-12-06 Thread James Simmons


I did do that!! 

  -==  
  ==   _   
  ---==   (_)__  __   __   James Simmons
  --==   / / _ \/ // /\ \/ /   [EMAIL PROTECTED]
  -=/_/_//_/\_,_/ /_/\_\   fbdev/gfx developer
The choice of a GNU generation

On Mon, 6 Dec 1999 [EMAIL PROTECTED] wrote:

 You might need to run 'con2fbmap 0 1' which tells Linux to use the kgicon fb as
 the console.
 This tool comes with kgicon under the util directory.
 Hope this helps,
 Tim
 
 
 Reply Separator
 Subject:KGIcon ATI driver 
 Author: [EMAIL PROTECTED]
 Date:   12/3/99 4:34 PM
 
 
 I tried the ATI driver. I got a blank screen. Here is what I got for teh
 debug info
 
 fb1: KGI frame buffer device using 8192K of video memory
 
 then blank screen.
 
   -==  
   ==   _   
   ---==   (_)__  __   __   James Simmons
   --==   / / _ \/ // /\ \/ /   [EMAIL PROTECTED]
   -=/_/_//_/\_,_/ /_/\_\   fbcon/gfx developer
 The choice of a GNU generation
 
 
 



Re: Silly Ideas?

1999-12-06 Thread Brian S. Julin

On Fri, 3 Dec 1999, Ketil Froyn wrote:
 First, I was wondering about a MPEG-target for ggi (or kgi?), so a target
 could be made for MPEG-decoder cards :) Would it be really CPU-intensive
 to implement the basic primitives? (I don't know much about mpg, so for
 all I know, this suggestion is "way out there").

If you just send I-frames, I think it would be relatively straightforward.
Just keep a buffer and send it out at regular intervals.

 Second, and maybe a little more realistic, I was wondering about a
 'sample' target. This could for example be an extension to file, where the
 screen is drawn to different files at the specified frequency. Would be
 excellent for grabbing screens to make animations.

There is a sample "extension" in the libedemo directory.  Extensions are
different than targets, but if you learn how an extension works, targets 
should be straightforward and easy.  See the GGI Extension HOWTO.

http://mojo.calyx.net/~bri/projects/GGI/GGPG/ext.html

--
Brian



GGI on PPC

1999-12-06 Thread Thayne Harbaugh

It's been a while since I've followed GGI development.  Can
anyone tell me what the status of GGI on PPC is?



Re: Problem with lastest versions

1999-12-06 Thread Rubén

On 1999/Dec/06, Marcus Sundberg wrote:

  #includeggi/ggi.h
  int main()
 int main(void)

It was only an example to show you that it crashes at ggiOpen, it
wasn't intended to compile with -pedantic :) (even -pedantic doesn't warn if
you don't use (void).

Here you have the new ANSI, -pedantic compatible and pretty printed
code:

#includeggi/ggi.h

int main()
{
ggi_visual_t v;
if (ggiInit()  0) {
fprintf(stderr,"ggiInit failed\n");
exit(1);
}
v=ggiOpen(NULL);
if (v == NULL){
ggiPanic("ggiOpen failed\n");
}

if (ggiSetGraphMode(v, GGI_AUTO, GGI_AUTO, GGI_AUTO, GGI_AUTO, GT_AUTO)0){
ggiPanic("ggiSetGraphMode failed\n");
}
ggiClose(v);
return 0;
}

And here you have the result:

Segmentation Fault (core dumped)

The backtrace is the same than the other mail one.

 If the problem persists then, please give me the urls of the
 GGI-related .debs you are using, and I'll check it out at the
 Debian system at work.

ftp://ceu.fi.udc.es/debian/dists/potato/main/binary-i386/libs/...

  init.c:40: syntax error before `uint32'
  init.c:41: syntax error before `int'
  init.c:42: syntax error before `void'
 
 If you use a snapshot you must take all the libraries from the same
 snapshot - your LibGG is too old.

Oh! right, I forgot to compile libgg and libgii of this snapshot,
thanks.
-- 
"The artifficial intelligence will never exceed the natural stupidity" 
 Santiago Souto
  _
 /_) \/ / /  email: mailto:[EMAIL PROTECTED]
/ \  / (_/   www  : http://programacion.mundivia.es/ryu
[ GGL developer ]  [ IRCore developer ]  [ GPUL member ]