Opened 3 weeks ago

Closed 13 days ago

#19185 closed defect (nonchimerax)

glClear after waking from sleep: invalid framebuffer operation

Reported by: caillancm@… 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:        macOS-26.0.1-arm64-arm-64bit
ChimeraX Version: 1.11.dev202510170018 (2025-10-17 00:18:50 UTC)
Description
This bug occurs after waking the computer from sleep (but not every time). It happens eventually to all sessions that I've had open. It happens also in the 1.10 release.

I will submit another report if I can pin down what exactly is needed to trigger it.

Log:
Startup Messages  
---  
note | Updated animation length to 0:05.00  
  
UCSF ChimeraX version: 1.11.dev202510170018 (2025-10-17)  
© 2016-2025 Regents of the University of California. All rights reserved.  
How to cite UCSF ChimeraX  

> open 1ttt

Summary of feedback from opening 1ttt fetched from pdb  
---  
notes | Fetching compressed mmCIF 1ttt from http://files.rcsb.org/download/1ttt.cif  
Fetching CCD 1MA from
https://files.wwpdb.org/pub/pdb/refdata/chem_comp/A/1MA/1MA.cif  
Fetching CCD 2MG from
https://files.wwpdb.org/pub/pdb/refdata/chem_comp/G/2MG/2MG.cif  
Fetching CCD 5MC from
https://files.wwpdb.org/pub/pdb/refdata/chem_comp/C/5MC/5MC.cif  
Fetching CCD 5MU from
https://files.wwpdb.org/pub/pdb/refdata/chem_comp/U/5MU/5MU.cif  
Fetching CCD 7MG from
https://files.wwpdb.org/pub/pdb/refdata/chem_comp/G/7MG/7MG.cif  
Fetching CCD GNP from
https://files.wwpdb.org/pub/pdb/refdata/chem_comp/P/GNP/GNP.cif  
Fetching CCD H2U from
https://files.wwpdb.org/pub/pdb/refdata/chem_comp/U/H2U/H2U.cif  
Fetching CCD M2G from
https://files.wwpdb.org/pub/pdb/refdata/chem_comp/G/M2G/M2G.cif  
Fetching CCD OMC from
https://files.wwpdb.org/pub/pdb/refdata/chem_comp/C/OMC/OMC.cif  
Fetching CCD OMG from
https://files.wwpdb.org/pub/pdb/refdata/chem_comp/G/OMG/OMG.cif  
Fetching CCD YYG from
https://files.wwpdb.org/pub/pdb/refdata/chem_comp/G/YYG/YYG.cif  
  
1ttt title:  
Phe-tRNA, elongation factoR EF-TU:GDPNP ternary complex [more info...]  
  
Chain information for 1ttt #1  
---  
Chain | Description | UniProt  
A B C | OF ELONGATION FACTOR TU (EF-TU) | EFTU_THEAQ 1-405  
D E F | TRANSFER RIBONUCLEIC ACID (YEAST, PHE) |   
  
Non-standard residues in 1ttt #1  
---  
GNP — phosphoaminophosphonic acid-guanylate ester  
MG — magnesium ion  
PHE — phenylalanine  
  
1ttt mmCIF Assemblies  
---  
1| author_and_software_defined_assembly  
2| author_and_software_defined_assembly  
3| author_and_software_defined_assembly  
  

> set bgColor white

> hide atoms

> show cartoons

Traceback (most recent call last):  
File
"/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-
packages/chimerax/ui/statusbar.py", line 98, in _expose_event  
self.status(self._last_message, self._last_color)  
File
"/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-
packages/chimerax/ui/statusbar.py", line 164, in status  
r.draw_background()  
File
"/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-
packages/chimerax/graphics/opengl.py", line 1238, in draw_background  
GL.glClear(flags)  
File "src/errorchecker.pyx", line 59, in
OpenGL_accelerate.errorchecker._ErrorChecker.glCheckError  
OpenGL.error.GLError: GLError(  
err = 1286,  
description = b'invalid framebuffer operation',  
baseOperation = glClear,  
cArguments = (16640,)  
)  
  
OpenGL.error.GLError: GLError(  
err = 1286,  
description = b'invalid framebuffer operation',  
baseOperation = glClear,  
cArguments = (16640,)  
)  
  
File "src/errorchecker.pyx", line 59, in
OpenGL_accelerate.errorchecker._ErrorChecker.glCheckError  
  
See log for complete Python traceback.  
  
Traceback (most recent call last):  
File
"/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-
packages/chimerax/ui/statusbar.py", line 98, in _expose_event  
self.status(self._last_message, self._last_color)  
File
"/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-
packages/chimerax/ui/statusbar.py", line 164, in status  
r.draw_background()  
File
"/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-
packages/chimerax/graphics/opengl.py", line 1238, in draw_background  
GL.glClear(flags)  
File "src/errorchecker.pyx", line 59, in
OpenGL_accelerate.errorchecker._ErrorChecker.glCheckError  
OpenGL.error.GLError: GLError(  
err = 1286,  
description = b'invalid framebuffer operation',  
baseOperation = glClear,  
cArguments = (16640,)  
)  
  
OpenGL.error.GLError: GLError(  
err = 1286,  
description = b'invalid framebuffer operation',  
baseOperation = glClear,  
cArguments = (16640,)  
)  
  
File "src/errorchecker.pyx", line 59, in
OpenGL_accelerate.errorchecker._ErrorChecker.glCheckError  
  
See log for complete Python traceback.  
  
Traceback (most recent call last):  
File
"/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-
packages/chimerax/ui/statusbar.py", line 98, in _expose_event  
self.status(self._last_message, self._last_color)  
File
"/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-
packages/chimerax/ui/statusbar.py", line 164, in status  
r.draw_background()  
File
"/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-
packages/chimerax/graphics/opengl.py", line 1238, in draw_background  
GL.glClear(flags)  
File "src/errorchecker.pyx", line 59, in
OpenGL_accelerate.errorchecker._ErrorChecker.glCheckError  
OpenGL.error.GLError: GLError(  
err = 1286,  
description = b'invalid framebuffer operation',  
baseOperation = glClear,  
cArguments = (16640,)  
)  
  
OpenGL.error.GLError: GLError(  
err = 1286,  
description = b'invalid framebuffer operation',  
baseOperation = glClear,  
cArguments = (16640,)  
)  
  
File "src/errorchecker.pyx", line 59, in
OpenGL_accelerate.errorchecker._ErrorChecker.glCheckError  
  
See log for complete Python traceback.  
  
Traceback (most recent call last):  
File
"/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-
packages/chimerax/ui/statusbar.py", line 98, in _expose_event  
self.status(self._last_message, self._last_color)  
File
"/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-
packages/chimerax/ui/statusbar.py", line 164, in status  
r.draw_background()  
File
"/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-
packages/chimerax/graphics/opengl.py", line 1238, in draw_background  
GL.glClear(flags)  
File "src/errorchecker.pyx", line 59, in
OpenGL_accelerate.errorchecker._ErrorChecker.glCheckError  
OpenGL.error.GLError: GLError(  
err = 1286,  
description = b'invalid framebuffer operation',  
baseOperation = glClear,  
cArguments = (16640,)  
)  
  
OpenGL.error.GLError: GLError(  
err = 1286,  
description = b'invalid framebuffer operation',  
baseOperation = glClear,  
cArguments = (16640,)  
)  
  
File "src/errorchecker.pyx", line 59, in
OpenGL_accelerate.errorchecker._ErrorChecker.glCheckError  
  
See log for complete Python traceback.  
  
Traceback (most recent call last):  
File
"/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-
packages/chimerax/ui/statusbar.py", line 98, in _expose_event  
self.status(self._last_message, self._last_color)  
File
"/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-
packages/chimerax/ui/statusbar.py", line 164, in status  
r.draw_background()  
File
"/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-
packages/chimerax/graphics/opengl.py", line 1238, in draw_background  
GL.glClear(flags)  
File "src/errorchecker.pyx", line 59, in
OpenGL_accelerate.errorchecker._ErrorChecker.glCheckError  
OpenGL.error.GLError: GLError(  
err = 1286,  
description = b'invalid framebuffer operation',  
baseOperation = glClear,  
cArguments = (16640,)  
)  
  
OpenGL.error.GLError: GLError(  
err = 1286,  
description = b'invalid framebuffer operation',  
baseOperation = glClear,  
cArguments = (16640,)  
)  
  
File "src/errorchecker.pyx", line 59, in
OpenGL_accelerate.errorchecker._ErrorChecker.glCheckError  
  
See log for complete Python traceback.  
  
