OpenScad has lousy performance
Submitted by Roger Wolff
Assigned to Nouveau Project
Description
OpenScad performance is WAY less than what I'm used to. This is with new hardware and a more recent ubuntu version.
Suggestion on the mailing list: disable vblank syncing. I was unable to do this. The environment variable setting that works for glxgears does not influence the behaviour of openscad. I was unable to achieve disabling the option in the X server.
Suggestions on the IRC channel led me to try installing an older version. I created an chrooted ubuntu 14.04 environment. The openscad in there provides reasonable performance.
I then recompiled the current git version of openscad in the chrooted 14.04 environment, and that too provides reasonable performance.
So: Without changing the X server (or its configuration) it is possible to achieve good performance. Also, the source of openscad is not the culprit, but the libraries linked to.
This does not mean that it is not an openscad bug: It could very well be that openscad requests a feature that was unimplemented on earlier libraries.