LinuxQuestions.org
Review your favorite Linux distribution.
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 01-18-2020, 12:46 AM   #1
inukaze
Member
 
Registered: Feb 2011
Location: Venezuela - Caracas
Distribution: Slackware64 14.2, Slackware 14.2, Gentoo, Devuan, gNewSense, GoboLinux, Leeenux, Porteus
Posts: 271

Rep: Reputation: 26
Question Slackware(64) 14.2 & Nvidia Drivers 304.137


Hi there again, well, ever i upgrade packages, betweens them, normally upgrade the kernel, the problem its when are upgraded, ever broken my nvidia drivers.

Well i need to know which is the latest version of kernel support the drivers Nvidia 304.137 (for 32 & 64 Bits, because i have two partitions for each slackware one for 64 Bits and the another for 32 Bits)

And apart of that, how i can block permanetly the upgrade of the kernel, for avoid that problems. because ever i want use Slackware i can't because the upgrade has broken the nvidia drivers.

GPU : Nvidia GeForce 6200 TurboCache(TM), 256MB, PCI-E

Thanks for any useful answer
 
Old 01-18-2020, 02:51 AM   #2
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,784

Rep: Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435
While I'd recommend never allowing automated upgrades, that's up to you. I just figure any work you save, you end up putting back, but that's just me. What I highly recommend in either case is making the default boot Runlevel 3, CLI. Have your nVidia drivers in a known directory, change to it and reinstall for new kernels. Takes 5 or 6 minutes for most.

Alternatively you could watch any activity LEDS and when you think you're at X Login or Desktop, try Ctrl-Alt-Backspace and/or Alt-F2 to see if you get visual at the terminal. The only problem with that is that there could be issues once the main driver already tried to load and failed that wouldn't possibly occur with the first method.
 
Old 01-18-2020, 07:17 AM   #3
vtel57
Senior Member
 
Registered: Jul 2006
Location: USA
Distribution: Slackware64 - 14.2 w/ Xfce
Posts: 1,631

Rep: Reputation: 489Reputation: 489Reputation: 489Reputation: 489Reputation: 489
> And apart of that, how i can block permanetly the upgrade of the kernel...

It is recommended that you DO NOT allow kernel upgrades automatically (Slackpkg, etc.). However, there are some who prefer it that way. As @enorbet states above... it's up to you.

To prevent future kernel upgrades, using your favorite text editor as Root edit the /etc/slackpkg/blacklist file like this:

Quote:
# This is a blacklist file. Any packages listed here won't be
# upgraded, removed, or installed by slackpkg.
#
# The correct syntax is:
#
# To blacklist the package xorg-server-1.6.3-x86_64-1 the line will be:
# xorg-server
#
# DON'T put any space(s) before or after the package name or regexp.
# If you do this, the blacklist will NOT work.

#
# Automated upgrade of kernel packages aren't a good idea (and you need to
# run "lilo" after upgrade). If you think the same, uncomment the lines
# below
#

kernel-firmware
kernel-generic
kernel-generic-smp
kernel-headers
kernel-huge
kernel-huge-smp
kernel-modules
kernel-modules-smp
kernel-source


#
# aaa_elflibs can't be updated.
#
aaa_elflibs

# You can blacklist using regular expressions.
#
# Don't use *full* regex here, because all of the following
# will be checked for the regex: series, name, version, arch,
# build and fullname.
#
# This one will blacklist all SBo packages:
#[0-9]+_SBo
#
# This will blacklist opensource nouveau drivers - running Nvidia proprietary

nouveau

# This will blacklist HP drivers - running directly downloaded version from HP

hplip
Note: "Uncomment" means to remove the # character from in front of the entry (see above in red).

Hope that answered your query.

Cheers!
 
2 members found this post helpful.
Old 01-18-2020, 07:57 AM   #4
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,372

Rep: Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750
I take an alternate position. If you are still running Slackware 14.2, then automatic kernel upgrades are a good idea. They are only upgraded to address non-trivial issues and should be installed as a matter of course.

I long ago gave up trying to support my old nVidia GPU with the proprietary nVidia 304.137 driver. The delays between a kernel version upgrade and a driver update became exceedingly long. The nouveau driver meets all my needs and does not require a re-compile on each kernel version update.
 
