NVIDIA – Kernel 5.1 fix also works with Legacy driver 390.116
After some serious problems on my test system with plasma-workspace 5.15.x and nouveau (to be described in a separate article..) I had to contemplate moving back to the proprietary nvidia driver, but found – of course – that older cards were not supported by the ‘latest’ drivers.
I did find that at least one of the older drivers – 390.116 – could be patched to work with kernel 5.1, using the fix originally developed for driver 418.56 ( http://rglinuxtech.com/?p=2533 and http://rglinuxtech.com/?p=2530 ) and compiled OK:
…………………………
ld -r -o /home/rgadsdon/kernel/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-modeset/nv-modeset-interface.o /home/rgadsdon/kernel/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-modeset/nvidia-modeset-linux.o
Building modules, stage 2.
MODPOST 4 modules
CC /home/rgadsdon/kernel/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-drm.mod.o
LD [M] /home/rgadsdon/kernel/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-drm.ko
CC /home/rgadsdon/kernel/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-modeset.mod.o
LD [M] /home/rgadsdon/kernel/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-modeset.ko
CC /home/rgadsdon/kernel/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm.mod.o
LD [M] /home/rgadsdon/kernel/NVIDIA-Linux-x86_64-390.116/kernel/nvidia-uvm.ko
CC /home/rgadsdon/kernel/NVIDIA-Linux-x86_64-390.116/kernel/nvidia.mod.o
LD [M] /home/rgadsdon/kernel/NVIDIA-Linux-x86_64-390.116/kernel/nvidia.ko
make[2]: Leaving directory '/usr/src/linux-5.1'
make[1]: Leaving directory '/usr/src/linux-5.1'
Unfortunately, this driver was still too ‘new’ for my old GX9800 card, so off to eBay for an inexpensive currently-supported replacement!
Robert Gadsdon. May 17, 2019.
Maybe look at AMD? AMD RX 460 4GB is cheap and fast for it’s money, of course it is no longer officialy supported but amdgpu driver from kernel nether gave me any trouble and it’s opensource. Want something more “actual”? Try AMD RX 560 4GB, basicaly a renamed 460.
PAtch: https://pkgs.rpmfusion.org/cgit/nonfree/nvidia-kmod.git/patch/?id=aaeb0b320da06062578c0ef41cb2c1ecdc7a500c
i have a hybrid laptop from acer with intel and a gf620m which needs legacy 390 drivers. But i cannot compile the patched driver on a kernel with 5.3 which is the official one in linux mint 19.3. Is there another backported patch available or is the new official driver working and supporting GF620M ?