Index: [thread] [date] [subject] [author]
  From: becka@rz.uni-duesseldorf.de
  To  : Andre Ulrich <andre.u@writeme.com>
  Date: Sat, 17 Apr 1999 20:13:00 +0200 (MEST)

Re: XGGI 1.6.0

Hmm ... this looks weird ...

(English as I CC to the ML ...)

XGGI:

LibGGI: ggiParseMode(0x818d23d, 0x81b5c0c) called
LibGGI: ggiCheckMode(0x81b8510, 0x81b5c0c) called
LibGGI: display-fbdev: checkmode 640x480#0x0F0[0x2001010]
LibGGI: display-fbdev: result 0 640x480#640x480F1[0x2001010]
LibGGI: ggiSetMode(0x81b8510, 640x480.V640x480.F1.D1x1.[C16/16]) called
LibGGI: ggiSetMode: trying (vis 640x480 virt 640x480)
LibGGI: ggiSetMode: trying2 (vis 640x480 virt 640x480)
LibGGI: ggiSetMode: calling 0x400103f0
LibGGI: ggiCheckMode(0x81b8510, 0x81b5c0c) called
LibGGI: display-fbdev: checkmode 640x480#640x480F1[0x2001010]
LibGGI: display-fbdev: result 0 640x480#640x480F1[0x2001010]
LibGGI: display-fbdev: setmode 640x480#640x480F1[0x2001010]
LibGGI: display-fbdev: Change mode OK.
LibGGI: display-fbdev: frame_size=0x96000 fb_size=0x96000 mmap_size=0x96000
LibGGI: display-fbdev: FB_PTR=0xffffffff

Setmode  seems to work o.k., including the ioctl() to ask the fb driver to
change the mode, but then it can't mmap the framebuffer ???

You say it only happens with XGGI - right ? Other demos work fine ... ?

Try using the -noxfreeemu option, as this one causes grief for me as well,
as I don't use it SUID and thus don't have permission to access vt7 ...

Regarding your trouble with cube:

LibGGI: ggiCheckMode(0x804fef0, 0xbffff900) called
LibGGI: display-fbdev: checkmode 1024x768#0x0F2[0x2001010]
LibGGI: display-fbdev: result 0 1024x768#1024x768F2[0x2001010]
        Suggested mode 1024x768.V1024x768.F2.D1x1.[C16/16]

There is the F2 ... cube explicitly sets that, no matter what you say in 
the GGI_DEFMODE. This require too much vidmem.
Anyone to add a switch to disable the double-buffering ? I already added
code that will make it work smoothly on a 1-frame mode. Someone just
needs to enable that.

CU, ANdy

-- 
= Andreas Beck                    |  Email :  <andreas.beck@ggi-project.org> =

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