cudaGetDeviceCount returned 999

I’m using a lenovo laptop running ubuntu 20.04
Linux eyalh-ThinkPad-P15-Gen-1 5.10.0-1051-oem #53-Ubuntu SMP Thu Oct 28 08:11:53 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Running deviceQuery I get this:

 ./deviceQuery 
./deviceQuery Starting...

 CUDA Device Query (Runtime API) version (CUDART static linking)

cudaGetDeviceCount returned 999
-> unknown error
Result = FAIL

nvidia-smi runs correctly and I get:

-----------------------------------------------------------------------------+
| NVIDIA-SMI 470.82.00    Driver Version: 470.82.00    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  Quadro RTX 3000     Off  | 00000000:01:00.0  On |                  N/A |
| N/A   51C    P8    10W /  N/A |    552MiB /  5926MiB |     11%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A       910      G   /usr/lib/xorg/Xorg                 97MiB |
|    0   N/A  N/A      1985      G   /usr/lib/xorg/Xorg                287MiB |
|    0   N/A  N/A      2118      G   /usr/bin/gnome-shell               84MiB |
|    0   N/A  N/A     13172      G   /opt/zoom/zoom                     68MiB |

Any idea?

Bump… any idea anyone?