﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	notify_on_close	platform	project
3419	Startup error with glGetFramebufferAttachmentParameteriv	fernando.zanchi@…	Tom Goddard	"{{{
The following bug report has been submitted:
Platform:        Windows-7-6.1.7601-SP1
ChimeraX Version: 1.0 (2020-06-04 23:15:07 UTC)
Description
(Describe the actions that caused this problem to occur here)

Log:
Startup Errors  
---  
bug | OpenGL.error.GLError: GLError(  
err = 1282,  
description = b'opera\xe7\xe3o inv\xe1lida',  
baseOperation = glGetFramebufferAttachmentParameteriv,  
pyArgs = (  
GL_DRAW_FRAMEBUFFER,  
GL_DEPTH,  
GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE,  
,  
),  
cArgs = (  
GL_DRAW_FRAMEBUFFER,  
GL_DEPTH,  
GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE,  
array([0], dtype=int32),  
),  
cArguments = (  
GL_DRAW_FRAMEBUFFER,  
GL_DEPTH,  
GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE,  
array([0], dtype=int32),  
)  
)  
  
File ""src\errorchecker.pyx"", line 58, in
OpenGL_accelerate.errorchecker._ErrorChecker.glCheckError  
  
See log for complete Python traceback.  
  
  
note | Traceback (most recent call last):  
  
File ""D:\Program Files\ChimeraX 1.0\bin\lib\site-
packages\chimerax\ui\statusbar.py"", line 82, in _expose_event  
  
self._create_opengl_context()  
  
File ""D:\Program Files\ChimeraX 1.0\bin\lib\site-
packages\chimerax\ui\statusbar.py"", line 110, in _create_opengl_context  
  
r.initialize_opengl(lw, lh)  
  
File ""D:\Program Files\ChimeraX 1.0\bin\lib\site-
packages\chimerax\graphics\opengl.py"", line 1063, in initialize_opengl  
  
self.framebuffer_depth_bits() != 24 or  
  
File ""D:\Program Files\ChimeraX 1.0\bin\lib\site-
packages\chimerax\graphics\opengl.py"", line 548, in framebuffer_depth_bits  
  
GL.GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE)  
  
File ""src\latebind.pyx"", line 39, in
OpenGL_accelerate.latebind.LateBind.__call__  
  
File ""src\wrapper.pyx"", line 318, in
OpenGL_accelerate.wrapper.Wrapper.__call__  
  
File ""src\wrapper.pyx"", line 311, in
OpenGL_accelerate.wrapper.Wrapper.__call__  
  
File ""D:\Program Files\ChimeraX 1.0\bin\lib\site-
packages\OpenGL\platform\baseplatform.py"", line 415, in __call__  
  
return self( *args, **named )  
  
File ""src\errorchecker.pyx"", line 58, in
OpenGL_accelerate.errorchecker._ErrorChecker.glCheckError  
  
OpenGL.error.GLError: GLError(  
  
err = 1282,  
  
description = b'opera\xe7\xe3o inv\xe1lida',  
  
baseOperation = glGetFramebufferAttachmentParameteriv,  
  
pyArgs = (  
  
GL_DRAW_FRAMEBUFFER,  
  
GL_DEPTH,  
  
GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE,  
  
<object object at 0x0000000003A18580>,  
  
),  
  
cArgs = (  
  
GL_DRAW_FRAMEBUFFER,  
  
GL_DEPTH,  
  
GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE,  
  
array([0], dtype=int32),  
  
),  
  
cArguments = (  
  
GL_DRAW_FRAMEBUFFER,  
  
GL_DEPTH,  
  
GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE,  
  
array([0], dtype=int32),  
  
)  
  
)  
  
  
  
  
UCSF ChimeraX version: 1.0 (2020-06-04)  
© 2016-2020 Regents of the University of California. All rights reserved.  
How to cite UCSF ChimeraX  

> open D:\Dropbox\Dropbox\erika\fulereno.pdb format pdb

Summary of feedback from opening D:\Dropbox\Dropbox\erika\fulereno.pdb  
---  
warnings | Ignored bad PDB record found on line 387  
END  
  
Start residue of secondary structure not found: HELIX 1 1 ALA A 1 ALA A 30 1
30  
Start residue of secondary structure not found: HELIX 2 2 GLU B 2 ALA B 30 1
29  
  
