Index: [thread] [date] [subject] [author]
  From: Andrew Apted <ajapted@netspace.net.au>
  To  : ggi-develop@eskimo.com
  Date: Mon, 14 Jun 1999 18:38:17 +1000

Re: palemu target?

Ketil Froyn writes:

>  On Sun, 13 Jun 1999, Andrew Apted wrote:
>  
>  > >  Of course, for all I know this could be the program dying for some reason.
>  > >  Is it? :)
>  > I hope not :).  Please try running some normal libggi demos with
>  > GGI_DISPLAY=palemu and see if they work.
>  
>  No, that didn't work. The program needs 8 bpp, and my X server is 16.

It works here (e.g. programs/demo/flying_ggis with GGI_DISPLAY=palemu,
on an XGGI running in 16 bit mode).  programs/demo/demo mostly works
too, but I've noticed it hangs sometimes.  Here's the back trace after I
kill -11 it:

|  (gdb) bt
|  #0  0x400e30eb in sched_yield ()
|  #1  0x400e0de4 in pthread_mutex_trylock ()
|  #2  0x4001637c in ggTryLock (lock=0x80505c0) at dlptlock.c:87
|  #3  0x400fa09a in GGI_X_flush (vis=0x804ec28, x=0, y=0, w=640, h=480, tryflag=0)
|      at mode.c:133
|  #4  0x40010af2 in _ggiInternFlush (vis=0x804ec28, x=0, y=0, w=640, h=480, 
|      tryflag=0) at stubs.c:88
|  #5  0x400ee59c in GGI_palemu_flush (vis=0x804e4b0, x=0, y=0, w=640, h=480, 
|      tryflag=0) at mode.c:427
|  #6  0x40010af2 in _ggiInternFlush (vis=0x804e4b0, x=0, y=0, w=640, h=480, 
|      tryflag=0) at stubs.c:88
|  #7  0x400f596c in _GGI_mansync_handler (unused=27) at child.c:94
|  #8  0xbffed834 in ?? ()
|  #9  0x400162fc in ggLock (lock=0x80505c0) at dlptlock.c:72
|  #10 0x401a5b2a in GII_xwin_eventpoll (inp=0x8050910, arg=0x0) at input.c:160
|  #11 0x4001cfdc in _giiPollall (inp=0x8050910, mask=160, arg=0x0) at gii.c:553
|  #12 0x4001de80 in giiEventPoll (inp=0x8050910, mask=160, timeout=0xbffedc68)
|      at unix.c:162
|  #13 0x4000d129 in ggiKbhit (vis=0x804e4b0) at events.c:80
|  #14 0x8049c04 in main (argc=0, argv=0xbffffd64) at demo.c:623
|  #15 0x8048ebb in ___crt_dummy__ ()

I don't see the hang on the console.  Marcus, could that be a bug in the
GII X input driver, or something else ?  [maybe just my crumbling libc5
system ? :-))]

Cheers,
___________________________________________________
                                               \  /
  Andrew Apted   <ajapted@netspace.net.au>      \/
 

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