Ubuntu 21.04: no proprietary nvidia driver for GeForce 210 graphics card [duplicate]
In previous versions of Ubuntu I was able to install the proprietary nvidia driver for the GeForce 210 graphics card under Additional Drivers in Software & Update but now there are "No additional drivers available".
I tried typing apt install nvidia-driver-
and hit tab
. If I'm not mistaken, I need nvidia-driver-340
but there is nothing below nvidia-driver-390
.
Lastly, I downloaded the official driver from nvidia's web page and tried installing it directly but the installation was unsuccessful. The log says: fatal error: asm/kmap_types.h: No such file or directory
I reinstalled my Ubuntu 20.04 system because it stopped booting some weeks ago. The boot process started normally (black screen with Ubuntu written in white and a spinning "circle" above it) but then the screen went completely blank and there was occasionally a blinking underscore at the top left corner of the screen. At this point, no matter which key I hit, nothing happened. I don't know if the failure of my old system has anything to do with my current problem.
Now, I do not really care about which driver I'm using as long as it supports my screen's native resolution which is 2560x1080. nouveau
only gives me 1920x1080.
There is a special PPA with legacy Nvidia 340 drivers.
You have to install drivers from it by using commands below:
sudo add-apt-repository ppa:kelebek333/nvidia-legacy
sudo apt-get update
sudo apt install nvidia-340 xorg-modulepath-fix
and then reboot.