fulereno.pdb title:  
Crystal structure of de novo designed fullerene organising protein complex
with fullerene [more info...]  
  
Non-standard residues in fulereno.pdb #1  
---  
60C — (C_{60}-I_{H})[5,6]fullerene (buckminsterfullerene, buckyball)  
  
An error occurred in drawing the scene. Redrawing graphics is now stopped to
avoid a continuous stream of error messages. To restart graphics use the
command ""graphics restart"" after changing the settings that caused the error.  
  
Traceback (most recent call last):  
File ""D:\Program Files\ChimeraX 1.0\bin\lib\site-
packages\chimerax\core\updateloop.py"", line 73, in draw_new_frame  
view.draw(check_for_changes = False)  
File ""D:\Program Files\ChimeraX 1.0\bin\lib\site-
packages\chimerax\graphics\view.py"", line 140, in draw  
if not self._use_opengl():  
File ""D:\Program Files\ChimeraX 1.0\bin\lib\site-
packages\chimerax\graphics\view.py"", line 107, in _use_opengl  
self._initialize_opengl()  
File ""D:\Program Files\ChimeraX 1.0\bin\lib\site-
packages\chimerax\graphics\view.py"", line 122, in _initialize_opengl  
r.initialize_opengl(w, h)  
File ""D:\Program Files\ChimeraX 1.0\bin\lib\site-
packages\chimerax\graphics\opengl.py"", line 1063, in initialize_opengl  
self.framebuffer_depth_bits() != 24 or  
File ""D:\Program Files\ChimeraX 1.0\bin\lib\site-
packages\chimerax\graphics\opengl.py"", line 548, in framebuffer_depth_bits  
GL.GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE)  
File ""src\latebind.pyx"", line 39, in
OpenGL_accelerate.latebind.LateBind.__call__  
File ""src\wrapper.pyx"", line 318, in
OpenGL_accelerate.wrapper.Wrapper.__call__  
File ""src\wrapper.pyx"", line 311, in
OpenGL_accelerate.wrapper.Wrapper.__call__  
File ""src\errorchecker.pyx"", line 58, in
OpenGL_accelerate.errorchecker._ErrorChecker.glCheckError  
OpenGL.error.GLError: GLError(  
err = 1282,  
description = b'opera\xe7\xe3o inv\xe1lida',  
baseOperation = glGetFramebufferAttachmentParameteriv,  
pyArgs = (  
GL_DRAW_FRAMEBUFFER,  
GL_DEPTH,  
GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE,  
<object object at 0x0000000003A18580>,  
),  
cArgs = (  
GL_DRAW_FRAMEBUFFER,  
GL_DEPTH,  
GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE,  
array([0], dtype=int32),  
),  
cArguments = (  
GL_DRAW_FRAMEBUFFER,  
GL_DEPTH,  
GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE,  
array([0], dtype=int32),  
)  
)  
  
