glReadPixel error when used remoterly

I have a program which runs well on a local machine. When I run it remotely(using ssh -X to login the remote machine), it still runs and display correctly on the X-window. However, when I try to retrieve the image using glReadPixels, the retrieval image is garbage. But the retrieval is correct on a local machine. What could possible go wrong? Thanks.

What’s the output of glxinfo?

  • Nigel

Are u using nvidia or amd driver or mesa3D ?

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.