[ pyopengl-Bugs-3577573 ] glEndList gives error on virtual machine.
SourceForge.net <[email protected]> Tue, 16 Oct 2012 09:21:04 -0700
| Newsgroups | gmane.comp.python.opengl.devel |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #3577573, was opened at 2012-10-16 00:43
Message generated for change (Comment added) made by mcfletch
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105988&aid=3577573&group_id=5988
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Demo
Group: v2.0.1
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Yann Golanski (kierun)
Assigned to: Mike C. Fletcher (mcfletch)
Summary: glEndList gives error on virtual machine.
Initial Comment:
When I try to run the OpenGL demo GLUT/gears.py, I get the following traceback:
OpenGL Warning: XGetVisualInfo returned 0 visuals for 0x98cb2a8
OpenGL Warning: Retry with 0xd4 returned 1 visuals
OpenGL Warning: XGetVisualInfo returned 0 visuals for 0x98cb2a8
OpenGL Warning: Retry with 0xd4 returned 1 visuals
Traceback (most recent call last):
File "gears.py", line 264, in <module>
init()
File "gears.py", line 234, in init
glEndList()
File "errorchecker.pyx", line 50, in OpenGL_accelerate.errorchecker._ErrorChecker.glCheckError (src/errorchecker.c:1050)
OpenGL.error.GLError: GLError(
err = 1280,
description = 'invalid enumerant',
baseOperation = glEndList,
cArguments = ()
)
I get the same error in my own code, but this is probably a better example to track the bug.
Any idea what is causing this?
----------------------------------------------------------------------
>Comment By: Mike C. Fletcher (mcfletch)
Date: 2012-10-16 09:21
Message:
It *appears* to be VirtualBox error:
https://www.virtualbox.org/ticket/6848
with the last comment implying using:
LIBGL_ALWAYS_INDIRECT=1 python gears.py
to test if this is the same issue (if it is, then that should cause it to
work).
----------------------------------------------------------------------
Comment By: Yann Golanski (kierun)
Date: 2012-10-16 07:07
Message:
Adding:
OpenGL.ERROR_CHECKING = False
fixed the problem and the code runs fine. I suspect a bug in the error
checking code, maybe a type conversion?
----------------------------------------------------------------------
Comment By: Yann Golanski (kierun)
Date: 2012-10-16 03:01
Message:
A call to glIsList(gear1) just after line 230 returns GL_FALSE, if that
helps at all.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105988&aid=3577573&group_id=5988
------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
PyOpenGL Homepage
http://pyopengl.sourceforge.net