Nexarian Fork mainline_merge* not working with multi monitor

Hi,
I am using the "mainline_merge_avc444" branch from the Nexarian fork (xrdp+xorgxrdp). I can't get a GPU-accelarated multi monitor setting to work. I would like to connect to two Xorg Screens on a remote server where 3 GPUs are available.
My xorg.conf looks like:
Section "ServerLayout"
    Identifier "X11 Server"
    Screen "Screen0"
    Screen "Screen1" RightOf "Screen0"
    InputDevice "xrdpMouse" "CorePointer"
    InputDevice "xrdpKeyboard" "CoreKeyboard"
EndSection

Section "ServerFlags"
    # This line prevents "ServerLayout" sections in xorg.conf.d files
    # overriding the "X11 Server" layout (xrdp #1784)
    Option "DefaultServerLayout" "X11 Server"
    Option "DontVTSwitch" "on"
    Option "AutoAddDevices" "off"
    Option "AutoAddGPU" "off"
EndSection

Section "Module"
    Load "dbe"
    Load "ddc"
    Load "extmod"
    Load "glx"
    Load "int10"
    Load "record"
    Load "vbe"
    Load "xorgxrdp"
    Load "fb"
EndSection

Section "InputDevice"
    Identifier "xrdpKeyboard"
    Driver "xrdpkeyb"
EndSection

Section "InputDevice"
    Identifier "xrdpMouse"
    Driver "xrdpmouse"
EndSection

Section "Monitor"
    Identifier "Monitor0"
EndSection

Section "Monitor"
  Identifier "Monitor1"
EndSection

Section "Device"
    Identifier "Card0"
    Driver "nvidia"
    BusID "PCI:59:0:0"
    Option "UseDisplayDevice" "DFP-0"
EndSection

Section "Device"
  Identifier "Card1"
  Driver "nvidia"
  BusID "PCI:175:0:0"
  Option "UseDisplayDevice" "DFP-0"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device "Card0"
    # Comment out this line for xorg < 1.18.0
    GPUDevice ""
    Monitor "Monitor0"
    DefaultDepth 24
    SubSection "Display"
        Depth 24
        Modes "640x480" "800x600" "1024x768" "1280x720" "1280x1024" "1600x900" "1920x1080"
    EndSubSection
EndSection

Section "Screen"
  Identifier "Screen1"
  Device "Card1"
  GPUDevice ""
  Monitor "Monitor1"
  DefaultDepth 24
  SubSection "Display"
    Depth 24
    Modes "1920x1080"
  EndSubSection
EndSection

