Index: [thread] [date] [subject] [author]
  From: Jan Kneschke <Jan.Kneschke@kiel.netsurf.de>
  To  : ggi-develop@eskimo.com
  Date: Fri, 31 Jul 1998 18:09:14 +0200 (MEST)

bughunting

yesterday, i started bughunting in display-aa. i havn't done it perfectly
but i'll do rest today. 
BTW: 1. howto find out if the programm is in X ?? (DISPLAY= )??
     2. hwoto find out the size of the console ??

today display-svga entered the circle of clearance.

the following piece of code gives me a 'floating point ex':

ggi_visual_t vis;
ggi_mode suggest;

int main (int argc, char** argv) {
        int res;
        ggi_color col;

        ggiInit();
        vis = ggiOpen(NULL);
        res = ggiCheckGraphMode(vis,GGI_AUTO,GGI_AUTO,GGI_AUTO,GGI_AUTO,
                GT_AUTO,&suggest,NULL);
        ggiPrintMode(&suggest);
        printf("\n");
        res = ggiSetMode(vis, &suggest);
        ggiGetc(vis);
        ggiClose(vis);
        ggiExit();
        return 0;
}

the target is like i mentioned before 'display-svga'. the suggested mode is 
1024x768#1024x768 D1x1 F 1 [24/32]

the float-ex occures in 'ggiSetMode'. 

i've just set the suggested mode which is theoretically possible but not yet
supported by svaglib.

why do i get an unsupported from ggiCheckGraphMode ??

Next one. if i use the same code and do an
's/ggiOpen(NULL)/ggiOpen("display-svga":)/' i'll get a seg-fault.
Note: i'm doing this at the console as root -> display-svga is default !!



thats all
  Jan

--- 
       Project: GGI - S3-Vision-driver -- http://www.ggi-project.org/
         -)=  Jan (Weigon) Kneschke -- Kiel -- Northern Germany =(-

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