OpenGL rendering issue since slackware -current update
SlackwareThis Forum is for the discussion of Slackware Linux.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I can start x (after I installed the drivers from the nvidia website), I just can't run opengl applications. I'm not sure what put stuff in /usr/local, the only things I did were install the nvidia stuff from slackbuilds however after removing all those packages, the command above is still giving the same output.
Here is the ls listing. Unfortunately the date doesn't help as I've been trying quite a lot over the past few days to get it working!
Having removed all the packages and re-installed nvidia driver, freeglut and mesa, it seems that glxgears in no longer installed!?
find / -name "glxgears" returns nothing. Same for glxinfo.
When I try to run an openGL app that I wrote a while back, I get the following:
freeglut (./wave3d): ERROR: Internal error <FBConfig with necessary capabilities not found> in function fgOpenWindow
X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 4 (X_DestroyWindow)
Resource id in failed request: 0x0
Serial number of failed request: 24
Current serial number in output stream: 27
^ should mention, I build and installed all the mesa stuff from source, direct from the mesa website.
Which might explain why you have a libGL.so.2 file that I do not have, and why there is no '/var/log/packages/mesa-7.9-i486-2'in the output of "grep -l 'libGL.so' /var/log/packages/*".
Perhaps you should try the stock Slackware mesa build, or else adapt the Slackbuild script to your requirements.
Once you go off the Slackware tree, I get out of my depth with helping you.
Think I may have eventually sorted this!! I deleted everything "GL/gl" related out of /usr/local/lib, then installed mesa from the package and then re-installed the NVIDIA drivers from the website. Now I can run both glxinfo and glxgears.
Performance isn't great still, but then again neither is the graphics card. I'm not playing high-end games, I just want it for basic opengl programming.
1111 frames in 5.0 seconds = 222.118 FPS
372 frames in 5.0 seconds = 74.374 FPS
373 frames in 5.0 seconds = 74.480 FPS
372 frames in 5.0 seconds = 74.386 FPS
372 frames in 5.0 seconds = 74.330 FPS
373 frames in 5.0 seconds = 74.490 FPS
372 frames in 5.0 seconds = 74.359 FPS
Thanks for all your help - it is certainly greatly appreciated.
One thing though, how can I be certain -current updates don't break this in the future? I assume it's one of the x server updates that has done it but I don't really want to have to be re-installing the drivers every time there is a new package on current!
As you are running -current, I suggest that you update your mesa package to mesa 7.9 from the -current tree.
If there is an upgrade of X in -current, or a kernel update, then you need to reinstall the nVidia proprietary driver.
Other updates should not affect this.