Traceback (most recent call last):  
File
"/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-
packages/chimerax/ui/statusbar.py", line 98, in _expose_event  
self.status(self._last_message, self._last_color)  
File
"/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-
packages/chimerax/ui/statusbar.py", line 164, in status  
r.draw_background()  
File
"/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-
packages/chimerax/graphics/opengl.py", line 1238, in draw_background  
GL.glClear(flags)  
File "src/errorchecker.pyx", line 59, in
OpenGL_accelerate.errorchecker._ErrorChecker.glCheckError  
OpenGL.error.GLError: GLError(  
err = 1286,  
description = b'invalid framebuffer operation',  
baseOperation = glClear,  
cArguments = (16640,)  
)  
  
OpenGL.error.GLError: GLError(  
err = 1286,  
description = b'invalid framebuffer operation',  
baseOperation = glClear,  
cArguments = (16640,)  
)  
  
File "src/errorchecker.pyx", line 59, in
OpenGL_accelerate.errorchecker._ErrorChecker.glCheckError  
  
See log for complete Python traceback.  
  
Traceback (most recent call last):  
File
"/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-
packages/chimerax/ui/statusbar.py", line 98, in _expose_event  
self.status(self._last_message, self._last_color)  
File
"/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-
packages/chimerax/ui/statusbar.py", line 164, in status  
r.draw_background()  
File
"/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-
packages/chimerax/graphics/opengl.py", line 1238, in draw_background  
GL.glClear(flags)  
File "src/errorchecker.pyx", line 59, in
OpenGL_accelerate.errorchecker._ErrorChecker.glCheckError  
OpenGL.error.GLError: GLError(  
err = 1286,  
description = b'invalid framebuffer operation',  
baseOperation = glClear,  
cArguments = (16640,)  
)  
  
OpenGL.error.GLError: GLError(  
err = 1286,  
description = b'invalid framebuffer operation',  
baseOperation = glClear,  
cArguments = (16640,)  
)  
  
File "src/errorchecker.pyx", line 59, in
OpenGL_accelerate.errorchecker._ErrorChecker.glCheckError  
  
See log for complete Python traceback.  
  
Traceback (most recent call last):  
File
"/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-
packages/chimerax/ui/statusbar.py", line 98, in _expose_event  
self.status(self._last_message, self._last_color)  
File
"/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-
packages/chimerax/ui/statusbar.py", line 164, in status  
r.draw_background()  
File
"/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-
packages/chimerax/graphics/opengl.py", line 1238, in draw_background  
GL.glClear(flags)  
File "src/errorchecker.pyx", line 59, in
OpenGL_accelerate.errorchecker._ErrorChecker.glCheckError  
OpenGL.error.GLError: GLError(  
err = 1286,  
description = b'invalid framebuffer operation',  
baseOperation = glClear,  
cArguments = (16640,)  
)  
  
OpenGL.error.GLError: GLError(  
err = 1286,  
description = b'invalid framebuffer operation',  
baseOperation = glClear,  
cArguments = (16640,)  
)  
  
File "src/errorchecker.pyx", line 59, in
OpenGL_accelerate.errorchecker._ErrorChecker.glCheckError  
  
See log for complete Python traceback.  
  




OpenGL version: 4.1 Metal - 90.5
OpenGL renderer: Apple M2 Max
OpenGL vendor: Apple

Python: 3.11.9
Locale: en_US.UTF-8
Qt version: PyQt6 6.9.1, Qt 6.9.0
Qt runtime version: 6.9.2
Qt platform: cocoa
Hardware:

    Hardware Overview:

      Model Name: Mac Studio
      Model Identifier: Mac14,13
      Model Number: Z17Z000NPD/A
      Chip: Apple M2 Max
      Total Number of Cores: 12 (8 performance and 4 efficiency)
      Memory: 64 GB
      System Firmware Version: 13822.1.2
      OS Loader Version: 13822.1.2

Software:

    System Software Overview:

      System Version: macOS 26.0.1 (25A362)
      Kernel Version: Darwin 25.0.0
      Time since boot: 13 days, 20 hours, 35 minutes

Graphics/Displays:

    Apple M2 Max:

      Chipset Model: Apple M2 Max
      Type: GPU
      Bus: Built-In
      Total Number of Cores: 38
      Vendor: Apple (0x106b)
      Metal Support: Metal 4
      Displays:
        DELL U3425WE:
          Resolution: 3440 x 1440 (UWQHD - Ultra-Wide Quad HD)
          UI Looks like: 3440 x 1440 @ 100.00Hz
          Main Display: Yes
          Mirror: Off
          Online: Yes
          Rotation: Supported
        DELL U2412M:
          Resolution: 1200 x 1920
          UI Looks like: 1200 x 1920 @ 60.00Hz
          Mirror: Off
          Online: Yes
          Rotation: 90


