That's it, FreeCAD compiled with QT5 and PY3 works on RPI4 with Raspberry OS64B (beta test version)
Many thanks to user @leggazoid for this information:
https://www.raspberrypi.org/forums/view ... d#p1674736
I confirm, FreeCAD works like a charme, with GPU acceleration.
So, RPI4 is ready to welcome FreeCAD 0.19 QT5/PY3 with great features and direct rendering:
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:
As a result, it is possible to rotate the 27K cubes model at about 6FPS and 1920x1080 resolution:
- Cube_27K_RPI4_OS64B.gif (891.45 KiB) Viewed 9835 times
(shaking is due to gif capture)
When loading this model made of 27K cubes:
Just RPI OS64B, no any software launched: RAM = 160Mo
Run FreeCAD: RAM = 252Mo
27K cubes loaded (needs about 1 or 2mn to load): RAM = 3.1Go
No more to say about this pretty huge test model.
If you increase too much angular deflection (2°) and deviation (0.2) with a spherical or toroidal model, crash may occur with segfault issue.
Anyway, if you load an usual model, it rotates at 20 or 30 fps, very smouthly, no problem.
Some troubles with File icons, that's not a big deal. Maybe you can load the Icon addon to solve that. Have to try...
If you want to compile it, just follow the
Compile_on_Linux Debian instructions.
If you want to mesh FEM models with gmsh you should install it:
Enjoy FreeCAD on RPI4 with Raspberry OS64Bit
Edit:
OS: Debian GNU/Linux 10 (buster) (LXDE/LXDE-pi)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.21562 (Git)
Build type: Unknown
Branch: master
Hash: 11a2b948ea55b19efe7515f730035027a7822e06
Python version: 3.7.3
Qt version: 5.11.3
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: French/France (fr_FR)