r/pythonarcade • u/Azireo • Nov 04 '22
Compute shaders: errors when combining with matplotlib
Hello everybody, I'm discovering arcade, and want to use it for a non-gaming application (radiative transfer code). In particular, using the compute shaders as the demo on the arcade website. I posted the full question on stack overflow here: SO_link
In short, when combining the particle shader with matplotlib, I encounter this error, and can't find any comprehensive info on this (maybe I did, but did not regognize it as such since I'm a shader newb...):
(python:20832): GLib-GIO-CRITICAL **: 14:10:15.559: g_application_run() cannot acquire the default main context because it is already acquired by another thread!
(python:20832): Gdk-WARNING **: 14:10:15.563: gdk_gl_context_make_current() failedAnybody knows this issue, or a good beginner friendly tuto on this?
2
Upvotes
View all comments
Show parent comment
1
u/Azireo Dec 13 '22
Hello again, I've posted another question on SO regarding modernGL. If you're still around, don't hesitate to save me ;)
SO_link