Installed Packages:
    alabaster: 1.0.0
    appdirs: 1.4.4
    appnope: 0.1.4
    asttokens: 3.0.0
    babel: 2.17.0
    beautifulsoup4: 4.13.5
    blockdiag: 3.0.0
    blosc2: 3.10.2
    build: 1.3.0
    certifi: 2025.7.14
    cftime: 1.6.5
    charset-normalizer: 3.4.4
    ChimeraX-AddCharge: 1.5.20
    ChimeraX-AddH: 2.2.8
    ChimeraX-AlignmentAlgorithms: 2.0.2
    ChimeraX-AlignmentHdrs: 3.6.1
    ChimeraX-AlignmentMatrices: 2.1
    ChimeraX-Alignments: 3.0.2
    ChimeraX-AlphaFold: 1.0.1
    ChimeraX-AltlocExplorer: 1.1.2
    ChimeraX-AmberInfo: 1.0
    ChimeraX-Animations: 1.0
    ChimeraX-Aniso: 1.3.2
    ChimeraX-Arrays: 1.1
    ChimeraX-Atomic: 1.60.17
    ChimeraX-AtomicLibrary: 14.2.1
    ChimeraX-AtomSearch: 2.0.1
    ChimeraX-AxesPlanes: 2.4
    ChimeraX-BasicActions: 1.1.3
    ChimeraX-BILD: 1.0
    ChimeraX-BlastProtein: 3.0.0
    ChimeraX-Boltz: 1.1
    ChimeraX-BondRot: 2.0.4
    ChimeraX-BugReporter: 1.0.2
    ChimeraX-BuildStructure: 2.13.1
    ChimeraX-Bumps: 1.0
    ChimeraX-BundleBuilder: 1.6.0
    ChimeraX-ButtonPanel: 1.0.1
    ChimeraX-CageBuilder: 1.0.1
    ChimeraX-CellPack: 1.0
    ChimeraX-Centroids: 1.4
    ChimeraX-ChangeChains: 1.1
    ChimeraX-CheckWaters: 1.5
    ChimeraX-ChemGroup: 2.0.2
    ChimeraX-Clashes: 2.3
    ChimeraX-ColorActions: 1.0.5
    ChimeraX-ColorGlobe: 1.0
    ChimeraX-ColorKey: 1.5.8
    ChimeraX-CommandLine: 1.3.0
    ChimeraX-ConnectStructure: 2.0.1
    ChimeraX-Contacts: 1.0.1
    ChimeraX-Core: 1.11.dev202510170018
    ChimeraX-CoreFormats: 1.2
    ChimeraX-coulombic: 1.4.5
    ChimeraX-Crosslinks: 1.0
    ChimeraX-Crystal: 1.0
    ChimeraX-CrystalContacts: 1.0.1
    ChimeraX-DataFormats: 1.2.4
    ChimeraX-Dicom: 1.2.7
    ChimeraX-DistMonitor: 1.4.2
    ChimeraX-DockPrep: 1.1.4
    ChimeraX-Dssp: 2.0
    ChimeraX-EMDB-SFF: 1.0
    ChimeraX-ESMFold: 1.0
    ChimeraX-FileHistory: 1.0.1
    ChimeraX-FunctionKey: 1.0.1
    ChimeraX-Geometry: 1.3
    ChimeraX-gltf: 1.0
    ChimeraX-Graphics: 1.4.1
    ChimeraX-Hbonds: 2.5.3
    ChimeraX-Help: 1.3
    ChimeraX-HKCage: 1.3
    ChimeraX-IHM: 1.1
    ChimeraX-ImageFormats: 1.2
    ChimeraX-IMOD: 1.0
    ChimeraX-IO: 1.0.4
    ChimeraX-ItemsInspection: 1.0.1
    ChimeraX-IUPAC: 1.0
    ChimeraX-KVFinder: 1.7.2
    ChimeraX-Label: 1.2
    ChimeraX-ListInfo: 1.2.2
    ChimeraX-Log: 1.2.1
    ChimeraX-LookingGlass: 1.1
    ChimeraX-Maestro: 1.9.2
    ChimeraX-Map: 1.3
    ChimeraX-MapData: 2.0
    ChimeraX-MapEraser: 1.0.1
    ChimeraX-MapFilter: 2.0.1
    ChimeraX-MapFit: 2.0
    ChimeraX-MapSeries: 2.1.1
    ChimeraX-Markers: 1.0.1
    ChimeraX-Mask: 1.0.2
    ChimeraX-MatchMaker: 2.2.2
    ChimeraX-MCopy: 1.0
    ChimeraX-MDcrds: 2.17.1
    ChimeraX-MedicalToolbar: 1.1
    ChimeraX-Meeting: 1.0.1
    ChimeraX-Minimize: 1.3.1
    ChimeraX-MLP: 1.1.1
    ChimeraX-mmCIF: 2.16
    ChimeraX-MMTF: 2.2
    ChimeraX-ModelArchive: 1.0
    ChimeraX-Modeller: 1.5.22
    ChimeraX-ModelPanel: 1.6
    ChimeraX-ModelSeries: 1.0.1
    ChimeraX-Mol2: 2.0.3
    ChimeraX-Mole: 1.0
    ChimeraX-Morph: 1.0.2
    ChimeraX-MouseModes: 1.2
    ChimeraX-Movie: 1.0.1
    ChimeraX-MutationScores: 1.0
    ChimeraX-Neuron: 1.0
    ChimeraX-Nifti: 1.2
    ChimeraX-NMRSTAR: 1.0.2
    ChimeraX-NRRD: 1.2
    ChimeraX-Nucleotides: 2.0.3
    ChimeraX-OpenCommand: 1.15.1
    ChimeraX-OrthoPick: 1.0.1
    ChimeraX-PDB: 2.7.11
    ChimeraX-PDBBio: 1.0.1
    ChimeraX-PDBLibrary: 1.0.5
    ChimeraX-PDBMatrices: 1.0
    ChimeraX-PickBlobs: 1.0.1
    ChimeraX-Positions: 1.0
    ChimeraX-PresetMgr: 1.1.4
    ChimeraX-ProfileGrids: 1.4
    ChimeraX-PubChem: 2.2
    ChimeraX-ReadPbonds: 1.0.1
    ChimeraX-Registration: 1.1.2
    ChimeraX-RemoteControl: 1.0
    ChimeraX-RenderByAttr: 1.6.5
    ChimeraX-RenumberResidues: 1.1
    ChimeraX-ResidueFit: 1.0.1
    ChimeraX-RestServer: 1.3.1
    ChimeraX-RNALayout: 1.0
    ChimeraX-RotamerLibMgr: 4.0
    ChimeraX-RotamerLibsDunbrack: 2.0
    ChimeraX-RotamerLibsDynameomics: 2.0
    ChimeraX-RotamerLibsRichardson: 2.0
    ChimeraX-SaveCommand: 1.5.2
    ChimeraX-Scenes: 0.2.3
    ChimeraX-SchemeMgr: 1.0
    ChimeraX-SDF: 2.0.3
    ChimeraX-Segger: 1.0
    ChimeraX-Segment: 1.0.1
    ChimeraX-Segmentations: 3.5.10
    ChimeraX-SelInspector: 1.0
    ChimeraX-SeqView: 2.17.2
    ChimeraX-Shape: 1.1
    ChimeraX-Shell: 1.0.1
    ChimeraX-Shortcuts: 1.2.1
    ChimeraX-ShowSequences: 1.0.3
    ChimeraX-SideView: 1.0.1
    ChimeraX-SimilarStructures: 1.0.1
    ChimeraX-Smiles: 2.1.2
    ChimeraX-SmoothLines: 1.0
    ChimeraX-SpaceNavigator: 1.0
    ChimeraX-StdCommands: 1.19.1
    ChimeraX-STL: 1.0.1
    ChimeraX-Storm: 1.0
    ChimeraX-StructMeasure: 1.2.1
    ChimeraX-Struts: 1.0.1
    ChimeraX-Surface: 1.0.1
    ChimeraX-SwapAA: 2.0.1
    ChimeraX-SwapRes: 2.5.2
    ChimeraX-TapeMeasure: 1.0
    ChimeraX-TaskManager: 1.0
    ChimeraX-Test: 1.0
    ChimeraX-Toolbar: 1.2.3
    ChimeraX-ToolshedUtils: 1.2.4
    ChimeraX-Topography: 1.0
    ChimeraX-ToQuest: 1.0
    ChimeraX-Tug: 1.0.1
    ChimeraX-UI: 1.48.4
    ChimeraX-Umap: 1.0
    ChimeraX-uniprot: 2.3.1
    ChimeraX-UnitCell: 1.0.1
    ChimeraX-ViewDock: 1.5.1
    ChimeraX-VIPERdb: 1.0
    ChimeraX-Vive: 1.1
    ChimeraX-VolumeMenu: 1.0.1
    ChimeraX-vrml: 1.0
    ChimeraX-VTK: 1.0
    ChimeraX-WavefrontOBJ: 1.0
    ChimeraX-WebCam: 1.0.2
    ChimeraX-WebServices: 1.1.5
    ChimeraX-Zone: 1.0.1
    colorama: 0.4.6
    comm: 0.2.3
    contourpy: 1.3.3
    coverage: 7.11.0
    cxservices: 1.2.3
    cycler: 0.12.1
    Cython: 3.1.4
    debugpy: 1.8.17
    decorator: 5.2.1
    docutils: 0.21.2
    executing: 2.2.1
    filelock: 3.19.1
    fonttools: 4.60.1
    funcparserlib: 2.0.0a0
    glfw: 2.10.0
    grako: 3.16.5
    h5py: 3.15.1
    html2text: 2025.4.15
    idna: 3.11
    ihm: 2.2
    imagecodecs: 2024.6.1
    imagesize: 1.4.1
    iniconfig: 2.1.0
    ipykernel: 6.30.1
    ipython: 9.5.0
    ipython_pygments_lexers: 1.1.1
    ipywidgets: 8.1.7
    jedi: 0.19.2
    Jinja2: 3.1.6
    jupyter_client: 8.6.3
    jupyter_core: 5.9.1
    jupyterlab_widgets: 3.0.15
    kiwisolver: 1.4.9
    line_profiler: 5.0.0
    lxml: 6.0.2
    lz4: 4.3.2
    Markdown: 3.8.2
    MarkupSafe: 3.0.3
    matplotlib: 3.10.5
    matplotlib-inline: 0.1.7
    msgpack: 1.1.1
    ndindex: 1.10.0
    nest-asyncio: 1.6.0
    netCDF4: 1.6.5
    networkx: 3.3
    nibabel: 5.2.0
    nptyping: 2.5.0
    numexpr: 2.14.1
    numpy: 1.26.4
    OpenMM: 8.2.0
    openvr: 1.26.701
    packaging: 25.0
    ParmEd: 4.2.2
    parso: 0.8.5
    pep517: 0.13.1
    pexpect: 4.9.0
    pickleshare: 0.7.5
    pillow: 11.3.0
    pip: 25.2
    pkginfo: 1.12.1.2
    platformdirs: 4.5.0
    pluggy: 1.6.0
    prompt_toolkit: 3.0.52
    psutil: 7.0.0
    ptyprocess: 0.7.0
    pure_eval: 0.2.3
    py-cpuinfo: 9.0.0
    pybind11: 3.0.1
    pycollada: 0.8
    pydicom: 2.4.4
    Pygments: 2.18.0
    pynmrstar: 3.3.6
    pynrrd: 1.0.0
    PyOpenGL: 3.1.10
    PyOpenGL-accelerate: 3.1.10
    pyopenxr: 1.1.4501
    pyparsing: 3.2.5
    pyproject_hooks: 1.2.0
    PyQt6-commercial: 6.9.1
    PyQt6-Qt6: 6.9.2
    PyQt6-WebEngine-commercial: 6.9.0
    PyQt6-WebEngine-Qt6: 6.9.2
    PyQt6_sip: 13.10.2
    pytest: 8.4.2
    pytest-cov: 7.0.0
    python-dateutil: 2.9.0.post0
    pytz: 2025.2
    pyzmq: 27.1.0
    qtconsole: 5.7.0
    QtPy: 2.4.3
    qtshim: 1.2
    RandomWords: 0.4.0
    requests: 2.32.5
    roman-numerals-py: 3.1.0
    scipy: 1.14.0
    setuptools: 80.9.0
    sfftk-rw: 0.8.1
    six: 1.17.0
    snowballstemmer: 3.0.1
    sortedcontainers: 2.4.0
    soupsieve: 2.8
    Sphinx: 8.2.3
    sphinx-autodoc-typehints: 3.2.0
    sphinxcontrib-applehelp: 2.0.0
    sphinxcontrib-blockdiag: 3.0.0
    sphinxcontrib-devhelp: 2.0.0
    sphinxcontrib-htmlhelp: 2.1.0
    sphinxcontrib-jsmath: 1.0.1
    sphinxcontrib-qthelp: 2.0.0
    sphinxcontrib-serializinghtml: 2.0.0
    stack-data: 0.6.3
    superqt: 0.7.6
    tables: 3.10.2
    tcia_utils: 1.5.1
    tifffile: 2025.3.13
    tinyarray: 1.2.5
    tornado: 6.5.2
    traitlets: 5.14.3
    typing_extensions: 4.15.0
    tzdata: 2025.2
    urllib3: 2.5.0
    wcwidth: 0.2.14
    webcolors: 24.11.1
    wheel: 0.45.1
    wheel-filename: 1.4.2
    widgetsnbextension: 4.0.14

