LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   The Latest NVIDIA Linux Driver Release. (https://www.linuxquestions.org/questions/slackware-14/the-latest-nvidia-linux-driver-release-4175608923/)

3rensho 02-10-2022 03:26 AM

Quote:

Originally Posted by andrew.46 (Post 6327747)
Now the dust has settled and -current has restarted I can confirm the NVidia 510.47.03 is working fine with kernel 5.16.7 (my 'safe' kernel):

Code:

andrew@ilium~$ uname -r && nvidia-smi --query-gpu=driver_version --format=csv,noheader
5.16.7-ads
510.47.03
andrew@ilium~$


Works a treat with the 5.16.8 kernel too. Waiting for 5.16.9 to drop:)

chrisretusn 02-10-2022 05:20 AM

Quote:

Originally Posted by Lenard Spencer (Post 6318147)
Legacy version 390.147 also works with the 5.16 kernel.

And indeed is does. Running with 5.16.8 as I type.

Lenard Spencer 02-11-2022 10:51 PM

Quick update on the Nvidia drivers: 470.103.01 (soon to be tagged legacy470) no longer needs the patch for the 5.17 kernel.

cwizardone 02-12-2022 03:17 PM

Quote:

Originally Posted by Lenard Spencer (Post 6328556)
Quick update on the Nvidia drivers: 470.103.01 (soon to be tagged legacy470) no longer needs the patch for the 5.17 kernel.

Question comes to mind. Does that mean they changed the driver, but they didn't change the version number? :scratch:
Just curious.
:)

Lenard Spencer 02-12-2022 10:47 PM

Quote:

Originally Posted by cwizardone (Post 6328817)
Question comes to mind. Does that mean they changed the driver, but they didn't change the version number? :scratch:
Just curious.
:)

The 510 driver dropped support for Geforce 6xx/7xx GPUs. According to Nvidia, the 470 series is the last to suppport these GPUs and will continue to be supported until the end of 2024.

MDKDIO 02-13-2022 03:50 AM

Quote:

Originally Posted by Lenard Spencer (Post 6328918)
The 510 driver dropped support for Geforce 6xx/7xx GPUs. According to Nvidia, the 470 series is the last to suppport these GPUs and will continue to be supported until the end of 2024.

Depends on what 7xx series you have

Code:

