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.
Will there be a solution for Slackware 15.0 and Xorg 1.20?
This thread contains the solution for Slackware 15. As to Xorg 1.20, please review post #6 of this thread.
If you want to keep using the proprietary nVidia304 driver, you must use Xorg 1.19. I provided a SlackBuild script for Xorg 1.19.7 (w/ security patches) in post #26.
Thanks, @JayByrd! Now I am able to hrun Slackware15 and have nVidea graphics on an old Latitude D610 I stashed in storage and considered unusable!
BTW, which nVidea graphics prompted you to do this?
You're quite welcome, Tor.
I embarked on this project a couple of years ago when I found that the nvidia304 driver available on SBo had been orphaned. Although it was unmaintained, it worked perfectly for me on Slackware 14.2.
But then, one day, after a kernel update, I could no longer get the nvidia kernel module to compile. I was able to track down the "bad" nvidia code and created a patch for it. (Turns out, it was a bit of 4.6 kernel code that got back-ported to the 4.4 branch starting at kernel version 4.4.168.)
In my case, the nVidia card in question is a Quadro FX 3500. I have two Dell Precision 490 desktops that came with this card pre-installed. When first released in 2006, this nVidia card cost $1600! I couldn't bear to consign $3200 to the landfill, just because of an orphaned driver, so I decided to try to keep it going.
I'm just glad that someone has found my efforts helpful.
Location: as far S and E as I want to go in the U.S.
Distribution: Fossapup64
Posts: 224
Rep:
Interesting story -- thanks.
The Latitude D610 and D810 I ran for years learning Linux had Quadro cards, too. Traded the 810 for an old Buck folding knife and was kinda bummed when newer kernel issues with the hardware arose, as you stated. Now I can get it running and give it to a grandkid to explore.
Lived on Wallingford Av N at about 85th for a time. Went to a LUG there at Seattle U (I think) and one of the Libraries a couple times and then it went caput, I guess.
Came to SW Sep 2018.
Best wishes!
Last edited by TorC; 08-18-2022 at 05:28 PM.
Reason: detail
This project is great!
Just wanted to ask that is this possible to use these patches in debian based distros? (Linux mint for instance)
I guess I can manage to compile kernel myself, and the Xorg 1.19 is already at ubuntu focal repositories, but what about the driver itself?
Thanks a lot.
This project is great!
Just wanted to ask that is this possible to use these patches in debian based distros?(Linux mint for instance)
I guess I can manage to compile kernel myself, and the Xorg 1.19 is already at ubuntu focal repositories, but what about the driver itself?
Thanks a lot.
Yes, the patches included in my SlackBuild should work on just about any distro. The patches themselves are about bringing nVidia's original code into line with new kernels (up to 5.17), nothing distro-specific.
Before you re-compile your kernel, be sure to review both README files (post #19). Just remember that in order for this old-arse nVidia code to work on kernels 5.8 and above, you must compile the kernel with "CONFIG_LKDTM=m". (My build script is prepared to do that automatically, but that part is Slackware-centric. )
Yes, the patches included in my SlackBuild should work on just about any distro. The patches themselves are about bringing nVidia's original code into line with new kernels (up to 5.17), nothing distro-specific.
Before you re-compile your kernel, be sure to review both README files (post #19). Just remember that in order for this old-arse nVidia code to work on kernels 5.8 and above, you must compile the kernel with "CONFIG_LKDTM=m". (My build script is prepared to do that automatically, but that part is Slackware-centric. )
Good luck.
Thanks a lot. You just saved an antique graphic card.
But some questions, the steps are just compiling the kernel, installing xorg 1.19.xx and applying the patches?
And is it OK if I use ubuntu provided source code for kernel? (It already has drivers and general modules)
After letting this project rest for a few months, (my last build was with kernel 5.17.0-rc1,) I've decided to get back on the horse and see if this antique kernel module will compile against newer kernels.
First surprise: I had to move from Slackware 15.0 to -current, because kernel 5.19.17 won't compile with GCC 2.33!
Second surprise: After moving my testing machine from 15.0 to -current, I had no keyboard and mouse functionality under X. Turns out that the newer versions/builds of libinput, xf86-input-libinput, and libwacom don't play nice with xorg-server-legacy119...
However, after "downgrading" those three packages to the versions shipped with Slackware 15.0, I'm back in business. I did have to develop a couple of new patches to address compilation issues arising with kernel 5.18, but the nvidia304 kernel module builds and works as ever now on kernel 5.19.17.
If anyone still using these 15+ year-old nvidia cards that require legacy304 drivers wants them, just post here and I'll post the latest patches.
In the meantime, I think I'll have a go at the 6.x kernels now...
5.19.17 (from -current source) builds just fine on 15.0?
Can you use the legacy340 driver with that card? That slackbuild (no maintainer) includes the patch to build on newer kernels (although I see there's another patch that could be added for 6.x now). If not, someone might be providing the patches for the 304 driver still.
5.19.17 (from -current source) builds just fine on 15.0?
Can you use the legacy340 driver with that card? That slackbuild (no maintainer) includes the patch to build on newer kernels (although I see there's another patch that could be added for 6.x now). If not, someone might be providing the patches for the 304 driver still.
No, 340 doesn't work with my card, only 304. The someone is me!--that's the whole point of this thread... Did you not see the part of my post where I said
Quote:
I did have to develop a couple of new patches to address compilation issues arising with kernel 5.18
As to the kernel build issues: whenever I try to build 5.19 kernel on either 14.2 or 15.0, it fails saying something along the lines of "LIBC 2.34 not found!" I thought it was rather strange that I couldn't compile it on 15.0... Is there some build time option I am missing?
No, 340 doesn't work with my card, only 304. The someone is me!--that's the whole point of this thread... Did you not see the part of my post where I said
As to the kernel build issues: whenever I try to build 5.19 kernel on either 14.2 or 15.0, it fails saying something along the lines of "LIBC 2.34 not found!" I thought it was rather strange that I couldn't compile it on 15.0... Is there some build time option I am missing?
I didn't go back and read the whole thread
The only time I've seen that kind of message was if I was using a kernel (edit: and it's source) that was compiled with the newer glibc, booted on an older glibc system, and then tried to compile something. You weren't running a kernel downloaded from or complied on -current are you?
Last edited by fourtysixandtwo; 11-28-2022 at 07:05 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.