discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

openscad poor graphics performance in OSX

O
openciv
Sun, Jun 7, 2015 3:14 AM

I have a latest gen macbook pro and imac both with discrete graphics cards
but openscad realtime performance is very slow compared to a 6 year old
system running linux.  I tried using openscad 18 months ago and the
performance was bad then too.

Is there any plan to look at improving graphics performance in the future
for Mac?

Really looking forward to using this tool.

--
View this message in context: http://forum.openscad.org/openscad-poor-graphics-performance-in-OSX-tp12814.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

I have a latest gen macbook pro and imac both with discrete graphics cards but openscad realtime performance is very slow compared to a 6 year old system running linux. I tried using openscad 18 months ago and the performance was bad then too. Is there any plan to look at improving graphics performance in the future for Mac? Really looking forward to using this tool. -- View this message in context: http://forum.openscad.org/openscad-poor-graphics-performance-in-OSX-tp12814.html Sent from the OpenSCAD mailing list archive at Nabble.com.
JL
Jean-Paul Louis
Sun, Jun 7, 2015 3:32 AM

I use OpenSCAD on a macbook pro too. The problem is that openscad does not seem to be using more than one processor.
The load is only max 108% of one processor at the worst when rendering, or previewing a complex design.
So it does not get all the benefits of the OS X machine.

I still like it and use it on my current projects.

Jean-Paul
AC9GH

On Jun 6, 2015, at 11:14 PM, openciv queglay@gmail.com wrote:

I have a latest gen macbook pro and imac both with discrete graphics cards
but openscad realtime performance is very slow compared to a 6 year old
system running linux.  I tried using openscad 18 months ago and the
performance was bad then too.

Is there any plan to look at improving graphics performance in the future
for Mac?

Really looking forward to using this tool.

--
View this message in context: http://forum.openscad.org/openscad-poor-graphics-performance-in-OSX-tp12814.html
Sent from the OpenSCAD mailing list archive at Nabble.com.


OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

I use OpenSCAD on a macbook pro too. The problem is that openscad does not seem to be using more than one processor. The load is only max 108% of one processor at the worst when rendering, or previewing a complex design. So it does not get all the benefits of the OS X machine. I still like it and use it on my current projects. Jean-Paul AC9GH > On Jun 6, 2015, at 11:14 PM, openciv <queglay@gmail.com> wrote: > > I have a latest gen macbook pro and imac both with discrete graphics cards > but openscad realtime performance is very slow compared to a 6 year old > system running linux. I tried using openscad 18 months ago and the > performance was bad then too. > > Is there any plan to look at improving graphics performance in the future > for Mac? > > Really looking forward to using this tool. > > > > -- > View this message in context: http://forum.openscad.org/openscad-poor-graphics-performance-in-OSX-tp12814.html > Sent from the OpenSCAD mailing list archive at Nabble.com. > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
TP
Torsten Paul
Sun, Jun 7, 2015 12:31 PM

I think that's 2 very different issues...

  1. The OpenGL rendering is slow (e.g. rotating the 3d model in the viewport)

    This has a short explanation in:
    https://github.com/openscad/openscad/wiki/Project%3A-Improve-OpenGL-rendering

  2. Multi-threaded rendering

    https://github.com/openscad/openscad/issues/391

Both would be very nice to have, but as far as I'm aware, nobody is currently
working on this. I did some prototyping for the OpenGL topic, but this also
showed we will have quite a big cross platform issue there.

ciao,
Torsten.

I think that's 2 very different issues... 1) The OpenGL rendering is slow (e.g. rotating the 3d model in the viewport) This has a short explanation in: https://github.com/openscad/openscad/wiki/Project%3A-Improve-OpenGL-rendering 2) Multi-threaded rendering https://github.com/openscad/openscad/issues/391 Both would be very nice to have, but as far as I'm aware, nobody is currently working on this. I did some prototyping for the OpenGL topic, but this also showed we will have quite a big cross platform issue there. ciao, Torsten.
AG
Andrew Graham
Sun, Jun 7, 2015 1:17 PM

