problem installing 0.20 appimage (solved)
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
problem installing 0.20 appimage (solved)
I have downloaded latest daily 0.20 appimage
(FreeCAD_weekly-builds-26155-Linux-Conda_glibc2.12-x86_64.AppImage)
and installed it in my Linux PC (elementary OS 6 Odin).
It has integrated OK, fires up OK, and then promptly (as soon as it opens up) it shuts down
I have tried 0.19
(FreeCAD_0.19-24291-Linux-Conda_glibc2.12-x86_64.AppImage)
and it behaves exactly the same.
Because I have no problem installing and running link branch version 2021.10.15 I am assuming that it is (probably) nothing to do with my PC?
Any advice, please?
(FreeCAD_weekly-builds-26155-Linux-Conda_glibc2.12-x86_64.AppImage)
and installed it in my Linux PC (elementary OS 6 Odin).
It has integrated OK, fires up OK, and then promptly (as soon as it opens up) it shuts down
I have tried 0.19
(FreeCAD_0.19-24291-Linux-Conda_glibc2.12-x86_64.AppImage)
and it behaves exactly the same.
Because I have no problem installing and running link branch version 2021.10.15 I am assuming that it is (probably) nothing to do with my PC?
Any advice, please?
Last edited by bambuko on Sat Jan 01, 2022 11:40 am, edited 3 times in total.
Re: problem installing 0.20 appimage
(something is not working correct, with my internet connection so sorry if this is duplicate message.)
I suppose that this could be related:
https://github.com/FreeCAD/FreeCAD-Bund ... kly-builds
caveat about recompiling appImage after having removed libstdc++.so.6 from conda libraries.
I have not this problem as it seems not related with my ArtixLinux (Arch Linux) installation.
Regards
Carlo D.
I suppose that this could be related:
https://github.com/FreeCAD/FreeCAD-Bund ... kly-builds
caveat about recompiling appImage after having removed libstdc++.so.6 from conda libraries.
I have not this problem as it seems not related with my ArtixLinux (Arch Linux) installation.
Regards
Carlo D.
GitHub page: https://github.com/onekk/freecad-doc.
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.
Blog: https://okkmkblog.wordpress.com/
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.
Blog: https://okkmkblog.wordpress.com/
Re: problem installing 0.20 appimage
It could possibly be related?
I didn't notice it because I've never had these problems before....
Unfortunately I do not understand even point 1 (...Extract the contents of the AppImage using the --appimage-extract flag...)
so I am bugg***ed
I am off to google and educate myself...
I didn't notice it because I've never had these problems before....
Unfortunately I do not understand even point 1 (...Extract the contents of the AppImage using the --appimage-extract flag...)
so I am bugg***ed
I am off to google and educate myself...
- adrianinsaval
- Veteran
- Posts: 5551
- Joined: Thu Apr 05, 2018 5:15 pm
Re: problem installing 0.20 appimage
first things first, try running the appimage from terminal and look for error messages in there that could hint at the actual problem.
this should no longer be a problem for the 0.20 appimagesonekk wrote: ↑Tue Oct 26, 2021 4:30 pm https://github.com/FreeCAD/FreeCAD-Bund ... kly-builds
caveat about recompiling appImage after having removed libstdc++.so.6 from conda libraries.
Re: problem installing 0.20 appimage
makes sense, but... how do I "run appimage from terminal" ??
Tried to search interweb for an answer, but not succeeded so far.
LATER EDIT:
eventually found the way
Code: Select all
./FreeCAD_0.20/FreeCAD_weekly-builds-26202-Linux-Conda_glibc2.12-x86_64.AppImage
Code: Select all
####Configure################################################################################################
nouveau: kernel rejected pushbuf: No such file or directory
nouveau: ch5: krec 0 pushes 0 bufs 1 relocs 0
nouveau: ch5: buf 00000000 00000002 00000004 00000004 00000000
freecad: ../nouveau/pushbuf.c:723: nouveau_pushbuf_data: Assertion `kref' failed.
/tmp/.mount_FreeCAQWLk1X/AppRun: line 41: 11259 Aborted ${MAIN} "$@"
Re: problem installing 0.20 appimage
I've not had the problem, as I'm using Arch Linux, but the warning is present yet when updating the appimage for 0.20.adrianinsaval wrote: ↑Wed Oct 27, 2021 3:13 am first things first, try running the appimage from terminal and look for error messages in there that could hint at the actual problem.this should no longer be a problem for the 0.20 appimagesonekk wrote: ↑Tue Oct 26, 2021 4:30 pm https://github.com/FreeCAD/FreeCAD-Bund ... kly-builds
caveat about recompiling appImage after having removed libstdc++.so.6 from conda libraries.
I've not unpacked and repacked AppImage to solve the problem (Only to extract Mod directory to inspect python sources).
Regards
Carlo D.
GitHub page: https://github.com/onekk/freecad-doc.
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.
Blog: https://okkmkblog.wordpress.com/
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.
Blog: https://okkmkblog.wordpress.com/
- adrianinsaval
- Veteran
- Posts: 5551
- Joined: Thu Apr 05, 2018 5:15 pm
Re: problem installing 0.20 appimage
this issue was mostly present in rolling release distros (like archlinux) because it was the new version of the drivers from the distro that was incompatible with the appimage. The warning in github was discussed recently and it was menat to be removed, however it seems looo missed some of it and it's still there: https://forum.freecadweb.org/viewtopic. ... 81#p542081
- adrianinsaval
- Veteran
- Posts: 5551
- Joined: Thu Apr 05, 2018 5:15 pm
Re: problem installing 0.20 appimage
A quick googling indicates this might be a bug in Qt so maybe it will only be solved once that is updated but don't take my word for it, I don't know what I'm talking about herebambuko wrote: ↑Wed Oct 27, 2021 7:33 amand the message is:Code: Select all
./FreeCAD_0.20/FreeCAD_weekly-builds-26202-Linux-Conda_glibc2.12-x86_64.AppImage
Code: Select all
####Configure################################################################################################ nouveau: kernel rejected pushbuf: No such file or directory nouveau: ch5: krec 0 pushes 0 bufs 1 relocs 0 nouveau: ch5: buf 00000000 00000002 00000004 00000004 00000000 freecad: ../nouveau/pushbuf.c:723: nouveau_pushbuf_data: Assertion `kref' failed. /tmp/.mount_FreeCAQWLk1X/AppRun: line 41: 11259 Aborted ${MAIN} "$@"
As a workaraound, if it's possible for you, you could install the propietary nvidia driver and then it might run. Or you can try the daily ppa version, I think elementaryOS is an Ubuntu derivative?
Re: problem installing 0.20 appimage
Thank you guys !
Yes elementary is ubuntu based.
I have also started looking at nvidia drivers updating, because it seemed likely cause?
I will try it tomorrow and report back.
As for unpacking appimage - managed to follow instructions OK, but got stuck trying to put it back together...
I am at bleeding edge of my incompetence
What is puzzling (at least to me) is why do I have problems with 0.19 and 0.20 but not at all with link branch appimage??
Yes elementary is ubuntu based.
I have also started looking at nvidia drivers updating, because it seemed likely cause?
I will try it tomorrow and report back.
As for unpacking appimage - managed to follow instructions OK, but got stuck trying to put it back together...
I am at bleeding edge of my incompetence
What is puzzling (at least to me) is why do I have problems with 0.19 and 0.20 but not at all with link branch appimage??
Re: problem installing 0.20 appimage
Probably due to some slightly different use of graphics.
lnkstage (realthunder branch) has a slightly different graphics routines, so maybe it don't use some features of graphics, or in AppImage there are some library that don't conflicts or use some features that cause the crashing.
In a complex program like FreeCAD, there are many level of libraries, maybe is something related to Qt, or Coin3D and in this case even a slightly older library (in term of version) could cause or not a problem.
Same as reverse, maybe an older library will cause problem a newer one not.
Speaking of different OS is another thing, but you could consider Linux as a ecosystem with slightly different incarnation, like some "dog or cats race" a Basset Hound is a dog, but also a "German Sheperd", but they are differents dogs.
In Linux you have to cope with different levels Kernel, Graphics Driver, X-Windows System (or some different incarnation that some distribution will use), graphics library (like Qt), application. (I'm surely missing something but only to illustrate things).
In each of this level could reside the problem, (generally speaking), even in Windows or OSX where things are most "stable" in term of drivers, different hardware could create problems, as maybe some hardware use a "piece of code" some other another "piece of code" as there is no "universal driver" for different hardware.
The good things in Linux and Open Source is that is easy to find help and maybe obtain a patched library or a workaround as usually programmers are also users, so there are chances that your problem is another person problem, so maybe he has solved the problem in advance and you will find solution, plus, it is more easy to ask the "code creator" to investigate the problem, without having the classic answer "Have you tried to reinstall ...."
Sorry for the OT.
Regards
Carlo D.
lnkstage (realthunder branch) has a slightly different graphics routines, so maybe it don't use some features of graphics, or in AppImage there are some library that don't conflicts or use some features that cause the crashing.
In a complex program like FreeCAD, there are many level of libraries, maybe is something related to Qt, or Coin3D and in this case even a slightly older library (in term of version) could cause or not a problem.
Same as reverse, maybe an older library will cause problem a newer one not.
Speaking of different OS is another thing, but you could consider Linux as a ecosystem with slightly different incarnation, like some "dog or cats race" a Basset Hound is a dog, but also a "German Sheperd", but they are differents dogs.
In Linux you have to cope with different levels Kernel, Graphics Driver, X-Windows System (or some different incarnation that some distribution will use), graphics library (like Qt), application. (I'm surely missing something but only to illustrate things).
In each of this level could reside the problem, (generally speaking), even in Windows or OSX where things are most "stable" in term of drivers, different hardware could create problems, as maybe some hardware use a "piece of code" some other another "piece of code" as there is no "universal driver" for different hardware.
The good things in Linux and Open Source is that is easy to find help and maybe obtain a patched library or a workaround as usually programmers are also users, so there are chances that your problem is another person problem, so maybe he has solved the problem in advance and you will find solution, plus, it is more easy to ask the "code creator" to investigate the problem, without having the classic answer "Have you tried to reinstall ...."
Sorry for the OT.
Regards
Carlo D.
GitHub page: https://github.com/onekk/freecad-doc.
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.
Blog: https://okkmkblog.wordpress.com/
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.
Blog: https://okkmkblog.wordpress.com/