Apple M1 migtation

classic Classic list List threaded Threaded
46 messages Options
123
Reply | Threaded
Open this post in threaded view
|

Re: OpenCSG slowness

nophead
In fact I can't recreate the bug even if I start OpenSCAD again I get all the objects drawn, so it was a one off bug it seems.

On Thu, 14 Jan 2021 at 12:45, nop head <[hidden email]> wrote:
Turning off the vbo features gets the missing objects back but turning them on again still draws everything, so not sure what is going on.



On Thu, 14 Jan 2021 at 12:38, nop head <[hidden email]> wrote:
When I preview all of my library it still draws at a good framerate but a lot of it is missing.

image.png

It should look like this:

image.png

I don't see any pattern in what is missing and the normalised tree size is the same 8823 elements. There are a lot more cached CGAL polyhedra. I think this version is based on an old master and may have some bugs that have been fixed.

Or is there a limit to the number of elements it can draw with vbos?

On Thu, 14 Jan 2021 at 10:05, Torsten Paul <[hidden email]> wrote:
This will merge to master as soon as there's a bit of time to
spare. With that done, the changes will automatically show up
max. 2 days later in the snapshot builds on the official
download page.

MacOS build times are limited on most of the free CI platforms
so we can't just build every change unfortunately.

Github seems to have quite generous usage limits even for MacOS,
so there's a chance we can extend the automatic builds there.
With Travis pretty much going down soon for Open Source usage
we'll have to see how that impacts other platforms as people
migrate their projects.

ciao,
  Torsten.


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: OpenCSG slowness

William W Martin

This smells like an initialization bug, sometimes the uninitialized state works, sometimes it doesn't, usually depends on some raw memory coming up zero or not zero. Happy hunting!


On 1/14/21 4:56 AM, nop head wrote:
In fact I can't recreate the bug even if I start OpenSCAD again I get all the objects drawn, so it was a one off bug it seems.

On Thu, 14 Jan 2021 at 12:45, nop head <[hidden email]> wrote:
Turning off the vbo features gets the missing objects back but turning them on again still draws everything, so not sure what is going on.



On Thu, 14 Jan 2021 at 12:38, nop head <[hidden email]> wrote:
When I preview all of my library it still draws at a good framerate but a lot of it is missing.

image.png

It should look like this:

image.png

I don't see any pattern in what is missing and the normalised tree size is the same 8823 elements. There are a lot more cached CGAL polyhedra. I think this version is based on an old master and may have some bugs that have been fixed.
Or is there a limit to the number of elements it can draw with vbos?

On Thu, 14 Jan 2021 at 10:05, Torsten Paul <[hidden email]> wrote:
This will merge to master as soon as there's a bit of time to
spare. With that done, the changes will automatically show up
max. 2 days later in the snapshot builds on the official
download page.

MacOS build times are limited on most of the free CI platforms
so we can't just build every change unfortunately.

Github seems to have quite generous usage limits even for MacOS,
so there's a chance we can extend the automatic builds there.
With Travis pretty much going down soon for Open Source usage
we'll have to see how that impacts other platforms as people
migrate their projects.

ciao,
  Torsten.


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: OpenCSG slowness

Gibbon
In reply to this post by nophead
nophead wrote
> Turning off the vbo features gets the missing objects back but turning
> them
> on again still draws everything, so not sure what is going on.

Sorry for a dumb question, but this is my first time using prerelease builds
of OpenSCAD.
I just downloaded RC6 on my M1 MacBook Air.  
Under preferences, I don't see the VBO features (I presume the Advanced Tab
is where I would see it?).
So I presume this feature isn't available in RC6 for Macs?
Thanks for suggestions.




--
Sent from: http://forum.openscad.org/

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: OpenCSG slowness

MichaelAtOz'
RC6 is a release candidate so it behaves like a release, not like a development snapshot.
Experimental features are part of snapshots.
So RC6 does not have experimental features.
Grab a http://www.openscad.org/downloads.html#snapshots to use the feature.

> -----Original Message-----
> From: Discuss [mailto:[hidden email]] On Behalf Of Gibbon
> Sent: Fri, 29 Jan 2021 12:51
> To: [hidden email]
> Subject: Re: [OpenSCAD] OpenCSG slowness
>
> nophead wrote
> > Turning off the vbo features gets the missing objects back but turning
> > them
> > on again still draws everything, so not sure what is going on.
>
> Sorry for a dumb question, but this is my first time using prerelease builds
> of OpenSCAD.
> I just downloaded RC6 on my M1 MacBook Air.
> Under preferences, I don't see the VBO features (I presume the Advanced Tab
> is where I would see it?).
> So I presume this feature isn't available in RC6 for Macs?
> Thanks for suggestions.
>
>
>
>
> --
> Sent from: http://forum.openscad.org/
>
> _______________________________________________
> OpenSCAD mailing list
> [hidden email]
> http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org


--
This email has been checked for viruses by AVG.
https://www.avg.com


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: OpenCSG slowness

MichaelAtOz
Administrator
However, according to  this
<http://forum.openscad.org/Apple-M1-migtation-tp30719p31571.html>  , the
VBO Render is not in Master yet, so it won't be in the snapshots.



-----
OpenSCAD Admin - email* me if you need anything,  or if I've done something stupid...

* on the Forum, click on my MichaelAtOz label, there is a link to email me.

Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above.

--
Sent from: http://forum.openscad.org/

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
OpenSCAD Admin - email* me if you need anything, or if I've done something stupid...
* on the Forum, click on my MichaelAtOz label, there is a link to email me.

Unless specifically shown otherwise above, my contribution is in the Public Domain;
to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work.
Obviously inclusion of works of previous authors is not included in the above.
tp3
Reply | Threaded
Open this post in threaded view
|

Re: OpenCSG slowness

tp3
On 29.01.21 03:14, MichaelAtOz wrote:
> However, according to  this
> <http://forum.openscad.org/Apple-M1-migtation-tp30719p31571.html>  , the
> VBO Render is not in Master yet, so it won't be in the snapshots.

It's now in master and available via the snapshot builds:
https://files.openscad.org/snapshots/OpenSCAD-2021.02.01.dmg

Make sure to enable the still experimental features via
Preferences->Features named vertex-object-renderers*.

ciao,
  Torsten.

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
-- Torsten
123