RTX 2060, xubuntu, 2 separate screens

I have been trying to get this to work under xUbuntu 18.10. Essentially, any xorg.conf that has two screens and devices in it displays a black screen on the second display. I can do one screen and mirror or not on both displays just fine, works perfectly.

Here’s my current xorg.conf:

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

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" RightOf "Screen0"
    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     "Epson"
    ModelName      "Pioneer Electronic Corporation SC-55"
    HorizSync       15.0 - 92.0
    VertRefresh     24.0 - 85.0
    Option         "DPMS"
EndSection

Section "Monitor"

    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor1"
    VendorName     "Samsung"
    ModelName      "SAMSUNG"
    HorizSync       15.0 - 81.0
    VertRefresh     24.0 - 75.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce RTX 2060"
    BusID          "PCI:1:0:0"
    Screen          0
EndSection

Section "Device"
    Identifier     "Device1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce RTX 2060"
    BusID          "PCI:1:0:0"
    Screen          1
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DFP-0"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    Option         "ConnectedMonitor" "DFP-0,DFP-1"
    Option         "ModeDebug" "On"
    SubSection     "Display"
        Depth       24
        Modes      "1920x1080"
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Device1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DFP-1"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
        Modes      "1920x1080"
    EndSubSection
EndSection

Any idea how this can be resolved, I really want separate screens but have not been able to get there. Have tried 418 and 415, same results. I have tried all sorts of settings, none seem to affect the second display.
nvidia-bug-report.log.gz (1.21 MB)

If you define a second screen, this will be black until you start something on it, e.g.
DISPLAY=:0.1 xterm
or
DISPLAY=:1.1 xterm

Except, that does not work as it can not find the second screen. DISPLAY=:0.1 xterm displays in screen 0.0 as a result. xrandr -q shows only one monitor, all other shows as disconnected. It simply does not work.

Before you say it’s not defined right or whatever, note as soon as I say restart or shutdown, the second screen displays the shutdown sequence, suddenly resurrects from blank. And upon boot, the second display shows the boot sequence until the desktop starts up and then it goes blank. Switching RTX ports, switching which monitor is first, etc results in the same problem, the second monitor, whatever it is, is blank.

And, note without the xorg.conf, I can have a desktop on both monitors, and, mirror or not mirror them and it all works, it’s just one screen though and I need two.

Please run nvidia-bug-report.sh as root and attach the resulting .gz file to your post. Hovering the mouse over an existing post of yours will reveal a paperclip icon.
[url]https://devtalk.nvidia.com/default/topic/1043347/announcements/attaching-files-to-forum-topics-posts/[/url]

Ok, ran as root, here she is. xorg.conf is exactly as created by nvidia-settings.