SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
maybe not the right forum to ask this but every once-in-a-while, after a 'slackpkg-upgrade-all', a few other packages stops working.
I know, i am using the 'current' version which is under continuous development and libraries change with certain risks.
This time it's the turn of FreeCAD. When launched from application menu,the splash screen starts, it seems to lad but then it disappear and nothing else happens.
When I launch the appimage from console, i get this error:
I know that slackware doesn't support appimages however, it has always worked so far (similarly to other appimage packages that I use regularly, and still do).
To run FreeCAD you will need working hardware accelerated OpenGL.
The error messages seem to indicate that you are using the nouveau driver which is the opensource driver for nVidia cards. However, it complains about missing symbols which seem to be for an AMD GPU.
What kind of GPU do you have? Which driver are you trying to use with that GPU?
To run FreeCAD you will need working hardware accelerated OpenGL.
The error messages seem to indicate that you are using the nouveau driver which is the opensource driver for nVidia cards. However, it complains about missing symbols which seem to be for an AMD GPU.
What kind of GPU do you have? Which driver are you trying to use with that GPU?
regards Henrik
Thank you for your input.
Sadly, I have been blessed with those nouveau driver for decades (since installing the native NVIDIA drivers it's literally impossible on my system) however, to be honest, it has never been a major issues in fact, as I said in the OP, FreeCAD (and almost any other heavy-graphic demanding packages I have used, including Blender up until the last 'slackpkg upgrade-all') had been working fine for years.
This gets my suspicions semi-confirmed as I remember MESA being one of the packages being upgraded during the last 'slackpkg upgrade-all'. (since the last MESA upgrade, coincidentally, i 'lost' blender too)
So, I suppose the solution to this is to wait until they (MESA developers) receive enough bug-reports and fix the issue at the (somehow) next upgrade.
I had the same problem with the same FreeCAD AppImage, downgrading to mesa-23.3.4-x86_64-1.txz solved the problem.
Thank you.
Would you be so kind to share the mesa-23.3.4-x86_64-1.txz file?
I have found the source code on mesa website but I can't find the slackbuild anywhere; and, of course, couldn't find it on the web either.
Thanks
p.s.: I tried to do it the old way <unpack && make && make install> but it seems that the old conventional way of compiling && installing a package is disappearing on linux.
I've faced the same problem. Found another way without downgrading mesa:
LD_PRELOAD=/usr/lib64/libdrm_amdgpu.so.1 ./FreeCAD-0.21.2-Linux-x86_64.AppImage
Would you be so kind to explain what to do with such fairy complex command line?
If I run it on konsole it starts FreeCAD so,I guess it should be the permanent Application Menu command to start FreeCAD? What will happen at the next upgrade of either MESA or FreeCAD?
Would you be so kind to explain what to do with such fairy complex command line?
If I run it on konsole it starts FreeCAD so,I guess it should be the permanent Application Menu command to start FreeCAD?
Sure, some steps must be done to fill yourself comfortable. (i) make a symlink to the AppImage. It shortens you input and makes it independent from future FreeCAD updates. (ii) If you prefer console, make a bash alias in your .profile/.bashrc file, i.e. alias freecad="LD_PRELOAD=/usr/lib64/libdrm_amdgpu.so /usr/bin/FreeCAD" (Here /usr/bin/FreeCAD is my symlink to the current FreeCAD image). If you use come XWindow Desktop Environment, you may edit the proper .desktop file, namely, the Exec line, i.e. change "Exec=freecad %F" to "Exec=env LD_PRELOAD=/usr/lib64/libdrm_amdgpu.so freecad %F".
Quote:
Originally Posted by however
What will happen at the next upgrade of either MESA or FreeCAD?
On either upgrade you have to check (i) if you still need this workaround, (ii) keep symlinks consistent with new filenames.
Is it the issue with 'current' that justifies all these broken 'pipes'? or just me/my anomalous system?
after solving/overcoming the MESA issues with the script and, after a random 'slackpkg update/upgrade-all', FreeCAD won't launch again, even through the script
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.