Old 01-18-2020, 08:56 AM   #5
vtel57
Senior Member
 
Registered: Jul 2006
Location: USA
Distribution: Slackware64 - 14.2 w/ Xfce
Posts: 1,631

Rep: Reputation: 489Reputation: 489Reputation: 489Reputation: 489Reputation: 489
Funny you should mention Nvidia and kernel upgrades. Recently, I attempted to manually upgrade from 4.4.14 to 4.4.208. The upgrade went OK. I could boot the system. However, I needed to "reinstall" my current version of Nvidia proprietary drivers. That didn't go too well. They would not compile with the new kernel. I cannot get my full resolution using Nouveau, unfortunately, so I had to revert to an rsnyc'd system backup and return to my 4.4.14 installation. That is where I currently am.

Poop happens.
 
Old 01-18-2020, 09:18 AM   #6
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,372

Rep: Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750
This forum is full of threads about the perils of installing proprietary nVidia drivers, then trying to switch back to the nouveau driver. @kingbeowulf has strived manfully nay, heroically, to provide SlackBuilds that make this a clean process.

Poop happens to those that shortcut the process.
 
1 members found this post helpful.
Old 01-18-2020, 09:45 AM   #7
vtel57
Senior Member
 
Registered: Jul 2006
Location: USA
Distribution: Slackware64 - 14.2 w/ Xfce
Posts: 1,631

Rep: Reputation: 489Reputation: 489Reputation: 489Reputation: 489Reputation: 489
> Poop happens to those that shortcut the process.

And thank you for pointing this out.
 
Old 01-18-2020, 10:05 AM   #8
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,372

Rep: Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750
Touche.
 
Old 01-18-2020, 10:26 AM   #9
inukaze
Member
 
Registered: Feb 2011
Location: Venezuela - Caracas
Distribution: Slackware64 14.2, Slackware 14.2, Gentoo, Devuan, gNewSense, GoboLinux, Leeenux, Porteus
Posts: 271

Original Poster
Rep: Reputation: 26
Hi there, ok look, yestarday i had Linux 4.4.202, i manually ran

Code:
slpkg_upgrade
#Its a bash script writen by myself to update & upgrade packages from active repos

Code:
slackpkg update ; slackpkg upgrade
#With this things like glibc & kernel was upgrade and anothers packages i can't remember.

I ever had the statup in level 3, just when i log my personal user, this start the graphical session

