This repository includes patched legacy/dropped support nVIDIA drivers for newer Linux kernels.
If you found this repo helpful and saved you on a rainy day then give it a ⭐.
Downloads: SourceForge | Github Releases
Bold: latest patch for that kernel
^: Removed, you may want to look at forked to see previous versions.
branch
menu:
For example, I'll use 340.108:.run
file then install it:Press Ctrl
+ Alt
+ F1
(any from 1 - 6).
Login with your account.
cd
to your patched nVIDIA driver.
$ sudo su
# systemctl stop lightdm
# chmod +x blacklist.sh && ./blacklist.sh
# chmod +x <nvidia_filename>
# ./<nvidia_filename>
Reboot after installation.
Replace lightdm
with your window manager (GDM, LightDM, etc.).
See nVIDIA Legacy GPU/Drivers list
Oh no
screen or at low resolution, continue reading.
# apt update && apt upgrade -y
Reboot and re-install. If not working, try the Low Resolution method and replace gdm with lightdm.
xorg.conf
and generate a new one with nvidia-xconfig
.After installing the driver. The screen will turn off and you won't be able to see anything in TTY mode, thus TTY still working and recognizes keyboard input. (login with username and password in blind then you will see HDD light blinking). To fix this:
Open your grub file as root (/etc/default/grub
).
Remove the #
in
#GRUB_TERMINAL=console
#GRUB_GFXMODE=640x480
You can change 640x480
to your screen resolution.
Save the file then update grub (sudo update-grub
).
r
(Alt
F2
).