510.47.03 (I'm using this for my 750 Ti)
GeForce 700 Series:
GeForce GTX 750 Ti, GeForce GTX 750, GeForce GTX 745

No 6xx series supported

Code:

470.103.01
GeForce 700 Series:
GeForce GTX 780 Ti, GeForce GTX 780, GeForce GTX 770, GeForce GTX 760, GeForce GTX 760 Ti (OEM), GeForce GTX 750 Ti, GeForce GTX 750, GeForce GTX 745, GeForce GT 740, GeForce GT 730, GeForce GT 720, GeForce GT 710

Code:

GeForce 600 Series:
GeForce GTX 690, GeForce GTX 680, GeForce GTX 670, GeForce GTX 660 Ti, GeForce GTX 660, GeForce GTX 650 Ti BOOST, GeForce GTX 650 Ti, GeForce GTX 650, GeForce GTX 645, GeForce GT 640, GeForce GT 635, GeForce GT 630

GeForce 600M Series (Notebooks):
GeForce GT 640M LE


jjmoore 02-13-2022 11:17 AM

Quote:

Originally Posted by Lenard Spencer (Post 6328918)
The 510 driver dropped support for Geforce 6xx/7xx GPUs. According to Nvidia, the 470 series is the last to suppport these GPUs and will continue to be supported until the end of 2024.

But that doesn't answer the question. You said,
Quote:

Originally Posted by Lenard Spencer (Post 6328556)
Quick update on the Nvidia drivers: 470.103.01 (soon to be tagged legacy470) no longer needs the patch for the 5.17 kernel.

"no longer needs the patch" would mean to me, a native English speaker, that the driver has been changed. If the driver has been changed shouldn't the version number be changed?

Lenard Spencer 02-13-2022 11:40 AM

Quote:

Originally Posted by jjmoore (Post 6329070)
But that doesn't answer the question. You said,


"no longer needs the patch" would mean to me, a native English speaker, that the driver has been changed. If the driver has been changed shouldn't the version number be changed?

From 470.94, yes it has. 470.94 and earlier need the patch. 470.103.01 does not.

cwizardone 02-14-2022 08:56 AM

Nvidia's "Latest Production Branch" Driver, Version: 510.54, has been released.

The "release highlights," a list of supported products and a download link can be found at, https://www.nvidia.com/Download/driv...x/186996/en-us


Installation instructions can be found under the heading, "Additional Information" at the above link. Under that same heading you can find detailed installation instructions by clicking on "README."

cwizardone 02-16-2022 05:37 PM

Quote:

The NVIDIA GeForce FX "NV30" graphics cards are nearly two decades old while via the open-source, community-driven Nouveau project even these old GPUs still see occasional Linux graphics driver improvements. Hitting Mesa 22.1-devel today is the most notable driver work we've seen in years for the open-source NV30 and NV40 (GeForce 6 / 7 series) graphics cards..........
The full story can be found here, https://www.phoronix.com/scan.php?pa...-NV30-NV40-NIR

JayByrd 02-16-2022 07:05 PM

This is interesting, cwiz. I had assumed that the nouveau developers would have long since moved on from improvements for such old hardware. For me, the nouveau driver would consistently cause full-system lock-ups when entering or exiting full-screen mode on my old-arse nvidia card.

As I'm sure you've seen in my other thread, I run an antiquated nvidia card from the NV40 series that requires the legacy304 version of the driver. 304 doesn't support xorg-server 1.20, so I've had to downgrade to xorg 1.19 just to keep it up and running on Slackware 15. It would be super if these new improvements fixed my issue, and I could move back to nouveau. (On the other hand, if I do that, who'll keep the legacy304 patched up to run on the latest kernels?;))

cwizardone 03-22-2022 05:50 PM

Nvidia's "Latest Production Branch" Driver, Version: 510.60.02, has been released.

A list of "release highlights" and a download link can be found at,

https://www.nvidia.com/Download/driv...x/187162/en-us

Installation instructions can be found under the heading, "Additional Information" at the above link. Under that same heading you can find detailed installation instructions by clicking on "README."

chrisretusn 03-23-2022 07:40 AM

Quote:

Originally Posted by JayByrd (Post 6323196)
Just a quick heads-up: I discovered yesterday that the nvidia kernel module may fail to build on kernel 5.17-rc1.

Joanbm on github has developed a patch for nvidia-470. This patch worked for me on nvidia-legacy304, so I would assume that it will be needed for all the other legacy versions, as well.

Quote:

Originally Posted by Lenard Spencer (Post 6323528)
A slightly modified version of this patch (patching nv-procfs.h instead of nv-procfs-utils.h) works with legacy 390.147 as well.

As expected the slightly modified version works with 390.147.

For those not sure how to patch. This is how I did it.. ":" denotes a comment.
Note: I have two kernels installed, 5.16.16 and 5.17.0. I am currently booted to 5.16.16 and the NVIDIA driver is installed. This is based on that. Adjust for your situation. I do this from runlevel 3.
Code:

: 'I use bash because I do not give execute permissions to the installer.'
$ bash NVIDIA-Linux-x86_64-390.147.run --apply-patch nvidia-390xx-fix-linux-5.17.patch
: 'When that is finished, there will be a new installer called NVIDIA-Linux-x86_64-390.147-custom.run'
: 'switch to root'
$ su -
: 'Since the driver is currently installed, I uninstall it.'
# bash NVIDIA-Linux-x86_64-390.147.run --uninstall
: 'Since I am not running with the 5.16.16 kernel, I install the "custom" installer for kernel 5.17.0 as follows:'
: 'Note the absence of "bash" the new "custom" installer is created with execute permissions.
# ./NVIDIA-Linux-x86_64-390.147-custom.run -k 5.17.0
: 'When that is complete, I reboot to the 5.17.0 kernel.'

An alternative method from runlevel 3 based on same conditions as above:
Code:

: 'Extract the installer'
$ bash NVIDIA-Linux-x86_64-390.147.run -x
$ cd NVIDIA-Linux-x86_64-390.147.run/
$ patch --verbose -p0 -i ../nvidia-390xx-fix-linux-5.17.patch
$ su -
: 'change to the location of NVIDIA driver In my case it is:
# cd /home/non-slack/other/nvidia/
: 'Like above I remove the driver first since it is installed.
# bash NVIDIA-Linux-x86_64-390.147.run --uninstall
# cd NVIDIA-Linux-x86_64-390.147.run/
: 'Like above I run the installer to install it for 5.17.0 since 5.16.16 is the running kernel.'
# nvidia-installer -k 5.17.0'
: 'When that is complete, I reboot to the 5.17.0 kernel.'

Since it's not a large patch I am including it here, this is the modified patch to work as used above.
Code:

From 026a2a54a234cdb7bf78c17be7ea29d8dcf9f390 Mon Sep 17 00:00:00 2001
From: Joan Bruguera <joanbrugueram@gmail.com>
Date: Sun, 23 Jan 2022 16:28:18 +0100
Subject: [PATCH] Tentative fix for NVIDIA 470.94 driver for Linux 5.17-rc1

See also: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=359745d78351c6f5442435f81549f0207ece28aa
NOTE: Modified for 390.xx changed nv-procfs-utils.h to nv-procfs.h and work with --apply-patch.
---
 common/inc/nv-procfs-utils.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/common/inc/nv-procfs.h b/common/inc/nv-procfs.h
index 7c3e1a3..462eac1 100644
--- kernel/common/inc/nv-procfs.h
+++ kernel/common/inc/nv-procfs.h
@@ -10,6 +10,7 @@
 #ifndef _NV_PROCFS_UTILS_H
 #define _NV_PROCFS_UTILS_H
 
+#include <linux/version.h>
 #include "conftest.h"
 
 #ifdef CONFIG_PROC_FS
@@ -87,6 +88,8 @@ typedef struct file_operations nv_proc_ops_t;
 
 #if defined(NV_PDE_DATA_PRESENT)
 # define NV_PDE_DATA(inode) PDE_DATA(inode)
+#elif (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 17, 0))
+# define NV_PDE_DATA(inode) pde_data(inode)
 #else
 # define NV_PDE_DATA(inode) PDE(inode)->data
 #endif
--
2.34.1


xiongnu 03-23-2022 08:40 AM

with both of my nvidia cards (6600GT and 9300GT) not supported by slackware 15.0, which mainstream nvidia card you guys would recommend to use?

garpu 03-23-2022 12:13 PM

Quote:

Originally Posted by xiongnu (Post 6340941)
with both of my nvidia cards (6600GT and 9300GT) not supported by slackware 15.0, which mainstream nvidia card you guys would recommend to use?

I've got a 1050ti, and it's still a solid card. Doesn't break the bank, runs games pretty well. I've seen the 3050 for about $100 of MSRP, and I'm not sure it's worth $400-450.


All times are GMT -5. The time now is 07:05 PM.