Change History (4)

comment:1 by Eric Pettersen, 3 weeks ago

Component: UnassignedGraphics
Owner: set to Tom Goddard
Platform: all
Project: ChimeraX
Status: newassigned
Summary: ChimeraX bug report submissionglClear after waking from sleep: invalid framebuffer operation

Reported by Caillan Crowe-McAuliffe

comment:2 by Tom Goddard, 3 weeks ago

It would be great if you can find a recipe to produce this glClear error when Mac ChimeraX wakes. I think it is likely to require multiple connected displays. I have never seen the error on my Mac with one display. And others who have reported it I believe always had multiple displays connected.

It is almost certainly a Qt window toolkit bug, and Qt 6.8.2 that ChimeraX 1.10 uses is known to frequently crash on Mac with multiple displays when waking and I had hoped that Qt 6.9 that is being used in ChimeraX daily builds seems to have fixed that crash. But now we have this OpenGL "glClear" error. If you can tell me a reproducible recipe that would help me to test different versions of Qt to see if any of them have fixed the bug. Thanks!

comment:3 by caillancm@…, 13 days ago

Hi Tom,

Sorry it took me so long to get back to you.

Indeed I am using two monitors. One is connected through a HDMI-HDMI
connection, and the other through a USB-C to DP cable.

I used ChimeraX 1.10 for all of these tests.

