You are not logged in.

#1 2020-10-20 14:47:30

riccardocagnasso
Member
Registered: 2012-02-22
Posts: 49

[SOLVED]CUDA cannot access video card

I cannot use CUDA on this computer (which means also no NVCODEC)


[phas@mosconi deviceQuery]$ ../../bin/x86_64/linux/release/deviceQuery
../../bin/x86_64/linux/release/deviceQuery Starting...

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

cudaGetDeviceCount returned 999
-> unknown error
Result = FAIL
[phas@mosconi deviceQuery]$ ../../bin/x86_64/linux/release/deviceQuery
../../bin/x86_64/linux/release/deviceQuery Starting...

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

cudaGetDeviceCount returned 999
-> unknown error
Result = FAIL
[phas@mosconi deviceQuery]$ nvidia-smi 
Tue Oct 20 16:46:10 2020       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 455.28       Driver Version: 455.28       CUDA Version: 11.1     |
|-------------------------------+----------------------+----------------------+
| 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 P620         Off  | 00000000:03:00.0  On |                  N/A |
| 34%   39C    P0    N/A /  N/A |    145MiB /  1990MiB |     13%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A      1095      G   /usr/lib/Xorg                     143MiB |
+-----------------------------------------------------------------------------+

I know that this is some configuration problem because the same exact video card works on another archlinux machine that is up to date but installed earlier. But I can't understand what the difference is.

Last edited by riccardocagnasso (2020-10-20 15:17:38)

Offline

#2 2020-10-20 14:54:31

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,864
Website

Re: [SOLVED]CUDA cannot access video card

Which kernel are you using? Nvidia don't support cuda on linux 5.9.

https://lists.archlinux.org/pipermail/a … 30158.html


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2020-10-20 15:17:21

riccardocagnasso
Member
Registered: 2012-02-22
Posts: 49

Re: [SOLVED]CUDA cannot access video card

WorMzy wrote:

Which kernel are you using? Nvidia don't support cuda on linux 5.9.

https://lists.archlinux.org/pipermail/a … 30158.html

Yes, that's it. I switched to LTS and now it works. Thanks.

Offline

Board footer

Powered by FluxBB