

I don't think that keeping old drivers downloadable is called support. These are broken with current Xorg (let's not even mention wayland), current kernels, modern compilers, and filled with security vulnerabilities among other issues. Essentially useless unless you're using a linux distribution from 20 years ago as well (which could be Gentoo by using the tree from that time assuming can find all distfiles needed).dmpogo wrote:I am nvidia card and nvidia-driver user since, I think 2003 or so. Never had any issues. Nvidia supports its drivers much longer than Gentoo in protage. You can still download from nivida 71.86.15 drivers, which are like 20 years old.
I don't have nor plan to have nvidia on laptops. One of my desktops is from 2007, with original NVIDIA Corporation G86 [GeForce 8500 GT] from the same year, using nvidia-drivers-340.108-r101 (from overlay).Ionen wrote: Edit:
On a side-note, imagine the next time they drop support for cards it'll be everything not using GSP (pre-GTX 1650), not that we won't have a driver branch supported for several years to keep them going for a while -- on the downside, nouveau (or nova) support improvements also require GSP so these older cards won't get good open source support either.
That aside, nvidia has never really given me trouble eitherI do replace my PC every 10+ years or so and don't keep (very) old hardware around much. I'd personally avoid nvidia if I wanted a laptop again though, for laptops I'd be happy as long as the display works and some integrated intel gpu is good enough.

It is a bit of chicken and egg. One can as well say that it is a modern kernel that drops support for fully functional old hardware with working drivers.eccerr0r wrote:Agreed, support means they will update the driver to work with modern kernels, Xorg, Wayland, etc., not just having it available and forcing one to use Linux Kernel 1.2.11 ... caveat of being a binary driver, can't do much with binaries when ABI changes.

Ionen wrote:I don't think that keeping old drivers downloadable is called support. These are broken with current Xorg (let's not even mention wayland), current kernels, modern compilers, and filled with security vulnerabilities among other issues. Essentially useless unless you're using a linux distribution from 20 years ago as well (which could be Gentoo by using the tree from that time assuming can find all distfiles needed).dmpogo wrote:I am nvidia card and nvidia-driver user since, I think 2003 or so. Never had any issues. Nvidia supports its drivers much longer than Gentoo in protage. You can still download from nivida 71.86.15 drivers, which are like 20 years old.
NVIDIA also officially calls these unsupported themselves, currently they support (as in, still do new releases) the 535.x branch and newer for production branches (535 is probably about to end though, but that one is not really needed for old hardware unlike 470 is given latest 570 still supports all the same cards).
Edit:
On a side-note, imagine the next time they drop support for cards it'll be everything not using GSP (pre-GTX 1650), not that we won't have a driver branch supported for several years to keep them going for a while -- on the downside, nouveau (or nova) support improvements also require GSP so these older cards won't get good open source support either (but that also means newer ones may eventually get great support).
That aside, nvidia has never really given me trouble eitherI do replace my PC every 10-15 years or so as needed and don't keep (very) old hardware around much. I'd personally avoid nvidia if I wanted a laptop again though, for laptops I'd be happy as long as the display works and some integrated intel gpu is good enough.

This is not a gcc problem. For as long as I can remember, the Linux kernel has enforced a rule that modules shall only be loaded if their magic string matches the main kernel exactly.dmpogo wrote:PS leaving my ancient nvidia aside, I am a bit annoyed were gcc-14 is heading . Now I have portage refusing to update virtualbox kernel module, because my kernel is compiled with gcc-13. It is a first time in 20 years that I see such a conflict. I'd hate to see gcc going rust path where you need to match the versions at every turn.
I never seen that before, and I tend to have kernels running for 5 years (previous, still 4.19 was going from 2018 to 2024) with virtualbox and nvidia-drivers updated along the way, pretty sure with newer gcc. But I need to investigate. I have a machine that runs 5.15.158 kernel for the last yearHu wrote:This is not a gcc problem. For as long as I can remember, the Linux kernel has enforced a rule that modules shall only be loaded if their magic string matches the main kernel exactly. Part of the magic string is the compiler version, hence you must build the main kernel and the virtualbox modules with the same gcc version. Build the virtualbox modules with gcc-13, rebuild your kernel with gcc-14, or switch to a hypervisor (such as Qemu KVM) that does not need out-of-tree modules.dmpogo wrote:PS leaving my ancient nvidia aside, I am a bit annoyed were gcc-14 is heading . Now I have portage refusing to update virtualbox kernel module, because my kernel is compiled with gcc-13. It is a first time in 20 years that I see such a conflict. I'd hate to see gcc going rust path where you need to match the versions at every turn.
Code: Select all
cat /proc/version
Linux version 5.15.158-gentoo (root@wheeler) (gcc (Gentoo 13.2.1_p20240210 p14) 13.2.1 20240210, GNU ld (Gentoo 2.41 p5) 2.41.0) #1 SMP Tue May 7 14:20:17 MDT 2024
Code: Select all
* Warning: kernel 5.15.158-gentoo is built with gcc-13 but
* '/usr/bin/x86_64-pc-linux-gnu-gcc' is gcc-14
* This *could* result in build issues or other incompatibilities.
* It is recommended to either `make clean` and rebuild the kernel
* with the current toolchain (for distribution kernels, re-installing
* will do the same), or set the KERNEL_CC variable to point to the
* same compiler. Note that when it is available, auto-selection is
* attempted making the latter rarely needed.
Code: Select all
././include/linux/kconfig.h:5:10: fatal error: generated/autoconf.h: No such file or directory
5 | #include <generated/autoconf.h>
| ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
A little more context why you are refering this topic is always helpfulrab0171610 wrote:viewtopic-t-1083456-start-0.html

rab0171610 wrote:You are right. It would be helpful.
@dmpogo
To reiterate what Hu mentioned. You need to rebuild your kernel source. What Hu detailed about gcc versions and out of tree kernel modules such as Nvidia drivers or VirtualBox modules has been discussed previously. See the direct link above.
Or else you ran 'make distclean' on your kernel sources in the past inadvertently, which is the reason for the missing /usr/src/linux-*/include/generated referred to in line #5 in the file of kernel sources ././include/linux/kconfig.h which is listed in your error message.
That directory is populated during kernel compilation.
If the /usr/src/linux-*/include/generated directory is present in your kernel sources and populated and autoconf.h exists therein, then it is likely that the virtualbox modules and/or the kernel source need to be rebuilt with the same gcc version.
Regardless, the easiest thing to do is to just rebuild your kernel and modules.




I respect your opinion. I can also understand from a financial perspective why Nvidia has to move on and stop supporting old architectures and archaic hardware after nearly a decade. A handful of users who are trying to milk an old graphics card for every last cent it is no longer worth is not where they choose to put their resources. At some point they have to consider the product obsolete and remove their focus. I can respect that as well.eccerr0r wrote:If on the odd chance it does survive, I'd expect software to continue to work with it.
