discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Apple M1 migtation

NH
nop head
Thu, Jan 14, 2021 12:56 PM

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 nop.head@gmail.com 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 nop.head@gmail.com wrote:

When I preview all of my library it still draws at a good framerate but a
lot of it is missing.

[image: image.png]

It should look like this:

[image: 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 Torsten.Paul@gmx.de 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
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

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 <nop.head@gmail.com> 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 <nop.head@gmail.com> wrote: > >> When I preview all of my library it still draws at a good framerate but a >> lot of it is missing. >> >> [image: image.png] >> >> It should look like this: >> >> [image: 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 <Torsten.Paul@gmx.de> 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 >>> Discuss@lists.openscad.org >>> http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org >>> >>
WW
William W Martin
Thu, Jan 14, 2021 5:29 PM

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 <nop.head@gmail.com
mailto:nop.head@gmail.com> 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 <nop.head@gmail.com
 <mailto:nop.head@gmail.com>> 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 same8823 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
     <Torsten.Paul@gmx.de <mailto:Torsten.Paul@gmx.de>> 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
         Discuss@lists.openscad.org <mailto: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

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 <nop.head@gmail.com > <mailto:nop.head@gmail.com>> 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 <nop.head@gmail.com > <mailto:nop.head@gmail.com>> 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 same8823 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 > <Torsten.Paul@gmx.de <mailto:Torsten.Paul@gmx.de>> 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 > Discuss@lists.openscad.org <mailto: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
G
Gibbon
Fri, Jan 29, 2021 1:50 AM

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/

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/
MM
Michael Marx
Fri, Jan 29, 2021 1:59 AM

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:discuss-bounces@lists.openscad.org] On Behalf Of Gibbon
Sent: Fri, 29 Jan 2021 12:51
To: discuss@lists.openscad.org
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
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

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

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:discuss-bounces@lists.openscad.org] On Behalf Of Gibbon > Sent: Fri, 29 Jan 2021 12:51 > To: discuss@lists.openscad.org > 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 > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org -- This email has been checked for viruses by AVG. https://www.avg.com
M
MichaelAtOz
Fri, Jan 29, 2021 2:14 AM

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/

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/
TP
Torsten Paul
Mon, Feb 1, 2021 7:54 PM

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.

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.