electron (desktop) error: GL_INVALID_FRAMEBUFFER_OPERATION ?
See original GitHub issueHello,
after updating from IndigoEngine 0.7.1 to 0.9.2 and along with it from Scala 2.13.1 to Scala 3.1.0, ScalaJS 1.7.1. I get the following errors:
indigo-runner@1.0.0 start target/indigoRun
> electron .
[21781:1105/121117.365903:ERROR:gles2_cmd_decoder.cc(4968)] [.RendererMainThread-0x7f95c5810000]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawArrays: framebuffer incomplete
oder.cc(4968)] [.RendererMainThread-0x7f95c5810000]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawArrays: framebuffer incomplete
[21781:1105/121117.625685:ERROR:gles2_cmd_decoder.cc(4968)] [.RendererMainThread-0x7f95c5810000]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glDrawArrays: framebuffer incomplete
(... more of the same with every frame)
In the electron window everything seems rendered fine though. Not sure if this is a concern, but I haven’t seen this before.
Issue Analytics
- State:
 - Created 2 years ago
 - Comments:8 (4 by maintainers)
 
Top Results From Across the Web
GL_INVALID_FRAMEBUFFER_...
GL_INVALID_FRAMEBUFFER_OPERATION: Framebuffer is not complete or incompatible with command · I have few questions: 1. · extension is jpg and size ...
Read more >[webgl] invalid framebuffer operation · Issue #807 · Kode/Kha
It maybe non-power-of-2 and have incompatible texture filtering. Graphics.hx:137: WebGL error: Invalid framebuffer operation [.Offscreen-For- ...
Read more >OpenGL Error: 1286 (Invalid framebuffer operation)
From Googling around, it appears this error should be somewhat ancient history... I just updated to Forge 1.7.10 10.13.2.1291 (from ...
Read more >invalid framebuffer operation - Graphics and GPU Programming
I've never seen this problem before. The following is my OpenGL initialization code: GLenum err = glewInit(); glClearColor(0.8, 0.8, 0.8 1.0);
Read more >GL ERROR ; 1286: Invalid framebuffer operation - Support
Whenever I try and play minecraft, I get an unresponsive black screen that just hangs until I interact with it.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Hello,
I confirm indeed this resolves the issue.
Ah ha! It’s your electron version (which will be using an older Chrome version).
To replicate the problem:
fastOptJSthenindigoRunas normal (orrunGameif you’ve got the aliases set up), which ran the game on my machine with no errors.target/indigoRundirectory containingpackage.json.yarn add electron(can also usenpm) to add a local version of electronpackage.jsonfile to have the same electron version as you("electron": "^10.1.1").yarn installwhich installs the specified version of electron.yarn startwhich runs the game - everything appears fine, but the terminal is flooded with:So the fix is to upgrade electron,
npm update -g electronI imagine. I did also test it with the latest electron, and that seemed to work just fine.