Page 1 of 1

FreeCAD on PI4 and Ubuntu Buster.

Posted: Wed May 13, 2020 9:10 am
by -alex-
plugwash wrote:
Tue May 12, 2020 4:01 pm
I wonder if it's possible to switch to llvmpipe on raspbian and if-so what impact that has on freecad.
About the impact that has on FreeCAD, please see my post https://forum.freecadweb.org/viewtopic. ... 60#p397162
Drawback: with 27Kcubes CAD model above FreeCAD 3D graphic display is 8x slower with (X)Ubuntu compare to Raspbian :?
Advantage: With Ubuntu 20.04 no crash due to segfault issue with FreeCAD when it is compiled with Py3/Qt5 8-)

JFYI:

1- RPI4-4GB with (X)Ubuntu 20.04LTS, fullscreen (1824x984) glxgears = 35fps (glxgears=55% CPU)

Code: Select all

ubuntu@ubuntu:~$ glxinfo | grep rendering
direct rendering: Yes
ubuntu@ubuntu:~$ glxinfo | grep OpenGL
OpenGL vendor string: VMware, Inc.
OpenGL renderer string: llvmpipe (LLVM 9.0.1, 128 bits)
OpenGL core profile version string: 3.3 (Core Profile) Mesa 20.0.4
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.1 Mesa 20.0.4
OpenGL shading language version string: 1.40
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.1 Mesa 20.0.4
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10
OpenGL ES profile extensions:


2- RPI4-4GB with Raspbian 10, fullscreen (1920x1080) glxgears = 55 fps (glxgears=1% CPU)

Code: Select all

pi@raspberrypi:~$ glxinfo | grep rendering
direct rendering: Yes
pi@raspberrypi:~ $ glxinfo | grep OpenGL
OpenGL vendor string: Broadcom
OpenGL renderer string: V3D 4.2
OpenGL version string: 2.1 Mesa 19.3.2
OpenGL shading language version string: 1.20
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.1 Mesa 19.3.2
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10
OpenGL ES profile extensions:
Gavinmc42 wrote:
Tue May 12, 2020 10:55 pm
Is llvmpipe software rendering?
AFAIK yes it is. That's why it is slower and some artefacts occurs when rotating 3D models I assume.

Re: FreeCAD on PI4 and Ubuntu Buster.

Posted: Thu May 14, 2020 3:14 pm
by mahjongg
split off, from viewtopic.php?f=66&t=244151 renamed and moved to ubuntu where it belongs, its not a raspbian topic.