Index:
[thread]
[date]
[subject]
[author]
From: Christoph Egger <Christoph_Egger@t-online.de>
To : p.guehring@poboxes.com
Date: Fri, 20 Aug 1999 15:25:05 +0200 (MEST)
Re: Svgalib Wrapper
On Fri, 20 Aug 1999, Philipp Gühring wrote:
> >I can't reproduce this, and the palemu target hasn't changed since
> >before 2.0beta2. What version do you have of relevant libs?
> I already found that problem.
> Now my program is running in 8-Bit X and Palemu without problems.
>
> >printf("GGI_DISPLAY=%s\n",getenv("GGI_DISPLAY"));
> >if((vis=ggiOpen(NULL))==NULL) return 0;
> >if(ggiSetGraphMode(vis,320,200,320,200,GT_8BIT)) return 0;
> >printf("Grafikmodus ok.\n");
>
> But there is another problem:
>
> When I try to start my ggi program in a svga-capable textconsole, I
> get:
> GGI_DISPLAY=(null)
> display-fbcon: Couldnīt open Framebuffer Device ...
> SVGAlib target called from the SVGAlib wrapper! Terminating.
>
> When I set GGI_DISPLAY to svga:
> GGI_DISPLAY=svga
> SVGAlib target called from the SVGAlib wrapper! Terminating.
>
> What do I have to do to get ggi programs running with the svgalib?
> I tried seejpeg in the same environment, and it works, so svgalib
> canīt be the problem. Or?
No.
When you want to use the svgalib-target, you must do:
bash$ GGI_DISPLAY="vgagl"
bash$ export GGI_DISPLAY
bash$ your_program
Christoph Egger
E-Mail: Christoph_Egger@t-online.de
Index:
[thread]
[date]
[subject]
[author]