XGetImage function takes approximately 1.7 seconds. I need to use XGetImage to record the display screen 3 times per second. I don't believe XShmGetImage is available. I am calling XGetImage from a library file.
Any idea why it would be this slow?? If XGetImage took 100 milli-seconds I would be fine.
I have a feeling that I am either using a package or missing a package which is causing this extremely poor performance. Even when using the GUI for firefox or a GNOME terminal, the graphics seems to display slow.
I am using SLES 11.3 64bit on an IBM server. Matrox G200 EV graphics card. LEN Lenovo LEN L1900PA display with 1280x1024 resolution and 16.7 Mio. (24 bit color). Loads of RAM. Intel Xeon E5620 8 core processor 2.4 GHz. Nothing else running on the machine.
Again any suggestions of why XGetImage is slow?