To reproduce:

   1. Start ChimeraX
   2. open 1ttt
   3. Set computer to sleep through the Apple menu
   4. Wait for about 10 seconds minimum
   5. Wake the computer from sleep

The error is in ChimeraX upon waking from sleep. It doesn't matter which
monitor ChimeraX is on when the computer goes to sleep.

Oddly enough, it seems to be the presence of a monitor connected with the
USB-C to DP cable that causes the crash. With a single monitor connected
with the HDMI cable, the above steps do not trigger the error in my hands.
If the same monitor is instead plugged in with the USB-C to DP cable, the
crash occurs.

I've only reproducted this with one monitor (a Dell U3425WE)—I don't have
so many cables and monitors available to test it with other setups.

I was restarting the computer each time after changing the monitor setup.

I hope it helps. Let me know if you want me to try anything in particular.

Best,
Caillan


On Mon, 20 Oct 2025 at 22:23, ChimeraX <ChimeraX-bugs-admin@cgl.ucsf.edu>
wrote:

>
>
>

comment:4 by Tom Goddard, 13 days ago

Resolution: nonchimerax
Status: assignedclosed

That is very helpful information. I have almost the same 2023 Mac Studio model (Mac14,14 while yours is Mac14,13) and USB-C to display port cable to a Philips 278B 4K monitor and your recipe does not produce the glClear error on my machine. So either your specific cable or specific Dell monitor is an important factor.

At any rate it seems likely that it is a macOS bug. It is probably a rare bug because very few applications use OpenGL on Mac as ChimeraX does, since Apple 10 years ago replaced OpenGL with their proprietary Metal grahics. But applications that work on Windows and Linux use cross-platform OpenGL 3d graphics. It could also be a bug in the Qt windows toolkit. It manages the ChimeraX OpenGL context and maybe it is not handling some event from macOS that only arises with the usbc-displayport cable.

I guess there is some hope that if you used a different cable you could avoid this problem. Maybe not worth it to you. Unfortunately I don't think there is anything ChimeraX can do about this.

Note: See TracTickets for help on using tickets.