golemfactory / clay

Golem is creating a global market for computing power.
https://golem.network
GNU General Public License v3.0
2.91k stars 286 forks source link

Can't enable Nvidia GPU on Ubuntu 18.04 #5193

Open Didayolo opened 4 years ago

Didayolo commented 4 years ago

Description

Golem Version: 0.23.1

OS: Ubuntu 18.04

Mainnet/Testnet: mainnet

P0 label

Description of the issue:

I can't enable my GPU as a resource. I got the message "This feature is only for Linux at the moment" when I put my mouse on the button.

golem_ss

Return of nvidia-smi:

+-----------------------------------------------------------------------------+
| NVIDIA-SMI 450.51.06    Driver Version: 450.51.06    CUDA Version: 11.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  GeForce GTX 106...  On   | 00000000:01:00.0  On |                  N/A |
|  0%   47C    P0    29W / 120W |    198MiB /  3018MiB |      4%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A      1666      G   /usr/lib/xorg/Xorg                125MiB |
|    0   N/A  N/A      2172      G   /usr/bin/gnome-shell               62MiB |
|    0   N/A  N/A      4072      G   /usr/lib/firefox/firefox            2MiB |
|    0   N/A  N/A     11230      G   /usr/lib/firefox/firefox            2MiB |
|    0   N/A  N/A     13261      G   /usr/lib/firefox/firefox            2MiB |
+-----------------------------------------------------------------------------+

Return of golemcli envs show:

┌─────────────────┬─────────────┬──────────┬──────────────────────┬─────────────────────┬──────────────────────────────────────────┐
│  name           │  supported  │  active  │  performance         │  min accept. perf.  │  description                             │
├─────────────────┼─────────────┼──────────┼──────────────────────┼─────────────────────┼──────────────────────────────────────────┤
│  BLENDER        │  true       │  true    │  633.0023187912547   │  0.0                │  Blender (www.blender.org)               │
│  BLENDER_NVGPU  │  false      │  true    │  0.0                 │  0.0                │  Blender + NVIDIA GPU (www.blender.org)  │
│  WASM           │  true       │  true    │  22.932558151677927  │  0.0                │  WASM Sandbox                            │
└─────────────────┴─────────────┴──────────┴──────────────────────┴─────────────────────┴──────────────────────────────────────────┘

Thank you in advance for your help.

letol commented 3 years ago

Same problem here, with Ubuntu 20.04.1 and Nvidia Driver Version 450.80.02. In my case, this is the reason: 2020-11-04 12:39:29 WARNING apps.core.nvgpu NVGPU Docker environment is not supported: RuntimeError("Unable to parse nvidia-smi output: Invalid leading zero in patch: '450.80.02'",) and probably @Didayolo log is similar, because he has a leading zero in patch, too. I think is still releated to #5056 . One possibility is to install an Nvidia Driver Version without the leading zero in patch, but it's a bit annoying. Probably, updating the semantic-version requirement from 2.6.0 to 2.8.4 or higher, could permanently solve this issue.