Nvidia-settings not Working on Ubuntu 20.04.2

//===============================================

Your Hardware Enablement Stack (HWE) is supported until April 2025.

# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.2 LTS
Release: 20.04
Codename: focal

# uname -r
5.8.0-43-generic

//--------------------------------------------------

i did installation from Ubuntu Drivers official (proprietary)

# sudo apt install nvidia-driver-460

//------------------------------------------------

# dpkg -l | grep nvidia

ii libnvidia-cfg1-460:amd64 460.32.03-0ubuntu0.20.04.1 amd64 NVIDIA binary OpenGL/GLX configuration library
ii libnvidia-common-460 460.32.03-0ubuntu0.20.04.1 all Shared files used by the NVIDIA libraries
ii libnvidia-compute-460:amd64 460.32.03-0ubuntu0.20.04.1 amd64 NVIDIA libcompute package
ii libnvidia-decode-460:amd64 460.32.03-0ubuntu0.20.04.1 amd64 NVIDIA Video Decoding runtime libraries
ii libnvidia-encode-460:amd64 460.32.03-0ubuntu0.20.04.1 amd64 NVENC Video Encoding runtime library
ii libnvidia-extra-460:amd64 460.32.03-0ubuntu0.20.04.1 amd64 Extra libraries for the NVIDIA driver
ii libnvidia-fbc1-460:amd64 460.32.03-0ubuntu0.20.04.1 amd64 NVIDIA OpenGL-based Framebuffer Capture runtime library
ii libnvidia-gl-460:amd64 460.32.03-0ubuntu0.20.04.1 amd64 NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii libnvidia-ifr1-460:amd64 460.32.03-0ubuntu0.20.04.1 amd64 NVIDIA OpenGL-based Inband Frame Readback runtime library
ii nvidia-compute-utils-460 460.32.03-0ubuntu0.20.04.1 amd64 NVIDIA compute utilities
ii nvidia-dkms-460 460.32.03-0ubuntu0.20.04.1 amd64 NVIDIA DKMS package
ii nvidia-driver-460 460.32.03-0ubuntu0.20.04.1 amd64 NVIDIA driver metapackage
ii nvidia-kernel-common-460 460.32.03-0ubuntu0.20.04.1 amd64 Shared files used with the kernel module
ii nvidia-kernel-source-460 460.32.03-0ubuntu0.20.04.1 amd64 NVIDIA kernel source package
ii nvidia-prime 0.8.15.3~0.20.04.1 all Tools to enable NVIDIA’s Prime
ii nvidia-settings 440.82-0ubuntu0.20.04.1 amd64 Tool for configuring the NVIDIA graphics driver
ii nvidia-utils-460 460.32.03-0ubuntu0.20.04.1 amd64 NVIDIA driver support binaries
ii screen-resolution-extra 0.18build1 all Extension for the nvidia-settings control panel
ii xserver-xorg-video-nvidia-460 460.32.03-0ubuntu0.20.04.1 amd64 NVIDIA binary Xorg driver

//==========================================================

# dkms status
nvidia, 460.32.03, 5.8.0-43-generic, x86_64: installed

//==========================================

# lspci -q | grep 'VGA'
04:00.0 VGA compatible controller: NVIDIA Corporation GM200 [GeForce GTX TITAN X] (rev a1)
05:00.0 VGA compatible controller: NVIDIA Corporation GM200 [GeForce GTX TITAN X] (rev a1)
08:00.0 VGA compatible controller: NVIDIA Corporation GM200 [GeForce GTX TITAN X] (rev a1)
09:00.0 VGA compatible controller: NVIDIA Corporation GM200 [GeForce GTX TITAN X] (rev a1)
0c:00.0 VGA compatible controller: ASPEED Technology, Inc. ASPEED Graphics Family (rev 30)
83:00.0 VGA compatible controller: NVIDIA Corporation GM200 [GeForce GTX TITAN X] (rev a1)
84:00.0 VGA compatible controller: NVIDIA Corporation GM200 [GeForce GTX TITAN X] (rev a1)
87:00.0 VGA compatible controller: NVIDIA Corporation GM200 [GeForce GTX TITAN X] (rev a1)
88:00.0 VGA compatible controller: NVIDIA Corporation GM200 [GeForce GTX TITAN X] (rev a1)
//-----------------------------------------------

