Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detect when OpenGL is unavailable #89

Open
ghost opened this issue Oct 29, 2018 · 1 comment
Open

Detect when OpenGL is unavailable #89

ghost opened this issue Oct 29, 2018 · 1 comment

Comments

@ghost
Copy link

ghost commented Oct 29, 2018

File "friture\plotting\glCanvasWidget.py", line 160, in tryGlGetString
File "errorchecker.pyx", line 53, in OpenGL_accelerate.errorchecker._ErrorChecker.glCheckError (src\errorchecker.c:1218)
OpenGL.error.GLError: GLError(
err = 1280,
description = b'\xed\xe5\xe4\xee\xef\xf3\xf1\xf2\xe8\xec\xfb\xe9 \xfd\xeb\xe5\xec\xe5\xed\xf2 \xef\xe5\xf0\xe5\xf7\xe8\xf1\xeb\xe5...,
baseOperation = glGetString,
cArguments = (GL_SHADING_LANGUAGE_VERSION,)
)
2018-10-29 11:30:30,312 WARNING OpenGL.arrays.numpymodule: Unable to load numpy_formathandler accelerator from OpenGL_accelerate
2018-10-29 11:30:30,313 ERROR friture.plotting.glCanvasWidget: glGetIntegerv failed
Traceback (most recent call last):
File "friture\plotting\glCanvasWidget.py", line 167, in tryGlGetIntegerv
File "latebind.pyx", line 32, in OpenGL_accelerate.latebind.LateBind.call (src\latebind.c:989)
File "wrapper.pyx", line 318, in OpenGL_accelerate.wrapper.Wrapper.call (src\wrapper.c:6561)
File "wrapper.pyx", line 311, in OpenGL_accelerate.wrapper.Wrapper.call (src\wrapper.c:6439)
File "site-packages\OpenGL\platform\baseplatform.py", line 402, in call
File "errorchecker.pyx", line 53, in OpenGL_accelerate.errorchecker._ErrorChecker.glCheckError (src\errorchecker.c:1218)
OpenGL.error.GLError: GLError(
err = 1280,
description = b'\xed\xe5\xe4\xee\xef\xf3\xf1\xf2\xe8\xec\xfb\xe9 \xfd\xeb\xe5\xec\xe5\xed\xf2 \xef\xe5\xf0\xe5\xf7\xe8\xf1\xeb\xe5...,
baseOperation = glGetIntegerv,
pyArgs = (
GL_NUM_EXTENSIONS,
<object object at 0x04228C90>,
),
cArgs = (
GL_NUM_EXTENSIONS,
array([0], dtype=int32),
),
cArguments = (
GL_NUM_EXTENSIONS,
array([0], dtype=int32),
)
)
2018-10-29 11:30:30,314 INFO friture.plotting.glCanvasWidget: Microsoft Corporation, GDI Generic, Version: 1.1.0, Shaders: unknown, Extensions: unknown
2018-10-29 11:30:30,315 CRITICAL friture.exceptionhandler: Unhandled exception: Traceback (most recent call last):
File "friture\plotting\glCanvasWidget.py", line 226, in initializeGL
File "site-packages\OpenGL\GL\shaders.py", line 213, in compileShader
File "latebind.pyx", line 31, in OpenGL_accelerate.latebind.LateBind.call (src\latebind.c:965)
File "site-packages\OpenGL\extensions.py", line 245, in finalise
OpenGL.error.NullFunctionError: Attempt to call an undefined alternate function (glCreateShader, glCreateShaderObjectARB), check for bool(glCreateShader) before calling

2018-10-29 11:30:30,453 INFO friture.ringbuffer: Ringbuffer: growing buffer for length 15360

@tlecomte
Copy link
Owner

Dear @Dmeatray could you please tell us more about your setup (Windows I guess ?), how you installed Friture, and what you observed ? From the logs it seems that maybe Friture crashed because there was no suitable OpenGL implementation in your machine, but it's just a guess. Thanks!

@tlecomte tlecomte changed the title friture.log.txt Detect when OpenGL is unavailable Dec 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant