Re: [PyOpenGL-Users] shaders over X windows
Brought to you by:
mcfletch
From: Mike C. F. <mcf...@vr...> - 2009-12-09 21:00:53
|
Philip Winston wrote: > I have a PyOpenGL app which runs well locally on Linux. But if I run > it remotely with X windows I get an error: > > File > "/usr/lib/python2.6/site-packages/PyOpenGL-3.0.1a4-py2.6.egg/OpenGL/platform/baseplatform.py", > line 335, in __call__ > self.__name__, self.__name__, > <class 'OpenGL.error.NullFunctionError'>: Attempt to call an undefined > function glCreateProgramObjectARB, check for > bool(glCreateProgramObjectARB) before calling > > I changed glCreateProgramObjectARB() to glCreateProgram() but I get a > similar error. > > Should this work over X Windows? I haven't used X Windows in years, > and never with OpenGL apps. Does it require maybe a special X server > or configuration? I've tried just X servers on recent Linux and MacOS > machines, and gotten the same error. Thanks. I wouldn't be too surprised to see this fail. Extensions of this type (ones which require communication/coordination between the server and client side) require extensions to the GLX protocol to support remoting of the operation. I'd have thought that shaders would be a pretty straightforward one compared to e.g. VBOs, but that doesn't mean its necessarily been implemented yet... here's a forum post from last year that gives the general background: http://www.opengl.org/discussion_boards/ubbthreads.php?ubb=showflat&Number=249826 that's obviously rather old, but it would seem to match your experience. HTH, Mike -- ________________________________________________ Mike C. Fletcher Designer, VR Plumber, Coder http://www.vrplumber.com http://blog.vrplumber.com |