Ubuntu 20.04 2 x GeForce RTX 3060 Display Cards

We are using Ubuntu 20.04 with 2 x GeForce RTX 3060 display cards. Driver is NVIDIA driver package metapackage from nvidia-driver-495. Monitors are 3 x 27" on one GPU and 1 x 24" on the other GPU.

The desktop is only displayed on the 3 x 27" screens. The 24" screen is black and only the X cursor is shown. In the NVIDIA X Server Settings app, both GPU’s are available. All screens are shown and is grouped in Screen 0 and Screen 1, but we can’t get the desktop to show on the 24" screen connected to the second GPU.

How can we get the desktop on all the screens?

Below is the current xorg.conf file.

#nvidia-settings: X configuration file generated by nvidia-settings
#nvidia-settings: version 470.57.01

Section “ServerLayout”
Identifier “Layout0”
Screen 0 “Screen0” 1920 0
Screen 1 “Screen1” 0 0
InputDevice “Keyboard0” “CoreKeyboard”
InputDevice “Mouse0” “CorePointer”
Option “Xinerama” “0”
EndSection

Section “Files”
EndSection

Section “Module”
Load “dbe”
Load “extmod”
Load “type1”
Load “freetype”
Load “glx”
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”

#HorizSync source: edid, VertRefresh source: edid
Identifier “Monitor0”
VendorName “Unknown”
ModelName “DELL U2722D”
HorizSync 30.0 - 90.0
VertRefresh 49.0 - 76.0
Option “DPMS”
EndSection

Section “Monitor”

#HorizSync source: edid, VertRefresh source: edid
Identifier “Monitor1”
VendorName “Unknown”
ModelName “DELL P2419H”
HorizSync 30.0 - 83.0
VertRefresh 56.0 - 76.0
Option “DPMS”
EndSection

Section “Device”
Identifier “Device0”
Driver “nvidia”
VendorName “NVIDIA Corporation”
BoardName “NVIDIA GeForce RTX 3060”
BusID “PCI:104:0:0”
EndSection

Section “Device”
Identifier “Device1”
Driver “nvidia”
VendorName “NVIDIA Corporation”
BoardName “NVIDIA GeForce RTX 3060”
BusID “PCI:27:0:0”
EndSection

Section “Screen”

#Removed Option “metamodes” “HDMI-0: nvidia-auto-select +5120+0, DP-0.8: nvidia-auto-select +0+0, DP-2.8: nvidia-auto-select +2560+0”
Identifier “Screen0”
Device “Device0”
Monitor “Monitor0”
DefaultDepth 24
Option “Stereo” “0”
Option “nvidiaXineramaInfoOrder” “DFP-1.8”
Option “metamodes” “HDMI-0: nvidia-auto-select +0+0, DP-0.8: nvidia-auto-select +5120+0, DP-2.8: nvidia-auto-select +2560+0”
Option “SLI” “Off”
Option “MultiGPU” “Off”
Option “BaseMosaic” “off”
SubSection “Display”
Depth 24
EndSubSection
EndSection

Section “Screen”
Identifier “Screen1”
Device “Device1”
Monitor “Monitor1”
DefaultDepth 24
Option “nvidiaXineramaInfoOrder” “DFP-4”
Option “Stereo” “0”
Option “metamodes” “nvidia-auto-select +0+0 {AllowGSYNC=Off}”
Option “SLI” “Off”
Option “MultiGPU” “Off”
Option “BaseMosaic” “off”
SubSection “Display”
Depth 24
EndSubSection
EndSection

We solved the problem. A network card was plugged in a wrong pci slot. After removing the network card, reinstalled Ubuntu and it work out of the box.