Traceback (most recent call last):  
File ""D:\Program Files\ChimeraX 1.0\bin\lib\site-
packages\chimerax\graphics\opengl.py"", line 2676, in compile_shader  
vs = shaders.compileShader(vshader, GL.GL_VERTEX_SHADER)  
File ""D:\Program Files\ChimeraX 1.0\bin\lib\site-
packages\OpenGL\GL\shaders.py"", line 241, in compileShader  
shaderType,  
OpenGL.GL.shaders.ShaderCompilationError: ('Shader compile failure (0):
b""ERROR: 0:45: \'GL_ARB_explicit_attrib_location\' : extension is
disabled\\\nERROR: 0:48: \'GL_ARB_explicit_attrib_location\' : extension is
disabled\\\nERROR: 0:70: \'GL_ARB_explicit_attrib_location\' : extension is
disabled\\\nERROR: 0:94: \'GL_ARB_explicit_attrib_location\' : extension is
disabled\\\n\\\n""', [b'#version 330 core\n#define USE_LIGHTING 1\n#define
USE_DEPTH_CUE 1\n#define USE_INSTANCING 1\n#define USE_VERTEX_COLORS
1\n#define MAX_SHADOWS 256\n\n/*\n * === UCSF ChimeraX Copyright ===\n *
Copyright 2016 Regents of the University of California.\n * All rights
reserved. This software provided pursuant to a\n * license agreement
containing restrictions on its disclosure,\n * duplication and use. For
details see:\n * http://www.rbvi.ucsf.edu/chimerax/docs/licensing.html\n *
This notice must be embedded in or attached to all copies,\n * including
partial copies, of the software or any revisions\n * or derivations thereof.\n
* === UCSF ChimeraX Copyright ===\n */\n\n#if defined(USE_TEXTURE_OUTLINE) ||
defined(USE_DEPTH_OUTLINE) || defined(USE_BLEND_TEXTURE_2D) ||
defined(USE_BLEND_TEXTURE_3D)\n\nlayout(location = 0) in vec3
position;\nlayout(location = 1) in vec2 tex_coord;\nout vec2
tex_coord_2d;\nvoid main(void)\n{\n tex_coord_2d = tex_coord;\n gl_Position =
vec4(position,1);\n}\n\n#else\n\n#if defined(USE_CLIP_PLANES) ||
defined(USE_STEREO_360)\nuniform mat4 model_matrix;\t// Map model coordinates
to scene coordinates\n#endif\n\n#if defined(USE_STEREO_360)\nuniform mat4
view_matrix;\t// Map scene coordinates to camera
coordinates\n#endif\n\nuniform mat4 model_view_matrix;\t// Map model
coordinates to camera coordinates\nuniform mat4
projection_matrix;\n\nlayout(location = 0) in vec3 position;\n\n#ifdef
USE_LIGHTING\nlayout(location = 2) in vec3 normal;\nout vec3 N;\nout vec3
v;\n\n#ifdef USE_SHADOW\nuniform mat4 shadow_transform;\nout vec3
shadow_tex_coord;\n#endif\n\n#ifdef USE_MULTISHADOW\n//out vec3 vscene;\n//out
vec3 nscene;\n#endif\n\n#ifdef USE_TEXTURE_3D_AMBIENT\nuniform mat4
ambient_tex3d_transform;\nout vec3 ambient_tex_coord;\n#endif\n\n#endif\t//
end USE_LIGHTING\n\n#ifdef USE_VERTEX_COLORS\nlayout(location = 3) in vec4
vcolor;\nout vec4 color;\n#endif\n\n#ifdef USE_TEXTURE_2D\nlayout(location =
1) in vec2 tex_coord;\nout vec2 tex_coord_2d;\n#endif\n\n#ifdef
USE_TEXTURE_3D\nlayout(location = 1) in vec3 tex_coord;\nout vec3
tex_coord_3d;\n#endif\n\n#ifdef USE_TEXTURE_CUBEMAP\nlayout(location = 1) in
vec3 tex_coord;\nout vec3 tex_coord_cubemap;\n#endif\n\n#ifdef
USE_SHIFT_AND_SCALE\nlayout(location = 4) in vec4
instance_shift_and_scale;\n#endif\n\n#ifdef USE_INSTANCING\nlayout(location =
5) in mat4 instance_placement;\n#endif\n\n#ifdef USE_FRAME_NUMBER\nuniform
float frame_number;\n#endif\n\n#ifdef USE_STEREO_360\n#ifdef USE_LIGHTING\nout
vec3 vshadow;\n#endif\nuniform vec4 camera_origin_and_shift;\nuniform vec4
camera_vertical;\n#endif\n\n#ifdef USE_CLIP_PLANES\nuniform int
num_clip_planes;\nuniform vec4 clip_planes[8];\t// Normal in scene coordinates
and offset\nout float gl_ClipDistance[8];\n#endif\n\nvoid
main(void)\n{\n#ifdef USE_SHIFT_AND_SCALE\n vec4 vi =
vec4(instance_shift_and_scale.w * position + instance_shift_and_scale.xyz,
1);\n#else\n #ifdef USE_INSTANCING\n vec4 vi = instance_placement *
vec4(position, 1);\n #else\n vec4 vi = vec4(position,1);\n
#endif\n#endif\n\n#ifdef USE_CLIP_PLANES\n vec4 vscene_c = model_matrix *
vi;\n for (int i = 0 ; i < num_clip_planes ; ++i)\n gl_ClipDistance[i] =
dot(vscene_c, clip_planes[i]);\n#endif\n\n#ifdef USE_STEREO_360\n vec4
vscene_s = model_matrix * vi;\n vec3 eye_axis = normalize(cross((vscene_s.xyz
- camera_origin_and_shift.xyz),\n camera_vertical.xyz));\n vec4 vsoffset =
vec4(vscene_s.xyz - camera_origin_and_shift.w * eye_axis, 1);\n vec4 veye =
view_matrix * vsoffset;\n#ifdef USE_LIGHTING\n vshadow = (model_view_matrix *
vi).xyz;\n // vshadow = (model_matrix * vi).xyz;\n#endif\n#else\n vec4 veye =
model_view_matrix * vi;\n#endif\n\n#ifdef USE_LIGHTING\n v = veye.xyz;\n
#ifdef USE_INSTANCING\n vec3 ni = vec3(instance_placement * vec4(normal,0));\n
#else\n vec3 ni = normal;\n #endif\n N = normalize((model_view_matrix *
vec4(ni,0)).xyz);\n #ifdef USE_SHADOW\n #ifdef USE_STEREO_360\n
shadow_tex_coord = (shadow_transform * (view_matrix * vec4(vshadow,1))).stp;\n
#else\n shadow_tex_coord = (shadow_transform * veye).stp;\n #endif\n #endif\n
#ifdef USE_MULTISHADOW\n// vscene = (model_matrix * vi).xyz;\n// nscene =
(model_matrix * vec4(ni,0)).xyz;\n #endif\n #ifdef USE_TEXTURE_3D_AMBIENT\n //
TODO: This should use vertex scene coords, not vertex model coordinates\n
ambient_tex_coord = (ambient_tex3d_transform * vi).xyz;\n #endif\n#endif\t//
end USE_LIGHTING\n\n#ifdef USE_VERTEX_COLORS\n color =
vcolor;\n#endif\n\n#ifdef USE_TEXTURE_2D\n tex_coord_2d =
tex_coord;\n#endif\n\n#ifdef USE_TEXTURE_3D\n tex_coord_3d =
tex_coord;\n#endif\n\n#ifdef USE_TEXTURE_CUBEMAP\n tex_coord_cubemap =
tex_coord;\n#endif\n\n gl_Position = projection_matrix *
veye;\n}\n\n#endif\n'], GL_VERTEX_SHADER)  
  