# sudo lshw -c video
*-display
description: VGA compatible controller
product: GM200 [GeForce GTX TITAN X]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:04:00.0
logical name: /dev/fb0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vga_controller bus_master cap_list rom fb
configuration: depth=32 driver=nvidia latency=0 mode=1024x768 visual=truecolor xres=1024 yres=768
resources: iomemory:33f0-33ef iomemory:33f0-33ef irq:69 memory:c4000000-c4ffffff memory:33fe0000000-33fefffffff memory:33ff0000000-33ff1ffffff ioport:4000(size=128) memory:c5000000-c507ffff
*-display
description: VGA compatible controller
product: GM200 [GeForce GTX TITAN X]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:05:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
configuration: driver=nvidia latency=0
resources: iomemory:33f0-33ef iomemory:33f0-33ef irq:70 memory:c2000000-c2ffffff memory:33fc0000000-33fcfffffff memory:33fd0000000-33fd1ffffff ioport:3000(size=128) memory:c3000000-c307ffff
*-display
description: VGA compatible controller
product: GM200 [GeForce GTX TITAN X]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:08:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
configuration: driver=nvidia latency=0
resources: iomemory:33f0-33ef iomemory:33f0-33ef irq:71 memory:c0000000-c0ffffff memory:33fa0000000-33fafffffff memory:33fb0000000-33fb1ffffff ioport:2000(size=128) memory:c1000000-c107ffff
*-display
description: VGA compatible controller
product: GM200 [GeForce GTX TITAN X]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:09:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
configuration: driver=nvidia latency=0
resources: iomemory:33f0-33ef iomemory:33f0-33ef irq:72 memory:be000000-beffffff memory:33f80000000-33f8fffffff memory:33f90000000-33f91ffffff ioport:1000(size=128) memory:bf000000-bf07ffff
*-display
description: VGA compatible controller
product: ASPEED Graphics Family
vendor: ASPEED Technology, Inc.
physical id: 0
bus info: pci@0000:0c:00.0
version: 30
width: 32 bits
clock: 33MHz
capabilities: pm msi vga_controller bus_master cap_list rom
configuration: driver=ast latency=0
resources: irq:19 memory:c6000000-c6ffffff memory:c7000000-c701ffff ioport:6000(size=128) memory:c0000-dffff
*-display
description: VGA compatible controller
product: GM200 [GeForce GTX TITAN X]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:83:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
configuration: driver=nvidia latency=0
resources: iomemory:37f0-37ef iomemory:37f0-37ef irq:73 memory:fa000000-faffffff memory:37fe0000000-37fefffffff memory:37ff0000000-37ff1ffffff ioport:f000(size=128) memory:fb000000-fb07ffff
*-display
description: VGA compatible controller
product: GM200 [GeForce GTX TITAN X]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:84:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
configuration: driver=nvidia latency=0
resources: iomemory:37f0-37ef iomemory:37f0-37ef irq:74 memory:f8000000-f8ffffff memory:37fc0000000-37fcfffffff memory:37fd0000000-37fd1ffffff ioport:e000(size=128) memory:f9000000-f907ffff
*-display
description: VGA compatible controller
product: GM200 [GeForce GTX TITAN X]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:87:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
configuration: driver=nvidia latency=0
resources: iomemory:37f0-37ef iomemory:37f0-37ef irq:75 memory:f6000000-f6ffffff memory:37fa0000000-37fafffffff memory:37fb0000000-37fb1ffffff ioport:d000(size=128) memory:f7000000-f707ffff
*-display
description: VGA compatible controller
product: GM200 [GeForce GTX TITAN X]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:88:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
configuration: driver=nvidia latency=0
resources: iomemory:37f0-37ef iomemory:37f0-37ef irq:76 memory:f4000000-f4ffffff memory:37f80000000-37f8fffffff memory:37f90000000-37f91ffffff ioport:c000(size=128) memory:f5000000-f507ffff

//-----------------------------------------------
xorg.conf file

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 460.32.03

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    Screen      1  "Screen1"
    Screen      2  "Screen2"
    Screen      3  "Screen3"
    Screen      4  "Screen4"
    Screen      5  "Screen5"
    Screen      6  "Screen6"
    Screen      7  "Screen7"
    Screen      8  "Screen8" 
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    #Nvidia GPUs Virtual screens for Compute only
    #Inactive       "Screen1"
    #Inactive       "Screen2" 
    #Inactive       "Screen3" 
    #Inactive       "Screen4" 
    #Inactive       "Screen5" 
    #Inactive       "Screen6" 
    #Inactive       "Screen7" 
    #Inactive       "Screen8"