The problems was :
1 - Nvidia driver broken
2 - Network connection broken [I don't idea why] (i am trying to fix it)
3 - If i login to my user, and reach graphical session, the keyboard & the mouse don't work

Well in this moment i am searching how fix the network connection, becuase without connect to internet i can't do much on any GNU/Linux distro xD.

I need the nvidia driver, becuase the Nouveau Driver, don't get the maximun performance i need, i ever use the GNU/Linux from Play Videogames (Since 2004) and well in few words in 3D games : nouveau fps = 15, nvidia fps = 75.

i had try to install nvidia drivers :
1 - From the official run file -> Never compile the Kernel Module

2 - Extracing the official run file and apply the mrtt patch and make a patched run file -> Never compile the Kernel Module

3 - From slpkg -> the packages are installed but the Kernel module "nvidia" don't exist

and because of this i make this thread. Ok i am going to try to install the kernel 4.14 came with slackware or the latest i remember works fine with this drivers was kernel huge 4.4.190. But i don't have that packages.

Last edited by inukaze; 01-18-2020 at 10:27 AM.
 
Old 01-18-2020, 10:28 AM   #10
mats_b_tegner
Member
 
Registered: Nov 2009
Location: Gothenburg, Sweden
Distribution: Slackware
Posts: 946

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
nVidia legacy driver series 304.xxx is no longer supported or maintained by nVidia since the end of 2017, so I don't know if the driver or kernel modules will build on recent 4.4.y kernels.
https://nvidia.custhelp.com/app/answ...y-gpu-releases

Last edited by mats_b_tegner; 01-18-2020 at 11:15 AM.
 
Old 01-18-2020, 01:03 PM   #11
vtel57
Senior Member
 
Registered: Jul 2006
Location: USA
Distribution: Slackware64 - 14.2 w/ Xfce
Posts: 1,631

Rep: Reputation: 489Reputation: 489Reputation: 489Reputation: 489Reputation: 489
@inukaze

Nvidia v390.87 does build on 4.4.14 for me.

You can find that kernel HERE. You'll have to compile yourself. Be sure to read the README docs.

Of course, you may be able to get the 4.4.14 kernel, headers, modules, and source off of the 14.2 ISO if you have one.

Luck!
 
Old 01-21-2020, 11:42 PM   #12
inukaze
Member
 
Registered: Feb 2011
Location: Venezuela - Caracas
Distribution: Slackware64 14.2, Slackware 14.2, Gentoo, Devuan, gNewSense, GoboLinux, Leeenux, Porteus
Posts: 271

Original Poster
Rep: Reputation: 26
Quote:
Originally Posted by vtel57 View Post
@inukaze

Nvidia v390.87 does build on 4.4.14 for me.

You can find that kernel HERE. You'll have to compile yourself. Be sure to read the README docs.

Of course, you may be able to get the 4.4.14 kernel, headers, modules, and source off of the 14.2 ISO if you have one.

Luck!
Nvidia GeForce 6200 TurboCache its not supported by that version of nvidia drivers.
well i had solved returning to kernel 4.4.14

Screenshot -> https://i.postimg.cc/ZqqSy65r/Slack64-nvidia304-137.png

i had found precompiled packages of kernel 4.4 here -> http://slackware.cs.utah.edu/pub/sla...slackware64/a/

but the kernel source i had download from here -> http://slackware.cs.utah.edu/pub/sla...4-noarch-1.txz

Last edited by inukaze; 01-22-2020 at 01:38 AM.
 
2 members found this post helpful.
Old 02-01-2020, 07:40 AM   #13
mlangdn
Senior Member
 
Registered: Mar 2005
Location: Kentucky
Distribution: Slackware64-current
Posts: 1,845

Rep: Reputation: 452Reputation: 452Reputation: 452Reputation: 452Reputation: 452
Mine is the nforce 630M / GeForce 7150M. I blew away Vista on an old HP Pavillion Laptop and installed 14.2, then upgraded. The 4.4.208 kernel would not build with with any version of nvidia. I went back to 4.4.14 using your links. Problem solved. Thanks for that!

I only use the Laptop in the early morning for Netflix while the wife is still asleep. I'll go outside when it gets warmer!
 
Old 02-01-2020, 09:24 AM   #14
vtel57
Senior Member
 
Registered: Jul 2006
Location: USA
Distribution: Slackware64 - 14.2 w/ Xfce
Posts: 1,631

Rep: Reputation: 489Reputation: 489Reputation: 489Reputation: 489Reputation: 489
Quote:
Originally Posted by mlangdn View Post
Problem solved. Thanks for that!

Good for you, pal!


Haven't seen you at Scot's in a while. Did we chase you away with our inane banter?
 
Old 02-01-2020, 03:24 PM   #15
mlangdn
Senior Member
 
Registered: Mar 2005
Location: Kentucky
Distribution: Slackware64-current
Posts: 1,845

Rep: Reputation: 452Reputation: 452Reputation: 452Reputation: 452Reputation: 452
Nah - being retired has made me more in demand for family stuff. Moved two daughters recently, made repairs on a brother's home, volunteered at the Church.......Babysat sick grandkids, taken to doctors........I think I'm gonna go back to work.....
 
  


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
[SOLVED] Nvidia legacy driver 304.137 and current 4.14.xx kernels camorri Slackware 10 01-07-2021 06:00 AM
x86-4.4.172 Kernel and niVidia 304.137-x86 driver slakdrax Slackware 10 04-08-2019 06:51 PM
[SOLVED] Segfault in libnvidia-tls.so.304.137 igadoter Slackware 2 03-24-2018 09:02 AM
LXer: Nvidia 304.51 drivers released LXer Syndicated Linux News 0 09-26-2012 09:50 AM

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

All times are GMT -5. The time now is 04:33 PM.

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