> I ran into an odd problem today. I wrote a simple ggi-based program that
> draws 1e6 boxes to the screen and time how long it takes (hey, it's my first
> ggi program :P)

> Strangely enough, it works locally, but not if I run it on another machine
> and do a remote X display to my box. Is this intentional/a known problem?

Hmm - this should work ...

Please try with the XLib target, which cannot suffer from strange
interference with the shm extension ...

Just set GGI_DISPLAY to "xlib" to do this test.

This should BTW also speed up your program quite a bit, especially if you
run it remotely, as xlib will accelerate the boxes.

> I tried running with GGI_DEBUG=255... one thing that seems odd:
> LibGGI: X: Creating shm image #0
> LibGGI: X: shmat success at 0x401e1000.
> LibGGI: X: XShmAttach failed - trying without shm
> 
> does that matter?

It is just reporting that it cannot use shared memory, which is correct for
a remote machine, as client and server don't have shared memory, then.

1. Does using xlib help ?
2. What exactly happens ? 
   If crash: When does the program crash ? 
             What are the last few lines from the GGI_DEBUG log ?

CU, ANdy

-- 
= Andreas Beck                    |  Email :  <[EMAIL PROTECTED]> =

Reply via email to