In the first quarter of 2019, Nvidia dropped the support for their cards that were running the Nvidia 340xx driver.
It is always sad to see your card not being supported, but for most of those cards, Nouveau is a very good solution, especially that most of those graphic cards show their limitations when gaming and those machines (mainly laptops where upgrading is not an option) are degraded to watch Youtube or Netflix etc. and they handle that very fine.
There are some cards that don’t play well with Nouveau, despite the leap forward Nouveau has made through the years. They show glitches and lag handling videos and Chromium-based browsers glitches in front of you, it almost causes you a fit.
Are you one of those owners of such a card and your machine is handling your daily tasks still to your satisfaction or perhaps your significant other is running that machine? Well, then I have good news for you. A bunch of devs picked up the driver and are maintaining it.
I am running the driver on a ten-year-old Acer Aspire that has an 18,5-inch full HD screen and five speakers built-in and it’s perfect as a secondary television in the bedroom, kitchen etc. That’s the power of Linux too, your older hardware still runs along fine.
How to install it
Make sure your card runs this driver and check our wiki.
As you used to before there are still the regular, lts and dkms version available. You can install it with yay:
yay -S nvidia-340xx (or nvidia-340xx-lts or nvidia-340xx-dkms)
When it’s installed go to the next step and type:
$ sudo nano /etc/mkinitcpio.conf
And look for the line
And change it into;
Close and save with ctrl+x and type the following:
$ sudo mkinitcpio -p linux
repeat this step if you also have other kernels installed and reboot.
Now your system runs on the Nvidia driver, most of the time the driver keeps working with the kernel updates. The driver will update regularly.
In the case of a major kernel release, the updates arrive later, so when you see that update and there’s no driver update type the following:
sudo env IGNORE_CC_MISMATCH=1 dkms install -m nvidia -v 340.107 -k (kernel version number)