This seems not too easy...
Earlier case was with the llinux mint 20.1, now it is 20.3,
It is possible that the MATE-installation does not upgrade to CINNAMON as it should,
but I doubt that this is causing the problem.
The Cinnamon seemed to be slow, so I need additionally the MATE/XFCE.
But it seems one at the time in the given setup options.
So I made clean installation with the cinnamon desktop and NVIDIA driver seems to load now properly.
What was causing this?
Maybe the MATE-installation, or possibly 5.13 version kernel installation.
Code: Select all
$ nvidia-smi
Sun Feb 6 18:55:55 2022
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 470.86 Driver Version: 470.86 CUDA Version: 11.4 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 NVIDIA GeForce ... Off | 00000000:02:00.0 Off | N/A |
| N/A 79C P0 N/A / N/A | 419MiB / 4042MiB | 100% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 970 G /usr/lib/xorg/Xorg 238MiB |
| 0 N/A N/A 1558 G cinnamon 34MiB |
| 0 N/A N/A 3246 C ...-linux-gnu__opencl_nvidia 53MiB |
| 0 N/A N/A 10287 G /usr/lib/firefox/firefox 89MiB |
+-----------------------------------------------------------------------------+
It might not be safe to install the mate now as a second desktop option, what do you think?
It looks problem is caused when kernel 5.13 is loaded:
Code: Select all
$ cat /proc/version
Linux version 5.13.0-28-generic (buildd@lgw01-amd64-035) (gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #31~20.04.1-Ubuntu SMP Wed Jan 19 14:08:10 UTC 2022
NVIDIA driver works only with the 5.4.xx kernel...
And once kernel 5.13 is installed it can not be removed (only 5.4.xx can be removed completely).
So the NVIDIA is locked again.
Also I tried kernel version 5.14:
Code: Select all
$ cat /proc/version
Linux version 5.14.9-051409-generic (kernel@kathleen) (gcc (Ubuntu 11.2.0-7ubuntu2) 11.2.0, GNU ld (GNU Binutils for Ubuntu) 2.37) #202109300934 SMP Thu Sep 30 09:39:33 UTC 2021
$ nvidia-smi
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
NVIDIA locked here as well with 5.14 -kernels...
Also 5.16 kernel fails to load NVIDIA:
Code: Select all
$ uname -r
5.16.3-051603-generic
$ nvidia-smi
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
So the 5.10-kernel (LTS) is possibly needed... (5.10.98 didn't work out)
If I just know how to remove the 5.13, 5.14 and 5.16 versions first.
Going back to kernel 5.4
And NVIDIA driver is working now.
I wonder what is the latest kernel version that I could use with this NVIDIA drivers.
NVIDIA driver version has no effect, the latest driver seem to work well.
Code: Select all
$ nvidia-smi
Sun Feb 6 22:48:25 2022
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 495.46 Driver Version: 495.46 CUDA Version: 11.5 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 NVIDIA GeForce ... Off | 00000000:02:00.0 Off | N/A |
| N/A 89C P0 N/A / N/A | 461MiB / 4042MiB | 99% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 1023 G /usr/lib/xorg/Xorg 245MiB |
| 0 N/A N/A 1071 C ...-linux-gnu__opencl_nvidia 53MiB |
| 0 N/A N/A 1614 G cinnamon 30MiB |
| 0 N/A N/A 1698 G /usr/lib/firefox/firefox 86MiB |
| 0 N/A N/A 2234 G ...AAAAAAAAA= --shared-files 42MiB |
+-----------------------------------------------------------------------------+
Problem seem to be with the latest kernel versions only.
It looks working well now, I just have to know that 5.13 is not suitable for the NVIDIA...
I have some impression though that 5.4.x kernels are much slower than 5.13.y kernels.
I checked it and according to my results the latest kernel-version is 5.10.0 that works with the NVIDIA drivers.