How to build nVidia 96.x drivers with Slackware current on very old laptop?
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.
Distribution: Slackware 14.2 soon to be Slackware 15
Posts: 699
Rep:
How to build nVidia 96.x drivers with Slackware current on very old laptop?
I loaded up slackware current on an old Toshiba Satellite laptop. It has a GeForce 420 MX aka 420 go video chipset. Is there any (easy-ish) way to get the old nVidia 96.x driver set to compile with the kernel shipping with Slackware current? Or is it just to old and I might as well stick with the nouvea driver?
ERROR: The kernel header file '/lib/modules/5.4.80-smp/build/include/linux/version.h' does not exist. The most likely reason for this is that the kernel source files in '/lib/modules/5.4.80-smp/build' have not been configured.
I saw this a few years ago when the kernel architecture changed such that these old drivers would no longer compile.
I loaded up slackware current on an old Toshiba Satellite laptop. It has a GeForce 420 MX aka 420 go video chipset. Is there any (easy-ish) way to get the old nVidia 96.x driver set to compile with the kernel shipping with Slackware current? Or is it just to old and I might as well stick with the nouvea driver?
ERROR: The kernel header file '/lib/modules/5.4.80-smp/build/include/linux/version.h' does not exist. The most likely reason for this is that the kernel source files in '/lib/modules/5.4.80-smp/build' have not been configured.
I saw this a few years ago when the kernel architecture changed such that these old drivers would no longer compile.
You have no ways to use The Blob in versions 96.43.x with the slackware-current, because it is not compatible with both the kernel and Xorg.
The single alternative is to use Nouveau, as was said already. OR, an older release of Slackware, more appropriate of their venerable age.
As disappointing as it looks, seems the NVidia graphics cards ages very ugly, and when they are out of NVidia support via The Blob, basically they are useless.
Last edited by LuckyCyborg; 12-01-2020 at 04:02 AM.
Distribution: Slackware 14.2 soon to be Slackware 15
Posts: 699
Original Poster
Rep:
Quote:
Originally Posted by LuckyCyborg
You have no ways to use The Blob in versions 96.43.x with the slackware-current, because it is not compatible with both the kernel and Xorg.
The single alternative is to use Nouveau, as was said already. OR, an older release of Slackware, more appropriate of their venerable age.
As disappointing as it looks, seems the NVidia graphics cards ages very ugly, and when they are out of NVidia support via The Blob, basically they are useless.
I'm not opposed to using an older version of Slackware. I was rather found of Slackware 9x and IIRC it still had KDE 3.x (I very much disliked KDE4+). Maybe I'll just move back to that old version.
Come to think of it, there anything the proprietary driver will do that the Nouveau won't, given that all I do with this is watch videos and just tinker? I'm wondering if there is any benefit to using an older version of Slackware with the proprietary drivers?
It has a Celeron 32 bit single core cpu, 512M memory. Running xfce and watching a video with mplayer uses about 75% of available ram, it doesn't even hit the swap file. It's perfect for something like this.
I'm not opposed to using an older version of Slackware. I was rather found of Slackware 9x and IIRC it still had KDE 3.x (I very much disliked KDE4+). Maybe I'll just move back to that old version.
Come to think of it, there anything the proprietary driver will do that the Nouveau won't, given that all I do with this is watch videos and just tinker? I'm wondering if there is any benefit to using an older version of Slackware with the proprietary drivers?
It has a Celeron 32 bit single core cpu, 512M memory. Running xfce and watching a video with mplayer uses about 75% of available ram, it doesn't even hit the swap file. It's perfect for something like this.
Well, regarding with the ability to run The Blob 96.43.x, you do not need to go that far in the past - like the Slackware 9.x, however if you are are a KDE3 true fan, probably you will love the stellar release of Slackware 12.2 ...
Still, at a quick look into slackbuilds.org, they have packages for this particular 96.43.23 blob (which is the last one) up to Slackware 14.1 which release is still maintained (with security patches) by Mr. Volkerding and no EOL date is announced yet.
In other hand, I doubt that Nouveau has similar performances with The Blob, even for a historical GeForce 4 graphics card. So, most probably you will get better performances with The Blob.
Also, the older releases of Slackware (and any other distro) tends to have lighter hardware requirements, then using one of them, you may have a better usage of your limited resources.
However, an older release may also have an older MPlayer with no support for codecs used today. And this apply to any other package for them.
My suggestion is that IF you have spare space in the hard drive, to install and experiment the wanted release in a separate partition. Literally seeing how they work in your box, you may chose which one is more appropriate to your needs.
Last edited by LuckyCyborg; 12-01-2020 at 12:16 PM.
Distribution: Slackware 14.2 soon to be Slackware 15
Posts: 699
Original Poster
Rep:
tyvm for all that. So if I understand correctly, the 96.x nVidia driver will compile under Slackware 14.1, or more specifically with the kernel that ships with Slackware 14.1?
tyvm for all that. So if I understand correctly, the 96.x nVidia driver will compile under Slackware 14.1, or more specifically with the kernel that ships with Slackware 14.1?
Yes. More specifically, looks like the 96.x NVidia kernel driver would compile with the kernels shipped by Slackware 14.1 and the user space driver (from the same series) would work with the particular X.org stack from Slackware 14.1.
To work properly, your NVidia driver should be compatible with both the kernel and the X.org stack - isn't only about kernels.
Anyways, you will need those two packages from SBo:
But if I run glxgears, it gives an error on extension GLX missing. I'm not sure if it's using the proprietary driver or not.
Edit: I got rid of xorg.conf as it didn't seem to doing anything, and that actually fixed a mouse problem. Still not sure it's actually using the proprietary driver...
But if I run glxgears, it gives an error on extension GLX missing. I'm not sure if it's using the proprietary driver or not.
Edit: I got rid of xorg.conf as it didn't seem to doing anything, and that actually fixed a mouse problem. Still not sure it's actually using the proprietary driver...
Distribution: Slackware 14.2 soon to be Slackware 15
Posts: 699
Original Poster
Rep:
I did indeed. So a happy solution seems to be to go back to Slackware 13.37. This version gets along well with this laptop, the native nvidia driver from nvidia installs just fine, and glxgears works. I rather liked that particular version, it was 1337 after all .
HOWEVER -
(EE) NVIDIA(0): Failed to allocate/map the primary surface!
Fatal server error:
AddScreen/ScreenInit failed for driver 0
Hmm not sure about this - this worked many years ago....gotta look into this further. I've seen this before but it's been so long I don't remember what I did to make it work.
I did indeed. So a happy solution seems to be to go back to Slackware 13.37. This version gets along well with this laptop, the native nvidia driver from nvidia installs just fine, and glxgears works. I rather liked that particular version, it was 1337 after all .
HOWEVER -
(EE) NVIDIA(0): Failed to allocate/map the primary surface!
Fatal server error:
AddScreen/ScreenInit failed for driver 0
Hmm not sure about this - this worked many years ago....gotta look into this further. I've seen this before but it's been so long I don't remember what I did to make it work.
I actually found that, and while it allows the x server to start, it shows a blank screen. No errors in the console, just a blank screen. If I use x11vnc to connect to the session, it shows just fine and works fine - remotely. But the laptop screen is blank. Still looking into this, there is some sort of edib setting or something like that. Dang... memory - it's the second thing to go as we get older....
Come to think of it, there anything the proprietary driver will do that the Nouveau won't, given that all I do with this is watch videos and just tinker? I'm wondering if there is any benefit to using an older version of Slackware with the proprietary drivers?
I would say no given that your use is no different from mine. I've only used the Nouveau driver on my nvidia machine (NVIDIA NVS 3100M) and it's always worked perfectly.
I don't know why your futzing with the proprietary driver and older versions of Slackware.
If by some odd chance nouveau doesn't work the non-kernel mode setting Xorg nv driver might also be an option, depending on your card.
Distribution: Slackware 14.2 soon to be Slackware 15
Posts: 699
Original Poster
Rep:
Well, I got this hair up my butt about using the proprietary driver. Many years ago, it worked, and it annoys my OCD horribly when I can't get something to work. I finally gave up. Installed slacware-current. Nouveau driver works great. Life is good again.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.