Thanks for the reply torsten.
I'm only refering to Open GL.
Open GL works fine in Linux for me, the Open GL performance is so bad in
osx that I can't use a simple model of a 3D printer, I can't really use
it.  I wish I could help develop with you guys but I need to keep
focus.  Bummer that its so hard to fix, but for me this is a
blocker/deal breaker and has remained since I first tried Open SCAD in
the begginning of 2014.  I hope it gets the attention it deserves, you
guys have a great program here.

On 7/06/2015 10:31 pm, Torsten Paul wrote:

I think that's 2 very different issues...

  1. The OpenGL rendering is slow (e.g. rotating the 3d model in the
    viewport)

    This has a short explanation in:
    https://github.com/openscad/openscad/wiki/Project%3A-Improve-OpenGL-rendering

  2. Multi-threaded rendering

    https://github.com/openscad/openscad/issues/391

Both would be very nice to have, but as far as I'm aware, nobody is
currently
working on this. I did some prototyping for the OpenGL topic, but this
also
showed we will have quite a big cross platform issue there.

ciao,
Torsten.


OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

Thanks for the reply torsten. I'm only refering to Open GL. Open GL works fine in Linux for me, the Open GL performance is so bad in osx that I can't use a simple model of a 3D printer, I can't really use it. I wish I could help develop with you guys but I need to keep focus. Bummer that its so hard to fix, but for me this is a blocker/deal breaker and has remained since I first tried Open SCAD in the begginning of 2014. I hope it gets the attention it deserves, you guys have a great program here. On 7/06/2015 10:31 pm, Torsten Paul wrote: > I think that's 2 very different issues... > > 1) The OpenGL rendering is slow (e.g. rotating the 3d model in the > viewport) > > This has a short explanation in: > https://github.com/openscad/openscad/wiki/Project%3A-Improve-OpenGL-rendering > > 2) Multi-threaded rendering > > https://github.com/openscad/openscad/issues/391 > > Both would be very nice to have, but as far as I'm aware, nobody is > currently > working on this. I did some prototyping for the OpenGL topic, but this > also > showed we will have quite a big cross platform issue there. > > ciao, > Torsten. > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
AG
Andrew Graham
Sun, Jun 7, 2015 3:14 PM

Here's a demo - its better to use a VM than native OSX - significantly.
https://www.youtube.com/watch?v=_sOPCuvvyto&feature=youtu.be

On 7/06/2015 10:31 pm, Torsten Paul wrote:

I think that's 2 very different issues...

  1. The OpenGL rendering is slow (e.g. rotating the 3d model in the
    viewport)

    This has a short explanation in:
    https://github.com/openscad/openscad/wiki/Project%3A-Improve-OpenGL-rendering

  2. Multi-threaded rendering

    https://github.com/openscad/openscad/issues/391

Both would be very nice to have, but as far as I'm aware, nobody is
currently
working on this. I did some prototyping for the OpenGL topic, but this
also
showed we will have quite a big cross platform issue there.

ciao,
Torsten.


OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

Here's a demo - its better to use a VM than native OSX - significantly. https://www.youtube.com/watch?v=_sOPCuvvyto&feature=youtu.be On 7/06/2015 10:31 pm, Torsten Paul wrote: > I think that's 2 very different issues... > > 1) The OpenGL rendering is slow (e.g. rotating the 3d model in the > viewport) > > This has a short explanation in: > https://github.com/openscad/openscad/wiki/Project%3A-Improve-OpenGL-rendering > > 2) Multi-threaded rendering > > https://github.com/openscad/openscad/issues/391 > > Both would be very nice to have, but as far as I'm aware, nobody is > currently > working on this. I did some prototyping for the OpenGL topic, but this > also > showed we will have quite a big cross platform issue there. > > ciao, > Torsten. > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
NH
nop head
Sun, Jun 7, 2015 3:19 PM

Have you got auto reload and preview on? If it is then it is worth trying
it without as that makes a huge difference from me on Windows if the
project has got lots of files.

On 7 June 2015 at 16:14, Andrew Graham queglay@gmail.com wrote:

Here's a demo - its better to use a VM than native OSX - significantly.
https://www.youtube.com/watch?v=_sOPCuvvyto&feature=youtu.be

On 7/06/2015 10:31 pm, Torsten Paul wrote:

I think that's 2 very different issues...

  1. The OpenGL rendering is slow (e.g. rotating the 3d model in the
    viewport)

    This has a short explanation in:

