DS
David Slipper
Thu, Feb 20, 2020 11:17 PM
Is there an up to dateĀ prebuilt package for OpenSCAD to run under
Raspbian ??
If so, where can I get it ?
I found one that runs OK but it is rather old :-(
TIA
Dave
Is there an up to dateĀ prebuilt package for OpenSCAD to run under
Raspbian ??
If so, where can I get it ?
I found one that runs OK but it is rather old :-(
TIA
Dave
VB
Verachten Bruno
Fri, Feb 21, 2020 8:22 AM
I have seen there already is a travis yaml file, I could try to port
it to Shippable to build it on their ARMHF and AARCH64 machines...
On Fri, Feb 21, 2020 at 12:18 AM David Slipper softfoot@hotmail.com wrote:
I have seen there already is a travis yaml file, I could try to port
it to Shippable to build it on their ARMHF and AARCH64 machines...
On Fri, Feb 21, 2020 at 12:18 AM David Slipper <softfoot@hotmail.com> wrote:
>
>
> Is there an up to date prebuilt package for OpenSCAD to run under
> Raspbian ??
>
> If so, where can I get it ?
>
> I found one that runs OK but it is rather old :-(
>
> TIA
> Dave
>
>
>
> _______________________________________________
> OpenSCAD mailing list
> Discuss@lists.openscad.org
> http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
--
Bruno Verachten
M
MichaelAtOz
Fri, Feb 21, 2020 10:36 AM
I understand that the Rpi only supports OpenGL ES, which is not sufficient
for OpenSCAD which needs full OpenGL, I have a vague recollection of a build
without preview that could do command line rendering, but that was a while
ago.
Admin - email* me if you need anything, or if I've done something stupid...
- 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/
I understand that the Rpi only supports OpenGL *ES*, which is not sufficient
for OpenSCAD which needs full OpenGL, I have a vague recollection of a build
without preview that could do command line rendering, but that was a while
ago.
-----
Admin - email* me if you need anything, or if I've done something stupid...
* 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/
DM
Doug Moen
Fri, Feb 21, 2020 3:38 PM
Raspberry pi 4 with raspbian supports opengl 2.1 using mesa and x11. AFAIK openscad should compile and run without any changes, with the standard Raspian install. I need to get a pi 4 so I can test this.
X11+OpenGL is also available on Raspberry Pi 3, if you are running an up to date version of Raspian. The original Pi 3 version of Raspian didn't support this. AFAIK, OpenSCAD should work. Haven't tested it.
Earlier pi models had a nonstandard opengl es library interface that bypassed x11 and wrote directly to the display (so, without a window manager). Unless there is a Qt port to that older API, openscad isn't compatible.
Doug Moen.
On Fri, Feb 21, 2020, at 5:36 AM, MichaelAtOz wrote:
I understand that the Rpi only supports OpenGL ES, which is not sufficient
for OpenSCAD which needs full OpenGL, I have a vague recollection of a build
without preview that could do command line rendering, but that was a while
ago.
Admin - email* me if you need anything, or if I've done something stupid...
- 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
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Raspberry pi 4 with raspbian supports opengl 2.1 using mesa and x11. AFAIK openscad should compile and run without any changes, with the standard Raspian install. I need to get a pi 4 so I can test this.
X11+OpenGL is also available on Raspberry Pi 3, if you are running an up to date version of Raspian. The original Pi 3 version of Raspian didn't support this. AFAIK, OpenSCAD should work. Haven't tested it.
Earlier pi models had a nonstandard opengl es library interface that bypassed x11 and wrote directly to the display (so, without a window manager). Unless there is a Qt port to that older API, openscad isn't compatible.
Doug Moen.
On Fri, Feb 21, 2020, at 5:36 AM, MichaelAtOz wrote:
> I understand that the Rpi only supports OpenGL *ES*, which is not sufficient
> for OpenSCAD which needs full OpenGL, I have a vague recollection of a build
> without preview that could do command line rendering, but that was a while
> ago.
>
>
>
> -----
> Admin - email* me if you need anything, or if I've done something stupid...
>
> * 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
> Discuss@lists.openscad.org
> http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
>
VB
Verachten Bruno
Fri, Feb 21, 2020 5:15 PM
I just built it on a aarch64 Debian buster machine.
Is there anything else to grab except the openscad binary?
openscad: ELF 64-bit LSB pie executable, ARM aarch64, version 1
(GNU/Linux), dynamically linked, interpreter
/lib/ld-linux-aarch64.so.1, for GNU/Linux 3.7.0,
BuildID[sha1]=fe58df40cd15a51668f8964a2bcbfeac43a277d9, not stripped
Thanks.
On Fri, Feb 21, 2020 at 4:39 PM Doug Moen doug@moens.org wrote:
Raspberry pi 4 with raspbian supports opengl 2.1 using mesa and x11. AFAIK openscad should compile and run without any changes, with the standard Raspian install. I need to get a pi 4 so I can test this.
X11+OpenGL is also available on Raspberry Pi 3, if you are running an up to date version of Raspian. The original Pi 3 version of Raspian didn't support this. AFAIK, OpenSCAD should work. Haven't tested it.
Earlier pi models had a nonstandard opengl es library interface that bypassed x11 and wrote directly to the display (so, without a window manager). Unless there is a Qt port to that older API, openscad isn't compatible.
Doug Moen.
On Fri, Feb 21, 2020, at 5:36 AM, MichaelAtOz wrote:
I understand that the Rpi only supports OpenGL ES, which is not sufficient
for OpenSCAD which needs full OpenGL, I have a vague recollection of a build
without preview that could do command line rendering, but that was a while
ago.
Admin - email* me if you need anything, or if I've done something stupid...
- 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
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
I just built it on a aarch64 Debian buster machine.
Is there anything else to grab except the openscad binary?
openscad: ELF 64-bit LSB pie executable, ARM aarch64, version 1
(GNU/Linux), dynamically linked, interpreter
/lib/ld-linux-aarch64.so.1, for GNU/Linux 3.7.0,
BuildID[sha1]=fe58df40cd15a51668f8964a2bcbfeac43a277d9, not stripped
Thanks.
On Fri, Feb 21, 2020 at 4:39 PM Doug Moen <doug@moens.org> wrote:
>
> Raspberry pi 4 with raspbian supports opengl 2.1 using mesa and x11. AFAIK openscad should compile and run without any changes, with the standard Raspian install. I need to get a pi 4 so I can test this.
>
> X11+OpenGL is also available on Raspberry Pi 3, if you are running an up to date version of Raspian. The original Pi 3 version of Raspian didn't support this. AFAIK, OpenSCAD should work. Haven't tested it.
>
> Earlier pi models had a nonstandard opengl es library interface that bypassed x11 and wrote directly to the display (so, without a window manager). Unless there is a Qt port to that older API, openscad isn't compatible.
>
> Doug Moen.
>
> On Fri, Feb 21, 2020, at 5:36 AM, MichaelAtOz wrote:
> > I understand that the Rpi only supports OpenGL *ES*, which is not sufficient
> > for OpenSCAD which needs full OpenGL, I have a vague recollection of a build
> > without preview that could do command line rendering, but that was a while
> > ago.
> >
> >
> >
> > -----
> > Admin - email* me if you need anything, or if I've done something stupid...
> >
> > * 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
> > 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
--
Bruno Verachten
TP
Torsten Paul
Fri, Feb 21, 2020 8:00 PM
On 21.02.20 18:15, Verachten Bruno wrote:
I just built it on a aarch64 Debian buster machine.
Is there anything else to grab except the openscad binary?
That depends on what you are going to do. If it's supposed to
be distributable, the best option is likely an AppImage which
collects everything needed in a single file.
As for ARM in general, it's unfortunately not that simple.
Like people already said, OpenSCAD is not able to use GLES.
However that does not so much depend on what the GPU can
do. OpenSCAD happily runs with Mesa software renderer on
a Raspi3. The main question is how Qt is compiled. Usually ARM7
(or 32bit in general) systems enable GLES for Qt so compilation
will fail. Some AARCH64 systems use OpenGL instead, so it's
trivial to compile OpenSCAD.
Some time ago I started setting things up as docker build
using qemu-static but that's a bit annoying and quite slow.
I did have a working AppImage at some point, but it still
needed too much manual interaction to build.
It might be possible to set this up on OBS, but so far I
had too much trouble building AppImages there so I gave up.
Getting this to work would be great as OBS is very nice
in general.
ciao,
Torsten.
On 21.02.20 18:15, Verachten Bruno wrote:
> I just built it on a aarch64 Debian buster machine.
> Is there anything else to grab except the openscad binary?
That depends on what you are going to do. If it's supposed to
be distributable, the best option is likely an AppImage which
collects everything needed in a single file.
As for ARM in general, it's unfortunately not that simple.
Like people already said, OpenSCAD is not able to use GLES.
However that does not so much depend on what the GPU can
do. OpenSCAD happily runs with Mesa software renderer on
a Raspi3. The main question is how Qt is compiled. Usually ARM7
(or 32bit in general) systems enable GLES for Qt so compilation
will fail. Some AARCH64 systems use OpenGL instead, so it's
trivial to compile OpenSCAD.
Some time ago I started setting things up as docker build
using qemu-static but that's a bit annoying and quite slow.
I did have a working AppImage at some point, but it still
needed too much manual interaction to build.
It might be possible to set this up on OBS, but so far I
had too much trouble building AppImages there so I gave up.
Getting this to work would be great as OBS is very nice
in general.
ciao,
Torsten.
VB
Verachten Bruno
Fri, Feb 21, 2020 8:15 PM
I know nothing about AppImage, but will try to find how to build one
for OpenSCAD.
On Fri, Feb 21, 2020 at 9:01 PM Torsten Paul Torsten.Paul@gmx.de wrote:
On 21.02.20 18:15, Verachten Bruno wrote:
I just built it on a aarch64 Debian buster machine.
Is there anything else to grab except the openscad binary?
That depends on what you are going to do. If it's supposed to
be distributable, the best option is likely an AppImage which
collects everything needed in a single file.
As for ARM in general, it's unfortunately not that simple.
Like people already said, OpenSCAD is not able to use GLES.
However that does not so much depend on what the GPU can
do. OpenSCAD happily runs with Mesa software renderer on
a Raspi3. The main question is how Qt is compiled. Usually ARM7
(or 32bit in general) systems enable GLES for Qt so compilation
will fail. Some AARCH64 systems use OpenGL instead, so it's
trivial to compile OpenSCAD.
Some time ago I started setting things up as docker build
using qemu-static but that's a bit annoying and quite slow.
I did have a working AppImage at some point, but it still
needed too much manual interaction to build.
It might be possible to set this up on OBS, but so far I
had too much trouble building AppImages there so I gave up.
Getting this to work would be great as OBS is very nice
in general.
ciao,
Torsten.
OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
I know nothing about AppImage, but will try to find how to build one
for OpenSCAD.
On Fri, Feb 21, 2020 at 9:01 PM Torsten Paul <Torsten.Paul@gmx.de> wrote:
>
> On 21.02.20 18:15, Verachten Bruno wrote:
> > I just built it on a aarch64 Debian buster machine.
> > Is there anything else to grab except the openscad binary?
>
> That depends on what you are going to do. If it's supposed to
> be distributable, the best option is likely an AppImage which
> collects everything needed in a single file.
>
> As for ARM in general, it's unfortunately not that simple.
> Like people already said, OpenSCAD is not able to use GLES.
> However that does not so much depend on what the GPU can
> do. OpenSCAD happily runs with Mesa software renderer on
> a Raspi3. The main question is how Qt is compiled. Usually ARM7
> (or 32bit in general) systems enable GLES for Qt so compilation
> will fail. Some AARCH64 systems use OpenGL instead, so it's
> trivial to compile OpenSCAD.
>
> Some time ago I started setting things up as docker build
> using qemu-static but that's a bit annoying and quite slow.
> I did have a working AppImage at some point, but it still
> needed too much manual interaction to build.
>
> It might be possible to set this up on OBS, but so far I
> had too much trouble building AppImages there so I gave up.
> Getting this to work would be great as OBS is very nice
> in general.
>
> ciao,
> Torsten.
>
> _______________________________________________
> OpenSCAD mailing list
> Discuss@lists.openscad.org
> http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
--
Bruno Verachten
TP
Torsten Paul
Fri, Feb 21, 2020 8:22 PM
On 21.02.20 21:15, Verachten Bruno wrote:
I know nothing about AppImage, but will try to find how to build one
for OpenSCAD.
On 21.02.20 21:15, Verachten Bruno wrote:
> I know nothing about AppImage, but will try to find how to build one
> for OpenSCAD.
The x86_64 build is handled via base docker image collecting all
the tooling:
https://github.com/openscad/docker-openscad/blob/master/appimage/appimage-x86_64-base/Dockerfile
and the actual build via:
https://github.com/openscad/docker-openscad/blob/master/appimage/appimage-x86_64-openscad/Dockerfile
ciao,
Torsten.
VB
Verachten Bruno
Fri, Feb 21, 2020 9:04 PM
Very interesting, thanks Torsten.
I will try to port it to aarch64.
Bruno
On Fri, Feb 21, 2020 at 9:23 PM Torsten Paul Torsten.Paul@gmx.de wrote:
On 21.02.20 21:15, Verachten Bruno wrote:
I know nothing about AppImage, but will try to find how to build one
for OpenSCAD.
Very interesting, thanks Torsten.
I will try to port it to aarch64.
Bruno
On Fri, Feb 21, 2020 at 9:23 PM Torsten Paul <Torsten.Paul@gmx.de> wrote:
>
> On 21.02.20 21:15, Verachten Bruno wrote:
> > I know nothing about AppImage, but will try to find how to build one
> > for OpenSCAD.
>
> The x86_64 build is handled via base docker image collecting all
> the tooling:
>
> https://github.com/openscad/docker-openscad/blob/master/appimage/appimage-x86_64-base/Dockerfile
>
> and the actual build via:
>
> https://github.com/openscad/docker-openscad/blob/master/appimage/appimage-x86_64-openscad/Dockerfile
>
> ciao,
> Torsten.
>
> _______________________________________________
> OpenSCAD mailing list
> Discuss@lists.openscad.org
> http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
--
Bruno Verachten
TP
Torsten Paul
Fri, Feb 21, 2020 9:17 PM
On 21.02.20 22:04, Verachten Bruno wrote:
Very interesting, thanks Torsten.
I will try to port it to aarch64.
Cool. Could you please disable the IRC notifications in the
travis.yml? It's currently reporting all build error :-).
ciao,
Torsten.
On 21.02.20 22:04, Verachten Bruno wrote:
> Very interesting, thanks Torsten.
> I will try to port it to aarch64.
Cool. Could you please disable the IRC notifications in the
travis.yml? It's currently reporting all build error :-).
ciao,
Torsten.