LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-01-2015, 05:19 PM   #1
Gerard Lally
Senior Member
 
Registered: Sep 2009
Location: Leinster, IE
Distribution: Slackware, NetBSD
Posts: 2,181

Rep: Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763
Slackware current updates and nvidia driver


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?
 
Old 09-01-2015, 06:04 PM   #2
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,376

Rep: Reputation: 2756Reputation: 2756Reputation: 2756Reputation: 2756Reputation: 2756Reputation: 2756Reputation: 2756Reputation: 2756Reputation: 2756Reputation: 2756Reputation: 2756
For me, just reinstalling the driver after an X or kernel update is all that has been necessary, with no need to uninstall.
 
1 members found this post helpful.
Old 09-01-2015, 06:30 PM   #3
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
I usually rebuild the SBo package for my card series, revert the driver, and then reinstall the package. I don't use Nvidia's installer.
 
1 members found this post helpful.
Old 09-01-2015, 06:42 PM   #4
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,125

Rep: Reputation: 7297Reputation: 7297Reputation: 7297Reputation: 7297Reputation: 7297Reputation: 7297Reputation: 7297Reputation: 7297Reputation: 7297Reputation: 7297Reputation: 7297
Quote:
Originally Posted by gezley View Post
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 View Post
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.
 
1 members found this post helpful.
Old 09-01-2015, 07:21 PM   #5
Gerard Lally
Senior Member
 
Registered: Sep 2009
Location: Leinster, IE
Distribution: Slackware, NetBSD
Posts: 2,181

Original Poster
Rep: Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763
Quote:
Originally Posted by allend View Post
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.

All's well that ends well. Thanks.
 
Old 09-01-2015, 07:27 PM   #6
Gerard Lally
Senior Member
 
Registered: Sep 2009
Location: Leinster, IE
Distribution: Slackware, NetBSD
Posts: 2,181

Original Poster
Rep: Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763
Quote:
Originally Posted by cwizardone View Post
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.
 
Old 09-01-2015, 07:34 PM   #7
chris.willing
Member
 
Registered: Jun 2014
Location: Brisbane, Australia
Distribution: Slackware,LFS
Posts: 917

Rep: Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619
Quote:
Originally Posted by cwizardone View Post
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.

chris
 
1 members found this post helpful.
Old 09-01-2015, 09:27 PM   #8
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,125

Rep: Reputation: 7297Reputation: 7297Reputation: 7297Reputation: 7297Reputation: 7297Reputation: 7297Reputation: 7297Reputation: 7297Reputation: 7297Reputation: 7297Reputation: 7297
Quote:
Originally Posted by chris.willing View Post
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.

chris
Even better!

Thanks for the tip!
 
Old 09-01-2015, 09:33 PM   #9
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,125

Rep: Reputation: 7297Reputation: 7297Reputation: 7297Reputation: 7297Reputation: 7297Reputation: 7297Reputation: 7297Reputation: 7297Reputation: 7297Reputation: 7297Reputation: 7297
Quote:
Originally Posted by gezley View Post
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.
 
Old 09-02-2015, 02:13 AM   #10
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,670

Rep: Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786
NVidia has updated some of their legacy drivers and it works with Linux 4.1+
 
2 members found this post helpful.
Old 09-03-2015, 03:31 PM   #11
polaris96
Member
 
Registered: Jan 2015
Distribution: Slackware, LFS, OpenIndiana, debian wheezy
Posts: 55

Rep: Reputation: Disabled
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?
 
Old 09-03-2015, 03:38 PM   #12
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,125

Rep: Reputation: 7297Reputation: 7297Reputation: 7297Reputation: 7297Reputation: 7297Reputation: 7297Reputation: 7297Reputation: 7297Reputation: 7297Reputation: 7297Reputation: 7297
Quote:
Originally Posted by polaris96 View Post
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.

What version of the NVidia driver did you try?
 
Old 09-03-2015, 04:40 PM   #13
Gerard Lally
Senior Member
 
Registered: Sep 2009
Location: Leinster, IE
Distribution: Slackware, NetBSD
Posts: 2,181

Original Poster
Rep: Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763
Quote:
Originally Posted by cwizardone View Post
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
64-current updates == X11 tearing, corruption, brutal lag, NVIDIA warnings GrapefruiTgirl Slackware 14 12-11-2010 09:09 PM
[SOLVED] -current updates Mesa/Xorg + Legacy nVidia + X -configure = Problems linus72 Slackware 5 11-23-2010 01:38 AM
nano How-To for using X with nVidia GPUs on slackware-current after March 1 updates Didier Spaier Slackware 38 04-06-2010 11:37 AM
nvidia driver 'missing' after ~current and running sh NVIDIA soylentgreen Slackware 13 03-26-2007 09:17 PM
Slackware current updates today! neo Slackware 2 04-22-2005 05:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration