I'm getting this too, on the latest trunk as of today (68). A couple of samples like the 'lines' one run OK but criticalMass, for example, throws a similar error to the above.
Ubuntu 12.04 in a Virtualbox VM.
Traceback:
OpenGL Warning: vboxCall failed with VBox status code -54
OpenGL Warning: SHCRGL_GUEST_FN_WRITE_READ (67108924) failed with 0 fffffffe
OpenGL Warning: vboxCall failed with VBox status code -54
OpenGL Warning: SHCRGL_GUEST_FN_WRITE_READ (67108924) failed with 0 fffffffe
Traceback (most recent call last):
File "/home/alanb/Aptana Studio 3 Workspace/PyGL3Display/examples/criticalMass.py", line 169, in <module>
main()
File "/home/alanb/Aptana Studio 3 Workspace/PyGL3Display/examples/criticalMass.py", line 151, in main
x = Level(10, (400,400))
File "/home/alanb/Aptana Studio 3 Workspace/PyGL3Display/examples/criticalMass.py", line 123, in __init__
self.ballImg = loadImage('ball.png')
File "../PyGL3Display/pygameimages.py", line 80, in loadImage
return cls.surfaceify(pygame.image.load(*args, **kwargs))
File "../PyGL3Display/pygameimages.py", line 89, in surfaceify
ret.upload(pygameSurface)
File "../PyGL3Display/pygameimages.py", line 75, in upload
Image.upload(self, self.rawimage)
File "../PyGL3Display/twodspriteinfrastructure.py", line 468, in upload
self.atlas.uploadToBox(image, self.redrawData)
File "../PyGL3Display/twodspriteinfrastructure.py", line 428, in uploadToBox
GL_RGBA, GL_UNSIGNED_BYTE, data)
File "/usr/lib/pymodules/python2.7/OpenGL/latebind.py", line 45, in __call__
return self._finalCall( *args, **named )
File "/usr/lib/pymodules/python2.7/OpenGL/wrapper.py", line 791, in wrapperCall
raise err
OpenGL.error.GLError: GLError(
err = 1282,
description = 'invalid operation',
baseOperation = glTexSubImage2D,
pyArgs = (
GL_TEXTURE_2D,
0,
0,
0,
100,
100,
GL_RGBA,
GL_UNSIGNED_BYTE,
'\xff\xff\xff\x00\xff\xff\xff\x00\xff...,
),
cArgs = (
GL_TEXTURE_2D,
0,
0,
0,
100,
100,
GL_RGBA,
GL_UNSIGNED_BYTE,
'\xff\xff\xff\x00\xff\xff\xff\x00\xff...,
),
cArguments = (
GL_TEXTURE_2D,
0,
0,
0,
100,
100,
GL_RGBA,
GL_UNSIGNED_BYTE,
'\xff\xff\xff\x00\xff\xff\xff\x00\xff...,
)
)
I'm getting this too, on the latest trunk as of today (68). A couple of samples like the 'lines' one run OK but criticalMass, for example, throws a similar error to the above.
Ubuntu 12.04 in a Virtualbox VM.
Traceback:
OpenGL Warning: vboxCall failed with VBox status code -54
OpenGL Warning: SHCRGL_ GUEST_FN_ WRITE_READ (67108924) failed with 0 fffffffe
OpenGL Warning: vboxCall failed with VBox status code -54
OpenGL Warning: SHCRGL_ GUEST_FN_ WRITE_READ (67108924) failed with 0 fffffffe
Traceback (most recent call last): PyGL3Display/ examples/ criticalMass. py", line 169, in <module> PyGL3Display/ examples/ criticalMass. py", line 151, in main PyGL3Display/ examples/ criticalMass. py", line 123, in __init__ 'ball.png' ) y/pygameimages. py", line 80, in loadImage pygame. image.load( *args, **kwargs)) y/pygameimages. py", line 89, in surfaceify upload( pygameSurface) y/pygameimages. py", line 75, in upload upload( self, self.rawimage) y/twodspriteinf rastructure. py", line 468, in upload atlas.uploadToB ox(image, self.redrawData) y/twodspriteinf rastructure. py", line 428, in uploadToBox pymodules/ python2. 7/OpenGL/ latebind. py", line 45, in __call__ pymodules/ python2. 7/OpenGL/ wrapper. py", line 791, in wrapperCall error.GLError: GLError( xff\xff\ x00\xff\ xff\xff\ x00\xff. .., xff\xff\ x00\xff\ xff\xff\ x00\xff. .., xff\xff\ x00\xff\ xff\xff\ x00\xff. ..,
File "/home/alanb/Aptana Studio 3 Workspace/
main()
File "/home/alanb/Aptana Studio 3 Workspace/
x = Level(10, (400,400))
File "/home/alanb/Aptana Studio 3 Workspace/
self.ballImg = loadImage(
File "../PyGL3Displa
return cls.surfaceify(
File "../PyGL3Displa
ret.
File "../PyGL3Displa
Image.
File "../PyGL3Displa
self.
File "../PyGL3Displa
GL_RGBA, GL_UNSIGNED_BYTE, data)
File "/usr/lib/
return self._finalCall( *args, **named )
File "/usr/lib/
raise err
OpenGL.
err = 1282,
description = 'invalid operation',
baseOperation = glTexSubImage2D,
pyArgs = (
GL_TEXTURE_2D,
0,
0,
0,
100,
100,
GL_RGBA,
GL_UNSIGNED_BYTE,
'\xff\
),
cArgs = (
GL_TEXTURE_2D,
0,
0,
0,
100,
100,
GL_RGBA,
GL_UNSIGNED_BYTE,
'\xff\
),
cArguments = (
GL_TEXTURE_2D,
0,
0,
0,
100,
100,
GL_RGBA,
GL_UNSIGNED_BYTE,
'\xff\
)
)