LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-23-2022, 12:59 PM   #1
JayByrd
Member
 
Registered: Aug 2021
Location: Seattle, WA
Distribution: Slackware
Posts: 302

Rep: Reputation: 310Reputation: 310Reputation: 310Reputation: 310
Smile Updated build scripts for nVidia legacy-304 GPU drivers.


On the off-chance that there may still be a handful of people out there running legacy nVidia hardware that requires the 304.xxx drivers, I figured I'd post here to make it known that I've posted updates that may keep these antiquated GPUs out of the landfill for a while longer. ;-)

While these build scripts have been tailored for Slackware Linux, I figure users of other distros may find them of interest, too--particularly, the patches that bring these drivers up to date.

nVidia provided their final updates to the 304-series in 2017. I found a series of patches on github that kept nvidia-304 working up to kernel 5.6. Yet, I was still encountering build failures on Slackware -current. Next, I went about adapting some patches designed for the "newer" nvidia-340--this got me up to kernel 5.9. Finally, I developed patches to bring the 304 kernel module in line with kernels up to 5.11.

Success! As of August, I had the 304 driver and kernel module compiling and running on Slackware -current w/ kernel 5.13.x. Since then, two more patches have been added to address issues arising with kernels 5.14 and 5.16.

If anyone's interested, you can find them here. Download links for the nVidia source code can be found in the *.info files. (Sorry about the *.txt extensions.)

Note: Due to a binary incompatibility, these drivers do not work with xorg-server 1.20.x. Thus, I've also included a build script for the 1.19.7 version of xorg-server. Security patches are included to address CVEs issued in December 2021.

Testing/feedback appreciated. Thanks in advance.
 
Old 02-06-2022, 11:26 AM   #2
JayByrd
Member
 
Registered: Aug 2021
Location: Seattle, WA
Distribution: Slackware
Posts: 302

Original Poster
Rep: Reputation: 310Reputation: 310Reputation: 310Reputation: 310
A quick update: I've just posted an updated build script for the nvidia-legacy304 kernel module. The update includes a patch to fix the build on 5.17 kernels. See here.
 
  


Reply

Tags
nvidia, nvidia 304.137



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
Nvidia legacy driver 304.137 and any 32 bit distro ideas? sdowney717 Slackware 2 01-08-2021 09:34 PM
[SOLVED] Nvidia legacy driver 304.137 and current 4.14.xx kernels camorri Slackware 10 01-07-2021 06:00 AM
[SOLVED] NVIDIA 64Bit 304.131 Driver unable to build kernel module - help please Mobile1 Slackware 4 06-09-2016 06:02 PM
LXer: Nvidia 304.51 drivers released LXer Syndicated Linux News 0 09-26-2012 09:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:52 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