Ubuntu 16.04 LTS NVIDIA Setup Guide
#12
Hi,

just added a new GTX 1080 to my current rig.
I'm running Ubuntu 16.04 Server and I was able to control my 2 GPUs with this guide and nvidia-settings commands.

Here's my nvidia-smi:
Code:
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 384.98                 Driver Version: 384.98                    |
|-------------------------------+----------------------+----------------------+
| 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 GTX 1080    Off  | 00000000:01:00.0 Off |                  N/A |
| 27%   29C    P8     5W / 180W |     11MiB /  8112MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   1  GeForce GTX 1080    Off  | 00000000:02:00.0 Off |                  N/A |
|  0%   58C    P0    39W / 210W |      1MiB /  8114MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   2  GeForce GTX 1080    Off  | 00000000:05:00.0  On |                  N/A |
|  0%   54C    P0    41W / 240W |     10MiB /  8114MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|    0      1565      G   /usr/lib/xorg/Xorg                             8MiB |
|    2      1565      G   /usr/lib/xorg/Xorg                             7MiB |
+-----------------------------------------------------------------------------+

It looks like my GPU 1 (new one) is not fully "working".
Hashcat can control its fan, but when I do:
Code:
nvidia-settings -a [gpu:1]/GPUFanControlState=1 -a [fan-1]/GPUTargetFanSpeed=100

my nvidia-smi:
Code:
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 384.98                 Driver Version: 384.98                    |
|-------------------------------+----------------------+----------------------+
| 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 GTX 1080    Off  | 00000000:01:00.0 Off |                  N/A |
| 27%   29C    P8     6W / 180W |     11MiB /  8112MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   1  GeForce GTX 1080    Off  | 00000000:02:00.0 Off |                  N/A |
|  0%   57C    P0    39W / 210W |      1MiB /  8114MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   2  GeForce GTX 1080    Off  | 00000000:05:00.0  On |                  N/A |
|100%   31C    P0    44W / 240W |     10MiB /  8114MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|    0      1565      G   /usr/lib/xorg/Xorg                             8MiB |
|    2      1565      G   /usr/lib/xorg/Xorg                             7MiB |
+-----------------------------------------------------------------------------+
and when I do:
Code:
nvidia-settings -a [gpu:2]/GPUFanControlState=1 -a [fan-2]/GPUTargetFanSpeed=100
I recive this message:
Code:
ERROR: Error assigning value 100 to attribute 'GPUTargetFanSpeed' (horse-power:0[fan:2]) as

      specified in assignment '[fan-2]/GPUTargetFanSpeed=100' (Unknown Error).


It looks like GPU number it's not assigned correctly.. any ideas ?

Thanks in advance


Messages In This Thread
Ubuntu 16.04 LTS NVIDIA Setup Guide - by evilmog - 11-21-2016, 08:29 PM
RE: Ubuntu 16.04 LTS NVIDIA Setup Guide - by atom - 11-21-2016, 09:06 PM
RE: Ubuntu 16.04 LTS NVIDIA Setup Guide - by jimbas - 11-08-2017, 12:56 PM
RE: Ubuntu 16.04 LTS NVIDIA Setup Guide - by atom - 11-12-2017, 09:34 PM