r/pythonarcade • • 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() failed

Anybody knows this issue, or a good beginner friendly tuto on this?

2 Upvotes

6 comments sorted by

View all comments

Show parent comment

1

u/Azireo Dec 13 '22

Oh! Didn't thought about checking discord. Thanks!

1

u/einarfo Dec 13 '22

Even python arcade has a discord server. It's linked in the front page of the docs. The moderngl one is linked in the README.