Opened 5 years ago

Closed 5 years ago

#3165 closed defect (duplicate)

Problem drawing selection outline: Invalid operation: glBlitFramebuffer

Reported by: chimerax-bug-report@… Owned by: Tom Goddard
Priority: normal Milestone:
Component: Graphics Version:
Keywords: Cc:
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

The following bug report has been submitted:
Platform:        Windows-10-10.0.18362
ChimeraX Version: 0.93 (2020-04-03)
Description
(Describe the actions that caused this problem to occur here)

Log:
UCSF ChimeraX version: 0.93 (2020-04-03)  
© 2016-2020 Regents of the University of California. All rights reserved.  
How to cite UCSF ChimeraX  

> open2 "C:/Users/Davide/Desktop/coronavirus/PDB_PY TUTTO/6vyb.pdb"

6vyb.pdb title:  
Sars-cov-2 spike ectodomain structure (open state) [more info...]  
  
Chain information for 6vyb.pdb #1  
---  
Chain | Description  
A B C | spike glycoprotein  
  
Non-standard residues in 6vyb.pdb #1  
---  
NAG — N-acetyl-D-glucosamine  
  

> select /A

7673 atoms, 7866 bonds, 24 pseudobonds, 2 models selected  
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 "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\updateloop.py", line 73, in draw_new_frame  
view.draw(check_for_changes = False)  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\graphics\view.py", line 166, in draw  
self._draw_scene(camera, drawings)  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\graphics\view.py", line 235, in _draw_scene  
r.outline.set_outline_mask() # copy depth to outline framebuffer  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\graphics\opengl.py", line 1734, in set_outline_mask  
cfb.copy_to_framebuffer(mfb, color=False)  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\graphics\opengl.py", line 2167, in copy_to_framebuffer  
GL.glBlitFramebuffer(0, 0, w, h, 0, 0, w, h, what, GL.GL_NEAREST)  
File "C:\Program Files\ChimeraX\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'operazione non valida',  
baseOperation = glBlitFramebuffer,  
cArguments = (  
0,  
0,  
431,  
513,  
0,  
0,  
431,  
513,  
256,  
GL_NEAREST,  
)  
)  
  

> lighting flat

> lighting full

> set bgColor gray

> set bgColor gray

> graphics restart

> graphics restart

> lighting shadows false

> graphics silhouettes false

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 "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\updateloop.py", line 73, in draw_new_frame  
view.draw(check_for_changes = False)  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\graphics\view.py", line 166, in draw  
self._draw_scene(camera, drawings)  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\graphics\view.py", line 235, in _draw_scene  
r.outline.set_outline_mask() # copy depth to outline framebuffer  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\graphics\opengl.py", line 1734, in set_outline_mask  
cfb.copy_to_framebuffer(mfb, color=False)  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\graphics\opengl.py", line 2167, in copy_to_framebuffer  
GL.glBlitFramebuffer(0, 0, w, h, 0, 0, w, h, what, GL.GL_NEAREST)  
File "src\errorchecker.pyx", line 58, in
OpenGL_accelerate.errorchecker._ErrorChecker.glCheckError  
OpenGL.error.GLError: GLError(  
err = 1282,  
description = b'operazione non valida',  
baseOperation = glBlitFramebuffer,  
cArguments = (  
0,  
0,  
431,  
513,  
0,  
0,  
431,  
513,  
256,  
GL_NEAREST,  
)  
)  
  
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 "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\updateloop.py", line 73, in draw_new_frame  
view.draw(check_for_changes = False)  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\graphics\view.py", line 166, in draw  
self._draw_scene(camera, drawings)  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\graphics\view.py", line 235, in _draw_scene  
r.outline.set_outline_mask() # copy depth to outline framebuffer  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\graphics\opengl.py", line 1734, in set_outline_mask  
cfb.copy_to_framebuffer(mfb, color=False)  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\graphics\opengl.py", line 2167, in copy_to_framebuffer  
GL.glBlitFramebuffer(0, 0, w, h, 0, 0, w, h, what, GL.GL_NEAREST)  
File "src\errorchecker.pyx", line 58, in
OpenGL_accelerate.errorchecker._ErrorChecker.glCheckError  
OpenGL.error.GLError: GLError(  
err = 1282,  
description = b'operazione non valida',  
baseOperation = glBlitFramebuffer,  
cArguments = (  
0,  
0,  
431,  
513,  
0,  
0,  
431,  
513,  
256,  
GL_NEAREST,  
)  
)  
  




OpenGL version: 3.3.11672 Core Profile Forward-Compatible Context
OpenGL renderer: ATI Radeon HD 3450
OpenGL vendor: ATI Technologies Inc.
Manufacturer: System manufacturer
Model: P5Q SE/R
OS: Microsoft Windows 10 Pro (Build 18363)
Memory: 4,293,963,776
MaxProcessMemory: 137,438,953,344
CPU: 4 Intel(R) Core(TM)2 Quad CPU    Q6600  @ 2.40GHz"

Change History (2)

comment:1 by pett, 5 years ago

Component: UnassignedGraphics
Owner: set to Tom Goddard
Platform: all
Project: ChimeraX
Status: newassigned
Summary: ChimeraX bug report submissionProblem drawing selection outline: Invalid operation: glBlitFramebuffer

comment:2 by Tom Goddard, 5 years ago

Resolution: duplicate
Status: assignedclosed

Fixed several days ago. Selection outline broken by default framebuffer not having 24-bit depth buffer.

Note: See TracTickets for help on using tickets.