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.
I'm sure many of you have noticed that the Nvidia 340 kernel will no longer build in -current with the new 4.x kernel. I just happened to find a patch over on the nvidia-devel forums that fixes that. I just did it, and it works like a charm. (I'm using it now.)
First the patch (I called it nvidia-upstream.patch)
In nvidia-legacy304-kernel.SlackBuild, add these lines, also at line 82:
Code:
# Apply patch from nvidia-devel to build with 4.x kernels
patch -p1 < $CWD/nvidia-legacy304-kernel4.patch
I hope these help.
Maybe someday when I hear the men in the white coats sneaking up behind me, I may look at the 174 driver as well. (Yes, I still have a couple of 5200FX cards lying around!)
Kingbeowulf, you can probably put these in the Slack 14.1 SB repo as well, for the benefit of those running multiboot machines with -current (as I am). I just went back and checked them out in 14.1 with no issues.
It can always be added with the patch command commented out. Getting -Current ready for 14.2 is what has been ongoing for some time in the other topic, plus it could always be relegated to the main trunk or testing branch trunk (?) of the SBo tree while remaining out of 14.1 branch. Good question, but does it affect 14.1 and prevent building the kernel module?
Thanks to lenard, gazl and willysr for the nvidia patches and links. I hadn't noticed since I was fiddling with current on 2 laptops with Intel GPUs. I'll add them to my local SBo branch and track ponce's to get ready for when current goes stable "real soon now" <crosses fingers>.
Lenard, trying to wrestle support for older nvidia legacy might be an exercise in futility. Nothing prior to 304.xx has been updated for newer X.Org servers and Mesa since 2013. Your 5200FX cards might be a lost cause. I've stopped supporting 173-legacy and 96-legacy in SBo and dumped my old cards. "Help me, nouveau, you're my only hope."
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.