CoppeliaRobotics / simPovRay

CoppeliaSim plugin that allows to render a scene via the POV-Ray renderer
Other
2 stars 0 forks source link

QMutex error when starting simulation #1

Open jih189 opened 1 year ago

jih189 commented 1 year ago

I have git checkout the proper tag and copy the .so file into coppeliasim. When I launch CoppeliaSim, it looks like it launches properly. However, once I start the simulation with PovRay in camera, it will crash with error "QMutex: destroying locked mutex".

Coppelia commented 1 year ago

Hello, what version of CoppeliaSim do you run? The PoVRay plugin should be present by default in the V4.5+ installation packages, there is no need to download the binary separately. Cheers

jih189 commented 1 year ago

I use the V4.3

jih189 commented 1 year ago

I have download the v4.5 one, and it works. However, it is very slow, and I checked GPU usage with nvidia-smi. It looks like it does not use much GPU resource. Does it mean I need to set something to make the CoppeliaSim to use GPU?

jih189 commented 1 year ago

It looks like it only uses my cpu to render

jih189 commented 1 year ago

I have ran rendererDemo.ttt on both Ubuntu 18 and windows. If I use OpenGL3, the Coppeliasim will use GPU. However, once I use POV-Ray, the CoppeliaSim will not use GPU at all.

Coppelia commented 1 year ago

It is normal that the PovRay plugin uses only CPU. Not sure if the PovRay library now supports GPU calculations though...