During handling of the above exception, another exception occurred:  
  
Traceback (most recent call last):  
File ""D:\Program Files\ChimeraX 1.0\bin\lib\site-
packages\chimerax\core\triggerset.py"", line 130, in invoke  
return self._func(self._name, data)  
File ""D:\Program Files\ChimeraX 1.0\bin\lib\site-
packages\chimerax\core\filehistory.py"", line 73, in <lambda>  
t.add_handler('frame drawn', lambda *args, s=self: s.capture_thumbnails_cb())  
File ""D:\Program Files\ChimeraX 1.0\bin\lib\site-
packages\chimerax\core\filehistory.py"", line 85, in capture_thumbnails_cb  
fs.capture_image(models, ses)  
File ""D:\Program Files\ChimeraX 1.0\bin\lib\site-
packages\chimerax\core\filehistory.py"", line 173, in capture_image  
self.image = models_image(session, models, size)  
File ""D:\Program Files\ChimeraX 1.0\bin\lib\site-
packages\chimerax\core\filehistory.py"", line 235, in models_image  
image = v.image(width, height, camera = c, drawings = models)  
File ""D:\Program Files\ChimeraX 1.0\bin\lib\site-
packages\chimerax\graphics\view.py"", line 446, in image  
self.draw(c, drawings, swap_buffers = False)  
File ""D:\Program Files\ChimeraX 1.0\bin\lib\site-
packages\chimerax\graphics\view.py"", line 166, in draw  
self._draw_scene(camera, drawings)  
File ""D:\Program Files\ChimeraX 1.0\bin\lib\site-
packages\chimerax\graphics\view.py"", line 233, in _draw_scene  
draw_opaque(r, opaque_drawings)  
File ""D:\Program Files\ChimeraX 1.0\bin\lib\site-
packages\chimerax\graphics\drawing.py"", line 1425, in draw_opaque  
_draw_multiple(drawings, renderer, Drawing.OPAQUE_DRAW_PASS)  
File ""D:\Program Files\ChimeraX 1.0\bin\lib\site-
packages\chimerax\graphics\drawing.py"", line 1438, in _draw_multiple  
d.draw(renderer, draw_pass)  
File ""D:\Program Files\ChimeraX 1.0\bin\lib\site-
packages\chimerax\graphics\drawing.py"", line 716, in draw  
self.draw_self(renderer, draw_pass)  
File ""D:\Program Files\ChimeraX 1.0\bin\lib\site-
packages\chimerax\graphics\drawing.py"", line 723, in draw_self  
self._draw_geometry(renderer, opaque_only = any_transp)  
File ""D:\Program Files\ChimeraX 1.0\bin\lib\site-
packages\chimerax\graphics\drawing.py"", line 754, in _draw_geometry  
shader = r.shader(sopt)  
File ""D:\Program Files\ChimeraX 1.0\bin\lib\site-
packages\chimerax\graphics\opengl.py"", line 583, in shader  
p = self._opengl_shader(options)  
File ""D:\Program Files\ChimeraX 1.0\bin\lib\site-
packages\chimerax\graphics\opengl.py"", line 677, in _opengl_shader  
p = Shader(capabilities, self.multishadow.max_multishadows())  
File ""D:\Program Files\ChimeraX 1.0\bin\lib\site-
packages\chimerax\graphics\opengl.py"", line 2617, in __init__  
self.program_id = self.compile_shader(capabilities, max_shadows)  
File ""D:\Program Files\ChimeraX 1.0\bin\lib\site-
packages\chimerax\graphics\opengl.py"", line 2679, in compile_shader  
raise OpenGLError(str(e))  
chimerax.graphics.opengl.OpenGLError: ('Shader compile failure (0): b""ERROR:
0:45: \'GL_ARB_explicit_attrib_location\' : extension is disabled\\\nERROR:
0:48: \'GL_ARB_explicit_attrib_location\' : extension is disabled\\\nERROR:
0:70: \'GL_ARB_explicit_attrib_location\' : extension is disabled\\\nERROR:
0:94: \'GL_ARB_explicit_attrib_location\' : extension is disabled\\\n\\\n""',
[b'#version 330 core\n#define USE_LIGHTING 1\n#define USE_DEPTH_CUE 1\n#define
USE_INSTANCING 1\n#define USE_VERTEX_COLORS 1\n#define MAX_SHADOWS 256\n\n/*\n
* === UCSF ChimeraX Copyright ===\n * Copyright 2016 Regents of the University
of California.\n * All rights reserved. This software provided pursuant to a\n
* license agreement containing restrictions on its disclosure,\n * duplication
and use. For details see:\n *
http://www.rbvi.ucsf.edu/chimerax/docs/licensing.html\n * This notice must be
embedded in or attached to all copies,\n * including partial copies, of the
software or any revisions\n * or derivations thereof.\n * === UCSF ChimeraX
Copyright ===\n */\n\n#if defined(USE_TEXTURE_OUTLINE) ||
defined(USE_DEPTH_OUTLINE) || defined(USE_BLEND_TEXTURE_2D) ||
defined(USE_BLEND_TEXTURE_3D)\n\nlayout(location = 0) in vec3
position;\nlayout(location = 1) in vec2 tex_coord;\nout vec2
tex_coord_2d;\nvoid main(void)\n{\n tex_coord_2d = tex_coord;\n gl_Position =
vec4(position,1);\n}\n\n#else\n\n#if defined(USE_CLIP_PLANES) ||
defined(USE_STEREO_360)\nuniform mat4 model_matrix;\t// Map model coordinates
to scene coordinates\n#endif\n\n#if defined(USE_STEREO_360)\nuniform mat4
view_matrix;\t// Map scene coordinates to camera
coordinates\n#endif\n\nuniform mat4 model_view_matrix;\t// Map model
coordinates to camera coordinates\nuniform mat4
projection_matrix;\n\nlayout(location = 0) in vec3 position;\n\n#ifdef
USE_LIGHTING\nlayout(location = 2) in vec3 normal;\nout vec3 N;\nout vec3
v;\n\n#ifdef USE_SHADOW\nuniform mat4 shadow_transform;\nout vec3
shadow_tex_coord;\n#endif\n\n#ifdef USE_MULTISHADOW\n//out vec3 vscene;\n//out
vec3 nscene;\n#endif\n\n#ifdef USE_TEXTURE_3D_AMBIENT\nuniform mat4
ambient_tex3d_transform;\nout vec3 ambient_tex_coord;\n#endif\n\n#endif\t//
end USE_LIGHTING\n\n#ifdef USE_VERTEX_COLORS\nlayout(location = 3) in vec4
vcolor;\nout vec4 color;\n#endif\n\n#ifdef USE_TEXTURE_2D\nlayout(location =
1) in vec2 tex_coord;\nout vec2 tex_coord_2d;\n#endif\n\n#ifdef
USE_TEXTURE_3D\nlayout(location = 1) in vec3 tex_coord;\nout vec3
tex_coord_3d;\n#endif\n\n#ifdef USE_TEXTURE_CUBEMAP\nlayout(location = 1) in
vec3 tex_coord;\nout vec3 tex_coord_cubemap;\n#endif\n\n#ifdef
USE_SHIFT_AND_SCALE\nlayout(location = 4) in vec4
instance_shift_and_scale;\n#endif\n\n#ifdef USE_INSTANCING\nlayout(location =
5) in mat4 instance_placement;\n#endif\n\n#ifdef USE_FRAME_NUMBER\nuniform
float frame_number;\n#endif\n\n#ifdef USE_STEREO_360\n#ifdef USE_LIGHTING\nout
vec3 vshadow;\n#endif\nuniform vec4 camera_origin_and_shift;\nuniform vec4
camera_vertical;\n#endif\n\n#ifdef USE_CLIP_PLANES\nuniform int
num_clip_planes;\nuniform vec4 clip_planes[8];\t// Normal in scene coordinates
and offset\nout float gl_ClipDistance[8];\n#endif\n\nvoid
main(void)\n{\n#ifdef USE_SHIFT_AND_SCALE\n vec4 vi =
vec4(instance_shift_and_scale.w * position + instance_shift_and_scale.xyz,
1);\n#else\n #ifdef USE_INSTANCING\n vec4 vi = instance_placement *
vec4(position, 1);\n #else\n vec4 vi = vec4(position,1);\n
#endif\n#endif\n\n#ifdef USE_CLIP_PLANES\n vec4 vscene_c = model_matrix *
vi;\n for (int i = 0 ; i < num_clip_planes ; ++i)\n gl_ClipDistance[i] =
dot(vscene_c, clip_planes[i]);\n#endif\n\n#ifdef USE_STEREO_360\n vec4
vscene_s = model_matrix * vi;\n vec3 eye_axis = normalize(cross((vscene_s.xyz
- camera_origin_and_shift.xyz),\n camera_vertical.xyz));\n vec4 vsoffset =
vec4(vscene_s.xyz - camera_origin_and_shift.w * eye_axis, 1);\n vec4 veye =
view_matrix * vsoffset;\n#ifdef USE_LIGHTING\n vshadow = (model_view_matrix *
vi).xyz;\n // vshadow = (model_matrix * vi).xyz;\n#endif\n#else\n vec4 veye =
model_view_matrix * vi;\n#endif\n\n#ifdef USE_LIGHTING\n v = veye.xyz;\n
#ifdef USE_INSTANCING\n vec3 ni = vec3(instance_placement * vec4(normal,0));\n
#else\n vec3 ni = normal;\n #endif\n N = normalize((model_view_matrix *
vec4(ni,0)).xyz);\n #ifdef USE_SHADOW\n #ifdef USE_STEREO_360\n
shadow_tex_coord = (shadow_transform * (view_matrix * vec4(vshadow,1))).stp;\n
#else\n shadow_tex_coord = (shadow_transform * veye).stp;\n #endif\n #endif\n
#ifdef USE_MULTISHADOW\n// vscene = (model_matrix * vi).xyz;\n// nscene =
(model_matrix * vec4(ni,0)).xyz;\n #endif\n #ifdef USE_TEXTURE_3D_AMBIENT\n //
TODO: This should use vertex scene coords, not vertex model coordinates\n
ambient_tex_coord = (ambient_tex3d_transform * vi).xyz;\n #endif\n#endif\t//
end USE_LIGHTING\n\n#ifdef USE_VERTEX_COLORS\n color =
vcolor;\n#endif\n\n#ifdef USE_TEXTURE_2D\n tex_coord_2d =
tex_coord;\n#endif\n\n#ifdef USE_TEXTURE_3D\n tex_coord_3d =
tex_coord;\n#endif\n\n#ifdef USE_TEXTURE_CUBEMAP\n tex_coord_cubemap =
tex_coord;\n#endif\n\n gl_Position = projection_matrix *
veye;\n}\n\n#endif\n'], GL_VERTEX_SHADER)  
  
