Dear Nvidia,
I have a system with 3 GPU (2 gtx1070 and one titanV). I had few problems with the installation but now all looks good (cuda works and nvidia-smi) as well but I can not start nvidia-settings
if i run from terminal
nvidia-settings
I get
ERROR: Unable to load info from any available system
. however, as i just mantioned
nvidia-smi
gives
Fri Oct 25 09:55:38 2019
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 418.87.01 Driver Version: 418.87.01 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 GTX 1070 On | 00000000:3B:00.0 On | N/A |
| 0% 44C P8 6W / 151W | 94MiB / 8119MiB | 0% Default |
+-------------------------------+----------------------+----------------------+
| 1 GeForce GTX 1070 On | 00000000:86:00.0 Off | N/A |
| 0% 38C P8 6W / 151W | 18MiB / 8119MiB | 0% Default |
+-------------------------------+----------------------+----------------------+
| 2 TITAN V On | 00000000:AF:00.0 Off | N/A |
| 45% 63C P2 134W / 250W | 3478MiB / 12036MiB | 90% Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 3727 G /usr/lib/xorg/Xorg 27MiB |
| 0 3768 G /usr/bin/gnome-shell 63MiB |
| 1 3727 G /usr/lib/xorg/Xorg 5MiB |
| 2 3727 G /usr/lib/xorg/Xorg 5MiB |
| 2 6914 C guppy_basecaller 3459MiB |
+-----------------------------------------------------------------------------+
If you’re running over ssh, you’ll have to set the DISPLAY variable (or use nvidia-settings options) to tell which screen to use, e.g
DISPLAY=:0.0 nvidia-settings -q all
The user which runs that command also has to have access permissions to the xserver.
You’re running inside a xrpd session, which is a virtual xserver running in software, not a real one running on hardware. You can use nvidia-settings only on xservers which are running the nvidia driver.
The real xserver that is running on the nvidia gpu is the gdm login on the local console. You should be able to use nvidia-settings cli like
get a root shell
sudo -s
run nvidia settings:
DISPLAY=:0.0 XAUTHORITY=/run/user/121/gdm/Xauthority nvidia-settings -q all
The problem is that since yesterday (actually yesterday I realized) i can not login. I got stuck in a loop of inserting password. the only way to get in is via xrpd session
The question is
run where?
inside xrdp? sounds like a missing .Xauthority file or an unset DISPLAY variable.
Running on a forwarded X connection on the client Xserver? might be X11Forwarding is not enabled in the ssh client.
This is just too little information, you’ll have to check what you run where, get familar with the DISPLAY variable and xauth command , XAUTHORITY variable and Xauthority file.
Manipulating those can make nvidia-settings gui run on the xrdp’s virtual display :10 while controlling the nvidia gpu of the real display :0.