I've tried to access my Raspberry Pi(running Raspbian) using SSH with -X
flag. On my host machine(Ubuntu 14.04 x64), I can run graphic programs like browser, however, when I want to execute the sample program of OpenGL ES with EGL from /opt/vc/src/hello_pi/hello_triangle
, it cannot display the window. I tried to use HDMI with Raspberry Pi and run it on itself, it works.
Could anyone tell me why? Is EGL here using X11 to get the native window or not?
EGLGetDisplay
failed since there's no monitor connecting with it directly, but not try yet. I'll update after this trial later tonight.libGLES
-- Mesa is the non-hardware accelerated OGL. I'm sure the pi doesn't use it by default though. It just uses mesa for non-ES stuff, I think.