Twinview doesn't work with Quadro M4000 and RTX4000

Hello,

We use HP RGS to work remotely. We need to use twinview to connect 2 screens on workstations without screen connected.
This work fine with Quadro K2000 series but not with M4000 and RTX4000.

OS : Centos 7.7
Driver : 440.64

[ 6111.784] (II) NVIDIA(0): Using MetaMode string: “DFP-0: 2560x1440 +0+0, DFP-1:
[ 6111.784] (II) NVIDIA(0): 2560x1440 +2560+0”
[ 6111.784] (II) NVIDIA(0): Requested modes:
[ 6111.784] (II) NVIDIA(0): “DFP-0:2560x1440+0+0,DFP-1:2560x1440+2560+0”
[ 6111.785] (WW) NVIDIA(0): No valid modes for
[ 6111.785] (WW) NVIDIA(0): “DFP-0:2560x1440+0+0,DFP-1:2560x1440+2560+0”; removing.
[ 6111.785] (WW) NVIDIA(0):
[ 6111.785] (WW) NVIDIA(0): Unable to validate any modes; falling back to the default mode
[ 6111.785] (WW) NVIDIA(0): “nvidia-auto-select”.
[ 6111.785] (WW) NVIDIA(0):
[ 6111.786] (WW) NVIDIA(0): No valid modes for
[ 6111.786] (WW) NVIDIA(0): “DFP-0:nvidia-auto-select,DFP-1:nvidia-auto-select”;
[ 6111.786] (WW) NVIDIA(0): removing.
[ 6111.786] (EE) NVIDIA(0): Unable to use default mode “nvidia-auto-select”.
[ 6111.786] (EE) NVIDIA(0): Failing initialization of X screen
[ 6111.882] (II) UnloadModule: “nvidia”
[ 6111.882] (II) UnloadSubModule: “glxserver_nvidia”
[ 6111.882] (II) Unloading glxserver_nvidia
[ 6111.882] (II) UnloadSubModule: “wfb”
[ 6111.882] (II) UnloadSubModule: “fb”
[ 6111.882] (EE) Screen(s) found, but none have a usable configuration.

Our xorg.conf

Section “ServerLayout”
Identifier “Layout0”
Screen 0 “Screen0”
EndSection
Section “ServerFlags”
Option “BlankTime” “0”
Option “StandbyTime” “0”
Option “SuspendTime” “0”
Option “OffTime” “0”
EndSection
Section “Monitor”
Identifier “Monitor0”
VendorName “Unknown”
ModelName “Unknown”
EndSection
Section “Device”
Identifier “Device0”
Driver “nvidia”
VendorName “NVIDIA Corporation”
Option “ConnectedMonitor” “DFP-0, DFP-1”
Option “CustomEDID” “DFP-0:/etc/X11/edid.bin; DFP-1:/etc/X11/edid.bin”
EndSection

Section “Screen”
Identifier “Screen0”
Device “Device0”
Monitor “Monitor0”
DefaultDepth 24
Option “TwinView” “True”
Option “MetaModes” “DFP-0: 2560x1440 +0+0, DFP-1: 2560x1440 +2560+0”
SubSection “Display”
Depth 24
EndSubSection
EndSection

Xorg logs with RTX4000 (didn’t works)
debug_rtx4000.log (581.2 KB)

Xorg log with K2000 (works fine)
debug_k2000.log (596.5 KB)

“TwinView” is an option for ancient Xservers, please remove it.
Please also remove the monitor section and try if that makes it work. I suspect this comes from the fact that the K2000 still had vga output that was enabled automatically. Newer cards don’t have that anymore.

Thanks generix !

I remove the twinview option and monitor section.

It still works with K2000 but I have the same trouble with the RTX4000

Please check for a general bug by using a minmal xorg.conf for one monitor containing just

Section “Device”
    Identifier “Device0”
    Driver “nvidia”
    VendorName “NVIDIA Corporation”
    Option “ConnectedMonitor” “DFP-0”
    Option “CustomEDID” “DFP-0:/etc/X11/edid.bin”
EndSection

and provide a new xorg log with it.
Please also check if upgrading to the latest 440.82 driver makes it work.
Edit: changed config to use just one monitor.

It works with one screen.

debug_rtx4000_1screen.log (309.5 KB)

elrepo doesn’t provide the 440.82 drivers for Centos 7.7.
We have many workstations to setup so install manually the drivers will be my last resort.

I will try to find another workstation to do this test anyway

Installing manually the 440.82 drivers change nothing.

Ok, the logs look like you still had a “layout” and “screen” section. Please try with an xorg.conf only containing the “device” section:

Section “Device”
    Identifier “Device0”
    Driver “nvidia”
    VendorName “NVIDIA Corporation”
    Option “ConnectedMonitor” “DFP-0, DFP-1”
    Option “CustomEDID” “DFP-0:/etc/X11/edid.bin; DFP-1:/etc/X11/edid.bin”
EndSection