On Fri, Feb 11, 2011 at 5:01 PM, claudio canepa <ccanep...@gmail.com> wrote:
> > > On Fri, Feb 11, 2011 at 3:37 PM, amdlintuxo <amdlintu...@gmail.com> wrote: > >> >> >> Full code is here: >> http://bpaste.net/show/13615/ >> >> Could some one test the full code or provide the idea what can cause >> sporadic screen blinking. >> Looking forwards for you support, i have nothing left to try to >> resolve this problem, struggling third day, no luck. Maybe this >> blinking is my HW config problem. >> > > Whit the full code I got > > Traceback (most recent call last): > File "E:\incomplete copia sempron sancle 2010 04 > 30\scode\shader_test\shader.py", line 32, in glLibTestErrors > function() > File "E:\incomplete copia sempron sancle 2010 04 > 30\scode\shader_test\shader.py", line 181, in main > tex0, (_w,_h) = upload_texture('data/screenshot.png', True) > File "E:\incomplete copia sempron sancle 2010 04 > 30\scode\shader_test\shader.py", line 72, in upload_texture > data ) > File "C:\Python26\lib\site-packages\OpenGL\latebind.py", line 45, in > __call__ > return self._finalCall( *args, **named ) > File "C:\Python26\lib\site-packages\OpenGL\wrapper.py", line 791, in > wrapperCall > raise errGLError: GLError( > err = 1281, > description = 'valor no v\xe1lido', > baseOperation = glTexImage2D, > pyArgs = ( > GL_TEXTURE_2D, > 0, > 4, > 640, > 576, > 0, > GL_RGBA, > GL_UNSIGNED_BYTE, > '\x8d\x8e\xbc\xff\x8d\x8e\xbc\xff\x8d..., > ), > cArgs = ( > GL_TEXTURE_2D, > 0, > 4, > 640, > 576, > 0, > GL_RGBA, > GL_UNSIGNED_BYTE, > '\x8d\x8e\xbc\xff\x8d\x8e\xbc\xff\x8d..., > ), > cArguments = ( > GL_TEXTURE_2D, > 0, > 4, > 640, > 576, > 0, > GL_RGBA, > GL_UNSIGNED_BYTE, > '\x8d\x8e\xbc\xff\x8d\x8e\xbc\xff\x8d..., > ) > ) > > > windows xp, python 2.6.5, > I provided a 640 x 576 data\screenshot.png > > >>> OpenGL.version.__version__ > '3.0.1' > >>> > > -- > claudio > > > after resampling to power of two (512 x 512) it passes that point, but seems that this test machine (vga = intel 945g ) don't supports the funcionality: I got Traceback (most recent call last): File "E:\incomplete copia sempron sancle 2010 04 30\scode\shader_test\shader.py", line 32, in glLibTestErrors function() File "E:\incomplete copia sempron sancle 2010 04 30\scode\shader_test\shader.py", line 239, in main ''') File "E:\incomplete copia sempron sancle 2010 04 30\scode\shader_test\shader.py", line 101, in compile_program program = glCreateProgram() File "C:\Python26\lib\site-packages\OpenGL\platform\baseplatform.py", line 340 , in __call__ self.__name__, self.__name__, NullFunctionError: Attempt to call an undefined function glCreateProgramObjectARB, check for bool(glCreateProgramObjectARB) before calling -- claudio