[SOLVED] FreeCAD - The system does not support OpenGL
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.
I've just built FreeCAD using sbopkg. It appeared to build successfully, but when I run it I get the message "This system does not support OpenGL". When I initially built FreeCAD back in January, it worked. After re-building, it does not. OpenGL is an open graphics library. Does anyone have an idea why OPenGL would suddenly not be supported?
Did you compile all the dependencies? I just looked at the Slackbuild because you're not offering any details at all as to what else you may have tried, if anything. I must quit assuming, sorry it didn't help. Good luck.
I've just built FreeCAD using sbopkg. It appeared to build successfully, but when I run it I get the message "This system does not support OpenGL". When I initially built FreeCAD back in January, it worked. After re-building, it does not. OpenGL is an open graphics library. Does anyone have an idea why OPenGL would suddenly not be supported?
It's supported. Your system is broken, as you should have figured out when the glxinfo command failed to return any information.
Did you compile all the dependencies? I just looked at the Slackbuild because you're not offering any details at all as to what else you may have tried, if anything. I must quit assuming, sorry it didn't help. Good luck.
I built FreeCAD using sbopkg and selecting the Queue. I created the queue using `sqg -p FreeCAD` which creates the dependency queue. If a dependency is missing or not able to be built, sbopkg will stop and ask if you want to continue, retry or abort. I had no such problems and the final sbopkg output said "SUCCESS".
Quote:
Originally Posted by Richard Cranium
It's supported. Your system is broken, as you should have figured out when the glxinfo command failed to return any information.
Sorry, but glxinfo is pretty meaningless to me and it is not obvious to me from the glxinfo output that my "system is broken". In what way is it broken? Do you have an idea? Is there something I need to [re]install? the KDE desktop and all other tools including image viewers, LibreOffice ... work fine.
Quote:
Originally Posted by bassmadrigal
Do you have an xorg.conf file or any overrides in /etc/X11/xorg.conf.d/?
Do you have any errors in your /var/log/Xorg.0.log?
This is a new scratch build. There are no customizations I've done. There is nothing in /etc/X11/xorg.conf.d. The following are errors I found in Xorg.0.log:
Code:
$ grep -i error /var/log/Xorg.0.log
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 12.514] (EE) AIGLX error: dlopen of /usr/lib64/xorg/modules/dri/r600_dri.so failed (libedit.so.0: cannot open shared object file: No such file or directory)
[ 12.515] (EE) AIGLX error: dlopen of /usr/lib64/xorg/modules/dri/swrast_dri.so failed (libedit.so.0: cannot open shared object file: No such file or directory)
Code:
$ egrep '\((EE|WW|NI)\)' /var/log/Xorg.0.log
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 12.321] (WW) The directory "/usr/share/fonts/local" does not exist.
[ 12.321] (WW) The directory "/usr/share/fonts/CID" does not exist.
[ 12.396] (WW) Warning, couldn't open module fbdev
[ 12.396] (EE) Failed to load module "fbdev" (module does not exist, 0)
[ 12.404] (WW) Falling back to old probe method for modesetting
[ 12.404] (WW) Falling back to old probe method for vesa
[ 12.432] (EE) RADEON(0): glamor detected, failed to initialize EGL.
[ 12.514] (EE) AIGLX error: dlopen of /usr/lib64/xorg/modules/dri/r600_dri.so failed (libedit.so.0: cannot open shared object file: No such file or directory)
[ 12.514] (EE) AIGLX: reverting to software rendering
[ 12.515] (EE) AIGLX error: dlopen of /usr/lib64/xorg/modules/dri/swrast_dri.so failed (libedit.so.0: cannot open shared object file: No such file or directory)
[ 12.515] (EE) GLX: could not load software renderer
1. I use NVidia binary driver and often have the same empty glxinfo after an update of the mesa package. My solution is to reinstall nvidia binary driver. Do you have a special driver for your AMD card that you could reinstall?
2. Nonloading of r600_dri.so and swrast_dri.so due to missing libedit.so.0 might be fixed by installing SBo libraries/libedit SlackBuild. It generates libedit.so.0.
[ 12.514] (EE) AIGLX error: dlopen of /usr/lib64/xorg/modules/dri/r600_dri.so failed (libedit.so.0: cannot open shared object file: No such file or directory)
[ 12.514] (EE) AIGLX: reverting to software rendering
[ 12.515] (EE) AIGLX error: dlopen of /usr/lib64/xorg/modules/dri/swrast_dri.so failed (libedit.so.0: cannot open shared object file: No such file or directory)
[ 12.515] (EE) GLX: could not load software renderer
This seems to be the root of your problem, but I'm not understanding why those should be looking for libedit, since it isn't part of the official Slackware packages. What customizations have you made with your Slackware distro?
chris.willing's #2 might help in this situation, but I'd be more concerned on why it is trying to load libedit when it shouldn't be compiled against it...
Sorry, but glxinfo is pretty meaningless to me and it is not obvious to me from the glxinfo output that my "system is broken". In what way is it broken? Do you have an idea? Is there something I need to [re]install? the KDE desktop and all other tools including image viewers, LibreOffice ... work fine.
Yeah. Those tools aren't doing any 3D rendering, are they?
(I've broken my setup several times by being lazy and sloppy with the proprietary NVIDIA driver installs.)
GLX (initialism for "OpenGL Extension to the X Window System") is an extension to the X Window System core protocol providing an interface between OpenGL and the X Window System as well as extensions to OpenGL itself. It enables programs wishing to use OpenGL to do so within a window provided by the X Window System. GLX distinguishes two "states": indirect state and direct state.
So, if glxinfo doesn't say anything, then your ability to run something using OpenGL is limited to nonexistent.
I've normally run
Code:
ldd /usr/bin/glxinfo
to see if any shared libraries are missing. If that seems OK, I'll do the something similar with
Code:
ldd /usr/bin/glxgears
(which really should tell me the same thing).
If one of the shared libraries are missing, then I'll find which package has it and reinstall that package. Sometimes, I'll have to fix a bunch of symlinks to get things operational (but that's only because I've ignored the README that comes with the Slackbuild package for the NVIDIA drivers). You don't have that problem, but maybe you ran out of disk space during an upgrade or you tried to use the ATI drivers for your card.
Your /var/log/Xorg.0.log file may tell you that something is missing as well.
Nope, no customizations, no builds on other boxes, but yes FIXED! The Xorg.0.log error gave me a clue and chris.willing #2 is correct! libedit was not installed. I installed it from the official repo using `slackpkg install libedit`, rebooted and voila! FreeCAD now runs.
libedit is not listed as a dependency in the top-level SlackBuilds dependency list, nor in the sbopkg queuefile (meaning it's not listed as a dependency of sub-dependencies). Perhaps it should be.
Are you running current? If so, first, you really should have mentioned that, and second, you really should have already had libedit. This has shown up because you didn't do an update properly, and if you don't get that right, we'll all be here again in another couple of weeks chasing ghosts.
libedit is not listed as a dependency in the top-level SlackBuilds dependency list, nor in the sbopkg queuefile (meaning it's not listed as a dependency of sub-dependencies). Perhaps it should be.
*No*
It is absolutely NOT a dependency of FreeCAD. On -current only, it is a dep of Mesa via LLVM, and you didn't have it because your installation was incomplete.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.