-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crashes on Mesa >0.24 #270
Comments
I think that's a specific problem of the AppImage because it contains driver libs. I have seen the same with an AppImage for v0.17 or so. After unpacking and removing these libraries the problem was solved. |
Can you explain me how i could unpack the appimage and remove the libraries? |
https://docs.appimage.org/user-guide/run-appimages.html#id5 Alternatively, you can start the AppImage and then check its mount point which usually is a sub-directory in /tmp. Copy this directory somewhere else. The graphic drivers may have the term "dri" in their filenames. |
I extracted the appimage but i can't find anything in it's /usr/lib about /dri The error message shows me /usr/lib/dri/radeonsi_dri.so and swrast_dri.so but there isn't even a /dri directory that i can find |
Which exact AppImage have you downloaded? |
The problem was also reported in realthunder's branch and a solution/workaround posted, that I can confirm works for me. Apparently there are |
Fyi I think the fix is already and in the daily builds for some time. |
Just hit this with stable on fresh Ubuntu 24.04 with Mesa from git (through oibaf ppa), while dev build works fine on the same system:
|
should these be removed from the appimage that we ship or are these libraries that will be needed in some systems but be problematic on others? |
Simple rule for deploying on Linux: Never replace/bundle system libraries. You by default break Mesa by shipping certain libraries, that it works on some distros are just luck in regards to libstdc compat. Drop everything regarding GL and gcc. |
I can confirm that while the 0.21 AppImage was not working for me on Ubuntu 24.04, the latest weekly release works ( https://github.com/FreeCAD/FreeCAD-Bundle/releases/tag/weekly-builds Commenting mainly because I first overlooked this suggestion, so I thought this would highlight this workaround for users like me. It would still be great if there would a patch of the 0.21 release, as this seems to be affecting a number of users. |
Is there an existing issue for this?
Problem description
Appimages for FreeCAD crash on Linux with AMD cards running Mesa >0.24 and require Mesa downgrade to 23.5 to run.
Error produced is:
And this happens on all forks and versions. Whether it be the stable version, dev weekly build or the Ondsel fork.
Full version info
Can't provide that info as the application doesn't start.
Subproject(s) affected?
None
Anything else?
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: