setOneShot and RTMCopyRam?

Ah, I see what’s going on. Not precisely a bug in Panda–the problem is that your GeomVertexWriter objects are still in scope at the time you call run(), so you are still holding the write locks on the vertices, and when the renderer tries to grab the write locks–deadlock.

The simple solution is to add:

del vtxwriter
del texwriter

before your call to run().

David