Error processing trigger ""frame drawn"":  
chimerax.graphics.opengl.OpenGLError: ('Shader compile failure (0): b""ERROR:
0:45: \'GL_ARB_explicit_attrib_location\' : extension is disabled\\\nERROR:
0:48: \'GL_ARB_explicit_attrib_location\' : extension is disabled\\\nERROR:
0:70: \'GL_ARB_explicit_attrib_location\' : extension is disabled\\\nERROR:
0:94: \'GL_ARB_explicit_attrib_location\' : extension is disabled\\\n\\\n""',
[b'#version 330 core\n#define USE_LIGHTING 1\n#define USE_DEPTH_CUE 1\n#define
USE_INSTANCING 1\n#define USE_VERTEX_COLORS 1\n#define MAX_SHADOWS 256\n\n/*\n
* === UCSF ChimeraX Copyright ===\n * Copyright 2016 Regents of the University
of California.\n * All rights reserved. This software provided pursuant to a\n
* license agreement containing restrictions on its disclosure,\n * duplication
and use. For details see:\n *
http://www.rbvi.ucsf.edu/chimerax/docs/licensing.html\n * This notice must be
embedded in or attached to all copies,\n * including partial copies, of the
software or any revisions\n * or derivations thereof.\n * === UCSF ChimeraX
Copyright ===\n */\n\n#if defined(USE_TEXTURE_OUTLINE) ||
defined(USE_DEPTH_OUTLINE) || defined(USE_BLEND_TEXTURE_2D) ||
defined(USE_BLEND_TEXTURE_3D)\n\nlayout(location = 0) in vec3
position;\nlayout(location = 1) in vec2 tex_coord;\nout vec2
tex_coord_2d;\nvoid main(void)\n{\n tex_coord_2d = tex_coord;\n gl_Position =
vec4(position,1);\n}\n\n#else\n\n#if defined(USE_CLIP_PLANES) ||
defined(USE_STEREO_360)\nuniform mat4 model_matrix;\t// Map model coordinates
to scene coordinates\n#endif\n\n#if defined(USE_STEREO_360)\nuniform mat4
view_matrix;\t// Map scene coordinates to camera
coordinates\n#endif\n\nuniform mat4 model_view_matrix;\t// Map model
coordinates to camera coordinates\nuniform mat4
projection_matrix;\n\nlayout(location = 0) in vec3 position;\n\n#ifdef
USE_LIGHTING\nlayout(location = 2) in vec3 normal;\nout vec3 N;\nout vec3
v;\n\n#ifdef USE_SHADOW\nuniform mat4 shadow_transform;\nout vec3
shadow_tex_coord;\n#endif\n\n#ifdef USE_MULTISHADOW\n//out vec3 vscene;\n//out
vec3 nscene;\n#endif\n\n#ifdef USE_TEXTURE_3D_AMBIENT\nuniform mat4
ambient_tex3d_transform;\nout vec3 ambient_tex_coord;\n#endif\n\n#endif\t//
end USE_LIGHTING\n\n#ifdef USE_VERTEX_COLORS\nlayout(location = 3) in vec4
vcolor;\nout vec4 color;\n#endif\n\n#ifdef USE_TEXTURE_2D\nlayout(location =
1) in vec2 tex_coord;\nout vec2 tex_coord_2d;\n#endif\n\n#ifdef
USE_TEXTURE_3D\nlayout(location = 1) in vec3 tex_coord;\nout vec3
tex_coord_3d;\n#endif\n\n#ifdef USE_TEXTURE_CUBEMAP\nlayout(location = 1) in
vec3 tex_coord;\nout vec3 tex_coord_cubemap;\n#endif\n\n#ifdef
USE_SHIFT_AND_SCALE\nlayout(location = 4) in vec4
instance_shift_and_scale;\n#endif\n\n#ifdef USE_INSTANCING\nlayout(location =
5) in mat4 instance_placement;\n#endif\n\n#ifdef USE_FRAME_NUMBER\nuniform
float frame_number;\n#endif\n\n#ifdef USE_STEREO_360\n#ifdef USE_LIGHTING\nout
vec3 vshadow;\n#endif\nuniform vec4 camera_origin_and_shift;\nuniform vec4
camera_vertical;\n#endif\n\n#ifdef USE_CLIP_PLANES\nuniform int
num_clip_planes;\nuniform vec4 clip_planes[8];\t// Normal in scene coordinates
and offset\nout float gl_ClipDistance[8];\n#endif\n\nvoid
main(void)\n{\n#ifdef USE_SHIFT_AND_SCALE\n vec4 vi =
vec4(instance_shift_and_scale.w * position + instance_shift_and_scale.xyz,
1);\n#else\n #ifdef USE_INSTANCING\n vec4 vi = instance_placement *
vec4(position, 1);\n #else\n vec4 vi = vec4(position,1);\n
#endif\n#endif\n\n#ifdef USE_CLIP_PLANES\n vec4 vscene_c = model_matrix *
vi;\n for (int i = 0 ; i < num_clip_planes ; ++i)\n gl_ClipDistance[i] =
dot(vscene_c, clip_planes[i]);\n#endif\n\n#ifdef USE_STEREO_360\n vec4
vscene_s = model_matrix * vi;\n vec3 eye_axis = normalize(cross((vscene_s.xyz
- camera_origin_and_shift.xyz),\n camera_vertical.xyz));\n vec4 vsoffset =
vec4(vscene_s.xyz - camera_origin_and_shift.w * eye_axis, 1);\n vec4 veye =
view_matrix * vsoffset;\n#ifdef USE_LIGHTING\n vshadow = (model_view_matrix *
vi).xyz;\n // vshadow = (model_matrix * vi).xyz;\n#endif\n#else\n vec4 veye =
model_view_matrix * vi;\n#endif\n\n#ifdef USE_LIGHTING\n v = veye.xyz;\n
#ifdef USE_INSTANCING\n vec3 ni = vec3(instance_placement * vec4(normal,0));\n
#else\n vec3 ni = normal;\n #endif\n N = normalize((model_view_matrix *
vec4(ni,0)).xyz);\n #ifdef USE_SHADOW\n #ifdef USE_STEREO_360\n
shadow_tex_coord = (shadow_transform * (view_matrix * vec4(vshadow,1))).stp;\n
#else\n shadow_tex_coord = (shadow_transform * veye).stp;\n #endif\n #endif\n
#ifdef USE_MULTISHADOW\n// vscene = (model_matrix * vi).xyz;\n// nscene =
(model_matrix * vec4(ni,0)).xyz;\n #endif\n #ifdef USE_TEXTURE_3D_AMBIENT\n //
TODO: This should use vertex scene coords, not vertex model coordinates\n
ambient_tex_coord = (ambient_tex3d_transform * vi).xyz;\n #endif\n#endif\t//
end USE_LIGHTING\n\n#ifdef USE_VERTEX_COLORS\n color =
vcolor;\n#endif\n\n#ifdef USE_TEXTURE_2D\n tex_coord_2d =
tex_coord;\n#endif\n\n#ifdef USE_TEXTURE_3D\n tex_coord_3d =
tex_coord;\n#endif\n\n#ifdef USE_TEXTURE_CUBEMAP\n tex_coord_cubemap =
tex_coord;\n#endif\n\n gl_Position = projection_matrix *
veye;\n}\n\n#endif\n'], GL_VERTEX_SHADER)  
  
File ""D:\Program Files\ChimeraX 1.0\bin\lib\site-
packages\chimerax\graphics\opengl.py"", line 2679, in compile_shader  
raise OpenGLError(str(e))  
  
See log for complete Python traceback.  
  




OpenGL version: 3.3.0 - Build 8.15.10.2696
OpenGL renderer: Intel(R) HD Graphics 4000
OpenGL vendor: Intel
Manufacturer: Dell Inc.
Model: Vostro 3560
OS: Microsoft Windows 7 Ultimate  (Build 7601)
Memory: 8,487,497,728
MaxProcessMemory: 8,589,934,464
CPU: 8 Intel(R) Core(TM) i7-3612QM CPU @ 2.10GHz""
PyQt version: 5.12.3
Compiled Qt version: 5.12.4
Runtime Qt version: 5.12.8

}}}
"	defect	closed	normal		Graphics		nonchimerax						all	ChimeraX