https://github.com/openscad/openscad/wiki/Project%3A-Improve-OpenGL-rendering

  1. Multi-threaded rendering

    https://github.com/openscad/openscad/issues/391

Both would be very nice to have, but as far as I'm aware, nobody is
currently
working on this. I did some prototyping for the OpenGL topic, but this
also
showed we will have quite a big cross platform issue there.

ciao,
Torsten.


OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

Have you got auto reload and preview on? If it is then it is worth trying it without as that makes a huge difference from me on Windows if the project has got lots of files. On 7 June 2015 at 16:14, Andrew Graham <queglay@gmail.com> wrote: > Here's a demo - its better to use a VM than native OSX - significantly. > https://www.youtube.com/watch?v=_sOPCuvvyto&feature=youtu.be > > > On 7/06/2015 10:31 pm, Torsten Paul wrote: > >> I think that's 2 very different issues... >> >> 1) The OpenGL rendering is slow (e.g. rotating the 3d model in the >> viewport) >> >> This has a short explanation in: >> >> https://github.com/openscad/openscad/wiki/Project%3A-Improve-OpenGL-rendering >> >> 2) Multi-threaded rendering >> >> https://github.com/openscad/openscad/issues/391 >> >> Both would be very nice to have, but as far as I'm aware, nobody is >> currently >> working on this. I did some prototyping for the OpenGL topic, but this >> also >> showed we will have quite a big cross platform issue there. >> >> ciao, >> Torsten. >> >> _______________________________________________ >> OpenSCAD mailing list >> Discuss@lists.openscad.org >> http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org >> > > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org >
TP
Torsten Paul
Sun, Jun 7, 2015 3:24 PM

On 06/07/2015 05:14 PM, Andrew Graham wrote:

Here's a demo - its better to use a VM than native OSX - significantly.
https://www.youtube.com/watch?v=_sOPCuvvyto&feature=youtu.be

Can you please check which version of Qt is used in the Linux version?
(Help -> Libraray Info)

Qt changed something in Qt5 which causes a huge slowdown (probably dependent
on the graphics driver) as it's waiting for the vblank.
We tried to disable that behavior but that does not seem to work always.

Another thing that causes considerable slowdown is the DEBUG flag, so
in case this is not running the release version, maybe give the release
build a try.

ciao,
Torsten.

On 06/07/2015 05:14 PM, Andrew Graham wrote: > Here's a demo - its better to use a VM than native OSX - significantly. > https://www.youtube.com/watch?v=_sOPCuvvyto&feature=youtu.be > Can you please check which version of Qt is used in the Linux version? (Help -> Libraray Info) Qt changed something in Qt5 which causes a huge slowdown (probably dependent on the graphics driver) as it's waiting for the vblank. We tried to disable that behavior but that does not seem to work always. Another thing that causes considerable slowdown is the DEBUG flag, so in case this is not running the release version, maybe give the release build a try. ciao, Torsten.
MK
Marius Kintel
Sun, Jun 7, 2015 3:53 PM

Could you share that design?

Immediate mode OpenGL is indeed a fair bit slower in OS X than on other systems, due to internal implementation differences.
Rewriting the rendering code is the only real way of fixing this.

It’s possible to hack around this, it would just be infinitely preferable to use a real framework for rendering.

-Marius

On Jun 7, 2015, at 11:14 AM, Andrew Graham queglay@gmail.com wrote:

Here's a demo - its better to use a VM than native OSX - significantly.
https://www.youtube.com/watch?v=_sOPCuvvyto&feature=youtu.be

Could you share that design? Immediate mode OpenGL is indeed a fair bit slower in OS X than on other systems, due to internal implementation differences. Rewriting the rendering code is the only real way of fixing this. It’s possible to hack around this, it would just be infinitely preferable to use a real framework for rendering. -Marius On Jun 7, 2015, at 11:14 AM, Andrew Graham <queglay@gmail.com> wrote: > Here's a demo - its better to use a VM than native OSX - significantly. > https://www.youtube.com/watch?v=_sOPCuvvyto&feature=youtu.be
AG
Andrew Graham
Sun, Jun 7, 2015 11:08 PM

Hi Marius,

Sure thing Marius, contact me at queglay@gmail.com

Hi Marius, Sure thing Marius, contact me at queglay@gmail.com