Closed remidemers closed 1 month ago
Any relation to https://github.com/FreeCAD/FreeCAD/issues/5592 ?
Any relation to FreeCAD/FreeCAD#5592 ?
I re-tested by calling the appimage directly. Same result.
@remidemers please help test possible fix in https://github.com/FreeCAD/FreeCAD/pull/7034
how have you setup your X server in the client machine?
Issue 0004755 is still present
this is confusing, what are you referring to? https://tracker.freecadweb.org/view.php?id=0004755 this doesn't seem related at all and on github 4755 is a PR removing py2 code
Issue 0004755 is still present
this is confusing, what are you referring to? https://tracker.freecadweb.org/view.php?id=0004755 this doesn't seem related at all and on github 4755 is a PR removing py2 code
Yes, it shows by the error message that it fails at the same code line: /tmp/.mount_FreeCAMuoQyh/AppRun: line 41: 354130 Segmentation fault ${MAIN} "$@"
how have you setup your X server in the client machine?
I cannot remember in details. I started with a basic Arch and added xorg and many other packages. Can I drop some config files to help?
Sorry for being inactive a long time. I want to clarify the bug and mention some findings: The computer runs FreeCad perfectly when called from related keyboard and screen. The problem exist only when FreeCad is called from remote computer through SSH. I read somewhere that latest OpenGL API cannot go through X forwarding. It is possible that the problem is there and unsolvable on the FreeCad side. https://stackoverflow.com/questions/53494718/how-can-i-xforwarding-opengl-applications-from-server
Yes, it shows by the error message that it fails at the same code line: /tmp/.mount_FreeCAMuoQyh/AppRun: line 41: 354130 Segmentation fault MAIN"@"
This error is as generic as it gets, whatever fails in FreeCAD this error would be shown because it's from the script that calls FreeCAD within the appimage https://github.com/FreeCAD/FreeCAD-Bundle/blob/b75c4f81324d75300024017de878e33bc61cf9f4/conda/linux/AppDir/AppRun#L42
I understand why you got confused but these problems are unrelated. My bet is on the problem you posted so it probably can't be fixed on our side. Do you have other opengl apps you can test? Can you test with a native freecad package for your distro?
no response for 2 years and likely not solvable on our side so I'm closing this issue
Issue 0004755 is still present. It appears when started from a remote terminal over SSH. When started from a local terminal the issue do not appear. I experienced it with two images:
How to reproduce: Install Debian 11.3 with only SSH and base utilities on computer №1 login...
su
apt install i3
apt install firefox
exit
hostname -I
Note the computer №1 local IP address.
mkdir bin
cd bin
firefox
With firefox, download the FreeCAD appimage and move it to ~/bin
ln -s FreeCAD_weekly-builds-29085-2022-06-10-conda-Linux-x86_64-py39.AppImage freecad
./freecad
You should see the FreeCAD working properly. Close FreeCAD and go to computer №2 Computer №2 is a linux Mint 20.3 with i3 as user interface. It it able to run FreeCAD without problem but some slowness. On computer №2, open a gnome-terminal and enter the commands:
ssh userpc1@computer1_IP -Y
// userpc1 and computer1 to be the replaced with actual namesexport LIBGL_ALWAYS_INDIRECT=1
./freecad
Result: I can see the FreeCAD splash screen with the nice drawing picture and modules loading text appears as expected normally for a few seconds and the it crashes. This is the output on the terminal:
Please ask me if I can help with more information or testing. Thanks a lot.