Hi Richard,
If your program works without X11 forwarding but doesn't work WITH X11
forwarding (on the same remote machine), then perhaps the easiest thing
might be to unset the DISPLAY variable using something like unsetenv() or
putenv() from cstdlib / stdlib.h within your program?
Of course, thi
If that's the case, yes, I can confirm the NV driver does not support
rendering with remote X servers using EGL, with or without indirect GLX
support enabled in said server, and yes, EGLDevice will work just fine
in that situation for offscreen rendering if you're trying to use the
local GPU.
12290 is indeed EGL_BAD_ACCESS, and it's pretty much impossible for Mesa's
eglInitialize to return that, so (if I had to guess) you have nvidia's
driver installed as well, and (extra guessing now) nvidia's EGL only works
with connections to the local machine and not over the network. Mesa
shouldn't
I think this might be because indirect GLX support is disabled by default
on X-Servers shipping in Ubuntu, so if your remotely executing client tries
to use your local X-Server over the network via the x forwarding, it will
fail. I guess without x forwarding Mesa just renders locally on the remote