EndSection

Section "Files"
EndSection


Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    Option         "DPMS"
EndSection

Section "Monitor"
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "Unknown"
    Option         "DPMS"
EndSection

Section "Monitor"
    Identifier     "Monitor2"
    VendorName     "Unknown"
    ModelName      "Unknown"
    Option         "DPMS"
EndSection

Section "Monitor"
    Identifier     "Monitor3"
    VendorName     "Unknown"
    ModelName      "Unknown"
    Option         "DPMS"
EndSection

Section "Monitor"
    Identifier     "Monitor4"
    VendorName     "Unknown"
    ModelName      "Unknown"
    Option         "DPMS"
EndSection

Section "Monitor"
    Identifier     "Monitor5"
    VendorName     "Unknown"
    ModelName      "Unknown"
    Option         "DPMS"
EndSection

Section "Monitor"
    Identifier     "Monitor6"
    VendorName     "Unknown"
    ModelName      "Unknown"
    Option         "DPMS"
EndSection

Section "Monitor"
    Identifier     "Monitor7"
    VendorName     "Unknown"
    ModelName      "Unknown"
    Option         "DPMS"
EndSection

Section "Monitor"
    Identifier     "Monitor8"
    VendorName     "Unknown"
    ModelName      "Unknown"
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "modesetting"
    BusID          "12:0:0"
    VendorName     "ASPEED Technology"
    Option         "AccelMethod" "none"
EndSection

Section "Device"
    Identifier     "Device1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX TITAN X"
    BusID          "PCI:4:0:0"
EndSection

Section "Device"
    Identifier     "Device2"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX TITAN X"
    BusID          "PCI:5:0:0"
EndSection

Section "Device"
    Identifier     "Device3"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX TITAN X"
    BusID          "PCI:8:0:0"
EndSection

Section "Device"
    Identifier     "Device4"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX TITAN X"
    BusID          "PCI:9:0:0"
EndSection

Section "Device"
    Identifier     "Device5"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX TITAN X"
    BusID          "PCI:131:0:0"
EndSection

Section "Device"
    Identifier     "Device6"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX TITAN X"
    BusID          "PCI:132:0:0"
EndSection

Section "Device"
    Identifier     "Device7"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX TITAN X"
    BusID          "PCI:135:0:0"
EndSection

Section "Device"
    Identifier     "Device8"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX TITAN X"
    BusID          "PCI:136:0:0"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Device1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "Coolbits" "28"
    Option         "AllowEmptyInitialConfiguration" "True"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen2"
    Device         "Device2"
    Monitor        "Monitor2"
    DefaultDepth    24
    Option         "Coolbits" "28"
    Option         "AllowEmptyInitialConfiguration" "True"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen3"
    Device         "Device3"
    Monitor        "Monitor3"
    DefaultDepth    24
    Option         "Coolbits" "28"
    Option         "AllowEmptyInitialConfiguration" "True"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen4"
    Device         "Device4"
    Monitor        "Monitor4"
    DefaultDepth    24
    Option         "Coolbits" "28"
    Option         "AllowEmptyInitialConfiguration" "True"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen5"
    Device         "Device5"
    Monitor        "Monitor5"
    DefaultDepth    24
    Option         "Coolbits" "28"
    Option         "AllowEmptyInitialConfiguration" "True"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen6"
    Device         "Device6"
    Monitor        "Monitor6"
    DefaultDepth    24
    Option         "Coolbits" "28"
    Option         "AllowEmptyInitialConfiguration" "True"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen7"
    Device         "Device7"
    Monitor        "Monitor7"
    DefaultDepth    24
    Option         "Coolbits" "28"
    Option         "AllowEmptyInitialConfiguration" "True"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen8"
    Device         "Device8"
    Monitor        "Monitor8"
    DefaultDepth    24
    Option         "Coolbits" "28"
    Option         "AllowEmptyInitialConfiguration" "True"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

//-----------------------------------------------

# nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2021 NVIDIA Corporation
Built on Thu_Jan_28_19:32:09_PST_2021
Cuda compilation tools, release 11.2, V11.2.142
Build cuda_11.2.r11.2/compiler.29558016_0

//----------------------------------------------------

Note: Nvidia SMI works fine

# nvidia-smi

±----------------------------------------------------------------------------+
| NVIDIA-SMI 460.32.03 Driver Version: 460.32.03 CUDA Version: 11.2 |
|-------------------------------±---------------------±---------------------+
| 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 TIT… Off | 00000000:04:00.0 Off | N/A |
| 22% 26C P8 13W / 250W | 7MiB / 12212MiB | 0% Default |
| | | N/A |
±------------------------------±---------------------±---------------------+
| 1 GeForce GTX TIT… Off | 00000000:05:00.0 Off | N/A |
| 22% 25C P8 13W / 250W | 7MiB / 12212MiB | 0% Default |
| | | N/A |
±------------------------------±---------------------±---------------------+
| 2 GeForce GTX TIT… Off | 00000000:08:00.0 Off | N/A |
| 22% 23C P8 13W / 250W | 7MiB / 12212MiB | 0% Default |
| | | N/A |
±------------------------------±---------------------±---------------------+
| 3 GeForce GTX TIT… Off | 00000000:09:00.0 Off | N/A |
| 22% 24C P8 13W / 250W | 7MiB / 12212MiB | 0% Default |
| | | N/A |
±------------------------------±---------------------±---------------------+
| 4 GeForce GTX TIT… Off | 00000000:83:00.0 Off | N/A |
| 22% 25C P8 14W / 250W | 7MiB / 12212MiB | 0% Default |
| | | N/A |
±------------------------------±---------------------±---------------------+
| 5 GeForce GTX TIT… Off | 00000000:84:00.0 Off | N/A |
| 22% 25C P8 13W / 250W | 7MiB / 12212MiB | 0% Default |
| | | N/A |
±------------------------------±---------------------±---------------------+
| 6 GeForce GTX TIT… Off | 00000000:87:00.0 Off | N/A |
| 22% 25C P8 13W / 250W | 7MiB / 12212MiB | 0% Default |
| | | N/A |
±------------------------------±---------------------±---------------------+
| 7 GeForce GTX TIT… Off | 00000000:88:00.0 Off | N/A |
| 22% 26C P8 14W / 250W | 7MiB / 12212MiB | 0% Default |
| | | N/A |
±------------------------------±---------------------±---------------------+

±----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 2334 G /usr/lib/xorg/Xorg 4MiB |
| 1 N/A N/A 2334 G /usr/lib/xorg/Xorg 4MiB |
| 2 N/A N/A 2334 G /usr/lib/xorg/Xorg 4MiB |
| 3 N/A N/A 2334 G /usr/lib/xorg/Xorg 4MiB |
| 4 N/A N/A 2334 G /usr/lib/xorg/Xorg 4MiB |
| 5 N/A N/A 2334 G /usr/lib/xorg/Xorg 4MiB |
| 6 N/A N/A 2334 G /usr/lib/xorg/Xorg 4MiB |
| 7 N/A N/A 2334 G /usr/lib/xorg/Xorg 4MiB |
±----------------------------------------------------------------------------+

//=========================================================
Note: Nvidia-Settings gives the following error and then opens a small empty window with no configurations
but can’t get it to work and load with configuration of the NVIDIA GPUs

nvidia-settings

ERROR: Unable to load info from any available system

(nvidia-settings:5061): GLib-GObject-CRITICAL **: 12:39:58.267: g_object_unref: assertion ‘G_IS_OBJECT (object)’ failed
** Message: 12:39:58.273: PRIME: No offloading required. Abort
** Message: 12:39:58.273: PRIME: is it supported? no

///----------------------------------

i have tried everything i can think of, Googled a million solutions and nothing seems to work for Nvidia-settings command.

i have One Onboard Integrated ASPEED graphic card and 8 x Nvidia GTX TITAN X (Maxwell) on PCI-E Slots .

i use only one monitor which is usually connected to the ASPEED integrated graphic card when working at the DataCenter otherwise there is no actual monitors connected
on the MultiGPUs ( headless) . I use all Nvidia GPUs for Compute Only and NOT for Display.

**Is there a reason Nvidia-settings would not work in this case? what might be wrong or what am i missing? **