I'm using
Kubuntu 19.10
Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz
NVIDIA UNIX x86_64 Kernel Module 435.21
and since Kubuntu has dropped bumblebee I was looking for another possibility to use nvidia driver per application. Thus, I came to the "PRIME Render Offload" issue, but I do not really understand how it works, even though I've read through NVIDIA Accelerated Linux Graphics Driver README and Installation Guide.
When I choose prime-select intel
I can work exclusively using my intel on-chip graphics, whereas using prime-select nvidia
I will be able to use exclusively nvidia GPU, while I have to reboot when selecting respectively. When I choose prime-select on-demand
, I can call nvidia-smi
, and it will show up as ...
Wed Nov 13 15:35:06 2019
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 435.21 Driver Version: 435.21 CUDA Version: 10.1 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce 940MX Off | 00000000:02:00.0 Off | N/A |
| N/A 36C P8 N/A / N/A | 0MiB / 2004MiB | 0% Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| No running processes found |
+-----------------------------------------------------------------------------+
but, I cannot verify, if I can really "use" the nvidia GPU, e.g. when calling glxinfo
or glxgears
I got the info that it does not use nvidia GPU. I also tried what is given in the NVIDIA Readme above, e.g. __NV_PRIME_RENDER_OFFLOAD=1 glxgears
, but I cannot prove that the nvidia GPU is used. I fear that the prime-select on-demand
option is not really working, or - what is definitely an option - I do not really understand how it works.
Thus, please, could anyone be so kind to help me here and de-mystify this?