Code: Select all
# apt install nvidia-cuda-dev nvidia-cuda-toolkit
The nvidia driver installed from the MX Linux script is version 525.125.06.
Nvidia say's for >=525.60.13 is CUDA 12.x defined. See https://docs.nvidia.com/deploy/cuda-com ... index.html
And this also comes when I enter
Code: Select all
nvidia-smi
Code: Select all
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 525.125.06 Driver Version: 525.125.06 CUDA Version: 12.0 |
|-------------------------------+----------------------+----------------------+
| 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 46C P8 N/A / N/A | 4MiB / 2048MiB | 0% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 2420 G /usr/lib/xorg/Xorg 4MiB |
+-----------------------------------------------------------------------------+