Open
Description
just a thread to track issues related to OpenGL version conflicts on windows 10. Here is a common traceback seen on windows 10 when attempting to show the volume viewer. it seems that windows may have multiple versions of opengl, and is defaulting to an older version with an outdated API.
Traceback (most recent call last):
File "C:\Users\CBMF\Anaconda3\envs\spimenv\Scripts\spimagine-script.py", line 10, in <module>
sys.exit(main())
File "C:\Users\CBMF\Anaconda3\envs\spimenv\lib\site-packages\spimagine\bin\spimagine_gui.py", line 122, in main
win = MainWidget()
File "C:\Users\CBMF\Anaconda3\envs\spimenv\lib\site-packages\spimagine\gui\mainwidget.py", line 437, in __init__
self.onColormapChanged(0)
File "C:\Users\CBMF\Anaconda3\envs\spimenv\lib\site-packages\spimagine\gui\mainwidget.py", line 460, in onColormapChanged
self.glWidget.set_colormap(self.volSettingsView.colormaps[index])
File "C:\Users\CBMF\Anaconda3\envs\spimenv\lib\site-packages\spimagine\gui\glwidget.py", line 187, in set_colormap
self._set_colormap_array(arr)
File "C:\Users\CBMF\Anaconda3\envs\spimenv\lib\site-packages\spimagine\gui\glwidget.py", line 198, in _set_colormap_array
self.texture_LUT = fillTexture2d(arr.reshape((1,) + arr.shape), self.texture_LUT)
File "C:\Users\CBMF\Anaconda3\envs\spimenv\lib\site-packages\spimagine\gui\gui_utils.py", line 140, in fillTexture2d
GL.glTexParameterf (GL.GL_TEXTURE_2D, GL.GL_TEXTURE_WRAP_S, GL.GL_CLAMP_TO_EDGE)
File "errorchecker.pyx", line 53, in OpenGL_accelerate.errorchecker._ErrorChecker.glCheckError (src\errorchecker.c:1218)
OpenGL.error.GLError: GLError(
err = 1280,
description = b'invalid enumerant',
baseOperation = glTexParameterf,
cArguments = (
GL_TEXTURE_2D,
GL_TEXTURE_WRAP_S,
GL_CLAMP_TO_EDGE,
)
)
Metadata
Assignees
Labels
No labels