[SOLVED] Slackware current updates and nvidia driver
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.
Until recently I have been using ATI video cards in my systems. I now have a NVIDIA GeForce 210 card and I have been using the driver provided by NVIDIA. Because NVIDIA replace standard X libraries with their own versions I have on occasion had to uninstall their driver while making certain changes to the system, otherwise some X libraries cannot be found.
The latest -current updates, of August 29th and 30th, include X-related updates. What do people do when these updates are available - uninstall the proprietary driver, do the slackpkg update routine and then re-install the binary driver?
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,125
Rep:
Quote:
Originally Posted by gezley
Until recently I have been using ATI video cards in my systems. I now have a NVIDIA GeForce....
One of the best things I ever did, in regards to running Linux, was to make the switch from ATi to NVidia. I started about four years ago with the 210 series, when none of the local stores had ATi based cards and I needed a video card immediately. In retrospect, I wish I had made the change years earlier. After about four years with the 210, I recently moved to the GT 730 series.
Quote:
Originally Posted by allend
For me, just reinstalling the driver after an X or kernel update is all that has been necessary, with no need to uninstall.
That should work, but it so easy to install the NVidia drivers I,
Quote:
sh NVIDIA-Linux-x86_64-whateverseriesname.run --uninstall
when there is a change of the kernel, xorg files and/or the multilib versions of glibc and gcc, and after the updates are complete, simply re-install the NVidia driver,
Quote:
sh NVIDIA-Linux-x86_64-whateverseriesname.run.
I can't imagine it getting any easier than that.
Last edited by cwizardone; 09-01-2015 at 09:23 PM.
Reason: Typo.
For me, just reinstalling the driver after an X or kernel update is all that has been necessary, with no need to uninstall.
OK that worked, more or less. Neglected to blacklist nouveau but that was easily solved.
The reason I asked was that the upgrade to kernel 4.1.6 meant I had to patch the NVIDIA installer last week, but I saved the driver and kernel packages (with thanks to Lenard and GazL for tips) so no need to patch it this time around.
One of the best things I ever did, in regards to running Linux, was to make the switch from ATi to NVidia. I started about four years ago with the 210 series, when none of the local stores had ATi based cards and I needed a video card immediately. In retrospect, I wish I had made the change years before. After about four years with the 210, I recently moved to the GT 730 series.
Thanks for the tip cwizardone. My own system is due a massive upgrade soon so I will have a look into that GT 730, although I also use NetBSD and NVIDIA is not yet well supported over there, so I'm considering one of those Intel graphics processors in the CPU instead.
That should work, but it so easy to install the NVidia drivers I,
Quote:
sh NVIDIA-Linux-x86_64-whateverseriesname.run --uninstall
when there is a change of the kernel, xorg files and/or the multilib versions of glibc and gcc, and after the updates are complete, simply re-install the NVidia driver,
Quote:
sh NVIDIA-Linux-x86_64-whateverseriesname.run.
I can't imagine it getting any easier than that.
To deal with kernel updates, even easier is to enable the dkms option when initially installing the nvidia driver (there's a dkms SlackBuild at SBo). In the event of a kernel update (not often in a stable release but often enough in -current) you can arrange for dkms to update (build & install) the nvidia driver module whenever a new kernel is booted. Of course a new nvidia driver version needs manual installation. That procedure offers to remove the previous installation for you - no need to manually uninstall it.
The only times I've had problems is when a mesa update overwrites something that the nvidia driver installation has done. In such cases, installing the nvidia driver again has solved the problem. As before, no uninstallation of broken driver needed - the nvidia installer offers to do that for you.
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,125
Rep:
Quote:
Originally Posted by chris.willing
To deal with kernel updates, even easier is to enable the dkms option when initially installing the nvidia driver (there's a dkms SlackBuild at SBo). In the event of a kernel update (not often in a stable release but often enough in -current) you can arrange for dkms to update (build & install) the nvidia driver module whenever a new kernel is booted. Of course a new nvidia driver version needs manual installation. That procedure offers to remove the previous installation for you - no need to manually uninstall it.
The only times I've had problems is when a mesa update overwrites something that the nvidia driver installation has done. In such cases, installing the nvidia driver again has solved the problem. As before, no uninstallation of broken driver needed - the nvidia installer offers to do that for you.
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,125
Rep:
Quote:
Originally Posted by gezley
Thanks for the tip cwizardone. My own system is due a massive upgrade soon so I will have a look into that GT 730, although I also use NetBSD and NVIDIA is not yet well supported over there, so I'm considering one of those Intel graphics processors in the CPU instead.
Interesting NetBSD would do that. OTOH, I know NVidia is well support by FreeBSD.
Actually, I was looking for the GT 740, but the GT 730 was all I could find locally. I'm going to have to get over my aversion to mail order.
Last edited by cwizardone; 09-06-2015 at 05:08 PM.
Good to hereabout the updates to legacy driver source! Proprietary drivers built great on my stock slack64 14.1 system. But they tanked on config under the 4.1.6 kernel
Code:
(E) Warnings Treated As Errors.
...Think the config script wasn't aware of kernel 4 but the code was too deep for the amount of time I had available to fiddle with it. Now, i'm back on nouveau in that system.
@willysr: which kernel are you running and when did you last build?
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,125
Rep:
Quote:
Originally Posted by polaris96
Good to hereabout the updates to legacy driver source! Proprietary drivers built great on my stock slack64 14.1 system. But they tanked on config under the 4.1.6 kernel...
I've had no problems building the NVidia drivers with the 4.1.6 kernel.
I've had no problems building the NVidia drivers with the 4.1.6 kernel.
What version of the NVidia driver did you try?
Speaking for myself, version 340.76 didn't work with my GeForce 210 when current went to kernel 4.1.6. Version 340.93, which has just been released, works fine.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.