the solutions are two:
1- use kernel 5.4 with free drivers
2- Thanks to the explanation that I quote below (using the option to do it by terminal, because using the AUR option in pamac it throws an error and does not finish installing it) I could install the proprietary driver 340 in kernel 5.4 and 5.10 and for now no longer I suffer from slowdowns or frozen.
With the Stable-Update on the 2020-12-30 we decided to Remove outdated Nvidia Drivers. This resulted in a massive negative feedback and broken systems.
Nvidia informed about their support timeframes a while ago. 390xx will be supported through the end of 2022. However they are slow in providing needed patches. The Linux community patched them so far. 340xx got dropped already. Officially they only support till Kernel 5.4 and Xorg-Server 1.20 series. In AUR you may find patches till 5.10 .
NVIDIA Developer Forums – 4 Mar 13
Current graphics driver releases
Current releases Current long-lived branch release: 450.80.02 (x86_64) Current official release: 455.45.01 (x86_64) Current beta release: 460.27.04 (x86_64) Legacy releases 390.138 (x86 / x86_64 / ARM) - GF1xx “Fermi” GPUs 340.108 (x86 /…
Reading time: 1 mins Likes: 1
Manjaro is known for its large range of Kernel support and is also known for multiple Nvidia drivers support. However it is harder to support those old drivers, due to GPL issues and other things. So we had to drop some modules of 390xx drivers until Nvidia will fix that.
So what can I do as user to still get those drivers still on Manjaro?
Get involved
You can compile the drivers on your own. Best would be to use DKMS, so when there is a kernel update, those drivers get updated also.
Prepare your system for building drivers
- you may want to install development tools:
sudo pacman -S git base-devel
- then you may want to install your proper kernel headers:
sudo pacman -S $(mhwd-kernel -li | grep '*' | cut -d ' ' -f5 | awk '{print $0,"-headers"}' | sed s'/ //'g)
340xx (dkms 5.4 - 5.10)
You need to get the sources first:
git clone https://gitlab.manjaro.org/packages/extra/nvidia-340xx-utils.git git clone https://gitlab.manjaro.org/packages/multilib/lib32-nvidia-340xx-utils.git git clone https://github.com/philmmanjaro/nvidia-340xx-dkms.git
Then compile all packages with makepkg :
cd nvidia-340xx-utils && makepkg -si cd ../lib32-nvidia-340xx-utils && makepkg -si cd ../nvidia-340xx-dkms && makepkg -si
With this you will have 340xx driver, even Manjaro officially dropped it.
340xx (dkms 4.4 - 4.19)
Since the dkms only works from 5.4 upwards, you may need to compile your kernel drivers manually. utils are still needed! Replace YY either with
44
,49
,414
or419
:git clone https://gitlab.manjaro.org/packages/extra/linuxYY-extramodules/nvidia-340xx cd nvidia-340xx && makepkg -sif
You may need to recompile this package as soon as we add a new kernel and also don’t forget to bump the PKGREL.
Other 4YYxx drivers (example for linux54)
Note: You need to replace
4YY
with one of the followings:418
,430
,435
,440
,450
. linux54 can be replaced as needed. If you don’t find the driver for your kernel, you can ping us.You need to get the sources first
git clone https://gitlab.manjaro.org/packages/extra/nvidia-4YYxx-utils.git git clone https://gitlab.manjaro.org/packages/multilib/lib32-nvidia-4YYxx-utils.git git clone https://gitlab.manjaro.org/packages/extra/linux54-extramodules/nvidia-4YYxx.git
Then compile all packages with makepkg :