X11 rotation issue on 510.39.01 and 470.94 - 4 rotated monitors crashes X on startup

I am using openSUSE Leap 15.3 with a Nvidia P620 card (4 port). It is connected to 4 Dell 32" monitors rotated.

I am using the openSUSE specific RPMs published to Index of /opensuse/leap/15.3/x86_64

This worked fine with version 460.80, but upgrading to 470.94 (and also tested 510.39.01), X server would crash with this error:

X.Org X Server 1.20.3
X Protocol Version 11, Revision 0
[   505.776] Build Operating System: openSUSE SUSE LINUX
[   505.776] Current Operating System: Linux mydesktop 5.3.18-59.37-default #1 SMP Mon Nov 22 12:29:04 UTC 2021 (d10168e) x86_64
[   505.776] Kernel command line: BOOT_IMAGE=/vmlinuz-5.3.18-59.37-default root=UUID=533ba045-46ad-4a95-8fcc-05cb35dd66a7 net.ifnames=0 intel_idle.max_cstate=0 mitigations=auto quiet
[   505.776] Build Date: 14 December 2021  12:00:00PM
[   505.776]
[   505.776] Current version of pixman: 0.34.0
.
.
.
[   506.398] (II) NVIDIA(3): Setting mode "DP-4:nvidia-auto-select+0+0{AllowGSYNC=Off}"
[   506.425] (WW) NVIDIA(3): Failed to set the display configuration
[   506.425] (WW) NVIDIA(3):  - Setting a mode on display 0 failed: The extended GPU
[   506.425] (WW) NVIDIA(3):     capabilities check failed
[   506.425] (EE) 
Fatal server error:
[   506.425] (EE) AddScreen/ScreenInit failed for driver 3

If I removed the rotation setting or disabled the 4th monitor, it is no longer an issue and X server does not crash. Also note that each monitor is assigned to a separate “Screen” (not sure if this is relevant or not, but is notable).

Here is the xorg.conf:

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


Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" 2160 0
    Screen      2  "Screen2" 4320 0
    Screen      3  "Screen3" 6480 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
EndSection

Section "Files"
EndSection

Section "InputDevice"

    # generated from data in "/etc/sysconfig/mouse"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "IMPS/2"
    Option         "Device" "/dev/input/mice"
    Option         "Emulate3Buttons" "yes"
    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 U3219Q"
    HorizSync       10.0 - 137.0
    VertRefresh     49.0 - 86.0
    Option         "DPMS"
EndSection

Section "Monitor"

    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "DELL U3219Q"
    HorizSync       10.0 - 137.0
    VertRefresh     49.0 - 86.0
    Option         "DPMS"
EndSection

Section "Monitor"

    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor2"
    VendorName     "Unknown"
    ModelName      "DELL U3219Q"
    HorizSync       10.0 - 137.0
    VertRefresh     49.0 - 86.0
    Option         "DPMS"
EndSection

Section "Monitor"
    Identifier     "Monitor3"
    VendorName     "Unknown"
    ModelName      "DELL U3219Q"
    HorizSync       10.0 - 137.0
    VertRefresh     49.0 - 86.0
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "Quadro P620"
    BusID          "PCI:1:0:0"
    Screen          0
EndSection

Section "Device"
    Identifier     "Device1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "Quadro P620"
    BusID          "PCI:1:0:0"
    Screen          1
EndSection

Section "Device"
    Identifier     "Device2"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "Quadro P620"
    BusID          "PCI:1:0:0"
    Screen          2
EndSection

Section "Device"
    Identifier     "Device3"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "Quadro P620"
    BusID          "PCI:1:0:0"
    Screen          3
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DFP-2"
    Option         "metamodes" "DP-2: nvidia-auto-select +0+0 {rotation=left}"
    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         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DFP-0"
    Option         "metamodes" "DP-0: nvidia-auto-select +0+0 {rotation=left}"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"

# Removed Option "metamodes" "DP-6: nvidia-auto-select +0+0 {rotation=right}"
# Removed Option "metamodes" "DP-4: nvidia-auto-select +0+0 {rotation=left}"
    Identifier     "Screen2"
    Device         "Device2"
    Monitor        "Monitor2"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DFP-6"
    Option         "metamodes" "DP-6: nvidia-auto-select +0+0 {rotation=right}"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"

# Removed Option "metamodes" "DP-6: nvidia-auto-select +0+0 {AllowGSYNC=Off}"
# Removed Option "metamodes" "DP-6: nvidia-auto-select +0+0 {rotation=right, AllowGSYNC=Off}"
    Identifier     "Screen3"
    Device         "Device3"
    Monitor        "Monitor3"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DFP-4"
    Option         "metamodes" "DP-4: nvidia-auto-select +0+0 {rotation=right, AllowGSYNC=Off}"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

I have just tested G04 - 390.147 on the same system and this branch of the driver does not have the issue with the 4th monitor rotation. I will use this driver for now until G05 is fixed.