Cant open nvidia-setting ubuntu 18.04 , vgpu Nvidia Tesla M10

I am using NVIDIA Tesla M10 GPU on vSphere and I failed to install open nvidia-settings after i installed driver
NVIDIA-Linux-x86_64-430.30-grid.run

nvidia-settings
WARNING: NV-CONTROL extension not found on this Display.
ERROR: Unable to load info from any available system

lspci

02:00.0 VGA compatible controller: NVIDIA Corporation GM107GL [Tesla M10] (rev a2) (prog-if 00 [VGA controller])
        Subsystem: NVIDIA Corporation GRID M10-8Q
        Physical Slot: 32
        Flags: bus master, 66MHz, user-definable features, ?? devsel, latency 0, IRQ 64
        Memory at fc000000 (32-bit, non-prefetchable) 
        Memory at d0000000 (64-bit, prefetchable) 
        Memory at fa000000 (64-bit, non-prefetchable) 
        I/O ports at 2000 
        Capabilities: <access denied>
        Kernel driver in use: nvidia
        Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia

ps afx

752 tty1     Ss     0:00 /bin/login -p --
  794 tty1     S      0:00  \_ -bash
  804 tty1     S+     0:00      \_ /bin/sh /usr/bin/startx
  826 tty1     S+     0:00          \_ xinit /etc/X11/xinit/xinitrc -- /etc/X11/xinit/xserverrc :0 vt1 -keeptty -auth /tmp/serverauth.wTZPxI0wNA
  827 tty1     Sl     0:43              \_ /usr/lib/xorg/Xorg -nolisten tcp :0 vt1 -keeptty -auth /tmp/serverauth.wTZPxI0wNA
  837 tty1     S      0:00              \_ /bin/sh /etc/xdg/xfce4/xinitrc -- /etc/X11/xinit/xserverrc
  883 ?        Ss     0:00                  \_ /usr/bin/ssh-agent /usr/bin/im-launch x-session-manager
  901 tty1     Sl     0:00                  \_ xfce4-session
  935 tty1     S      0:00                      \_ xscreensaver -no-splash
  936 tty1     Sl     0:00                      \_ /usr/bin/python3 /usr/share/system-config-printer/applet.py
  939 tty1     Sl     0:00                      \_ /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1
  940 tty1     Sl     0:00                      \_ nm-applet

nvidia-bug-report.log.gz (1.1 MB)
dmesg.log (73.3 KB)
xorg.log (24.9 KB)

vsphere

[root@medusa-02:~] nvidia-smi
Mon Jul 15 14:18:47 2019       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 430.27       Driver Version: 430.27       CUDA Version: N/A      |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  Tesla  M10          On   | 00000000:05:00.0 Off |                  N/A |
| N/A   34C    P8    10W /  53W |   8141MiB /  8191MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   1  Tesla  M10          On   | 00000000:06:00.0 Off |                  N/A |
| N/A   32C    P8    10W /  53W |   8141MiB /  8191MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   2  Tesla  M10          On   | 00000000:07:00.0 Off |                  N/A |
| N/A   28C    P8    10W /  53W |     11MiB /  8191MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   3  Tesla  M10          On   | 00000000:08:00.0 Off |                  N/A |
| N/A   28C    P8    10W /  53W |     11MiB /  8191MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|    0   1076491    C+G   debian-tesla-m10                            8128MiB |
|    1   1099169    C+G   ubuntu-tesla-m10                            8128MiB |
+-----------------------------------------------------------------------------+

Virtual Device

test@ubuntu-tesla-m10:/etc$ cat lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION=“Ubuntu 18.04.2 LTS”

test@ubuntu-tesla-m10:~$ nvidia-smi 
Mon Jul 15 10:15:26 2019       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 430.30       Driver Version: 430.30       CUDA Version: 10.2     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GRID M10-8Q         On   | 00000000:02:00.0 Off |                  N/A |
| N/A   N/A    P8    N/A /  N/A |    528MiB /  8192MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|  No running processes found                                                 |
+-----------------------------------------------------------------------------+

The Xserver is currently running on the vmware adapter. Please try with this as xorg.conf:

Section "Device"
    Identifier     "nvidia"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BusID          "PCI:2:0:0"
    Option         "AllowEmptyInitialConfiguration"
EndSection

I did , but with startx i am stuck in cmd.

X.Org X Server 1.19.6
Release Date: 2017-12-20
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.4.0-148-generic x86_64 Ubuntu
Current Operating System: Linux ubuntu-tesla-m10 4.15.0-54-generic #58-Ubuntu SMP Mon Jun 24 10:55:24 UTC 2019 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.15.0-54-generic root=UUID=296b018d-6642-4753-bfbd-61ae8250d351 ro splash quiet
Build Date: 03 June 2019  08:10:35AM
xorg-server 2:1.19.6-1ubuntu4.3 (For technical support please see http://www.ubuntu.com/support) 
Current version of pixman: 0.34.0
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue Jul 16 09:42:02 2019
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
xinit: connection to X server lost

waiting for X server to shut down (II) Server terminated successfully (0). Closing log file.

xinit: unexpected signal 15

xorg.log (17.5 KB)

There’s no client connecting to the Xserver, so it starts and just stops again. Create an ~/.xinitrc e.g. with contents

exec xterm

and the xserver will stay alive displaying an xterm.

753 tty1     Ss     0:00 /bin/login -p --
  883 tty1     S      0:00  \_ -bash
 1630 tty1     S+     0:00      \_ /bin/sh /usr/bin/startx
 1652 tty1     S+     0:00          \_ xinit /home/test/.xinitrc -- /etc/X11/xinit/xserverrc :0 vt1 -keeptty -auth /tmp/serverauth.e1MQ9i3yrO
 1653 tty1     Sl     9:43              \_ /usr/lib/xorg/Xorg -nolisten tcp :0 vt1 -keeptty -auth /tmp/serverauth.e1MQ9i3yrO
 1661 tty1     Sl     0:00              \_ xfce4-session
 1689 tty1     S      0:00                  \_ xscreensaver -no-splash
 1693 tty1     Sl     0:00                  \_ /usr/bin/python3 /usr/share/system-config-printer/applet.py
 1704 tty1     Sl     0:00                  \_ /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1
 1705 tty1     Sl     0:00                  \_ nm-applet
  761 ?        Ss     0:00 /lib/systemd/systemd --user
  762 ?        S      0:00  \_ (sd-pam)
  938 ?        SLs    0:00  \_ /usr/bin/gpg-agent --supervised
test@ubuntu-tesla-m10:~$ cat ~/.xinitrc 
exec xfce4-session

I dont think that the case. Without this config its working.

BusID          "PCI:2:0:0"
    Option         "AllowEmptyInitialConfiguration"

I guess its more xorg.conf configuration related,but i didnt figure it.

nvidia-bug-report.log.gz (1.07 MB)

According to the xorg logs, the Xserver is coming up correctly on the nvidia gpu.
Of course you can’t see it, the Tesla has no monitor outputs, or what is your issue? You can connect to it e.g. through x11vnc.