Reputation: 417
I have a raspberry pi with a code that has a graphical output using OpenGL. When I'm ssh'ed in, I get the X window output of the graphic. When I run it on the pi however, the output doesn't show up. Does anyone have any ideas?
I've compared the printenv details for both, and everything except ssh is the same. It's running "raspbian wheezy" - "Linux raspberrypi 3.2.27+ #160 PREEMPT Mon Sep 17 23:18:42 BST 2012 armv6l GNU/Linux "
Thanks.
Upvotes: 1
Views: 1200
Reputation: 25456
Try to trace X11 calls your program is making using tracer like xtruss
OpenGL on X11 works differently for local and non-local connections. For local connections:
For non-local connections - each GL command is corresponding request in GLX extension
Also see DRI wiki docs
Upvotes: 2