When I connect using freerdp 2.9.0 in multi monitor mode + avc444 setting, no visual connection can be established. My .xorgxrdp log shows:
[254014.106]
X.Org X Server <IP_ADDRESS>
X Protocol Version 11, Revision 0
[254014.106] Current Operating System: Linux ukheidelberg 5.15.0-69-generic #76-Ubuntu SMP Fri Mar 17 17:19:29 UTC 2023 x86_64
[254014.106] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.15.0-69-generic root=UUID=ae6d005e-3d8c-4fbd-a372-dc07dbe8a2f8 ro
[254014.106] xorg-server 2:21.1.3-2ubuntu2.9 (For technical support please see http://www.ubuntu.com/support)
[254014.106] Current version of pixman: 0.40.0
[254014.106] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[254014.106] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[254014.106] (++) Log file: ".xorgxrdp.12.log", Time: Mon Apr 17 07:17:33 2023
[254014.106] (++) Using config file: "/etc/X11/xrdp/xorg.conf"
[254014.106] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[254014.106] (**) Option "defaultserverlayout" "X11 Server"
[254014.106] (**) ServerLayout "X11 Server"
[254014.106] (**) |-->Screen "Screen0" (0)
[254014.106] (**) |   |-->Monitor "Monitor0"
[254014.107] (**) |   |-->Device "Card0"
[254014.107] (**) |-->Screen "Screen1" (1)
[254014.107] (**) |   |-->Monitor "Monitor1"
[254014.107] (**) |   |-->Device "Card1"
[254014.107] (**) |-->Input Device "xrdpMouse"
[254014.107] (**) |-->Input Device "xrdpKeyboard"
[254014.107] (**) Option "DontVTSwitch" "on"
[254014.107] (**) Option "AutoAddDevices" "off"
[254014.107] (**) Option "AutoAddGPU" "off"
[254014.107] (**) Not automatically adding devices
[254014.107] (==) Automatically enabling devices
[254014.107] (**) Not automatically adding GPU devices
[254014.107] (==) Automatically binding GPU devices
[254014.107] (==) Max clients allowed: 256, resource mask: 0x1fffff
[254014.107] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[254014.107] 	Entry deleted from font path.
[254014.107] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[254014.107] 	Entry deleted from font path.
[254014.107] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[254014.107] 	Entry deleted from font path.
[254014.107] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[254014.107] 	Entry deleted from font path.
[254014.107] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[254014.107] 	Entry deleted from font path.
[254014.107] (==) FontPath set to:
	/usr/share/fonts/X11/misc,
	/usr/share/fonts/X11/Type1,
	built-ins
[254014.107] (==) ModulePath set to "/usr/lib/xorg/modules"
[254014.107] (II) Loader magic: 0x556005153020
[254014.107] (II) Module ABI versions:
[254014.107] 	X.Org ANSI C Emulation: 0.4
[254014.107] 	X.Org Video Driver: 25.2
[254014.107] 	X.Org XInput driver : 24.4
[254014.107] 	X.Org Server Extension : 10.0
[254014.108] (--) using VT number 2

[254014.109] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[254014.110] (II) xfree86: Adding drm device (/dev/dri/card0)
[254014.110] (II) Platform probe for /sys/devices/pci0000:00/0000:00:1c.4/0000:02:00.0/0000:03:00.0/drm/card0
[254014.126] (II) xfree86: Adding drm device (/dev/dri/card1)
[254014.126] (II) Platform probe for /sys/devices/pci0000:3a/0000:3a:00.0/0000:3b:00.0/drm/card1
[254014.126] (II) xfree86: Adding drm device (/dev/dri/card2)
[254014.126] (II) Platform probe for /sys/devices/pci0000:ae/0000:ae:00.0/0000:af:00.0/drm/card2
[254014.127] (II) xfree86: Adding drm device (/dev/dri/card3)
[254014.127] (II) Platform probe for /sys/devices/pci0000:d7/0000:d7:00.0/0000:d8:00.0/drm/card3
[254014.136] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/x86_64-linux-gnu/nvidia/xorg,/usr/lib/xorg/modules"
[254014.136] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/x86_64-linux-gnu/nvidia/xorg,/usr/lib/x86_64-linux-gnu/nvidia/xorg,/usr/lib/xorg/modules"
[254014.136] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/x86_64-linux-gnu/nvidia/xorg,/usr/lib/x86_64-linux-gnu/nvidia/xorg,/usr/lib/x86_64-linux-gnu/nvidia/xorg,/usr/lib/xorg/modules"
[254014.144] (--) PCI:*(3@0:0:0) 102b:0536:1028:0715 rev 4, Mem @ 0x91000000/16777216, 0x92808000/16384, 0x92000000/8388608, BIOS @ 0x????????/131072
[254014.144] (--) PCI: (59@0:0:0) 10de:2235:10de:145a rev 161, Mem @ 0xad000000/16777216, 0x388000000000/68719476736, 0x38a000000000/33554432
[254014.144] (--) PCI: (175@0:0:0) 10de:2235:10de:145a rev 161, Mem @ 0xe3000000/16777216, 0x398000000000/68719476736, 0x39a000000000/33554432
[254014.144] (--) PCI: (216@0:0:0) 10de:2235:10de:145a rev 161, Mem @ 0xf1000000/16777216, 0x39c000000000/68719476736, 0x39e000000000/33554432
[254014.144] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[254014.144] (II) LoadModule: "dbe"
[254014.144] (II) Module "dbe" already built-in
[254014.144] (II) LoadModule: "ddc"
[254014.144] (II) Module "ddc" already built-in
[254014.144] (II) LoadModule: "extmod"
[254014.144] (II) Module "extmod" already built-in
[254014.144] (II) LoadModule: "glx"
[254014.144] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[254014.145] (II) Module glx: vendor="X.Org Foundation"
[254014.145] 	compiled for <IP_ADDRESS>, module version = 1.0.0
[254014.145] 	ABI class: X.Org Server Extension, version 10.0
[254014.145] (II) LoadModule: "int10"
[254014.145] (II) Loading /usr/lib/xorg/modules/libint10.so
[254014.145] (II) Module int10: vendor="X.Org Foundation"
[254014.145] 	compiled for <IP_ADDRESS>, module version = 1.0.0
[254014.145] 	ABI class: X.Org Video Driver, version 25.2
[254014.145] (II) LoadModule: "record"
[254014.145] (II) Module "record" already built-in
[254014.145] (II) LoadModule: "vbe"
[254014.145] (II) Loading /usr/lib/xorg/modules/libint10.so
[254014.145] (II) Module int10: vendor="X.Org Foundation"
[254014.145] 	compiled for <IP_ADDRESS>, module version = 1.0.0
[254014.145] 	ABI class: X.Org Video Driver, version 25.2
[254014.145] (II) LoadModule: "xorgxrdp"
[254014.145] (II) Loading /usr/lib/xorg/modules/libxorgxrdp.so
[254014.146] (II) Module XORGXRDP: vendor="X.Org Foundation"
[254014.146] 	compiled for <IP_ADDRESS>, module version = 0.9.80
[254014.146] 	ABI class: X.Org Video Driver, version 25.2
[254014.146] xorgxrdpSetup:
[254014.146] (II) LoadModule: "fb"
[254014.146] (II) Module "fb" already built-in
[254014.146] (II) LoadModule: "nvidia"
[254014.146] (II) Loading /usr/lib/x86_64-linux-gnu/nvidia/xorg/nvidia_drv.so
[254014.146] (II) Module nvidia: vendor="NVIDIA Corporation"
[254014.146] 	compiled for <IP_ADDRESS>1, module version = 1.0.0
[254014.146] 	Module class: X.Org Video Driver
[254014.146] (II) LoadModule: "xrdpmouse"
[254014.146] (II) Loading /usr/lib/xorg/modules/input/xrdpmouse_drv.so
[254014.146] (II) Module XRDPMOUSE: vendor="X.Org Foundation"
[254014.146] 	compiled for <IP_ADDRESS>, module version = 0.9.80
[254014.146] 	Module class: X.Org XInput Driver
[254014.146] 	ABI class: X.Org XInput driver, version 24.4
[254014.146] rdpmousePlug:
[254014.146] (II) LoadModule: "xrdpkeyb"
[254014.146] (II) Loading /usr/lib/xorg/modules/input/xrdpkeyb_drv.so
[254014.146] (II) Module XRDPKEYB: vendor="X.Org Foundation"
[254014.146] 	compiled for <IP_ADDRESS>, module version = 0.9.80
[254014.146] 	Module class: X.Org XInput Driver
[254014.146] 	ABI class: X.Org XInput driver, version 24.4
[254014.146] rdpkeybPlug:
[254014.146] xorgxrdpCheckWrap: NVIDIA driver found
[254014.146] (II) NVIDIA dlloader X Driver  530.30.02  Wed Feb 22 03:49:34 UTC 2023
[254014.146] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[254014.146] xorgxrdpDriverFunc:
[254014.146] xorgxrdpPlatformProbe:
[254014.147] (II) Loading sub module "fb"
[254014.147] (II) LoadModule: "fb"
[254014.147] (II) Module "fb" already built-in
[254014.147] (II) Loading sub module "wfb"
[254014.147] (II) LoadModule: "wfb"
[254014.147] (II) Loading /usr/lib/xorg/modules/libwfb.so
[254014.147] (II) Module wfb: vendor="X.Org Foundation"
[254014.147] 	compiled for <IP_ADDRESS>, module version = 1.0.0
[254014.147] 	ABI class: X.Org ANSI C Emulation, version 0.4
[254014.147] xorgxrdpPlatformProbe:
[254014.147] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[254014.147] xorgxrdpPreInit:
[254014.147] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[254014.147] (==) NVIDIA(0): RGB weight 888
[254014.147] (==) NVIDIA(0): Default visual is TrueColor
[254014.147] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[254014.147] (II) Applying OutputClass "nvidia" options to /dev/dri/card1
[254014.147] (**) NVIDIA(0): Option "AllowEmptyInitialConfiguration"
[254014.147] (**) NVIDIA(0): Option "UseDisplayDevice" "DFP-0"
[254014.147] (**) NVIDIA(0): Enabling 2D acceleration
[254014.147] (II) Loading sub module "glxserver_nvidia"
[254014.147] (II) LoadModule: "glxserver_nvidia"
[254014.147] (II) Loading /usr/lib/x86_64-linux-gnu/nvidia/xorg/libglxserver_nvidia.so
[254014.155] (II) Module glxserver_nvidia: vendor="NVIDIA Corporation"
[254014.155] 	compiled for <IP_ADDRESS>1, module version = 1.0.0
[254014.155] 	Module class: X.Org Server Extension
[254014.155] (II) NVIDIA GLX Module  530.30.02  Wed Feb 22 03:51:52 UTC 2023
[254014.155] (II) NVIDIA: The X server supports PRIME Render Offload.
[254014.166] (--) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:59:0:0
[254014.166] (--) NVIDIA(0):     DFP-0
[254014.166] (--) NVIDIA(0):     DFP-1
[254014.166] (--) NVIDIA(0):     DFP-2
[254014.166] (--) NVIDIA(0):     DFP-3
[254014.186] (II) NVIDIA(0): NVIDIA GPU NVIDIA A40 (GA102GL-A) at PCI:59:0:0 (GPU-0)
[254014.186] (--) NVIDIA(0): Memory: 47173632 kBytes
[254014.186] (--) NVIDIA(0): VideoBIOS: 94.02.5c.00.0f
[254014.186] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[254014.187] (--) NVIDIA(GPU-0): NVIDIA VGX (DFP-0): connected
[254014.187] (--) NVIDIA(GPU-0): NVIDIA VGX (DFP-0): External TMDS
[254014.187] (WW) NVIDIA(GPU-0): Mode (3840 x 2400) larger than per-head max resolution
[254014.187] (WW) NVIDIA(GPU-0):     supported (2560 x 1600)
[254014.187] (WW) NVIDIA(GPU-0): Mode (3840 x 2160) larger than per-head max resolution
[254014.187] (WW) NVIDIA(GPU-0):     supported (2560 x 1600)
[254014.187] (WW) NVIDIA(GPU-0): Mode (4096 x 2160) larger than per-head max resolution
[254014.187] (WW) NVIDIA(GPU-0):     supported (2560 x 1600)
[254014.187] (WW) NVIDIA(GPU-0): Mode (5120 x 2880) larger than per-head max resolution
[254014.187] (WW) NVIDIA(GPU-0):     supported (2560 x 1600)
[254014.187] (WW) NVIDIA(GPU-0): Mode (7680 x 4320) larger than per-head max resolution
[254014.187] (WW) NVIDIA(GPU-0):     supported (2560 x 1600)
[254014.187] (WW) NVIDIA(GPU-0): Mode (2880 x 1620) larger than per-head max resolution
[254014.187] (WW) NVIDIA(GPU-0):     supported (2560 x 1600)
[254014.187] (WW) NVIDIA(GPU-0): Mode (2880 x 1620) larger than per-head max resolution
[254014.187] (WW) NVIDIA(GPU-0):     supported (2560 x 1600)
[254014.187] (WW) NVIDIA(GPU-0): Mode (3200 x 1800) larger than per-head max resolution
[254014.187] (WW) NVIDIA(GPU-0):     supported (2560 x 1600)
[254014.187] (WW) NVIDIA(GPU-0): Mode (3200 x 1800) larger than per-head max resolution
[254014.187] (WW) NVIDIA(GPU-0):     supported (2560 x 1600)
[254014.187] (WW) NVIDIA(GPU-0): Mode (3840 x 2160) larger than per-head max resolution
[254014.187] (WW) NVIDIA(GPU-0):     supported (2560 x 1600)
[254014.187] (WW) NVIDIA(GPU-0): Mode (3840 x 2160) larger than per-head max resolution
[254014.187] (WW) NVIDIA(GPU-0):     supported (2560 x 1600)
[254014.187] (WW) NVIDIA(GPU-0): Mode (4096 x 2304) larger than per-head max resolution
[254014.187] (WW) NVIDIA(GPU-0):     supported (2560 x 1600)
[254014.187] (WW) NVIDIA(GPU-0): Mode (4096 x 2304) larger than per-head max resolution
[254014.187] (WW) NVIDIA(GPU-0):     supported (2560 x 1600)
[254014.187] (WW) NVIDIA(GPU-0): Mode (5120 x 2880) larger than per-head max resolution
[254014.187] (WW) NVIDIA(GPU-0):     supported (2560 x 1600)
[254014.187] (WW) NVIDIA(GPU-0): Mode (5120 x 2880) larger than per-head max resolution
[254014.187] (WW) NVIDIA(GPU-0):     supported (2560 x 1600)
[254014.187] (WW) NVIDIA(GPU-0): Mode (7680 x 4320) larger than per-head max resolution
[254014.187] (WW) NVIDIA(GPU-0):     supported (2560 x 1600)
[254014.187] (WW) NVIDIA(GPU-0): Mode (3840 x 2160) larger than per-head max resolution
[254014.187] (WW) NVIDIA(GPU-0):     supported (2560 x 1600)
[254014.187] (WW) NVIDIA(GPU-0): Mode (7680 x 4320) larger than per-head max resolution
[254014.187] (WW) NVIDIA(GPU-0):     supported (2560 x 1600)
[254014.187] (WW) NVIDIA(GPU-0): Mode (3840 x 2160) larger than per-head max resolution
[254014.187] (WW) NVIDIA(GPU-0):     supported (2560 x 1600)
[254014.187] (WW) NVIDIA(GPU-0): Mode (15360 x 8640) larger than per-head max resolution
[254014.187] (WW) NVIDIA(GPU-0):     supported (2560 x 1600)
[254014.187] (WW) NVIDIA(GPU-0): Mode (7680 x 4320) larger than per-head max resolution
[254014.187] (WW) NVIDIA(GPU-0):     supported (2560 x 1600)
[254014.187] (WW) NVIDIA(GPU-0): Mode (15360 x 8640) larger than per-head max resolution
[254014.187] (WW) NVIDIA(GPU-0):     supported (2560 x 1600)
[254014.187] (WW) NVIDIA(GPU-0): Mode (7680 x 4320) larger than per-head max resolution
[254014.187] (WW) NVIDIA(GPU-0):     supported (2560 x 1600)
[254014.188] (II) NVIDIA(0): Validated MetaModes:
[254014.188] (II) NVIDIA(0):     "DFP-0:640x480"
[254014.188] (II) NVIDIA(0):     "DFP-0:800x600"
[254014.188] (II) NVIDIA(0):     "DFP-0:1024x768"
[254014.188] (II) NVIDIA(0):     "DFP-0:1280x720"
[254014.188] (II) NVIDIA(0):     "DFP-0:1280x1024"
[254014.188] (II) NVIDIA(0):     "DFP-0:1600x900"
[254014.188] (II) NVIDIA(0):     "DFP-0:1920x1080"
[254014.188] (II) NVIDIA(0): Virtual screen size determined to be 1920 x 1080
[254014.189] (--) NVIDIA(0): DPI set to (23, 30); computed from "UseEdidDpi" X config
[254014.189] (--) NVIDIA(0):     option
[254014.190] (**) NVIDIA(1): Depth 24, (--) framebuffer bpp 32
[254014.190] (==) NVIDIA(1): RGB weight 888
[254014.190] (==) NVIDIA(1): Default visual is TrueColor
[254014.190] (==) NVIDIA(1): Using gamma correction (1.0, 1.0, 1.0)
[254014.190] (II) Applying OutputClass "nvidia" options to /dev/dri/card2
[254014.190] (**) NVIDIA(1): Option "AllowEmptyInitialConfiguration"
[254014.190] (**) NVIDIA(1): Option "UseDisplayDevice" "DFP-0"
[254014.190] (**) NVIDIA(1): Enabling 2D acceleration
[254014.190] (II) NVIDIA: The X server supports PRIME Render Offload.
[254014.200] (--) NVIDIA(0): Valid display device(s) on GPU-1 at PCI:175:0:0
[254014.200] (--) NVIDIA(0):     DFP-0
[254014.200] (--) NVIDIA(0):     DFP-1
[254014.200] (--) NVIDIA(0):     DFP-2
[254014.200] (--) NVIDIA(0):     DFP-3
[254014.219] (II) NVIDIA(1): NVIDIA GPU NVIDIA A40 (GA102GL-A) at PCI:175:0:0 (GPU-1)
[254014.219] (--) NVIDIA(1): Memory: 47173632 kBytes
[254014.219] (--) NVIDIA(1): VideoBIOS: 94.02.5c.00.0f
[254014.220] (II) NVIDIA(1): Detected PCI Express Link width: 16X
[254014.220] (--) NVIDIA(GPU-1): NVIDIA VGX (DFP-0): connected
[254014.220] (--) NVIDIA(GPU-1): NVIDIA VGX (DFP-0): External TMDS
[254014.220] (WW) NVIDIA(GPU-1): Mode (3840 x 2400) larger than per-head max resolution
[254014.220] (WW) NVIDIA(GPU-1):     supported (2560 x 1600)
[254014.220] (WW) NVIDIA(GPU-1): Mode (3840 x 2160) larger than per-head max resolution
[254014.220] (WW) NVIDIA(GPU-1):     supported (2560 x 1600)
[254014.220] (WW) NVIDIA(GPU-1): Mode (4096 x 2160) larger than per-head max resolution
[254014.220] (WW) NVIDIA(GPU-1):     supported (2560 x 1600)
[254014.220] (WW) NVIDIA(GPU-1): Mode (5120 x 2880) larger than per-head max resolution
[254014.220] (WW) NVIDIA(GPU-1):     supported (2560 x 1600)
[254014.220] (WW) NVIDIA(GPU-1): Mode (7680 x 4320) larger than per-head max resolution
[254014.220] (WW) NVIDIA(GPU-1):     supported (2560 x 1600)
[254014.220] (WW) NVIDIA(GPU-1): Mode (2880 x 1620) larger than per-head max resolution
[254014.220] (WW) NVIDIA(GPU-1):     supported (2560 x 1600)
[254014.220] (WW) NVIDIA(GPU-1): Mode (2880 x 1620) larger than per-head max resolution
[254014.220] (WW) NVIDIA(GPU-1):     supported (2560 x 1600)
[254014.220] (WW) NVIDIA(GPU-1): Mode (3200 x 1800) larger than per-head max resolution
[254014.220] (WW) NVIDIA(GPU-1):     supported (2560 x 1600)
[254014.220] (WW) NVIDIA(GPU-1): Mode (3200 x 1800) larger than per-head max resolution
[254014.220] (WW) NVIDIA(GPU-1):     supported (2560 x 1600)
[254014.220] (WW) NVIDIA(GPU-1): Mode (3840 x 2160) larger than per-head max resolution
[254014.220] (WW) NVIDIA(GPU-1):     supported (2560 x 1600)
[254014.220] (WW) NVIDIA(GPU-1): Mode (3840 x 2160) larger than per-head max resolution
[254014.220] (WW) NVIDIA(GPU-1):     supported (2560 x 1600)
[254014.220] (WW) NVIDIA(GPU-1): Mode (4096 x 2304) larger than per-head max resolution
[254014.220] (WW) NVIDIA(GPU-1):     supported (2560 x 1600)
[254014.220] (WW) NVIDIA(GPU-1): Mode (4096 x 2304) larger than per-head max resolution
[254014.220] (WW) NVIDIA(GPU-1):     supported (2560 x 1600)
[254014.220] (WW) NVIDIA(GPU-1): Mode (5120 x 2880) larger than per-head max resolution
[254014.220] (WW) NVIDIA(GPU-1):     supported (2560 x 1600)
[254014.220] (WW) NVIDIA(GPU-1): Mode (5120 x 2880) larger than per-head max resolution
[254014.220] (WW) NVIDIA(GPU-1):     supported (2560 x 1600)
[254014.220] (WW) NVIDIA(GPU-1): Mode (7680 x 4320) larger than per-head max resolution
[254014.220] (WW) NVIDIA(GPU-1):     supported (2560 x 1600)
[254014.220] (WW) NVIDIA(GPU-1): Mode (3840 x 2160) larger than per-head max resolution
[254014.220] (WW) NVIDIA(GPU-1):     supported (2560 x 1600)
[254014.220] (WW) NVIDIA(GPU-1): Mode (7680 x 4320) larger than per-head max resolution
[254014.220] (WW) NVIDIA(GPU-1):     supported (2560 x 1600)
[254014.220] (WW) NVIDIA(GPU-1): Mode (3840 x 2160) larger than per-head max resolution
[254014.220] (WW) NVIDIA(GPU-1):     supported (2560 x 1600)
[254014.220] (WW) NVIDIA(GPU-1): Mode (15360 x 8640) larger than per-head max resolution
[254014.220] (WW) NVIDIA(GPU-1):     supported (2560 x 1600)
[254014.220] (WW) NVIDIA(GPU-1): Mode (7680 x 4320) larger than per-head max resolution
[254014.220] (WW) NVIDIA(GPU-1):     supported (2560 x 1600)
[254014.220] (WW) NVIDIA(GPU-1): Mode (15360 x 8640) larger than per-head max resolution
[254014.220] (WW) NVIDIA(GPU-1):     supported (2560 x 1600)
[254014.220] (WW) NVIDIA(GPU-1): Mode (7680 x 4320) larger than per-head max resolution
[254014.220] (WW) NVIDIA(GPU-1):     supported (2560 x 1600)
[254014.221] (II) NVIDIA(1): Validated MetaModes:
[254014.221] (II) NVIDIA(1):     "DFP-0:1920x1080"
[254014.221] (II) NVIDIA(1): Virtual screen size determined to be 1920 x 1080
[254014.222] (--) NVIDIA(1): DPI set to (69, 68); computed from "UseEdidDpi" X config
[254014.222] (--) NVIDIA(1):     option
[254014.222] xorgxrdpScreenInit:
[254014.223] (WW) NVIDIA: Failed to bind sideband socket to
[254014.223] (WW) NVIDIA:     '/var/run/nvidia-xdriver-4b57cd4d' Permission denied
[254014.233] (--) NVIDIA(0): Valid display device(s) on GPU-2 at PCI:216:0:0
[254014.233] (--) NVIDIA(0):     DFP-0
[254014.233] (--) NVIDIA(0):     DFP-1
[254014.233] (--) NVIDIA(0):     DFP-2
[254014.233] (--) NVIDIA(0):     DFP-3
[254014.252] (WW) NVIDIA(GPU-2): Mode (3840 x 2400) larger than per-head max resolution
[254014.252] (WW) NVIDIA(GPU-2):     supported (2560 x 1600)
[254014.252] (WW) NVIDIA(GPU-2): Mode (3840 x 2160) larger than per-head max resolution
[254014.252] (WW) NVIDIA(GPU-2):     supported (2560 x 1600)
[254014.252] (WW) NVIDIA(GPU-2): Mode (4096 x 2160) larger than per-head max resolution
[254014.252] (WW) NVIDIA(GPU-2):     supported (2560 x 1600)
[254014.252] (WW) NVIDIA(GPU-2): Mode (5120 x 2880) larger than per-head max resolution
[254014.252] (WW) NVIDIA(GPU-2):     supported (2560 x 1600)
[254014.252] (WW) NVIDIA(GPU-2): Mode (7680 x 4320) larger than per-head max resolution
[254014.252] (WW) NVIDIA(GPU-2):     supported (2560 x 1600)
[254014.252] (--) NVIDIA(GPU-2): NVIDIA VGX (DFP-0): connected
[254014.252] (--) NVIDIA(GPU-2): NVIDIA VGX (DFP-0): External TMDS
[254014.253] (WW) NVIDIA(GPU-2): Mode (3840 x 2400) larger than per-head max resolution
[254014.253] (WW) NVIDIA(GPU-2):     supported (2560 x 1600)
[254014.253] (WW) NVIDIA(GPU-2): Mode (3840 x 2160) larger than per-head max resolution
[254014.253] (WW) NVIDIA(GPU-2):     supported (2560 x 1600)
[254014.253] (WW) NVIDIA(GPU-2): Mode (4096 x 2160) larger than per-head max resolution
[254014.253] (WW) NVIDIA(GPU-2):     supported (2560 x 1600)
[254014.253] (WW) NVIDIA(GPU-2): Mode (5120 x 2880) larger than per-head max resolution
[254014.253] (WW) NVIDIA(GPU-2):     supported (2560 x 1600)
[254014.253] (WW) NVIDIA(GPU-2): Mode (7680 x 4320) larger than per-head max resolution
[254014.253] (WW) NVIDIA(GPU-2):     supported (2560 x 1600)
[254014.253] (II) NVIDIA(GPU-2): NVIDIA GPU NVIDIA A40 (GA102GL-A) at PCI:216:0:0 (GPU-2)
[254014.253] (--) NVIDIA(GPU-2): Memory: 47173632 kBytes
[254014.253] (--) NVIDIA(GPU-2): VideoBIOS: 94.02.5c.00.0f
[254014.253] (II) NVIDIA(GPU-2): Detected PCI Express Link width: 16X
[254014.266] (II) NVIDIA: Reserving 24576.00 MB of virtual memory for indirect memory
[254014.266] (II) NVIDIA:     access.
[254014.384] (II) NVIDIA(0): Setting mode "DFP-0:640x480"
[254014.484] (==) NVIDIA(0): Disabling shared memory pixmaps
[254014.484] (==) NVIDIA(0): Backing store enabled
[254014.484] (==) NVIDIA(0): Silken mouse enabled
[254014.484] (==) NVIDIA(0): DPMS enabled
[254014.484] (II) Loading sub module "dri2"
[254014.484] (II) LoadModule: "dri2"
[254014.484] (II) Module "dri2" already built-in
[254014.484] (II) NVIDIA(0): [DRI2] Setup complete
[254014.484] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[254014.484] xorgxrdpScreenInit: width 1920 height 1080
[254014.484] rdpClientConInit: disconnect idle session after [0] sec
[254014.484] rdpClientConInit: kill disconnected [0] timeout [0] sec
[254014.484] rdpSimdInit: assigning yuv functions
[254014.484] rdpSimdInit: cpuid ax 1 cx 0 return ax 0x00050657 bx 0x32200800 cx 0x7ffefbff dx 0xbfebfbff
[254014.484] rdpSimdInit: sse2 amd64 yuv functions assigned
[254014.597] (II) NVIDIA(1): Setting mode "DFP-0:1920x1080"
[254014.696] (==) NVIDIA(1): Disabling shared memory pixmaps
[254014.696] (==) NVIDIA(1): Backing store enabled
[254014.696] (==) NVIDIA(1): Silken mouse enabled
[254014.696] (==) NVIDIA(1): DPMS enabled
[254014.696] (II) Loading sub module "dri2"
[254014.696] (II) LoadModule: "dri2"
[254014.696] (II) Module "dri2" already built-in
[254014.696] (II) NVIDIA(1): [DRI2] Setup complete
[254014.696] (II) NVIDIA(1): [DRI2]   VDPAU driver: nvidia
[254014.696] (II) Initializing extension Generic Event Extension
[254014.696] (II) Initializing extension SHAPE
[254014.696] (II) Initializing extension MIT-SHM
[254014.696] (II) Initializing extension XInputExtension
[254014.697] (II) Initializing extension XTEST
[254014.697] (II) Initializing extension BIG-REQUESTS
[254014.697] (II) Initializing extension SYNC
[254014.697] (II) Initializing extension XKEYBOARD
[254014.697] (II) Initializing extension XC-MISC
[254014.697] (II) Initializing extension SECURITY
[254014.697] (II) Initializing extension XFIXES
[254014.697] (II) Initializing extension RENDER
[254014.697] (II) Initializing extension RANDR
[254014.697] (II) Initializing extension COMPOSITE
[254014.697] (II) Initializing extension DAMAGE
[254014.697] (II) Initializing extension MIT-SCREEN-SAVER
[254014.697] (II) Initializing extension DOUBLE-BUFFER
[254014.698] (II) Initializing extension RECORD
[254014.698] (II) Initializing extension DPMS
[254014.698] (II) Initializing extension Present
[254014.698] (II) Initializing extension DRI3
[254014.698] (II) Initializing extension X-Resource
[254014.698] (II) Initializing extension XVideo
[254014.698] (II) Initializing extension XVideo-MotionCompensation
[254014.698] (II) Initializing extension SELinux
[254014.698] (II) SELinux: Disabled on system
[254014.698] (II) Initializing extension GLX
[254014.698] (II) Initializing extension GLX
[254014.698] (II) Indirect GLX disabled.
[254014.698] (II) GLX: Another vendor is already registered for screen 0
[254014.698] (II) GLX: Another vendor is already registered for screen 1
[254014.698] (II) Initializing extension XFree86-VidModeExtension
[254014.698] (II) Initializing extension XFree86-DGA
[254014.698] (II) Initializing extension XFree86-DRI
[254014.698] (II) Initializing extension DRI2
[254014.698] (II) Initializing extension NV-GLX
[254014.698] (II) Initializing extension NV-CONTROL
[254014.699] rdpCreateScreenResources:
[254014.807] (II) Using input driver 'XRDPMOUSE' for 'xrdpMouse'
[254014.807] (**) Option "CorePointer"
[254014.807] (**) xrdpMouse: always reports core events
[254014.807] rdpmousePreInit: drv 0x5560060ada50 info 0x5560069b75a0, flags 0x0
[254014.807] (II) XINPUT: Adding extended input device "xrdpMouse" (type: Mouse, id 6)
[254014.807] rdpmouseControl: what 0
[254014.807] rdpmouseDeviceInit:
[254014.807] rdpmouseCtrl:
[254014.807] rdpRegisterInputCallback: type 1 proc 0x7f71d75705f0
[254014.807] (**) xrdpMouse: (accel) keeping acceleration scheme 1
[254014.807] (**) xrdpMouse: (accel) acceleration profile 0
[254014.807] (**) xrdpMouse: (accel) acceleration factor: 2.000
[254014.807] (**) xrdpMouse: (accel) acceleration threshold: 4
[254014.807] rdpmouseControl: what 1
[254014.807] rdpmouseDeviceOn:
[254014.807] (II) Using input driver 'XRDPKEYB' for 'xrdpKeyboard'
[254014.807] (**) Option "CoreKeyboard"
[254014.807] (**) xrdpKeyboard: always reports core events
[254014.807] rdpkeybPreInit: drv 0x5560060ad3e0 info 0x556006b42e70, flags 0x0
[254014.807] (II) XINPUT: Adding extended input device "xrdpKeyboard" (type: Keyboard, id 7)
[254014.807] rdpkeybControl: what 0
[254014.807] rdpkeybDeviceInit:
[254014.837] rdpkeybChangeKeyboardControl:
[254014.837] rdpkeybChangeKeyboardControl: autoRepeat on
[254014.837] rdpRegisterInputCallback: type 0 proc 0x7f71d69f0b60
[254014.837] rdpkeybControl: what 1
[254014.837] rdpkeybDeviceOn:
[254014.837] rdpkeybChangeKeyboardControl:
[254014.837] rdpkeybChangeKeyboardControl: autoRepeat on
[254014.850] (II) config/udev: Adding input device Power Button (/dev/input/event0)
[254014.850] (II) AutoAddDevices is off - not adding device.
[254014.855] xorgxrdpDeferredStartup:
[254014.855] xorgxrdpSetupDamage: DamageRegister ok
[254014.937] rdpInDeferredRepeatCallback:
[254014.937] rdpkeybChangeKeyboardControl:
[254014.937] rdpkeybChangeKeyboardControl: autoRepeat off
[254014.937] rdpInDeferredRepeatCallback:
[254014.937] rdpkeybChangeKeyboardControl:
[254014.937] rdpkeybChangeKeyboardControl: autoRepeat off
[254015.096] (--) NVIDIA(GPU-0): NVIDIA VGX (DFP-0): connected
[254015.096] (--) NVIDIA(GPU-0): NVIDIA VGX (DFP-0): External TMDS
[254016.039] rdpClientConGotConnection:
[254016.039] rdpClientConGotConnection: g_sck_accept ok new_sck 9
[254016.039] rdpClientConGetConnection: idle_disconnect_timeout set to non-positive value, idle timer turned off
[254016.039] rdpAddClientConToDev: adding first clientCon 0x556006bce7f0
[254016.041] rdpClientConProcessMsgVersion: version 0 0 0 1
[254016.041] rdpClientConProcessScreenSizeMsg: set width 5120 height 1440 bpp 32
[254016.042] rdpClientConAllocateSharedMemory: shmemid 262174 shmemptr 0x7f6bca360000 bytes 29491200
[254016.042] xorgxrdpRRScreenSetSize: width 5120 height 1440
[254016.058] rdpClientConProcessScreenSizeMsg: RRScreenSizeSet ok=[1]
[254016.058] rdpClientConProcessMsgClientInput: invalidate x 0 y 0 cx 5120 cy 1440
[254016.058] KbdSync: toggling num lock
[254016.059] rdpkeybChangeKeyboardControl:
[254016.059] rdpkeybChangeKeyboardControl: autoRepeat on
[254016.059] rdpClientConProcessMsgClientInfo:
[254016.059]   got client info bytes 7184
[254016.059]   jpeg support 0
[254016.059]   offscreen support 0
[254016.059]   offscreen size 0
[254016.059]   offscreen entries 0
[254016.059] rdpClientConProcessMsgClientInfo: got H264 capture
[254016.059]   cap_width 5120 cap_height 1440
[254016.059] rdpClientConAllocateSharedMemory: shmemid 262175 shmemptr 0x7f6bcb170000 bytes 14745600
[254016.059]   client can not do offscreen to offscreen blits
[254016.059]   client can do new(color) cursor
[254016.059]   client can do multimon
[254016.059]   client monitor data, monitorCount=2
[254016.059]     left 2560 top 0 right 5119 bottom 1439
[254016.059]     left 0 top 0 right 2559 bottom 1439
[254016.059] rdpRRSetRdpOutputs: numCrtcs 4 numOutputs 4 monitorCount 2
[254016.059] rdpLoadLayout: keylayout 0x00000407 variant  display 12
[254016.100] rdpkeybChangeKeyboardControl:
[254016.100] rdpkeybChangeKeyboardControl: autoRepeat on
[254016.100] rdpkeybChangeKeyboardControl:
[254016.100] rdpkeybChangeKeyboardControl: autoRepeat on
[254016.116] rdpClientConProcessMsgClientInfo: started helper pid 1468839
[254016.117] rdpCapture3: WARNING -- Shared memory is not configured. Aborting capture!
[254016.117] rdpCapRect: rdpCapture failed
[254016.117] rdpCapture3: WARNING -- Shared memory is not configured. Aborting capture!
[254016.117] rdpCapRect: rdpCapture failed
[254016.159] rdpInDeferredRepeatCallback:
[254016.160] rdpkeybChangeKeyboardControl:
[254016.160] rdpkeybChangeKeyboardControl: autoRepeat off
[254016.200] rdpInDeferredRepeatCallback:
[254016.200] rdpkeybChangeKeyboardControl:
[254016.200] rdpkeybChangeKeyboardControl: autoRepeat off
[254016.200] rdpInDeferredRepeatCallback:
[254016.200] rdpkeybChangeKeyboardControl:
[254016.200] rdpkeybChangeKeyboardControl: autoRepeat off
[254016.712] rdpPutImage: setting conNumber 1, monitor num 0 to pixmap 0x556006b4c080
[254016.884] rdpPutImage: setting conNumber 1, monitor num 1 to pixmap 0x556006b81320
[254016.885] rdpClientConProcessMsgClientInput: invalidate x 0 y 0 cx 2560 cy 1440
[254016.885] rdpClientConProcessMsgClientInput: invalidate x 0 y 0 cx 2560 cy 1440
[254017.043] rdpClientConRecv: g_sck_recv failed(returned 0)
[254017.043] rdpClientConRecvMsg: error
[254017.043] rdpClientConCheck: rdpClientConGotData failed
[254017.043] rdpClientConDisconnect:
[254017.043] rdpRemoveClientConFromDev: removing clientCon 0x556006bce7f0
[254017.043] rdpShutdownHelper:
[254028.251] (--) NVIDIA(GPU-0): NVIDIA VGX (DFP-0): connected
[254028.251] (--) NVIDIA(GPU-0): NVIDIA VGX (DFP-0): External TMDS
[254492.404] rdpClientConGotConnection:
[254492.405] rdpClientConGotConnection: g_sck_accept ok new_sck 9
[254492.405] rdpClientConGetConnection: idle_disconnect_timeout set to non-positive value, idle timer turned off
[254492.405] rdpAddClientConToDev: adding first clientCon 0x556006bce7f0
[254492.405] rdpClientConProcessMsgVersion: version 0 0 0 1
[254492.405] rdpClientConProcessScreenSizeMsg: set width 1024 height 768 bpp 32
[254492.405] rdpClientConAllocateSharedMemory: shmemid 262176 shmemptr 0x7f6bd0d8b000 bytes 3145728
[254492.405] xorgxrdpRRScreenSetSize: width 1024 height 768
[254492.409] rdpClientConProcessScreenSizeMsg: RRScreenSizeSet ok=[1]
[254492.409] rdpClientConProcessMsgClientInput: invalidate x 0 y 0 cx 1024 cy 768
[254492.409] KbdSync: toggling num lock
[254492.409] rdpClientConProcessMsgClientInfo:
[254492.409]   got client info bytes 7184
[254492.409]   jpeg support 0
[254492.409]   offscreen support 0
[254492.409]   offscreen size 0
[254492.409]   offscreen entries 0
[254492.409] rdpClientConProcessMsgClientInfo: got H264 capture
[254492.409]   cap_width 1024 cap_height 768
[254492.409] rdpClientConAllocateSharedMemory: shmemid 262177 shmemptr 0x7f6bd0f0b000 bytes 1572864
[254492.409]   client can not do offscreen to offscreen blits
[254492.409]   client can do new(color) cursor
[254492.409]   client can not do multimon
[254492.409] rdpRRSetRdpOutputs: numCrtcs 4 numOutputs 4 monitorCount 0
[254492.410] rdpLoadLayout: keylayout 0x00000407 variant  display 12
[254492.410] rdpkeybChangeKeyboardControl:
[254492.410] rdpkeybChangeKeyboardControl: autoRepeat on
[254492.412] rdpkeybChangeKeyboardControl:
[254492.412] rdpkeybChangeKeyboardControl: autoRepeat on
[254492.431] rdpClientConProcessMsgClientInfo: started helper pid 1485031
[254492.431] rdpkeybChangeKeyboardControl:
[254492.431] rdpkeybChangeKeyboardControl: autoRepeat on
[254492.431] rdpkeybChangeKeyboardControl:
[254492.431] rdpkeybChangeKeyboardControl: autoRepeat on
[254492.510] rdpInDeferredRepeatCallback:
[254492.510] rdpkeybChangeKeyboardControl:
[254492.510] rdpkeybChangeKeyboardControl: autoRepeat off
[254492.512] rdpInDeferredRepeatCallback:
[254492.512] rdpkeybChangeKeyboardControl:
[254492.512] rdpkeybChangeKeyboardControl: autoRepeat off
[254492.531] rdpInDeferredRepeatCallback:
[254492.531] rdpkeybChangeKeyboardControl:
[254492.531] rdpkeybChangeKeyboardControl: autoRepeat off
[254492.531] rdpInDeferredRepeatCallback:
[254492.531] rdpkeybChangeKeyboardControl:
[254492.531] rdpkeybChangeKeyboardControl: autoRepeat off
[254493.113] rdpPutImage: setting conNumber 2, monitor num 0 to pixmap 0x556006b8a9a0
[254493.116] rdpClientConProcessMsgClientInput: invalidate x 0 y 0 cx 1024 cy 768
[254528.889] rdpClientConRecv: g_sck_recv failed(returned 0)
[254528.889] rdpClientConRecvMsg: error
[254528.889] rdpClientConCheck: rdpClientConGotData failed
[254528.889] rdpClientConDisconnect:
[254528.889] rdpRemoveClientConFromDev: removing clientCon 0x556006bce7f0
[254528.889] rdpShutdownHelper:
[254591.514] rdpClientConGotConnection:
[254591.514] rdpClientConGotConnection: g_sck_accept ok new_sck 9
[254591.514] rdpClientConGetConnection: idle_disconnect_timeout set to non-positive value, idle timer turned off
[254591.514] rdpAddClientConToDev: adding first clientCon 0x556006bce7f0
[254591.514] rdpClientConProcessMsgVersion: version 0 0 0 1
[254591.514] rdpClientConProcessScreenSizeMsg: set width 5120 height 1440 bpp 32
[254591.514] rdpClientConAllocateSharedMemory: shmemid 262178 shmemptr 0x7f6bca360000 bytes 29491200
[254591.515] xorgxrdpRRScreenSetSize: width 5120 height 1440
[254591.533] rdpClientConProcessScreenSizeMsg: RRScreenSizeSet ok=[1]
[254591.533] rdpClientConProcessMsgClientInput: invalidate x 0 y 0 cx 5120 cy 1440
[254591.533] rdpClientConProcessMsgClientInfo:
[254591.533]   got client info bytes 7184
[254591.533]   jpeg support 0
[254591.533]   offscreen support 0
[254591.533]   offscreen size 0
[254591.533]   offscreen entries 0
[254591.533] rdpClientConProcessMsgClientInfo: got H264 capture
[254591.533]   cap_width 5120 cap_height 1440
[254591.533] rdpClientConAllocateSharedMemory: shmemid 262179 shmemptr 0x7f6bcb170000 bytes 14745600
[254591.533]   client can not do offscreen to offscreen blits
[254591.533]   client can do new(color) cursor
[254591.533]   client can do multimon
[254591.533]   client monitor data, monitorCount=2
[254591.533]     left 2560 top 0 right 5119 bottom 1439
[254591.533]     left 0 top 0 right 2559 bottom 1439
[254591.533] rdpRRSetRdpOutputs: numCrtcs 4 numOutputs 4 monitorCount 2
[254591.533] rdpLoadLayout: keylayout 0x00000407 variant  display 12
[254591.533] rdpkeybChangeKeyboardControl:
[254591.533] rdpkeybChangeKeyboardControl: autoRepeat on
[254591.534] rdpkeybChangeKeyboardControl:
[254591.534] rdpkeybChangeKeyboardControl: autoRepeat on
[254591.547] rdpClientConProcessMsgClientInfo: started helper pid 1488400
[254591.548] rdpCapture3: WARNING -- Shared memory is not configured. Aborting capture!
[254591.548] rdpCapRect: rdpCapture failed
[254591.548] rdpCapture3: WARNING -- Shared memory is not configured.  I am wondering whether connecting to two screens is expected to be supported at this time with avc support and I'm doing something wrong? Besides "mainline_merge_avc444" I have also tried the regular "mainline_merge" branch.
Thanks for you hard work.
Edit: rfx works so the problem shouldn't be in the Xorg config.

I wouldn't recommend using mainline_merge_avc444 just yet. That's a prototype that isn't fully baked. mainline_merge is more stable. AVC444 with GPU hardware acceleration is something that myself and @jsorg71 are still working on.
That being said, I am aware of the issues with multi-monitor and this branch. Can you tell me exactly what you monitor setup is so I can maybe replicate it and debug?

Thanks for the quick response. I have also tried mainline_merge.
I'm trying to connect to a remote server where no physical monitors are connected. The server has 3 GPUs (3 x Nvidia A40). Using Xorg I define two screens (using two GPUs as device, a third screen is not required).
Let me know if you need any further information that could help!
I will reinstall mainline_merge and post the .xorgxrdp log later today.

I just reinstallied mainline_merge.
A slightly different Xorg config:
Section "ServerLayout"
  Identifier "XRDP GPU Server"
  Screen 0 "dGPU0"
  Screen 1 "dGPU1" RightOf "dGPU0"
  InputDevice "xrdpMouse" "CorePointer"
  InputDevice "xrdpKeyboard" "CoreKeyboard"
EndSection

Section "ServerFlags"
  # This line prevents "ServerLayout" sections in xorg.conf.d files
  # overriding the "XRDP GPU Server" layout (xrdp #1784)
  Option "DefaultServerLayout" "XRDP GPU Server"
  Option "DontVTSwitch" "on"
  Option "AutoAddDevices" "off"
EndSection

Section "Module"
  Load "xorgxrdp"
EndSection

Section "InputDevice"
  Identifier "xrdpKeyboard"
  Driver "xrdpkeyb"
EndSection

Section "InputDevice"
  Identifier "xrdpMouse"
  Driver "xrdpmouse"
EndSection

Section "Screen"
  Identifier "dGPU0"
  Device "dGPU0"
  Option "DPI" "96 x 96"
# T4 needs an entry here, this is not the desktop size
  SubSection "Display"
    Virtual 1920 1080
  EndSubSection
EndSection

Section "Device"
  Identifier "dGPU0"
  Driver "nvidia"
  Option "ConnectToAcpid" "false"
  BusID "PCI:59:0:0"
EndSection

Section "Screen"
  Identifier "dGPU1"
  Device "dGPU1"
  Option "DPI" "96 x 96"
  SubSection "Display"
    Virtual 1920 1080
  EndSubSection
EndSection

Section "Device"
  Identifier "dGPU1"
  Driver "nvidia"
  Option "ConnectToAcpid" "false"
  BusID "PCI:175:0:0"
EndSection

leads to the .xorgxrdp log:
X.Org X Server <IP_ADDRESS>
X Protocol Version 11, Revision 0
[341725.625] Current Operating System: Linux ukheidelberg 5.15.0-69-generic #76-Ubuntu SMP Fri Mar 17 17:19:29 UTC 2023 x86_64
[341725.626] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.15.0-69-generic root=UUID=ae6d005e-3d8c-4fbd-a372-dc07dbe8a2f8 ro
[341725.626] xorg-server 2:21.1.3-2ubuntu2.9 (For technical support please see http://www.ubuntu.com/support)
[341725.626] Current version of pixman: 0.40.0
[341725.626] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[341725.626] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[341725.626] (++) Log file: ".xorgxrdp.11.log", Time: Tue Apr 18 07:39:24 2023
[341725.626] (++) Using config file: "/etc/X11/xrdp/xorg_nvidia.conf"
[341725.626] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[341725.627] (**) Option "defaultserverlayout" "XRDP GPU Server"
[341725.627] (**) ServerLayout "XRDP GPU Server"
[341725.627] (**) |-->Screen "dGPU0" (0)
[341725.627] (**) |   |-->Monitor "<default monitor>"
[341725.627] (**) |   |-->Device "dGPU0"
[341725.627] (==) No monitor specified for screen "dGPU0".
	Using a default monitor configuration.
[341725.627] (**) |-->Screen "dGPU1" (1)
[341725.627] (**) |   |-->Monitor "<default monitor>"
[341725.628] (**) |   |-->Device "dGPU1"
[341725.628] (==) No monitor specified for screen "dGPU1".
	Using a default monitor configuration.
[341725.628] (**) |-->Input Device "xrdpMouse"
[341725.628] (**) |-->Input Device "xrdpKeyboard"
[341725.628] (**) Option "DontVTSwitch" "on"
[341725.628] (**) Option "AutoAddDevices" "off"
[341725.628] (**) Not automatically adding devices
[341725.628] (==) Automatically enabling devices
[341725.628] (==) Automatically adding GPU devices
[341725.628] (==) Automatically binding GPU devices
[341725.628] (==) Max clients allowed: 256, resource mask: 0x1fffff
[341725.628] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[341725.628] 	Entry deleted from font path.
[341725.628] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[341725.628] 	Entry deleted from font path.
[341725.628] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[341725.628] 	Entry deleted from font path.
[341725.628] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[341725.628] 	Entry deleted from font path.
[341725.628] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[341725.628] 	Entry deleted from font path.
[341725.628] (==) FontPath set to:
	/usr/share/fonts/X11/misc,
	/usr/share/fonts/X11/Type1,
	built-ins
[341725.628] (==) ModulePath set to "/usr/lib/xorg/modules"
[341725.628] (II) Loader magic: 0x558412f80020
[341725.628] (II) Module ABI versions:
[341725.628] 	X.Org ANSI C Emulation: 0.4
[341725.628] 	X.Org Video Driver: 25.2
[341725.628] 	X.Org XInput driver : 24.4
[341725.628] 	X.Org Server Extension : 10.0
[341725.629] (--) using VT number 2

[341725.629] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[341725.630] (II) xfree86: Adding drm device (/dev/dri/card0)
[341725.630] (II) Platform probe for /sys/devices/pci0000:00/0000:00:1c.4/0000:02:00.0/0000:03:00.0/drm/card0
[341725.647] (II) xfree86: Adding drm device (/dev/dri/card1)
[341725.647] (II) Platform probe for /sys/devices/pci0000:3a/0000:3a:00.0/0000:3b:00.0/drm/card1
[341725.647] (II) xfree86: Adding drm device (/dev/dri/card2)
[341725.647] (II) Platform probe for /sys/devices/pci0000:ae/0000:ae:00.0/0000:af:00.0/drm/card2
[341725.647] (II) xfree86: Adding drm device (/dev/dri/card3)
[341725.647] (II) Platform probe for /sys/devices/pci0000:d7/0000:d7:00.0/0000:d8:00.0/drm/card3
[341725.658] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/x86_64-linux-gnu/nvidia/xorg,/usr/lib/xorg/modules"
[341725.658] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/x86_64-linux-gnu/nvidia/xorg,/usr/lib/x86_64-linux-gnu/nvidia/xorg,/usr/lib/xorg/modules"
[341725.658] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/x86_64-linux-gnu/nvidia/xorg,/usr/lib/x86_64-linux-gnu/nvidia/xorg,/usr/lib/x86_64-linux-gnu/nvidia/xorg,/usr/lib/xorg/modules"
[341725.670] (--) PCI:*(3@0:0:0) 102b:0536:1028:0715 rev 4, Mem @ 0x91000000/16777216, 0x92808000/16384, 0x92000000/8388608, BIOS @ 0x????????/131072
[341725.670] (--) PCI: (59@0:0:0) 10de:2235:10de:145a rev 161, Mem @ 0xad000000/16777216, 0x388000000000/68719476736, 0x38a000000000/33554432
[341725.670] (--) PCI: (175@0:0:0) 10de:2235:10de:145a rev 161, Mem @ 0xe3000000/16777216, 0x398000000000/68719476736, 0x39a000000000/33554432
[341725.670] (--) PCI: (216@0:0:0) 10de:2235:10de:145a rev 161, Mem @ 0xf1000000/16777216, 0x39c000000000/68719476736, 0x39e000000000/33554432
[341725.670] (II) "glx" will be loaded by default.
[341725.670] (II) LoadModule: "xorgxrdp"
[341725.670] (II) Loading /usr/lib/xorg/modules/libxorgxrdp.so
[341725.670] (II) Module XORGXRDP: vendor="X.Org Foundation"
[341725.670] 	compiled for <IP_ADDRESS>, module version = 0.9.80
[341725.670] 	ABI class: X.Org Video Driver, version 25.2
[341725.670] xorgxrdpSetup:
[341725.670] (II) LoadModule: "glx"
[341725.670] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[341725.671] (II) Module glx: vendor="X.Org Foundation"
[341725.671] 	compiled for <IP_ADDRESS>, module version = 1.0.0
[341725.671] 	ABI class: X.Org Server Extension, version 10.0
[341725.671] (II) LoadModule: "nvidia"
[341725.671] (II) Loading /usr/lib/x86_64-linux-gnu/nvidia/xorg/nvidia_drv.so
[341725.672] (II) Module nvidia: vendor="NVIDIA Corporation"
[341725.672] 	compiled for <IP_ADDRESS>1, module version = 1.0.0
[341725.672] 	Module class: X.Org Video Driver
[341725.672] (II) LoadModule: "xrdpmouse"
[341725.672] (II) Loading /usr/lib/xorg/modules/input/xrdpmouse_drv.so
[341725.672] (II) Module XRDPMOUSE: vendor="X.Org Foundation"
[341725.672] 	compiled for <IP_ADDRESS>, module version = 0.9.80
[341725.672] 	Module class: X.Org XInput Driver
[341725.672] 	ABI class: X.Org XInput driver, version 24.4
[341725.672] rdpmousePlug:
[341725.672] (II) LoadModule: "xrdpkeyb"
[341725.672] (II) Loading /usr/lib/xorg/modules/input/xrdpkeyb_drv.so
[341725.672] (II) Module XRDPKEYB: vendor="X.Org Foundation"
[341725.672] 	compiled for <IP_ADDRESS>, module version = 0.9.80
[341725.672] 	Module class: X.Org XInput Driver
[341725.672] 	ABI class: X.Org XInput driver, version 24.4
[341725.672] rdpkeybPlug:
[341725.672] xorgxrdpCheckWrap: NVIDIA driver found
[341725.672] (II) NVIDIA dlloader X Driver  530.30.02  Wed Feb 22 03:49:34 UTC 2023
[341725.672] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[341725.672] xorgxrdpDriverFunc:
[341725.672] xorgxrdpPlatformProbe:
[341725.673] (II) Loading sub module "fb"
[341725.673] (II) LoadModule: "fb"
[341725.673] (II) Module "fb" already built-in
[341725.673] (II) Loading sub module "wfb"
[341725.673] (II) LoadModule: "wfb"
[341725.673] (II) Loading /usr/lib/xorg/modules/libwfb.so
[341725.673] (II) Module wfb: vendor="X.Org Foundation"
[341725.673] 	compiled for <IP_ADDRESS>, module version = 1.0.0
[341725.673] 	ABI class: X.Org ANSI C Emulation, version 0.4
[341725.673] xorgxrdpPlatformProbe:
[341725.673] xorgxrdpPlatformProbe:
[341725.673] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[341725.673] xorgxrdpPreInit:
[341725.673] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[341725.674] (==) NVIDIA(0): RGB weight 888
[341725.674] (==) NVIDIA(0): Default visual is TrueColor
[341725.674] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[341725.674] (II) Applying OutputClass "nvidia" options to /dev/dri/card1
[341725.674] (**) NVIDIA(0): Option "DPI" "96 x 96"
[341725.674] (**) NVIDIA(0): Option "ConnectToAcpid" "false"
[341725.674] (**) NVIDIA(0): Option "AllowEmptyInitialConfiguration"
[341725.674] (**) NVIDIA(0): Enabling 2D acceleration
[341725.674] (II) Loading sub module "glxserver_nvidia"
[341725.674] (II) LoadModule: "glxserver_nvidia"
[341725.674] (II) Loading /usr/lib/x86_64-linux-gnu/nvidia/xorg/libglxserver_nvidia.so
[341725.684] (II) Module glxserver_nvidia: vendor="NVIDIA Corporation"
[341725.684] 	compiled for <IP_ADDRESS>1, module version = 1.0.0
[341725.684] 	Module class: X.Org Server Extension
[341725.684] (II) NVIDIA GLX Module  530.30.02  Wed Feb 22 03:51:52 UTC 2023
[341725.684] (II) NVIDIA: The X server supports PRIME Render Offload.
[341725.693] (--) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:59:0:0
[341725.693] (--) NVIDIA(0):     DFP-0
[341725.693] (--) NVIDIA(0):     DFP-1
[341725.693] (--) NVIDIA(0):     DFP-2
[341725.693] (--) NVIDIA(0):     DFP-3
[341725.714] (II) NVIDIA(0): NVIDIA GPU NVIDIA A40 (GA102GL-A) at PCI:59:0:0 (GPU-0)
[341725.714] (--) NVIDIA(0): Memory: 47173632 kBytes
[341725.715] (--) NVIDIA(0): VideoBIOS: 94.02.5c.00.0f
[341725.715] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[341725.715] (--) NVIDIA(GPU-0): NVIDIA VGX (DFP-0): connected
[341725.715] (--) NVIDIA(GPU-0): NVIDIA VGX (DFP-0): External TMDS
[341725.716] (WW) NVIDIA(GPU-0): Mode (3840 x 2400) larger than per-head max resolution
[341725.716] (WW) NVIDIA(GPU-0):     supported (2560 x 1600)
[341725.716] (WW) NVIDIA(GPU-0): Mode (3840 x 2160) larger than per-head max resolution
[341725.716] (WW) NVIDIA(GPU-0):     supported (2560 x 1600)
[341725.716] (WW) NVIDIA(GPU-0): Mode (4096 x 2160) larger than per-head max resolution
[341725.716] (WW) NVIDIA(GPU-0):     supported (2560 x 1600)
[341725.716] (WW) NVIDIA(GPU-0): Mode (5120 x 2880) larger than per-head max resolution
[341725.716] (WW) NVIDIA(GPU-0):     supported (2560 x 1600)
[341725.716] (WW) NVIDIA(GPU-0): Mode (7680 x 4320) larger than per-head max resolution
[341725.716] (WW) NVIDIA(GPU-0):     supported (2560 x 1600)
[341725.716] (WW) NVIDIA(GPU-0): Mode (2880 x 1620) larger than per-head max resolution
[341725.716] (WW) NVIDIA(GPU-0):     supported (2560 x 1600)
[341725.716] (WW) NVIDIA(GPU-0): Mode (2880 x 1620) larger than per-head max resolution
[341725.716] (WW) NVIDIA(GPU-0):     supported (2560 x 1600)
[341725.716] (WW) NVIDIA(GPU-0): Mode (3200 x 1800) larger than per-head max resolution
[341725.716] (WW) NVIDIA(GPU-0):     supported (2560 x 1600)
[341725.716] (WW) NVIDIA(GPU-0): Mode (3200 x 1800) larger than per-head max resolution
[341725.716] (WW) NVIDIA(GPU-0):     supported (2560 x 1600)
[341725.716] (WW) NVIDIA(GPU-0): Mode (3840 x 2160) larger than per-head max resolution
[341725.716] (WW) NVIDIA(GPU-0):     supported (2560 x 1600)
[341725.716] (WW) NVIDIA(GPU-0): Mode (3840 x 2160) larger than per-head max resolution
[341725.716] (WW) NVIDIA(GPU-0):     supported (2560 x 1600)
[341725.716] (WW) NVIDIA(GPU-0): Mode (4096 x 2304) larger than per-head max resolution
[341725.716] (WW) NVIDIA(GPU-0):     supported (2560 x 1600)
[341725.716] (WW) NVIDIA(GPU-0): Mode (4096 x 2304) larger than per-head max resolution
[341725.716] (WW) NVIDIA(GPU-0):     supported (2560 x 1600)
[341725.717] (WW) NVIDIA(GPU-0): Mode (5120 x 2880) larger than per-head max resolution
[341725.717] (WW) NVIDIA(GPU-0):     supported (2560 x 1600)
[341725.717] (WW) NVIDIA(GPU-0): Mode (5120 x 2880) larger than per-head max resolution
[341725.717] (WW) NVIDIA(GPU-0):     supported (2560 x 1600)
[341725.717] (WW) NVIDIA(GPU-0): Mode (7680 x 4320) larger than per-head max resolution
[341725.717] (WW) NVIDIA(GPU-0):     supported (2560 x 1600)
[341725.717] (WW) NVIDIA(GPU-0): Mode (3840 x 2160) larger than per-head max resolution
[341725.717] (WW) NVIDIA(GPU-0):     supported (2560 x 1600)
[341725.717] (WW) NVIDIA(GPU-0): Mode (7680 x 4320) larger than per-head max resolution
[341725.717] (WW) NVIDIA(GPU-0):     supported (2560 x 1600)
[341725.717] (WW) NVIDIA(GPU-0): Mode (3840 x 2160) larger than per-head max resolution
[341725.717] (WW) NVIDIA(GPU-0):     supported (2560 x 1600)
[341725.717] (WW) NVIDIA(GPU-0): Mode (15360 x 8640) larger than per-head max resolution
[341725.717] (WW) NVIDIA(GPU-0):     supported (2560 x 1600)
[341725.717] (WW) NVIDIA(GPU-0): Mode (7680 x 4320) larger than per-head max resolution
[341725.717] (WW) NVIDIA(GPU-0):     supported (2560 x 1600)
[341725.717] (WW) NVIDIA(GPU-0): Mode (15360 x 8640) larger than per-head max resolution
[341725.717] (WW) NVIDIA(GPU-0):     supported (2560 x 1600)
[341725.717] (WW) NVIDIA(GPU-0): Mode (7680 x 4320) larger than per-head max resolution
[341725.717] (WW) NVIDIA(GPU-0):     supported (2560 x 1600)
[341725.718] (==) NVIDIA(0):
[341725.718] (==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
[341725.718] (==) NVIDIA(0):     will be used as the requested mode.
[341725.718] (==) NVIDIA(0):
[341725.718] (II) NVIDIA(0): Validated MetaModes:
[341725.718] (II) NVIDIA(0):     "DFP-0:nvidia-auto-select"
[341725.718] (**) NVIDIA(0): Virtual screen size configured to be 1920 x 1080
[341725.722] (**) NVIDIA(0): DPI set to (96, 96); computed from "DPI" X config option
[341725.722] (==) NVIDIA(1): Depth 24, (==) framebuffer bpp 32
[341725.722] (==) NVIDIA(1): RGB weight 888
[341725.722] (==) NVIDIA(1): Default visual is TrueColor
[341725.722] (==) NVIDIA(1): Using gamma correction (1.0, 1.0, 1.0)
[341725.722] (II) Applying OutputClass "nvidia" options to /dev/dri/card2
[341725.722] (**) NVIDIA(1): Option "DPI" "96 x 96"
[341725.722] (**) NVIDIA(1): Option "ConnectToAcpid" "false"
[341725.722] (**) NVIDIA(1): Option "AllowEmptyInitialConfiguration"
[341725.722] (**) NVIDIA(1): Enabling 2D acceleration
[341725.722] (II) NVIDIA: The X server supports PRIME Render Offload.
[341725.732] (--) NVIDIA(0): Valid display device(s) on GPU-1 at PCI:175:0:0
[341725.732] (--) NVIDIA(0):     DFP-0
[341725.732] (--) NVIDIA(0):     DFP-1
[341725.732] (--) NVIDIA(0):     DFP-2
[341725.732] (--) NVIDIA(0):     DFP-3
[341725.753] (II) NVIDIA(1): NVIDIA GPU NVIDIA A40 (GA102GL-A) at PCI:175:0:0 (GPU-1)
[341725.753] (--) NVIDIA(1): Memory: 47173632 kBytes
[341725.753] (--) NVIDIA(1): VideoBIOS: 94.02.5c.00.0f
[341725.753] (II) NVIDIA(1): Detected PCI Express Link width: 16X
[341725.754] (--) NVIDIA(GPU-1): NVIDIA VGX (DFP-0): connected
[341725.754] (--) NVIDIA(GPU-1): NVIDIA VGX (DFP-0): External TMDS
[341725.754] (WW) NVIDIA(GPU-1): Mode (3840 x 2400) larger than per-head max resolution
[341725.754] (WW) NVIDIA(GPU-1):     supported (2560 x 1600)
[341725.754] (WW) NVIDIA(GPU-1): Mode (3840 x 2160) larger than per-head max resolution
[341725.754] (WW) NVIDIA(GPU-1):     supported (2560 x 1600)
[341725.754] (WW) NVIDIA(GPU-1): Mode (4096 x 2160) larger than per-head max resolution
[341725.754] (WW) NVIDIA(GPU-1):     supported (2560 x 1600)
[341725.754] (WW) NVIDIA(GPU-1): Mode (5120 x 2880) larger than per-head max resolution
[341725.754] (WW) NVIDIA(GPU-1):     supported (2560 x 1600)
[341725.754] (WW) NVIDIA(GPU-1): Mode (7680 x 4320) larger than per-head max resolution
[341725.754] (WW) NVIDIA(GPU-1):     supported (2560 x 1600)
[341725.754] (WW) NVIDIA(GPU-1): Mode (2880 x 1620) larger than per-head max resolution
[341725.754] (WW) NVIDIA(GPU-1):     supported (2560 x 1600)
[341725.754] (WW) NVIDIA(GPU-1): Mode (2880 x 1620) larger than per-head max resolution
[341725.754] (WW) NVIDIA(GPU-1):     supported (2560 x 1600)
[341725.754] (WW) NVIDIA(GPU-1): Mode (3200 x 1800) larger than per-head max resolution
[341725.754] (WW) NVIDIA(GPU-1):     supported (2560 x 1600)
[341725.754] (WW) NVIDIA(GPU-1): Mode (3200 x 1800) larger than per-head max resolution
[341725.754] (WW) NVIDIA(GPU-1):     supported (2560 x 1600)
[341725.754] (WW) NVIDIA(GPU-1): Mode (3840 x 2160) larger than per-head max resolution
[341725.754] (WW) NVIDIA(GPU-1):     supported (2560 x 1600)
[341725.754] (WW) NVIDIA(GPU-1): Mode (3840 x 2160) larger than per-head max resolution
[341725.754] (WW) NVIDIA(GPU-1):     supported (2560 x 1600)
[341725.754] (WW) NVIDIA(GPU-1): Mode (4096 x 2304) larger than per-head max resolution
[341725.754] (WW) NVIDIA(GPU-1):     supported (2560 x 1600)
[341725.754] (WW) NVIDIA(GPU-1): Mode (4096 x 2304) larger than per-head max resolution
[341725.754] (WW) NVIDIA(GPU-1):     supported (2560 x 1600)
[341725.754] (WW) NVIDIA(GPU-1): Mode (5120 x 2880) larger than per-head max resolution
[341725.754] (WW) NVIDIA(GPU-1):     supported (2560 x 1600)
[341725.754] (WW) NVIDIA(GPU-1): Mode (5120 x 2880) larger than per-head max resolution
[341725.754] (WW) NVIDIA(GPU-1):     supported (2560 x 1600)
[341725.754] (WW) NVIDIA(GPU-1): Mode (7680 x 4320) larger than per-head max resolution
[341725.754] (WW) NVIDIA(GPU-1):     supported (2560 x 1600)
[341725.754] (WW) NVIDIA(GPU-1): Mode (3840 x 2160) larger than per-head max resolution
[341725.754] (WW) NVIDIA(GPU-1):     supported (2560 x 1600)
[341725.754] (WW) NVIDIA(GPU-1): Mode (7680 x 4320) larger than per-head max resolution
[341725.754] (WW) NVIDIA(GPU-1):     supported (2560 x 1600)
[341725.754] (WW) NVIDIA(GPU-1): Mode (3840 x 2160) larger than per-head max resolution
[341725.754] (WW) NVIDIA(GPU-1):     supported (2560 x 1600)
[341725.754] (WW) NVIDIA(GPU-1): Mode (15360 x 8640) larger than per-head max resolution
[341725.754] (WW) NVIDIA(GPU-1):     supported (2560 x 1600)
[341725.755] (WW) NVIDIA(GPU-1): Mode (7680 x 4320) larger than per-head max resolution
[341725.755] (WW) NVIDIA(GPU-1):     supported (2560 x 1600)
[341725.755] (WW) NVIDIA(GPU-1): Mode (15360 x 8640) larger than per-head max resolution
[341725.755] (WW) NVIDIA(GPU-1):     supported (2560 x 1600)
[341725.755] (WW) NVIDIA(GPU-1): Mode (7680 x 4320) larger than per-head max resolution
[341725.755] (WW) NVIDIA(GPU-1):     supported (2560 x 1600)
[341725.755] (==) NVIDIA(1):
[341725.755] (==) NVIDIA(1): No modes were requested; the default mode "nvidia-auto-select"
[341725.755] (==) NVIDIA(1):     will be used as the requested mode.
[341725.755] (==) NVIDIA(1):
[341725.755] (II) NVIDIA(1): Validated MetaModes:
[341725.755] (II) NVIDIA(1):     "DFP-0:nvidia-auto-select"
[341725.755] (**) NVIDIA(1): Virtual screen size configured to be 1920 x 1080
[341725.756] (**) NVIDIA(1): DPI set to (96, 96); computed from "DPI" X config option
[341725.756] (==) NVIDIA(G0): Depth 24, (==) framebuffer bpp 32
[341725.756] (==) NVIDIA(G0): RGB weight 888
[341725.756] (==) NVIDIA(G0): Default visual is TrueColor
[341725.756] (==) NVIDIA(G0): Using gamma correction (1.0, 1.0, 1.0)
[341725.756] (II) Applying OutputClass "nvidia" options to /dev/dri/card3
[341725.756] (**) NVIDIA(G0): Option "DPI" "96 x 96"
[341725.756] (**) NVIDIA(G0): Option "AllowEmptyInitialConfiguration"
[341725.756] (**) NVIDIA(G0): Enabling 2D acceleration
[341725.756] (II) NVIDIA: The X server supports PRIME Render Offload.
[341725.767] (--) NVIDIA(0): Valid display device(s) on GPU-2 at PCI:216:0:0
[341725.767] (--) NVIDIA(0):     DFP-0
[341725.767] (--) NVIDIA(0):     DFP-1
[341725.767] (--) NVIDIA(0):     DFP-2
[341725.767] (--) NVIDIA(0):     DFP-3
[341725.786] (II) NVIDIA(G0): NVIDIA GPU NVIDIA A40 (GA102GL-A) at PCI:216:0:0 (GPU-2)
[341725.786] (--) NVIDIA(G0): Memory: 47173632 kBytes
[341725.786] (--) NVIDIA(G0): VideoBIOS: 94.02.5c.00.0f
[341725.786] (II) NVIDIA(G0): Detected PCI Express Link width: 16X
[341725.787] (--) NVIDIA(GPU-2): NVIDIA VGX (DFP-0): connected
[341725.787] (--) NVIDIA(GPU-2): NVIDIA VGX (DFP-0): External TMDS
[341725.787] (WW) NVIDIA(GPU-2): Mode (3840 x 2400) larger than per-head max resolution
[341725.787] (WW) NVIDIA(GPU-2):     supported (2560 x 1600)
[341725.787] (WW) NVIDIA(GPU-2): Mode (3840 x 2160) larger than per-head max resolution
[341725.787] (WW) NVIDIA(GPU-2):     supported (2560 x 1600)
[341725.787] (WW) NVIDIA(GPU-2): Mode (4096 x 2160) larger than per-head max resolution
[341725.787] (WW) NVIDIA(GPU-2):     supported (2560 x 1600)
[341725.787] (WW) NVIDIA(GPU-2): Mode (5120 x 2880) larger than per-head max resolution
[341725.787] (WW) NVIDIA(GPU-2):     supported (2560 x 1600)
[341725.787] (WW) NVIDIA(GPU-2): Mode (7680 x 4320) larger than per-head max resolution
[341725.787] (WW) NVIDIA(GPU-2):     supported (2560 x 1600)
[341725.787] (WW) NVIDIA(GPU-2): Mode (2880 x 1620) larger than per-head max resolution
[341725.787] (WW) NVIDIA(GPU-2):     supported (2560 x 1600)
[341725.787] (WW) NVIDIA(GPU-2): Mode (2880 x 1620) larger than per-head max resolution
[341725.787] (WW) NVIDIA(GPU-2):     supported (2560 x 1600)
[341725.787] (WW) NVIDIA(GPU-2): Mode (3200 x 1800) larger than per-head max resolution
[341725.787] (WW) NVIDIA(GPU-2):     supported (2560 x 1600)
[341725.787] (WW) NVIDIA(GPU-2): Mode (3200 x 1800) larger than per-head max resolution
[341725.787] (WW) NVIDIA(GPU-2):     supported (2560 x 1600)
[341725.787] (WW) NVIDIA(GPU-2): Mode (3840 x 2160) larger than per-head max resolution
[341725.787] (WW) NVIDIA(GPU-2):     supported (2560 x 1600)
[341725.787] (WW) NVIDIA(GPU-2): Mode (3840 x 2160) larger than per-head max resolution
[341725.787] (WW) NVIDIA(GPU-2):     supported (2560 x 1600)
[341725.787] (WW) NVIDIA(GPU-2): Mode (4096 x 2304) larger than per-head max resolution
[341725.787] (WW) NVIDIA(GPU-2):     supported (2560 x 1600)
[341725.787] (WW) NVIDIA(GPU-2): Mode (4096 x 2304) larger than per-head max resolution
[341725.787] (WW) NVIDIA(GPU-2):     supported (2560 x 1600)
[341725.787] (WW) NVIDIA(GPU-2): Mode (5120 x 2880) larger than per-head max resolution
[341725.787] (WW) NVIDIA(GPU-2):     supported (2560 x 1600)
[341725.787] (WW) NVIDIA(GPU-2): Mode (5120 x 2880) larger than per-head max resolution
[341725.787] (WW) NVIDIA(GPU-2):     supported (2560 x 1600)
[341725.787] (WW) NVIDIA(GPU-2): Mode (7680 x 4320) larger than per-head max resolution
[341725.787] (WW) NVIDIA(GPU-2):     supported (2560 x 1600)
[341725.787] (WW) NVIDIA(GPU-2): Mode (3840 x 2160) larger than per-head max resolution
[341725.787] (WW) NVIDIA(GPU-2):     supported (2560 x 1600)
[341725.787] (WW) NVIDIA(GPU-2): Mode (7680 x 4320) larger than per-head max resolution
[341725.787] (WW) NVIDIA(GPU-2):     supported (2560 x 1600)
[341725.787] (WW) NVIDIA(GPU-2): Mode (3840 x 2160) larger than per-head max resolution
[341725.787] (WW) NVIDIA(GPU-2):     supported (2560 x 1600)
[341725.787] (WW) NVIDIA(GPU-2): Mode (15360 x 8640) larger than per-head max resolution
[341725.787] (WW) NVIDIA(GPU-2):     supported (2560 x 1600)
[341725.787] (WW) NVIDIA(GPU-2): Mode (7680 x 4320) larger than per-head max resolution
[341725.787] (WW) NVIDIA(GPU-2):     supported (2560 x 1600)
[341725.787] (WW) NVIDIA(GPU-2): Mode (15360 x 8640) larger than per-head max resolution
[341725.787] (WW) NVIDIA(GPU-2):     supported (2560 x 1600)
[341725.787] (WW) NVIDIA(GPU-2): Mode (7680 x 4320) larger than per-head max resolution
[341725.787] (WW) NVIDIA(GPU-2):     supported (2560 x 1600)
[341725.788] (II) NVIDIA(G0): Validated MetaModes:
[341725.788] (II) NVIDIA(G0):     "NULL"
[341725.788] (II) NVIDIA(G0): Virtual screen size determined to be 640 x 480
[341725.790] (**) NVIDIA(G0): DPI set to (96, 96); computed from "DPI" X config option
[341725.790] xorgxrdpScreenInit:
[341725.790] (WW) NVIDIA: Failed to bind sideband socket to
[341725.790] (WW) NVIDIA:     '/var/run/nvidia-xdriver-3316ce1c' Permission denied
[341725.803] (II) NVIDIA: Reserving 24576.00 MB of virtual memory for indirect memory
[341725.803] (II) NVIDIA:     access.
[341725.919] (II) NVIDIA(0): Setting mode "DFP-0:nvidia-auto-select"
[341726.018] (==) NVIDIA(0): Disabling shared memory pixmaps
[341726.018] (==) NVIDIA(0): Backing store enabled
[341726.018] (==) NVIDIA(0): Silken mouse enabled
[341726.018] (==) NVIDIA(0): DPMS enabled
[341726.018] (II) Loading sub module "dri2"
[341726.018] (II) LoadModule: "dri2"
[341726.018] (II) Module "dri2" already built-in
[341726.018] (II) NVIDIA(0): [DRI2] Setup complete
[341726.018] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[341726.018] xorgxrdpScreenInit: width 1920 height 1080
[341726.018] rdpClientConInit: disconnect idle session after [0] sec
[341726.018] rdpClientConInit: kill disconnected [0] timeout [0] sec
[341726.018] rdpSimdInit: assigning yuv functions
[341726.018] rdpSimdInit: cpuid ax 1 cx 0 return ax 0x00050657 bx 0x0a200800 cx 0x7ffefbff dx 0xbfebfbff
[341726.018] rdpSimdInit: sse2 amd64 yuv functions assigned
[341726.132] (II) NVIDIA(1): Setting mode "DFP-0:nvidia-auto-select"
[341726.231] (==) NVIDIA(1): Disabling shared memory pixmaps
[341726.231] (==) NVIDIA(1): Backing store enabled
[341726.231] (==) NVIDIA(1): Silken mouse enabled
[341726.231] (==) NVIDIA(1): DPMS enabled
[341726.231] (II) Loading sub module "dri2"
[341726.231] (II) LoadModule: "dri2"
[341726.231] (II) Module "dri2" already built-in
[341726.231] (II) NVIDIA(1): [DRI2] Setup complete
[341726.231] (II) NVIDIA(1): [DRI2]   VDPAU driver: nvidia
[341726.343] (II) NVIDIA(G0): Setting mode "NULL"
[341726.444] (==) NVIDIA(G0): Disabling shared memory pixmaps
[341726.444] (==) NVIDIA(G0): Backing store enabled
[341726.444] (==) NVIDIA(G0): Silken mouse enabled
[341726.444] (==) NVIDIA(G0): DPMS enabled
[341726.444] (II) Loading sub module "dri2"
[341726.444] (II) LoadModule: "dri2"
[341726.444] (II) Module "dri2" already built-in
[341726.444] (II) NVIDIA(G0): [DRI2] Setup complete
[341726.444] (II) NVIDIA(G0): [DRI2]   VDPAU driver: nvidia
[341726.444] (II) Initializing extension Generic Event Extension
[341726.444] (II) Initializing extension SHAPE
[341726.444] (II) Initializing extension MIT-SHM
[341726.444] (II) Initializing extension XInputExtension
[341726.444] (II) Initializing extension XTEST
[341726.445] (II) Initializing extension BIG-REQUESTS
[341726.445] (II) Initializing extension SYNC
[341726.445] (II) Initializing extension XKEYBOARD
[341726.445] (II) Initializing extension XC-MISC
[341726.445] (II) Initializing extension SECURITY
[341726.445] (II) Initializing extension XFIXES
[341726.445] (II) Initializing extension RENDER
[341726.445] (II) Initializing extension RANDR
[341726.445] (II) Initializing extension COMPOSITE
[341726.445] (II) Initializing extension DAMAGE
[341726.445] (II) Initializing extension MIT-SCREEN-SAVER
[341726.445] (II) Initializing extension DOUBLE-BUFFER
[341726.446] (II) Initializing extension RECORD
[341726.446] (II) Initializing extension DPMS
[341726.446] (II) Initializing extension Present
[341726.446] (II) Initializing extension DRI3
[341726.446] (II) Initializing extension X-Resource
[341726.446] (II) Initializing extension XVideo
[341726.446] (II) Initializing extension XVideo-MotionCompensation
[341726.446] (II) Initializing extension SELinux
[341726.446] (II) SELinux: Disabled on system
[341726.446] (II) Initializing extension GLX
[341726.446] (II) Initializing extension GLX
[341726.446] (II) Indirect GLX disabled.
[341726.446] (II) GLX: Another vendor is already registered for screen 0
[341726.446] (II) GLX: Another vendor is already registered for screen 1
[341726.446] (II) Initializing extension XFree86-VidModeExtension
[341726.446] (II) Initializing extension XFree86-DGA
[341726.446] (II) Initializing extension XFree86-DRI
[341726.446] (II) Initializing extension DRI2
[341726.446] (II) Initializing extension NV-GLX
[341726.447] (II) Initializing extension NV-CONTROL
[341726.447] rdpCreateScreenResources:
[341726.564] (II) Using input driver 'XRDPMOUSE' for 'xrdpMouse'
[341726.564] (**) Option "CorePointer"
[341726.564] (**) xrdpMouse: always reports core events
[341726.564] rdpmousePreInit: drv 0x55841361e490 info 0x5584141f00f0, flags 0x0
[341726.564] (II) XINPUT: Adding extended input device "xrdpMouse" (type: Mouse, id 6)
[341726.564] rdpmouseControl: what 0
[341726.564] rdpmouseDeviceInit:
[341726.564] rdpmouseCtrl:
[341726.564] rdpRegisterInputCallback: type 1 proc 0x7feec11385f0
[341726.564] (**) xrdpMouse: (accel) keeping acceleration scheme 1
[341726.564] (**) xrdpMouse: (accel) acceleration profile 0
[341726.564] (**) xrdpMouse: (accel) acceleration factor: 2.000
[341726.564] (**) xrdpMouse: (accel) acceleration threshold: 4
[341726.564] rdpmouseControl: what 1
[341726.564] rdpmouseDeviceOn:
[341726.564] (II) Using input driver 'XRDPKEYB' for 'xrdpKeyboard'
[341726.564] (**) Option "CoreKeyboard"
[341726.564] (**) xrdpKeyboard: always reports core events
[341726.564] rdpkeybPreInit: drv 0x55841360bc90 info 0x55841437b980, flags 0x0
[341726.564] (II) XINPUT: Adding extended input device "xrdpKeyboard" (type: Keyboard, id 7)
[341726.564] rdpkeybControl: what 0
[341726.564] rdpkeybDeviceInit:
[341726.584] rdpkeybChangeKeyboardControl:
[341726.584] rdpkeybChangeKeyboardControl: autoRepeat on
[341726.584] rdpRegisterInputCallback: type 0 proc 0x7feec059ab60
[341726.584] rdpkeybControl: what 1
[341726.584] rdpkeybDeviceOn:
[341726.584] rdpkeybChangeKeyboardControl:
[341726.584] rdpkeybChangeKeyboardControl: autoRepeat on
[341726.593] (II) config/udev: Adding input device Power Button (/dev/input/event0)
[341726.593] (II) AutoAddDevices is off - not adding device.
[341726.601] xorgxrdpDeferredStartup:
[341726.601] xorgxrdpSetupDamage: DamageRegister ok
[341726.616] (--) NVIDIA(GPU-0): NVIDIA VGX (DFP-0): connected
[341726.616] (--) NVIDIA(GPU-0): NVIDIA VGX (DFP-0): External TMDS
[341726.616] (--) NVIDIA(GPU-0): NVIDIA VGX (DFP-0): connected
[341726.616] (--) NVIDIA(GPU-0): NVIDIA VGX (DFP-0): External TMDS
[341726.616] (--) NVIDIA(GPU-2): NVIDIA VGX (DFP-0): connected
[341726.616] (--) NVIDIA(GPU-2): NVIDIA VGX (DFP-0): External TMDS
[341726.684] rdpInDeferredRepeatCallback:
[341726.684] rdpkeybChangeKeyboardControl:
[341726.684] rdpkeybChangeKeyboardControl: autoRepeat off
[341726.684] rdpInDeferredRepeatCallback:
[341726.685] rdpkeybChangeKeyboardControl:
[341726.685] rdpkeybChangeKeyboardControl: autoRepeat off
[341727.551] rdpClientConGotConnection:
[341727.551] rdpClientConGotConnection: g_sck_accept ok new_sck 61
[341727.551] rdpClientConGetConnection: idle_disconnect_timeout set to non-positive value, idle timer turned off
[341727.551] rdpAddClientConToDev: adding first clientCon 0x55841446cbb0
[341727.552] rdpClientConProcessMsgVersion: version 0 0 0 1
[341727.552] rdpClientConProcessScreenSizeMsg: set width 5120 height 1440 bpp 32
[341727.552] rdpClientConAllocateSharedMemory: shmemid 360456 shmemptr 0x7fe8b23e0000 bytes 29491200
[341727.552] xorgxrdpRRScreenSetSize: width 5120 height 1440
[341727.571] rdpClientConProcessScreenSizeMsg: RRScreenSizeSet ok=[1]
[341727.571] rdpClientConProcessMsgClientInput: invalidate x 0 y 0 cx 5120 cy 1440
[341727.571] KbdSync: toggling num lock
[341727.571] rdpkeybChangeKeyboardControl:
[341727.571] rdpkeybChangeKeyboardControl: autoRepeat on
[341727.571] rdpClientConProcessMsgClientInfo:
[341727.571]   got client info bytes 7184
[341727.571]   jpeg support 0
[341727.571]   offscreen support 0
[341727.571]   offscreen size 0
[341727.571]   offscreen entries 0
[341727.571] rdpClientConProcessMsgClientInfo: got H264 capture
[341727.571]   cap_width 5120 cap_height 1440
[341727.571] rdpClientConAllocateSharedMemory: shmemid 360457 shmemptr 0x7fe8b84bc000 bytes 14745600
[341727.571]   client can not do offscreen to offscreen blits
[341727.571]   client can do new(color) cursor
[341727.571]   client can do multimon
[341727.571]   client monitor data, monitorCount=2
[341727.571]     left 2560 top 0 right 5119 bottom 1439
[341727.571]     left 0 top 0 right 2559 bottom 1439
[341727.571] rdpRRSetRdpOutputs: numCrtcs 4 numOutputs 4 monitorCount 2
[341727.571] rdpLoadLayout: keylayout 0x00000407 variant  display 11
[341727.613] rdpkeybChangeKeyboardControl:
[341727.613] rdpkeybChangeKeyboardControl: autoRepeat on
[341727.614] rdpkeybChangeKeyboardControl:
[341727.614] rdpkeybChangeKeyboardControl: autoRepeat on
[341727.632] rdpClientConProcessMsgClientInfo: started helper pid 4108530
[341727.632] rdpCapture3: WARNING -- Shared memory is not configured. Aborting capture!
[341727.632] rdpCapRect: rdpCapture failed
[341727.632] rdpCapture3: WARNING -- Shared memory is not configured. Aborting capture!
[341727.632] rdpCapRect: rdpCapture failed
[341727.671] rdpInDeferredRepeatCallback:
[341727.671] rdpkeybChangeKeyboardControl:
[341727.671] rdpkeybChangeKeyboardControl: autoRepeat off
[341727.713] rdpInDeferredRepeatCallback:
[341727.714] rdpkeybChangeKeyboardControl:
[341727.714] rdpkeybChangeKeyboardControl: autoRepeat off
[341727.714] rdpInDeferredRepeatCallback:
[341727.714] rdpkeybChangeKeyboardControl:
[341727.714] rdpkeybChangeKeyboardControl: autoRepeat off
[341728.203] rdpPutImage: setting conNumber 1, monitor num 0 to pixmap 0x55841445ae90
[341728.348] KbdSync: toggling num lock
[341728.349] rdpkeybChangeKeyboardControl:
[341728.349] rdpkeybChangeKeyboardControl: autoRepeat off
[341728.349] rdpkeybChangeKeyboardControl:
[341728.349] rdpkeybChangeKeyboardControl: autoRepeat off
[341728.350] rdpClientConProcessMsgClientInput: invalidate x 0 y 0 cx 2560 cy 1440
[341728.352] rdpPutImage: setting conNumber 1, monitor num 1 to pixmap 0x5584143b0860
[341728.352] rdpClientConProcessMsgClientInput: invalidate x 0 y 0 cx 2560 cy 1440
[341728.516] rdpClientConRecv: g_sck_recv failed(returned 0)
[341728.516] rdpClientConRecvMsg: error
[341728.516] rdpClientConCheck: rdpClientConGotData failed
[341728.516] rdpClientConDisconnect:
[341728.516] rdpRemoveClientConFromDev: removing clientCon 0x55841446cbb0
[341728.516] rdpShutdownHelper:
[341747.236] (--) NVIDIA(GPU-0): NVIDIA VGX (DFP-0): connected
[341747.236] (--) NVIDIA(GPU-0): NVIDIA VGX (DFP-0): External TMDS
[341747.237] (--) NVIDIA(GPU-0): NVIDIA VGX (DFP-0): connected
[341747.237] (--) NVIDIA(GPU-0): NVIDIA VGX (DFP-0): External TMDS
[341747.237] (--) NVIDIA(GPU-2): NVIDIA VGX (DFP-0): connected
[341747.237] (--) NVIDIA(GPU-2): NVIDIA VGX (DFP-0): External TMDS

When I try to connect, my local screens go black for like 1 second, then freerdp crashes:
[09:39:23:232] [28239:28242] [WARN][com.freerdp.crypto] - Certificate verification failure 'self-signed certificate (18)' at stack position 0
[09:39:23:232] [28239:28242] [WARN][com.freerdp.crypto] - C = US, ST = CA, L = Sunnyvale, O = xrdp, CN = www.xrdp.org
[09:39:24:340] [28239:28242] [INFO][com.freerdp.gdi] - Local framebuffer format  PIXEL_FORMAT_BGRX32
[09:39:24:340] [28239:28242] [INFO][com.freerdp.gdi] - Remote framebuffer format PIXEL_FORMAT_BGRA32
[09:39:24:416] [28239:28242] [INFO][com.freerdp.channels.rdpsnd.client] - [static] Loaded fake backend for rdpsnd
[09:39:24:416] [28239:28242] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel rdpgfx
[swscaler @ 0x7fc2186b0b40] Warning: data is not aligned! This can lead to a speed loss
[09:39:27:478] [28239:28242] [ERROR][com.freerdp.core.transport] - BIO_read returned a system error 0: Success
[09:39:27:478] [28239:28242] [ERROR][com.freerdp.core] - transport_read_layer:freerdp_set_last_error_ex ERRCONNECT_CONNECT_TRANSPORT_FAILED [0x0002000D]
[09:39:27:478] [28239:28242] [INFO][com.freerdp.client.common] - Network disconnect!

Thanks in advance.

@Nexarian what I'm wondering. Is multi-monitor a feature that is just not implemented yet? Have you made it work for a different setup?

I would say it's not implemented yet. Right now I'm focused on getting AVC444 working with GFX and then broadly getting GFX mode merged into the devel branch of XRDP as a whole.

Thank you!

Help is always appreciated! The first thing that is likely wrong is this: https://github.com/Nexarian/xrdp/blob/4ba810c6c1feabac83e693d5a0f7c9cf6956bea1/xrdp/xrdp_mm.c#L1218
The monitor array may have bad information and/or it may not be following what's supposed to be going on here: https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-rdpegfx/60c8841c-3288-473b-82c3-340e24f51f98
The big issue, and the reason why we haven't tackled this yet (it's hard) is that in theory, each monitor should be its own surface: https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-rdpegfx/1bb2a2f4-7aaa-4a6b-adc1-35609a6b568e, and it should be mapped to the proper location of the output buffer: https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-rdpegfx/a1c6ff83-c385-4ad6-9437-f17697cc001c.
I suspect this is how "true multi monitor support" is enabled versus "span" mode as discussed here: https://techcommunity.microsoft.com/t5/security-compliance-and-identity/using-multiple-monitors-in-remote-desktop-session/ba-p/246840
We'd also need to determine how multi-mon is defined in Xorg and pull the different monitor output buffers out, encode them correctly, and keep everything synchronized.
This is an extensive refactor of how the underlying logic works, but I'm always excited to collaborate to accomplish this!
Another reference: https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-rdpbcgr/c3964b39-3d54-4ae1-a84a-ceaed311e0f6

@jsorg71 Is working on this, and soon we will consolidate:

https://github.com/jsorg71/xrdp/commits/workspot_multimon
https://github.com/jsorg71/xorgxrdp/tree/workspot_multimon

Now GFX multimon is merged into devel and v0.10 branch. Try with corresponding xorgxrdp branch.
If there is some issue, report it to #2938.


Watch mode rebuilds due to "missing" invalid files

Bug report

This might be issue for source-map-loader instead, please let me know if it must be moved. But for me it seems that there could be generic solutions possible at webpack/watchpack level that would work around the source-map-loader problem as well.
Running webpack in watch mode results in immediate rebuild once due to files that the watchpack report as initial-missing due to them being present in source maps.
Examples:

URLs like webpack://videojs/./node_modules/classnames/index.js
From<EMAIL_ADDRESS>source maps where the source maps do not match actual files in the package

proj\node_modules\react-draggable\build\lib\DraggableCore.js
proj\node_modules\react-draggable\build\external {"commonjs":"react-dom","commonjs2":"react-dom","amd":"react-dom","root":"ReactDOM"}
proj\node_modules\react-draggable\build\external {"commonjs":"react","commonjs2":"react","amd":"react","root":"React"}

What is the current behavior?
Watch rebuilds once
If the current behavior is a bug, please provide the steps to reproduce.

What is the expected behavior?
No rebuild unless files change.

Other relevant information:
webpack version:  5.2.0
Node.js version: 12.13.1
Operating System:
Additional tools<EMAIL_ADDRESS>

You miss If the current behavior is a bug, please provide the steps to reproduce., please fix it and I will reopen

@evilebottnawi added

Yes, it is bug on source-map-loader, we should not add broken utils for wathing

@webpack-bot move to webpack-contrib/source-map-loader


How did you implement the scroll to zoom?

I've been toying with egui-snarl and I can't seem to find this in your code anywhere. Any help would be greatly appreciated.

I think this is handled by the egui_snarl::Snarl<T>::show() function - but this is a really old version of egui_snarl and I haven't made any updates, so this might be handled differently in current versions.

Ah I see now. It was changed:
https://github.com/zakarumych/egui-snarl/commit/55725607b394664b6743230bc670a5d695ee2f14#diff-ecec88c33adb7591ee6aa88e29b62ad52ef443611cba5e0f0ecac9b5725afdba
Probably should have looked more closely at egui-snarl. Thank you!

You beat me too it - I just figured out the same thing by rolling this repo forward and finding that Zooming doesn't work on the latest without command/control.


publish docker images

Publish images to docker hub

docker images are published here
https://hub.docker.com/search/?q=capitaloneio&page=1&isAutomated=0&isOfficial=0&starCount=0&pullCount=0
closing the issue

Please remove that, i'm working with dockerhub to get us access to the capitalone namespace..

Are you going to do a separate container for Mongo?

docker run -it -d  -p 3000:3000   --name hygieia-ui  capitaloneio/hygieia-ui  /bin/bash;
docker run -it -d   -p 8080:8080  --name hygieia-api  capitaloneio/hygieia-api  /bin/bash;

Where is all the code in the Containers.
docker run -it -d -p 3000:3000 --name hygieia-ui capitaloneio/hygieia-ui /bin/bash;
docker run -it -d -p 8080:8080 --name hygieia-api capitaloneio/hygieia-api /bin/bash;

Sorry Hugh was  busy , so could not respond to it earlier,
What do you mean when you say Where is all the code in the containers?

Where in the file systems on the respective containers is the code installed?
OR/AND
What are the instructions after starting the Containers?
Do I hit a URL.
Do I have to start a service?
Where is the documentation for using them?

sorry for the delayed response, please see: https://github.com/capitalone/Hygieia/blob/master/Setup.md

@jdamick @amitmawkin can we close this?

yes the docker images are published under correct org


toast border color based on variant

Closes #468
Side note: I wanted to just do .toast.bg-success { ... }, .toast.bg-danger { ... } in the CSS module, but with how Next.JS loads CSS modules via className, that didn't seem to work how I'd like, so I went with this approach instead. I am open to different implementations if there's a cleaner option.

Idk how I've never heard of "bike shedding" before LOL. But yea, this is a really minor issue so it's probably not worth any more mental cycles


Add MatchData#matches_full_string?

Adds a methd that tells whether a regex matched the entire string or not.
I found such a method useful, so maybe it would be good to have it by default.

I feel like this could have edge cases. Would be nice to "fuzz" it against matches? /\Apattern\Z/

Wish the name was shorter. Also probably good to clarify that it means matched full string, not that it could potentially match it, which the current name might be confused for.

Ha, it might also be an important note (in docs?) that this is not equivalent to \A\Z. E.g. foo+? matches_full_string would give a different result from \Afoo+?\Z

Yeah, what's wrong with wrapping into \A\z?

Uh I was just saying that it gives a different result
\Afoo\z matches "foo" but not "foooo".
foo matches "foo" or "foooo" but the latter match is not the full string.
And, more subtly and more importantly,
\Afoo+?\z matches "foo" or "foooo".
foo+? matches "foo" or "foooo" but the latter match is not the full string.

Ah sorry, I misunderstood the purpose of this. It's if you do want to match both, a partial or a full string but disambiguate the result.
I think that's rare enough (I never once needed it) that I don't mind the long method name.

Yeah, what's wrong with wrapping into \A\z?

My use case is regular expressions that come frome user input but should only be matched fully. If you want partial matches, you need to add .* explicitly to the pattern.
Wrapping the user-supplied patterns in \A#{pattern}\z would also work, but it's an extra step.

But @straight-shoota, as per my example, this implementation is not useful for your use case!

The choice that you want only a full match needs to be known in advance to the regex engine. It should also be specified in advance in the API as most programming languages have. In Python there's re.fullmatch

I honestly don't care about /foo+?/ not matching the entire string.

In Python there's re.fullmatch

That might be a better idea. There's already String#starts_with?(regex : Regex) and String#ends_with?(regex : Regex), so this would seem to fit.

Implemented fullmatch in #9312. If that gets merged, this one here is probably not that useful anymore.


rawvideo_utils: cleanup & bugfix audio_to_tensor

Issues

The variable sr on line 120 is undefined.
The path.endswith(<pattern>) conditions joined by or is redundant

Proposed fix

change sr to self.sr
merge patterns to a tuple: path.endswith(<pattern1>) or path.endswith(<pattern2>) -> path.endswith((<pattern1>,<pattern2>,...))

Thanks for this bug fix1


Cesium is updated to 1.69.0.

Hi @ezze. https://github.com/CesiumGS/cesium-webpack-example/pull/35 updates to 1.97, so I'm going to close this in favor of that PR. Thank you!


Input a Chinese word right after an IMMUTABLE Entity will break the entity, while an english letter will not

Report a bug
Input a Chinese word right after an IMMUTABLE Entity will break the entity, while an english letter will not
Current behavior
ENTITY input a 'a' will get ENTITYa
ENTITY input a '哈' will get ENTITY哈  where ENTITY is broken into plain text
Demo
check this demo:
https://github.com/facebook/draft-js/blob/master/examples/draft-0-10-0/entity/entity.html
and try to enter Chinese word after the first immutable entity.
Expected behavior
Should behave same in both condition.

aaaaaa


Failed to run bevy

hello!
I have a problem when run:
cargo run --release --example bevy --features "bevy"
the output is:
error: failed to run custom build command for smithay-client-toolkit v0.16.0
The same error appears when I use the bevy feature in project integration.
Also, the version in crates.io is 0.2.3, can you update it please?

I'll check but this error looks to be coming from a dependency.
On which platform are you trying to build?

Nice!
Ubuntu 22.04.1 LTS 64 bits

I think this is related to the wayland feature on bevy.
I can not replicate this on the same Ubuntu version as you. I suggest try to swap the wayland for the x11 feature on the bevy dependency.
That said, I found an issue when adapting the example to bevy 0.9 but I am waiting for feedback from the bevy community to solve this. There will be an update to this crate once that is fixed.

I updated the bevy example for bevy 0.9 and published an updated version of the crate (.0.2.4).


how can I solve these problems !?

 Using the latest code from the master branch should fix these issues.


Warning :- Regarding Unassigned Issues and Missing Labels on Merged PRs  (GSSoC Extd Core Team)

Is there an existing issue for this?

[X] I have searched the existing issues

Issue Description
Hi @apu52
I hope this message finds you well. We, the GSSoC Extended Core Team, have observed that certain issues in your project have been left unassigned for more than a week, and some of the merged PRs are missing appropriate labels. These actions are crucial to maintain transparency and ensure smooth collaboration among contributors.
As per the guidelines, project admins are expected to:

Assign issues promptly to interested contributors.
Label merged PRs appropriately to reflect their status with their proper labels as specified in gssoc-ext guidelines.

correct labels:

gssoc-ext
level1, level2, level3
hacktoberfest-accepted (only if your repository have Hacktoberfest topic in description)

Suggested Change
We request you to take the necessary steps immediately to avoid any further escalations.
Thank you for your understanding and cooperation.
Best regards,
GSSoC Extended Core Team
Rationale
No response
Urgency
High
Record

[X] I have read the Contributing Guidelines
[ ] I'm a GSSOC'24 contributor
[ ] I'm a VSOC'24 contributor
[X] I have starred the repository

@Meetjain1 Thanks for reminding me & Sorry for the delay . But from now I am still working actively on both of my repos

@Meetjain1 Thanks for reminding me & Sorry for the delay . But from now I am still working actively on both of my repos

Great @apu52 👍


Fix/alex/integrations page text

@dzello Landed on "Orbit provides a unified view of your community, so that you can clearly see what's working and where you can improve" for the final tagline copy

 Swap fundraising banner for a link to the careers page


Jump depending uninit value with rustup

When doing valgrind rustc- Vv with rustup installed, it gives me the "Conditional jump or move depends on uninitialised value(s)" error message. I think this is fault of this crate, as it wants to provide a save interface?
Excerpt from the log:
==2946== Conditional jump or move depends on uninitialised value(s)
==2946==    at 0x527045: regex::exec::ExecBuilder::build::h9d7176be1084b6fb (in ~/.cargo/bin/cargo)
==2946==    by 0x53E44A: regex::re_unicode::Regex::new::h59eb978e8f9a3b74 (in ~/.cargo/bin/cargo)
==2946==    by 0x2A519F: rustup_dist::dist::PartialToolchainDesc::from_str::hcde225c127946b12 (in ~/.cargo/bin/cargo)
==2946==    by 0x27F119: rustup::config::Cfg::resolve_toolchain::hd9e0604c74233c16 (in ~/.cargo/bin/cargo)
==2946==    by 0x269FE3: rustup::toolchain::Toolchain::from::h7b9bbf3ccad22a8e (in ~/.cargo/bin/cargo)
==2946==    by 0x278799: rustup::config::Cfg::verify_toolchain::he6b5b7cb1f4a3b92 (in ~/.cargo/bin/cargo)
==2946==    by 0x27ACDE: rustup::config::Cfg::find_override::h05a7a02f3729af57 (in ~/.cargo/bin/cargo)
==2946==    by 0x27B900: rustup::config::Cfg::find_override_toolchain_or_default::hc43f4d80a369322f (in ~/.cargo/bin/cargo)
==2946==    by 0x27D203: rustup::config::Cfg::toolchain_for_dir::h5d6bfd7e735c22aa (in ~/.cargo/bin/cargo)
==2946==    by 0x27D699: rustup::config::Cfg::create_command_for_dir::h6c2c263f507a6278 (in ~/.cargo/bin/cargo)
==2946==    by 0x1E3F59: rustup_init::run_multirust::h38e5ad44bee0b9e7 (in ~/.cargo/bin/cargo)
==2946==    by 0x1E1E93: rustup_init::main::hff5fd3aaa5ccc8b4 (in ~/.cargo/bin/cargo)

There have been similar reports in https://github.com/rust-lang-nursery/rustup.rs/issues/691 but that report was closed, and I have a version that should include all fixes since then: rustup 1.0.0 (17b6d21 2016-12-15).

Looks like a dupe of #274

Indeed it is.


wp-1 removed defer

Codecov Report

Merging #1 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master     #1   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           1      1
  Lines          32     30    -2
=====================================
- Hits           32     30    -2

Impacted Files
Coverage Δ

pool.go
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a6bce63...bc3b44a. Read the comment docs.

Can you explain what problem this solves, how does it help ?
The idea of running grouting here was for Delegate function to not block when adding jobs to full queue. Sends to a buffered channel block only when the buffer is full.

In your delegate function, there are chances that the goroutine won't run at all since delgate function has not other commnd to run after the goroutine has started.Delegate function will sometimes end even before the goroutine has completed

@siddhant2408 could you add a test case for it ? That breaks now and will work after your changes ?


make executable path should be customizable

Hi,
My os is Windows and I am unable to use the makefile plugin. If the path of make executable would be customizable, I would be able to use the plugin with Make for windows (http://gnuwin32.sourceforge.net/packages/make.htm).
Thanks.

Hi Actually I tried to use the plugin with Goland for Go language.
2018-05-13 22:24 GMT+02:00 Sebastian Malton<EMAIL_ADDRESS>
What I would like to know is why it doesn't use the make configured during
Clion's setup process either
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/kropp/intellij-makefile/issues/68#issuecomment-388653517,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AL-bh8ECArbAE5qN679wdCI9Sz6bYPZVks5tyJZogaJpZM4T2JWU
.

--
Yves Darmaillac
Data & Software Engineer
<EMAIL_ADDRESS>06 34 43 23 35
www.lumenai.fr
https://www.linkedin.com/in/yvesdarmaillac/
https://twitter.com/Lumen_AI https://www.facebook.com/weareLumenAI/
http://www.lumenai.fr/


Error using InverseCumulativeDistribution function in Silverlight

Hi : I am testing the library on silverlight 5.0 to use Students Test... when I try to get the InverseCumulative Distribution using 0.0 as location, 1.0 as scale, 5.0 as degrees and 0.4 as value the function throw an error : 0x800a139e - Error en tiempo de ejecución de JavaScript: Unhandled Error in Silverlight Application The algorithm has failed, exceeded the number of iterations allowed or there is no root within the provided bounds.   en MathNet.Numerics.RootFinding.Brent.FindRoot(Func`2 f, Double lowerBound, Double upperBound, Double accuracy, Int32 maxIterations)
this is my code :
StudentT x = new StudentT(0.0, 1.0, 5.0);
double rta = x.InverseCumulativeDistribution(0.4);
can you check this issue... thanks in advance,
Javier Carreño, from Bogota, Colombia

Additionally, I tested the same code on a winforms application (referencing main MathNet.Numerics dll, not silverlight dll), and the function worked fine...

What version of the package are you using? We've increased the number of iterations in v3.20.0, so if you use an older version, upgrading to v3.20 could help.

Christoph, thanks a lot for your fast response... after more tests, I found an error in my code... I was always sending 1.0 to value parameter of InverseCumulativeFunction and it generated the error... the function works fine right now for me, and thanks a lot for your help... with your response, I downloaded 3.19 version, tested it, and works too... thanks again... awesome work !!!
Javier Carreño, from Bogota, Colombia

Great, thanks for the update!


io: Documentation of the io package at website is contrary to its documentation in comments inside source code.

What version of Go are you using (go version)?
go version go1.20.2 windows/amd64
Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (go env)?
O.S. is Microsoft Windows 10.
CPU uses Intel x86-64 (a.k.a. AMD64) architecture.
What did you do?
Documentation of the io package at website states following.

An instance of this general case is that a Reader returning a non-zero number of bytes at the end of the input stream may return either err == EOF or err == nil. The next Read should return 0, EOF.

Documentation of the same io package in comments inside the source code states following.

EOF is the error returned by Read when no more input is available.

What did you expect to see?
I expect to see no controversy in documentation.
What did you see instead?
I saw the controversy in documentation.

There is no conflict between the 2 statements.
Unlike many projects, the Go project does not use GitHub Issues for general discussion or asking questions. GitHub Issues are used for tracking bugs and proposals only.
For questions please refer to https://github.com/golang/go/wiki/Questions

If there is no controversy then why is the io.EOF error not returned by some readers implementing the io.Reader interface when no more input is available ? Its description says that it is returned when no more input is available.
An example of such behaviour may be found in the bytes.Reader, which does not return the io.EOF when no more input is available. I described it in the issue 59253, https://github.com/golang/go/issues/59253.

@vault-thirteen The bytes.Reader.Read method does return io.EOF when no more data is available.  I think you may be saying that you that if a Read method is asked for four bytes, and there are only two bytes available before end-of-file, then the Read method should return 2, io.EOF.  In fact, at least for bytes.Reader.Read, it returns 2, nil, and then on the next call returns 0, io.EOF.  Both behaviors are permitted by the definition of io.Reader.  And while the former behavior is possible for some implementations of io.Reader, it is  not possible for all of them, at least not without introducing other undesirable side effects such as unexpected delays when reading from a network socket.

Hello there, @ianlancetaylor.
I think that your definition of "no more input is available" differs from mine.
I think that "no more input is available" means the following:
when there is a sudden end in the data stream, which happens before we have read the requested number of bytes.
For example, we want to read 3 bytes, but the stream only has 2 bytes. After those 2 bytes no more bytes in the stream exist, and for me it is this "no more input".

What does that mean on a network socket, where you don't know whether the data stream is finished or not until you receive another package?
In any case this issue is not a good place to discuss this topic.  Please see https://go.dev/wiki/Questions if you want to continue.


Next.js - eliminate double build command requirement

Description
From the docs:
# If you haven't already, authenticate with the Replexica platform
pnpm replexica auth

# Build the app, without translations
pnpm run build

# Fetch translations from the Replexica platform
pnpm replexica i18n

# Build the app again, to inject translations into the build output
pnpm run build

# Start the app
pnpm run start

Let's streamline our build process in Next.js by eliminating the need to run the build command twice.
Motivation
Running the build command twice is a hassle. Gotta simplify things and make the process more efficient.
Proposed Solution
We'll adjust our compilation process to ensure that running the build command once is sufficient, eliminating the need for a second run.

Done.


chore: move memory catalog to testing feature gate

I hereby agree to the terms of the GreptimeDB CLA.
Refer to a related PR or issue link (optional)
What's changed and what's your intention?
Move memory catalog to testing feature gate
Checklist

[ ]  I have written the necessary rustdoc comments.
[ ]  I have added the necessary unit tests and integration tests.
[x]  This PR does not require documentation updates.

Compile failed. Please try to build locally to verify the result :D

Compile failed. Please try to build locally to verify the result :D

I'm going to close this PR. We need to use the MemoryCatalogManager in the QueryEngine🥲


From latest release notes:

While PCRE2 supports many other features, we only support regex expressions that are still valid in JavaScript, because open editors are still searched using the editor's JavaScript-based search.
If you are still missing lookbehind assertions, don't worry! That feature is just recently supported by JavaScript and should come to VS Code in a later Electron shell update.

@IllusionMH thanks

Feedback: the help text in the settings tab suggests that lookbehinds are supported. I'd suggest it is rephrased to avoid such confusions until it is implemented.

Thanks @d4nyll, I meant lookahead. Fixed.


pull request for e2e test at 12/27/2016 13:45:06

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Fix Port.get_extended_center()

Calculation needs to be done in radians.

thank you Yannick! sending new PR with tests


First Day of Week

In Italy, the first day of week is Monday not Sunday, i not read option with change this

The option to change the first day of the week is weekStart with a default value of 0 for Sunday. You can put 1 there to start the week on Mondays.

By the way, as bootstrap-material-datetimepicker uses momentjs extensively to display dates, why not use its locales config?
The options lang is already passed to momentjs, thus we don't need the weekStart option:
this.params.weekStart = moment.localeData(this.params.lang).firstDayOfWeek();