Hi there, AFAIK there is no fix yet about segfault issue of FreeCAD on RPI4 RPIOS32B Buster.
As I'm concerned I have no problem to use FreeCAD on RPI4 by compiling it on RPIOS64B beta test. Works pretty fine (segfault crash time to time, but that's ok), that's great to experience FreeCAD on RPI4-4GB everyday
However I have very poor skills about programming and admin stuffs
I'm just an end user of FreeCAD, but I try my best to help to find a fix for the community, I think it's important to find a fix for RPIOS32B which is still the official OS AFAIK. IMHO that's important to ease the access of FreeCAD (aka FC) on RPI4, furthermore for young users.
Any help much appreciated from devs or RPI power users
Here I would like to summarize some of my tests in the past:
Bug traker reference: https://tracker.freecadweb.org/view.php?id=4083#c15126
1- If FreeCAD compiled with PY2/Qt4 RPIOS32B-> no crash
2- If FreeCAD compiled with PY3/Qt4 RPIOS32B-> no crash when creating new document
3- If FreeCAD compiled with PY2/Qt5 RPIOS32B-> crash with segfault occurs when creating new document
4- If FreeCAD compiled with PY3/Qt5 RPIOS32B-> crash with segfault occurs when creating new document
5- If FreeCAD compiled with PY3/Qt5 RPIOS64B(betatest)-> no crash when creating new document (it happens time to times when opening other documents, maybe not related)
If FreeCAD compiled with PY3/Qt5 Ubuntu 20.04 LTS (XFCE/xubuntu)64B -> no crash when creating new document
You can get more details here: https://forum.freecadweb.org/viewtopic. ... 68#p456568
As you maybe remember Coin3D was suspected. However AFAIK there is no difference about libraries used to compile FC between points 4 and 5 above. The only difference concerns the OS: 32B or 64B beta test.
So, I'm wondering about RPI4 V3D graphic driver maybe?
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.
Good idea to investigate the issue, any idea about how to do that?
Additional information: there is a Py3 test code to check if Coin3D crashes or display the scene, outside of FreeCAD:
https://forum.freecadweb.org/viewtopic. ... 30#p337801
This test fails with FC Py3/Qt5, for both RPIOS 32B and 64B.
This is where I am. Any help would be much appreciated. Thanks for your kind attention.