Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

black screen on login (NVidia / glamor) #320

Closed
utrobinmv opened this issue Jul 16, 2024 · 7 comments
Closed

black screen on login (NVidia / glamor) #320

utrobinmv opened this issue Jul 16, 2024 · 7 comments
Labels

Comments

@utrobinmv
Copy link

utrobinmv commented Jul 16, 2024

xrdp version

0.9.21.1

Detailed xrdp version, build options

Configure options:
      --enable-ipv6
      --enable-jpeg
      --enable-fuse
      --enable-rfxcodec
      --enable-opus
      --enable-painter
      --enable-vsock
      --build=x86_64-linux-gnu
      --prefix=/usr
      --includedir=${prefix}/include
      --mandir=${prefix}/share/man
      --infodir=${prefix}/share/info
      --sysconfdir=/etc
      --localstatedir=/var
      --disable-silent-rules
      --libdir=${prefix}/lib/x86_64-linux-gnu
      --libexecdir=${prefix}/lib/x86_64-linux-gnu
      --disable-maintainer-mode
      --disable-dependency-tracking
      --with-socketdir=/run/xrdp/sockdir
      build_alias=x86_64-linux-gnu
      CFLAGS=-g -O2 -ffile-prefix-map=/build/reproducible-path/xrdp-0.9.21.1=. -fstack-protector-strong -Wformat -Werror=format-security 
      LDFLAGS=-Wl,-z,relro -Wl,-z,now -Wl,--as-needed
      CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2 
      PKG_CONFIG_PATH=/build/reproducible-path/xrdp-0.9.21.1/pkgconfig

  Compiled with OpenSSL 1.1.1w  11 Sep 2023

Operating system & version

openmediavault_6.5.0-amd64 / Debian 11

Installation method

dnf / apt / zypper / pkg / etc

Which backend do you use?

xorgxrdp

What desktop environment do you use?

Xfce

Environment xrdp running on

a physical machine, 2 * nvidia rtx 3090 and 1 * nvidia rtx 4060ti

What's your client?

No response

Area(s) with issue?

Authentication, Graphic glitches

Steps to reproduce

apt install -y xrdp xorgxrdp xfce4
apt install -y cuda
xfreerdp /size:1600x850 /v:192.168.45.70 /uuser /p:password /sound /home-drive /clipboard

I have been using the openmediavault 6 build and xrdp packages for a very long time. However, recently I started having problems after installing cuda on this machine. After installing cuda, the rdp session stops working xorgXrdp. I realized that the problem is not with xrdp, But maybe you can help me solve the problem?

✔️ Expected Behavior

login on the xfce screen

❌ Actual Behavior

black screen

Anything else?

.xorgxrdp.10.log
[ 317.459] rdpPreInit: /dev/dri/renderD128 open ok, fd 12
[ 317.459] () XRDPDEV(0): Depth 24, (--) framebuffer bpp 32
[ 317.459] (==) XRDPDEV(0): RGB weight 888
[ 317.459] (==) XRDPDEV(0): Using gamma correction (1.0, 1.0, 1.0)
[ 317.459] (==) XRDPDEV(0): Default visual is TrueColor
[ 317.459] (==) XRDPDEV(0): DPI set to (96, 96)
[ 317.459] (II) XRDPDEV(0): mode "640x480" ok
[ 317.459] (II) XRDPDEV(0): mode "800x600" ok
[ 317.459] (II) XRDPDEV(0): Virtual size is 800x600 (pitch 800)
[ 317.459] (
) XRDPDEV(0): Default mode "800x600": 36.0 MHz (scaled from 0.0 MHz), 35.2 kHz, 56.2 Hz
[ 317.459] (II) XRDPDEV(0): Modeline "800x600"x0.0 36.00 800 824 896 1024 600 601 603 625 +hsync +vsync (35.2 kHz d)
[ 317.459] (II) Loading sub module "glamoregl"
[ 317.459] (II) LoadModule: "glamoregl"
[ 317.459] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[ 317.459] (II) Module glamoregl: vendor="X.Org Foundation"
[ 317.459] compiled for 1.20.11, module version = 1.0.1
[ 317.459] ABI class: X.Org ANSI C Emulation, version 0.4
[ 317.459] rdpPreInit: glamor module load ok
[ 320.012] (EE)
[ 320.012] (EE) Backtrace:
[ 320.043] (EE) 0: /usr/lib/xorg/Xorg (OsLookupColor+0x135) [0x560c81deba45]
[ 320.044] (EE) 1: /lib/x86_64-linux-gnu/libpthread.so.0 (funlockfile+0x50) [0x7f0ef97f1140]
[ 320.076] (EE) 2: /lib/x86_64-linux-gnu/libnvidia-eglcore.so.535.104.05 (NvGlEglGetFunctions+0xdf72c) [0x7f0e66a273fc]
[ 320.078] (EE) 3: /lib/x86_64-linux-gnu/libnvidia-eglcore.so.535.104.05 (NvGlEglGetFunctions+0x29f01) [0x7f0e66971bd1]
[ 320.078] (EE) 4: /lib/x86_64-linux-gnu/libnvidia-eglcore.so.535.104.05 (NvGlEglGetFunctions+0x2a052) [0x7f0e66971d22]
[ 320.078] (EE) 5: /lib/x86_64-linux-gnu/libnvidia-eglcore.so.535.104.05 (NvGlEglGetFunctions+0x2ab6e) [0x7f0e6697283e]
[ 320.079] (EE) 6: /lib/x86_64-linux-gnu/libnvidia-eglcore.so.535.104.05 (NvGlEglApiInit+0x6a12) [0x7f0e66947902]
[ 320.079] (EE) 7: /lib/x86_64-linux-gnu/libnvidia-eglcore.so.535.104.05 (NvGlEglApiInit+0x3af) [0x7f0e6694129f]
[ 320.079] (EE) unw_get_proc_name failed: no unwind info found [-10]
[ 320.079] (EE) 8: /lib/x86_64-linux-gnu/libEGL_nvidia.so.0 (?+0x0) [0x7f0eec235895]
[ 320.080] (EE) unw_get_proc_name failed: no unwind info found [-10]
[ 320.080] (EE) 9: /lib/x86_64-linux-gnu/libEGL_nvidia.so.0 (?+0x0) [0x7f0eec23597b]
[ 320.093] (EE) 10: /lib/x86_64-linux-gnu/libEGL_nvidia.so.0 (NvEglwlaf47906in+0x6f4d6) [0x7f0eec2ae716]
[ 320.094] (EE) unw_get_proc_name failed: no unwind info found [-10]
[ 320.094] (EE) 11: /lib/x86_64-linux-gnu/libEGL_nvidia.so.0 (?+0x0) [0x7f0eec233898]
[ 320.094] (EE) 12: /lib/x86_64-linux-gnu/libEGL_nvidia.so.0 (NvEglwlaf47906in+0xf11d) [0x7f0eec24e35d]
[ 320.095] (EE) 13: /lib/x86_64-linux-gnu/libEGL.so.1 (eglMakeCurrent+0x2105) [0x7f0ef890d635]
[ 320.095] (EE) 14: /lib/x86_64-linux-gnu/libEGL.so.1 (eglMakeCurrent+0x273a) [0x7f0ef890dc6a]
[ 320.096] (EE) 15: /lib/x86_64-linux-gnu/libpthread.so.0 (__pthread_once_slow+0xbf) [0x7f0ef97ee34f]
[ 320.096] (EE) 16: /lib/x86_64-linux-gnu/libEGL.so.1 (eglMakeCurrent+0x290f) [0x7f0ef890de3f]
[ 320.097] (EE) 17: /lib/x86_64-linux-gnu/libEGL.so.1 (eglQueryString+0x11d) [0x7f0ef890b3ed]
[ 320.097] (EE) 18: /lib/x86_64-linux-gnu/libepoxy.so.0 (epoxy_has_egl_extension+0x17) [0x7f0ef8bfeaf7]
[ 320.098] (EE) 19: /usr/lib/xorg/modules/libglamoregl.so (glamor_egl_init+0x71) [0x7f0ef8c852f1]
[ 320.098] (EE) unw_get_proc_name failed: no unwind info found [-10]
[ 320.099] (EE) 20: /usr/lib/xorg/modules/drivers/xrdpdev_drv.so (?+0x0) [0x7f0ef8fbf309]
[ 320.099] (EE) 21: /usr/lib/xorg/Xorg (InitOutput+0x9ae) [0x560c81cc988e]
[ 320.099] (EE) 22: /usr/lib/xorg/Xorg (InitFonts+0x1cc) [0x560c81c8b52c]
[ 320.100] (EE) 23: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xea) [0x7f0ef962dd0a]
[ 320.100] (EE) 24: /usr/lib/xorg/Xorg (_start+0x2a) [0x560c81c74d2a]
[ 320.100] (EE)
[ 320.100] (EE) Segmentation fault at address 0x88
[ 320.100] (EE)
Fatal server error:
[ 320.100] (EE) Caught signal 11 (Segmentation fault). Server aborting
[ 320.100] (EE)
[ 320.100] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 320.100] (EE) Please also check the log file at ".xorgxrdp.10.log" for additional information.
[ 320.100] (EE)
[ 320.101] (EE) Server terminated with error (1). Closing log file

@utrobinmv utrobinmv added the bug label Jul 16, 2024
@matt335672 matt335672 transferred this issue from neutrinolabs/xrdp Jul 16, 2024
@matt335672
Copy link
Member

Can you post the whole .xorgxrdp.10.log?

@utrobinmv
Copy link
Author

utrobinmv commented Jul 16, 2024

Of course, this is the full contents of the file: .xorgxrdp.10.log

[    97.806] X.Org X Server 1.20.11 X Protocol Version 11, Revision 0
[    97.806] Build Operating System: linux Debian
[    97.806] Current Operating System: Linux jfsrv-dl-006 6.1.0-0.deb11.21-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.90-1~bpo11+1 (2024-05-06) x86_64
[    97.806] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-6.1.0-0.deb11.21-amd64 root=UUID=6bcb1a84-a6ce-4c22-9c8e-3167735615d2 ro quiet
[    97.806] Build Date: 10 April 2024  08:59:35AM
[    97.806] xorg-server 2:1.20.11-1+deb11u13 (https://www.debian.org/support) 
[    97.806] Current version of pixman: 0.40.0
[    97.806] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    97.806] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    97.806] (++) Log file: ".xorgxrdp.10.log", Time: Tue Jul 16 15:58:56 2024
[    97.913] (++) Using config file: "/etc/X11/xrdp/xorg.conf"
[    97.913] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    97.978] (==) ServerLayout "X11 Server"
[    97.978] (**) |-->Screen "Screen (xrdpdev)" (0)
[    97.978] (**) |   |-->Monitor "Monitor"
[    97.999] (**) |   |-->Device "Video Card (xrdpdev)"
[    97.999] (**) |-->Input Device "xrdpMouse"
[    97.999] (**) |-->Input Device "xrdpKeyboard"
[    97.999] (**) Option "DontVTSwitch" "on"
[    97.999] (**) Option "AutoAddDevices" "off"
[    97.999] (**) Not automatically adding devices
[    97.999] (==) Automatically enabling devices
[    97.999] (==) Automatically adding GPU devices
[    97.999] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    98.074] (WW) The directory "/usr/share/fonts/X11/misc" does not exist.
[    98.074] 	Entry deleted from font path.
[    98.074] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[    98.074] 	Entry deleted from font path.
[    98.074] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[    98.074] 	Entry deleted from font path.
[    98.074] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[    98.074] 	Entry deleted from font path.
[    98.074] (WW) The directory "/usr/share/fonts/X11/Type1" does not exist.
[    98.074] 	Entry deleted from font path.
[    98.074] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[    98.074] 	Entry deleted from font path.
[    98.074] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[    98.074] 	Entry deleted from font path.
[    98.074] (==) FontPath set to:
	built-ins
[    98.074] (==) ModulePath set to "/usr/lib/xorg/modules"
[    98.074] (II) Loader magic: 0x55ecd7096e40
[    98.074] (II) Module ABI versions:
[    98.074] 	X.Org ANSI C Emulation: 0.4
[    98.074] 	X.Org Video Driver: 24.1
[    98.074] 	X.Org XInput driver : 24.1
[    98.074] 	X.Org Server Extension : 10.0
[    98.075] (--) using VT number 2

[    98.075] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[    98.076] (II) xfree86: Adding drm device (/dev/dri/card0)
[    98.076] (II) xfree86: Adding drm device (/dev/dri/card1)
[    98.077] (II) xfree86: Adding drm device (/dev/dri/card2)
[    98.096] (--) PCI:*(1@0:0:0) 10de:2204:1462:3881 rev 161, Mem @ 0xfa000000/16777216, 0x383fe0000000/268435456, 0x383ff0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/131072
[    98.096] (--) PCI: (3@0:0:0) 10de:2805:1462:5174 rev 161, Mem @ 0xf8000000/16777216, 0x383fc0000000/268435456, 0x383fd0000000/33554432, I/O @ 0x0000d000/128, BIOS @ 0x????????/524288
[    98.096] (--) PCI: (4@0:0:0) 10de:2204:1462:3881 rev 161, Mem @ 0xf6000000/16777216, 0x383fa0000000/268435456, 0x383fb0000000/33554432, I/O @ 0x0000c000/128, BIOS @ 0x????????/524288
[    98.096] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[    98.097] (II) LoadModule: "dbe"
[    98.097] (II) Module "dbe" already built-in
[    98.097] (II) LoadModule: "ddc"
[    98.097] (II) Module "ddc" already built-in
[    98.097] (II) LoadModule: "extmod"
[    98.097] (II) Module "extmod" already built-in
[    98.097] (II) LoadModule: "glx"
[    98.203] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    98.775] (II) Module glx: vendor="X.Org Foundation"
[    98.775] 	compiled for 1.20.11, module version = 1.0.0
[    98.775] 	ABI class: X.Org Server Extension, version 10.0
[    98.776] (II) LoadModule: "int10"
[    98.776] (II) Loading /usr/lib/xorg/modules/libint10.so
[    98.793] (II) Module int10: vendor="X.Org Foundation"
[    98.793] 	compiled for 1.20.11, module version = 1.0.0
[    98.793] 	ABI class: X.Org Video Driver, version 24.1
[    98.793] (II) LoadModule: "record"
[    98.793] (II) Module "record" already built-in
[    98.793] (II) LoadModule: "vbe"
[    99.125] (II) Loading /usr/lib/xorg/modules/libvbe.so
[    99.212] (II) Module vbe: vendor="X.Org Foundation"
[    99.212] 	compiled for 1.20.11, module version = 1.1.0
[    99.212] 	ABI class: X.Org Video Driver, version 24.1
[    99.212] (II) LoadModule: "glamoregl"
[    99.212] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[    99.512] (II) Module glamoregl: vendor="X.Org Foundation"
[    99.512] 	compiled for 1.20.11, module version = 1.0.1
[    99.512] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    99.512] (II) LoadModule: "xorgxrdp"
[    99.513] (II) Loading /usr/lib/xorg/modules/libxorgxrdp.so
[    99.578] (II) Module XORGXRDP: vendor="X.Org Foundation"
[    99.578] 	compiled for 1.20.11, module version = 0.2.12
[    99.578] 	ABI class: X.Org Video Driver, version 24.1
[    99.578] xorgxrdpSetup:
[    99.578] (II) LoadModule: "fb"
[    99.579] (II) Loading /usr/lib/xorg/modules/libfb.so
[    99.618] (II) Module fb: vendor="X.Org Foundation"
[    99.618] 	compiled for 1.20.11, module version = 1.0.0
[    99.618] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    99.618] (II) LoadModule: "xrdpdev"
[    99.618] (II) Loading /usr/lib/xorg/modules/drivers/xrdpdev_drv.so
[    99.666] (II) Module XRDPDEV: vendor="X.Org Foundation"
[    99.666] 	compiled for 1.20.11, module version = 0.2.12
[    99.666] 	ABI class: X.Org Video Driver, version 24.1
[    99.666] xrdpdevSetup:
[    99.666] (II) LoadModule: "xrdpmouse"
[    99.666] (II) Loading /usr/lib/xorg/modules/input/xrdpmouse_drv.so
[    99.666] (II) Module XRDPMOUSE: vendor="X.Org Foundation"
[    99.666] 	compiled for 1.20.11, module version = 0.2.12
[    99.666] 	Module class: X.Org XInput Driver
[    99.667] 	ABI class: X.Org XInput driver, version 24.1
[    99.667] rdpmousePlug:
[    99.667] (II) LoadModule: "xrdpkeyb"
[    99.667] (II) Loading /usr/lib/xorg/modules/input/xrdpkeyb_drv.so
[    99.668] (II) Module XRDPKEYB: vendor="X.Org Foundation"
[    99.668] 	compiled for 1.20.11, module version = 0.2.12
[    99.668] 	Module class: X.Org XInput Driver
[    99.668] 	ABI class: X.Org XInput driver, version 24.1
[    99.668] rdpkeybPlug:
[    99.668] rdpIdentify:
[    99.668] (II) XRDPDEV: driver for xrdp: XRDPDEV
[    99.668] rdpDriverFunc: op 10
[    99.668] (WW) Falling back to old probe method for XRDPDEV
[    99.668] rdpProbe:
[    99.668] (II) Loading sub module "fb"
[    99.668] (II) LoadModule: "fb"
[    99.669] (II) Loading /usr/lib/xorg/modules/libfb.so
[    99.669] (II) Module fb: vendor="X.Org Foundation"
[    99.669] 	compiled for 1.20.11, module version = 1.0.0
[    99.669] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    99.669] rdpProbe: found DRMDevice xorg.conf value [/dev/dri/renderD128]
[    99.669] rdpProbe: found DRI3 xorg.conf value [1]
[    99.669] (II) XRDPDEV(0): using default device
[    99.669] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[    99.669] rdpPreInit:
[    99.669] rdpPreInit: /dev/dri/renderD128 open ok, fd 12
[    99.669] (**) XRDPDEV(0): Depth 24, (--) framebuffer bpp 32
[    99.669] (==) XRDPDEV(0): RGB weight 888
[    99.669] (==) XRDPDEV(0): Using gamma correction (1.0, 1.0, 1.0)
[    99.669] (==) XRDPDEV(0): Default visual is TrueColor
[    99.669] (==) XRDPDEV(0): DPI set to (96, 96)
[    99.669] (II) XRDPDEV(0): 	mode "640x480" ok
[    99.669] (II) XRDPDEV(0): 	mode "800x600" ok
[    99.669] (II) XRDPDEV(0): Virtual size is 800x600 (pitch 800)
[    99.669] (**) XRDPDEV(0):  Default mode "800x600": 36.0 MHz (scaled from 0.0 MHz), 35.2 kHz, 56.2 Hz
[    99.669] (II) XRDPDEV(0): Modeline "800x600"x0.0   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz d)
[    99.669] (II) Loading sub module "glamoregl"
[    99.669] (II) LoadModule: "glamoregl"
[    99.669] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[    99.669] (II) Module glamoregl: vendor="X.Org Foundation"
[    99.669] 	compiled for 1.20.11, module version = 1.0.1
[    99.669] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    99.669] rdpPreInit: glamor module load ok
[   102.290] (EE) 
[   102.290] (EE) Backtrace:
[   102.321] (EE) 0: /usr/lib/xorg/Xorg (OsLookupColor+0x135) [0x55ecd7009a45]
[   102.322] (EE) 1: /lib/x86_64-linux-gnu/libpthread.so.0 (funlockfile+0x50) [0x7fd85402d140]
[   102.354] (EE) 2: /lib/x86_64-linux-gnu/libnvidia-eglcore.so.535.104.05 (NvGlEglGetFunctions+0xdf72c) [0x7fd7a6a273fc]
[   102.355] (EE) 3: /lib/x86_64-linux-gnu/libnvidia-eglcore.so.535.104.05 (NvGlEglGetFunctions+0x29f01) [0x7fd7a6971bd1]
[   102.355] (EE) 4: /lib/x86_64-linux-gnu/libnvidia-eglcore.so.535.104.05 (NvGlEglGetFunctions+0x2a052) [0x7fd7a6971d22]
[   102.356] (EE) 5: /lib/x86_64-linux-gnu/libnvidia-eglcore.so.535.104.05 (NvGlEglGetFunctions+0x2ab6e) [0x7fd7a697283e]
[   102.356] (EE) 6: /lib/x86_64-linux-gnu/libnvidia-eglcore.so.535.104.05 (NvGlEglApiInit+0x6a12) [0x7fd7a6947902]
[   102.356] (EE) 7: /lib/x86_64-linux-gnu/libnvidia-eglcore.so.535.104.05 (NvGlEglApiInit+0x3af) [0x7fd7a694129f]
[   102.357] (EE) unw_get_proc_name failed: no unwind info found [-10]
[   102.357] (EE) 8: /lib/x86_64-linux-gnu/libEGL_nvidia.so.0 (?+0x0) [0x7fd840235895]
[   102.357] (EE) unw_get_proc_name failed: no unwind info found [-10]
[   102.357] (EE) 9: /lib/x86_64-linux-gnu/libEGL_nvidia.so.0 (?+0x0) [0x7fd84023597b]
[   102.371] (EE) 10: /lib/x86_64-linux-gnu/libEGL_nvidia.so.0 (NvEglwlaf47906in+0x6f4d6) [0x7fd8402ae716]
[   102.371] (EE) unw_get_proc_name failed: no unwind info found [-10]
[   102.371] (EE) 11: /lib/x86_64-linux-gnu/libEGL_nvidia.so.0 (?+0x0) [0x7fd840233898]
[   102.371] (EE) 12: /lib/x86_64-linux-gnu/libEGL_nvidia.so.0 (NvEglwlaf47906in+0xf11d) [0x7fd84024e35d]
[   102.372] (EE) 13: /lib/x86_64-linux-gnu/libEGL.so.1 (eglMakeCurrent+0x2105) [0x7fd85178a635]
[   102.372] (EE) 14: /lib/x86_64-linux-gnu/libEGL.so.1 (eglMakeCurrent+0x273a) [0x7fd85178ac6a]
[   102.373] (EE) 15: /lib/x86_64-linux-gnu/libpthread.so.0 (__pthread_once_slow+0xbf) [0x7fd85402a34f]
[   102.373] (EE) 16: /lib/x86_64-linux-gnu/libEGL.so.1 (eglMakeCurrent+0x290f) [0x7fd85178ae3f]
[   102.374] (EE) 17: /lib/x86_64-linux-gnu/libEGL.so.1 (eglQueryString+0x11d) [0x7fd8517883ed]
[   102.374] (EE) 18: /lib/x86_64-linux-gnu/libepoxy.so.0 (epoxy_has_egl_extension+0x17) [0x7fd8530e2af7]
[   102.375] (EE) 19: /usr/lib/xorg/modules/libglamoregl.so (glamor_egl_init+0x71) [0x7fd8531692f1]
[   102.376] (EE) unw_get_proc_name failed: no unwind info found [-10]
[   102.376] (EE) 20: /usr/lib/xorg/modules/drivers/xrdpdev_drv.so (?+0x0) [0x7fd8534a3309]
[   102.376] (EE) 21: /usr/lib/xorg/Xorg (InitOutput+0x9ae) [0x55ecd6ee788e]
[   102.376] (EE) 22: /usr/lib/xorg/Xorg (InitFonts+0x1cc) [0x55ecd6ea952c]
[   102.377] (EE) 23: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xea) [0x7fd85384fd0a]
[   102.377] (EE) 24: /usr/lib/xorg/Xorg (_start+0x2a) [0x55ecd6e92d2a]
[   102.377] (EE) 
[   102.377] (EE) Segmentation fault at address 0x88
[   102.377] (EE) 
Fatal server error:
[   102.377] (EE) Caught signal 11 (Segmentation fault). Server aborting
[   102.377] (EE) 
[   102.377] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[   102.377] (EE) Please also check the log file at ".xorgxrdp.10.log" for additional information.
[   102.377] (EE) 
[   102.378] (EE) Server terminated with error (1). Closing log file.

@utrobinmv
Copy link
Author

utrobinmv commented Jul 16, 2024

If you remove cuda and nvidia drivers, the service starts immediately and the log looks like:
.xorgxrdp.10.log

[  8719.122] X.Org X Server 1.20.11X Protocol Version 11, Revision 0
[  8719.122] Build Operating System: linux Debian
[  8719.122] Current Operating System: Linux jfsrv-dl-006 6.1.0-0.deb11.21-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.90-1~bpo11+1 (2024-05-06) x86_64
[  8719.122] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-6.1.0-0.deb11.21-amd64 root=UUID=6bcb1a84-a6ce-4c22-9c8e-3167735615d2 ro quiet
[  8719.122] Build Date: 10 April 2024  08:59:35AM
[  8719.122] xorg-server 2:1.20.11-1+deb11u13 (https://www.debian.org/support) 
[  8719.122] Current version of pixman: 0.40.0
[  8719.122] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[  8719.122] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  8719.122] (++) Log file: ".xorgxrdp.10.log", Time: Tue Jul 16 18:22:38 2024
[  8719.122] (++) Using config file: "/etc/X11/xrdp/xorg.conf"
[  8719.122] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  8719.122] (==) ServerLayout "X11 Server"
[  8719.122] (**) |-->Screen "Screen (xrdpdev)" (0)
[  8719.122] (**) |   |-->Monitor "Monitor"
[  8719.123] (**) |   |-->Device "Video Card (xrdpdev)"
[  8719.123] (**) |-->Input Device "xrdpMouse"
[  8719.123] (**) |-->Input Device "xrdpKeyboard"
[  8719.123] (**) Option "DontVTSwitch" "on"
[  8719.123] (**) Option "AutoAddDevices" "off"
[  8719.123] (**) Not automatically adding devices
[  8719.123] (==) Automatically enabling devices
[  8719.123] (==) Automatically adding GPU devices
[  8719.123] (==) Max clients allowed: 256, resource mask: 0x1fffff
[  8719.123] (WW) The directory "/usr/share/fonts/X11/misc" does not exist.
[  8719.123] 	Entry deleted from font path.
[  8719.123] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[  8719.123] 	Entry deleted from font path.
[  8719.123] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[  8719.123] 	Entry deleted from font path.
[  8719.123] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[  8719.123] 	Entry deleted from font path.
[  8719.123] (WW) The directory "/usr/share/fonts/X11/Type1" does not exist.
[  8719.123] 	Entry deleted from font path.
[  8719.123] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[  8719.123] 	Entry deleted from font path.
[  8719.123] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[  8719.123] 	Entry deleted from font path.
[  8719.123] (==) FontPath set to:
	built-ins
[  8719.123] (==) ModulePath set to "/usr/lib/xorg/modules"
[  8719.123] (II) Loader magic: 0x5587714bce40
[  8719.123] (II) Module ABI versions:
[  8719.123] 	X.Org ANSI C Emulation: 0.4
[  8719.123] 	X.Org Video Driver: 24.1
[  8719.123] 	X.Org XInput driver : 24.1
[  8719.123] 	X.Org Server Extension : 10.0
[  8719.124] (--) using VT number 2

[  8719.124] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[  8719.125] (II) xfree86: Adding drm device (/dev/dri/card0)
[  8719.126] (II) xfree86: Adding drm device (/dev/dri/card1)
[  8719.126] (II) xfree86: Adding drm device (/dev/dri/card2)
[  8719.143] (--) PCI:*(1@0:0:0) 10de:2204:1462:3881 rev 161, Mem @ 0xfa000000/16777216, 0x383fe0000000/268435456, 0x383ff0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/131072
[  8719.143] (--) PCI: (3@0:0:0) 10de:2805:1462:5174 rev 161, Mem @ 0xf8000000/16777216, 0x383fc0000000/268435456, 0x383fd0000000/33554432, I/O @ 0x0000d000/128, BIOS @ 0x????????/524288
[  8719.143] (--) PCI: (4@0:0:0) 10de:2204:1462:3881 rev 161, Mem @ 0xf6000000/16777216, 0x383fa0000000/268435456, 0x383fb0000000/33554432, I/O @ 0x0000c000/128, BIOS @ 0x????????/524288
[  8719.143] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[  8719.143] (II) LoadModule: "dbe"
[  8719.143] (II) Module "dbe" already built-in
[  8719.143] (II) LoadModule: "ddc"
[  8719.143] (II) Module "ddc" already built-in
[  8719.143] (II) LoadModule: "extmod"
[  8719.143] (II) Module "extmod" already built-in
[  8719.143] (II) LoadModule: "glx"
[  8719.143] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  8719.145] (II) Module glx: vendor="X.Org Foundation"
[  8719.145] 	compiled for 1.20.11, module version = 1.0.0
[  8719.145] 	ABI class: X.Org Server Extension, version 10.0
[  8719.145] (II) LoadModule: "int10"
[  8719.145] (II) Loading /usr/lib/xorg/modules/libint10.so
[  8719.145] (II) Module int10: vendor="X.Org Foundation"
[  8719.145] 	compiled for 1.20.11, module version = 1.0.0
[  8719.145] 	ABI class: X.Org Video Driver, version 24.1
[  8719.145] (II) LoadModule: "record"
[  8719.145] (II) Module "record" already built-in
[  8719.145] (II) LoadModule: "vbe"
[  8719.145] (II) Loading /usr/lib/xorg/modules/libvbe.so
[  8719.146] (II) Module vbe: vendor="X.Org Foundation"
[  8719.146] 	compiled for 1.20.11, module version = 1.1.0
[  8719.146] 	ABI class: X.Org Video Driver, version 24.1
[  8719.146] (II) LoadModule: "glamoregl"
[  8719.146] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[  8719.151] (II) Module glamoregl: vendor="X.Org Foundation"
[  8719.151] 	compiled for 1.20.11, module version = 1.0.1
[  8719.151] 	ABI class: X.Org ANSI C Emulation, version 0.4
[  8719.151] (II) LoadModule: "xorgxrdp"
[  8719.151] (II) Loading /usr/lib/xorg/modules/libxorgxrdp.so
[  8719.151] (II) Module XORGXRDP: vendor="X.Org Foundation"
[  8719.151] 	compiled for 1.20.11, module version = 0.2.12
[  8719.151] 	ABI class: X.Org Video Driver, version 24.1
[  8719.151] xorgxrdpSetup:
[  8719.151] (II) LoadModule: "fb"
[  8719.151] (II) Loading /usr/lib/xorg/modules/libfb.so
[  8719.151] (II) Module fb: vendor="X.Org Foundation"
[  8719.151] 	compiled for 1.20.11, module version = 1.0.0
[  8719.151] 	ABI class: X.Org ANSI C Emulation, version 0.4
[  8719.151] (II) LoadModule: "xrdpdev"
[  8719.152] (II) Loading /usr/lib/xorg/modules/drivers/xrdpdev_drv.so
[  8719.152] (II) Module XRDPDEV: vendor="X.Org Foundation"
[  8719.152] 	compiled for 1.20.11, module version = 0.2.12
[  8719.152] 	ABI class: X.Org Video Driver, version 24.1
[  8719.152] xrdpdevSetup:
[  8719.152] (II) LoadModule: "xrdpmouse"
[  8719.152] (II) Loading /usr/lib/xorg/modules/input/xrdpmouse_drv.so
[  8719.152] (II) Module XRDPMOUSE: vendor="X.Org Foundation"
[  8719.152] 	compiled for 1.20.11, module version = 0.2.12
[  8719.152] 	Module class: X.Org XInput Driver
[  8719.152] 	ABI class: X.Org XInput driver, version 24.1
[  8719.152] rdpmousePlug:
[  8719.152] (II) LoadModule: "xrdpkeyb"
[  8719.152] (II) Loading /usr/lib/xorg/modules/input/xrdpkeyb_drv.so
[  8719.152] (II) Module XRDPKEYB: vendor="X.Org Foundation"
[  8719.152] 	compiled for 1.20.11, module version = 0.2.12
[  8719.152] 	Module class: X.Org XInput Driver
[  8719.152] 	ABI class: X.Org XInput driver, version 24.1
[  8719.152] rdpkeybPlug:
[  8719.153] rdpIdentify:
[  8719.153] (II) XRDPDEV: driver for xrdp: XRDPDEV
[  8719.153] rdpDriverFunc: op 10
[  8719.153] (WW) Falling back to old probe method for XRDPDEV
[  8719.153] rdpProbe:
[  8719.153] (II) Loading sub module "fb"
[  8719.153] (II) LoadModule: "fb"
[  8719.153] (II) Loading /usr/lib/xorg/modules/libfb.so
[  8719.153] (II) Module fb: vendor="X.Org Foundation"
[  8719.153] 	compiled for 1.20.11, module version = 1.0.0
[  8719.153] 	ABI class: X.Org ANSI C Emulation, version 0.4
[  8719.153] rdpProbe: found DRMDevice xorg.conf value [/dev/dri/renderD128]
[  8719.153] rdpProbe: found DRI3 xorg.conf value [1]
[  8719.153] (II) XRDPDEV(0): using default device
[  8719.153] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[  8719.153] rdpPreInit:
[  8719.153] rdpPreInit: /dev/dri/renderD128 open ok, fd 12
[  8719.153] (**) XRDPDEV(0): Depth 24, (--) framebuffer bpp 32
[  8719.153] (==) XRDPDEV(0): RGB weight 888
[  8719.153] (==) XRDPDEV(0): Using gamma correction (1.0, 1.0, 1.0)
[  8719.153] (==) XRDPDEV(0): Default visual is TrueColor
[  8719.153] (==) XRDPDEV(0): DPI set to (96, 96)
[  8719.153] (II) XRDPDEV(0): 	mode "640x480" ok
[  8719.153] (II) XRDPDEV(0): 	mode "800x600" ok
[  8719.153] (II) XRDPDEV(0): Virtual size is 800x600 (pitch 800)
[  8719.153] (**) XRDPDEV(0):  Default mode "800x600": 36.0 MHz (scaled from 0.0 MHz), 35.2 kHz, 56.2 Hz
[  8719.153] (II) XRDPDEV(0): Modeline "800x600"x0.0   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz d)
[  8719.153] (II) Loading sub module "glamoregl"
[  8719.153] (II) LoadModule: "glamoregl"
[  8719.153] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[  8719.153] (II) Module glamoregl: vendor="X.Org Foundation"
[  8719.153] 	compiled for 1.20.11, module version = 1.0.1
[  8719.153] 	ABI class: X.Org ANSI C Emulation, version 0.4
[  8719.153] rdpPreInit: glamor module load ok
[  8720.103] (II) XRDPDEV(0): Refusing to try glamor on llvmpipe
[  8720.105] rdpPreInit: glamor init failed
[  8720.141] rdpScreenInit: virtualX 800 virtualY 600 rgbBits 8 depth 24
[  8720.141] rdpScreenInit: pfbMemory bytes 1920000
[  8720.141] rdpScreenInit: pfbMemory 0x7f2eb2c2b010
[  8720.190] rdpSimdInit: assigning yuv functions
[  8720.190] rdpSimdInit: cpuid ax 1 cx 0 return ax 0x000406f1 bx 0x00200800 cx 0x7ffefbff dx 0xbfebfbff
[  8720.190] rdpSimdInit: sse2 amd64 yuv functions assigned
[  8720.192] (==) XRDPDEV(0): Backing store enabled
[  8720.229] rdpClientConInit: disconnect idle session after [0] sec
[  8720.229] rdpClientConInit: kill disconnected [0] timeout [0] sec
[  8720.229] rdpXvInit: depth 24
[  8720.229] rdpScreenInit: out
[  8720.239] (II) Initializing extension Generic Event Extension
[  8720.240] (II) Initializing extension SHAPE
[  8720.240] (II) Initializing extension MIT-SHM
[  8720.240] (II) Initializing extension XInputExtension
[  8720.253] (II) Initializing extension XTEST
[  8720.253] (II) Initializing extension BIG-REQUESTS
[  8720.253] (II) Initializing extension SYNC
[  8720.253] (II) Initializing extension XKEYBOARD
[  8720.254] (II) Initializing extension XC-MISC
[  8720.254] (II) Initializing extension SECURITY
[  8720.254] (II) Initializing extension XFIXES
[  8720.254] (II) Initializing extension RENDER
[  8720.255] (II) Initializing extension RANDR
[  8720.255] (II) Initializing extension COMPOSITE
[  8720.255] (II) Initializing extension DAMAGE
[  8720.255] (II) Initializing extension MIT-SCREEN-SAVER
[  8720.256] (II) Initializing extension DOUBLE-BUFFER
[  8720.256] (II) Initializing extension RECORD
[  8720.256] (II) Initializing extension DPMS
[  8720.256] (II) Initializing extension Present
[  8720.256] (II) Initializing extension DRI3
[  8720.256] (II) Initializing extension X-Resource
[  8720.257] (II) Initializing extension XVideo
[  8720.257] (II) Initializing extension XVideo-MotionCompensation
[  8720.257] (II) Initializing extension SELinux
[  8720.257] (II) SELinux: Disabled on system
[  8720.257] (II) Initializing extension GLX
[  8720.281] (II) AIGLX: Screen 0 is not DRI2 capable
[  8720.292] (II) IGLX: Loaded and initialized swrast
[  8720.292] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[  8720.292] (II) Initializing extension XFree86-VidModeExtension
[  8720.292] (II) Initializing extension XFree86-DGA
[  8720.292] (II) Initializing extension XFree86-DRI
[  8720.292] (II) Initializing extension DRI2
[  8720.293] rdpCreateScreenResources:
[  8721.157] (II) Using input driver 'XRDPMOUSE' for 'xrdpMouse'
[  8721.157] (**) Option "CorePointer"
[  8721.157] (**) xrdpMouse: always reports core events
[  8721.157] rdpmousePreInit: drv 0x558772fe49a0 info 0x5587730e5770, flags 0x0
[  8721.157] (II) XINPUT: Adding extended input device "xrdpMouse" (type: Mouse, id 6)
[  8721.157] rdpmouseControl: what 0
[  8721.157] rdpmouseDeviceInit:
[  8721.157] rdpmouseCtrl:
[  8721.157] rdpRegisterInputCallback: type 1 proc 0x7f2ebafbb380
[  8721.157] (**) xrdpMouse: (accel) keeping acceleration scheme 1
[  8721.157] (**) xrdpMouse: (accel) acceleration profile 0
[  8721.157] (**) xrdpMouse: (accel) acceleration factor: 2.000
[  8721.157] (**) xrdpMouse: (accel) acceleration threshold: 4
[  8721.157] rdpmouseControl: what 1
[  8721.157] rdpmouseDeviceOn:
[  8721.157] (II) Using input driver 'XRDPKEYB' for 'xrdpKeyboard'
[  8721.157] (**) Option "CoreKeyboard"
[  8721.157] (**) xrdpKeyboard: always reports core events
[  8721.157] rdpkeybPreInit: drv 0x558772fe4950 info 0x558773214f90, flags 0x0
[  8721.157] (II) XINPUT: Adding extended input device "xrdpKeyboard" (type: Keyboard, id 7)
[  8721.157] rdpkeybControl: what 0
[  8721.157] rdpkeybDeviceInit:
[  8721.189] rdpkeybChangeKeyboardControl:
[  8721.189] rdpkeybChangeKeyboardControl: autoRepeat on
[  8721.189] rdpRegisterInputCallback: type 0 proc 0x7f2ebafb6a00
[  8721.189] rdpkeybControl: what 1
[  8721.189] rdpkeybDeviceOn:
[  8721.213] (II) config/udev: Adding input device Power Button (/dev/input/event5)
[  8721.213] (II) AutoAddDevices is off - not adding device.
[  8721.213] (II) config/udev: Adding input device Power Button (/dev/input/event4)
[  8721.213] (II) AutoAddDevices is off - not adding device.
[  8721.214] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=9 (/dev/input/event16)
[  8721.214] (II) AutoAddDevices is off - not adding device.
[  8721.215] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=3 (/dev/input/event11)
[  8721.215] (II) AutoAddDevices is off - not adding device.
[  8721.216] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=7 (/dev/input/event12)
[  8721.216] (II) AutoAddDevices is off - not adding device.
[  8721.216] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=8 (/dev/input/event13)
[  8721.216] (II) AutoAddDevices is off - not adding device.
[  8721.217] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=3 (/dev/input/event14)
[  8721.217] (II) AutoAddDevices is off - not adding device.
[  8721.218] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=7 (/dev/input/event15)
[  8721.218] (II) AutoAddDevices is off - not adding device.
[  8721.218] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=8 (/dev/input/event17)
[  8721.218] (II) AutoAddDevices is off - not adding device.
[  8721.219] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=9 (/dev/input/event18)
[  8721.219] (II) AutoAddDevices is off - not adding device.
[  8721.220] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=3 (/dev/input/event7)
[  8721.220] (II) AutoAddDevices is off - not adding device.
[  8721.220] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=7 (/dev/input/event8)
[  8721.220] (II) AutoAddDevices is off - not adding device.
[  8721.221] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=8 (/dev/input/event9)
[  8721.221] (II) AutoAddDevices is off - not adding device.
[  8721.221] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=9 (/dev/input/event10)
[  8721.221] (II) AutoAddDevices is off - not adding device.
[  8721.223] (II) config/udev: Adding input device SIGMACHIP USB Keyboard (/dev/input/event1)
[  8721.223] (II) AutoAddDevices is off - not adding device.
[  8721.224] (II) config/udev: Adding input device SIGMACHIP USB Keyboard Consumer Control (/dev/input/event2)
[  8721.224] (II) AutoAddDevices is off - not adding device.
[  8721.225] (II) config/udev: Adding input device SIGMACHIP USB Keyboard System Control (/dev/input/event3)
[  8721.225] (II) AutoAddDevices is off - not adding device.
[  8721.226] (II) config/udev: Adding input device HDA Digital PCBeep (/dev/input/event19)
[  8721.226] (II) AutoAddDevices is off - not adding device.
[  8721.226] (II) config/udev: Adding input device HDA Intel PCH Front Mic (/dev/input/event20)
[  8721.226] (II) AutoAddDevices is off - not adding device.
[  8721.227] (II) config/udev: Adding input device HDA Intel PCH Rear Mic (/dev/input/event21)
[  8721.227] (II) AutoAddDevices is off - not adding device.
[  8721.227] (II) config/udev: Adding input device HDA Intel PCH Line (/dev/input/event22)
[  8721.227] (II) AutoAddDevices is off - not adding device.
[  8721.228] (II) config/udev: Adding input device HDA Intel PCH Line Out Front (/dev/input/event23)
[  8721.228] (II) AutoAddDevices is off - not adding device.
[  8721.228] (II) config/udev: Adding input device HDA Intel PCH Line Out Surround (/dev/input/event24)
[  8721.228] (II) AutoAddDevices is off - not adding device.
[  8721.229] (II) config/udev: Adding input device HDA Intel PCH Line Out CLFE (/dev/input/event25)
[  8721.229] (II) AutoAddDevices is off - not adding device.
[  8721.229] (II) config/udev: Adding input device HDA Intel PCH Line Out Side (/dev/input/event26)
[  8721.229] (II) AutoAddDevices is off - not adding device.
[  8721.230] (II) config/udev: Adding input device HDA Intel PCH Front Headphone (/dev/input/event27)
[  8721.230] (II) AutoAddDevices is off - not adding device.
[  8721.231] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event0)
[  8721.231] (II) AutoAddDevices is off - not adding device.
[  8721.231] (II) config/udev: Adding input device PC Speaker (/dev/input/event6)
[  8721.231] (II) AutoAddDevices is off - not adding device.
[  8721.237] rdpDeferredRandR:
[  8721.237] rdpResizeSession: width 1024 height 768
[  8721.237]   calling RRScreenSizeSet
[  8721.237] rdpRRScreenSetSize: width 1024 height 768 mmWidth 271 mmHeight 203
[  8721.238] rdpRRGetInfo:
[  8721.238]   screen resized to 1024x768
[  8721.240]   RRScreenSizeSet ok 1
[  8721.240] rdpResizeSession: width 1600 height 850
[  8721.240]   calling RRScreenSizeSet
[  8721.240] rdpRRScreenSetSize: width 1600 height 850 mmWidth 423 mmHeight 225
[  8721.240] rdpRRGetInfo:
[  8721.240]   screen resized to 1600x850
[  8721.243]   RRScreenSizeSet ok 1
[  8721.243] rdpClientConGotConnection:
[  8721.243] rdpClientConGotConnection: g_sck_accept ok new_sck 9
[  8721.243] rdpClientConGetConnection: idle_disconnect_timeout set to non-positive value, idle timer turned off
[  8721.243] rdpAddClientConToDev: adding first clientCon 0x558773394dd0
[  8721.243] rdpClientConProcessMsgVersion: version 0 0 0 1
[  8721.243] rdpClientConProcessScreenSizeMsg: set width 1600 height 850 bpp 32
[  8721.243] rdpClientConProcessScreenSizeMsg: shmemid 0 shmemptr 0x7f2e802c8000
[  8721.243] rdpClientConProcessMsgClientInput: invalidate x 0 y 0 cx 1600 cy 850
[  8721.243] KbdSync: toggling num lock
[  8721.243] rdpkeybChangeKeyboardControl:
[  8721.243] rdpkeybChangeKeyboardControl: autoRepeat on
[  8721.244] (EE) Failed to open authorization file ".Xauthority": No such file or directory
[  8721.245] rdpClientConProcessMsgClientInfo:
[  8721.245]   got client info bytes 7072
[  8721.245]   jpeg support 0
[  8721.245]   offscreen support 0
[  8721.245]   offscreen size 0
[  8721.245]   offscreen entries 0
[  8721.245]   client can not do offscreen to offscreen blits
[  8721.245]   client can do new(color) cursor
[  8721.245]   client can not do multimon
[  8721.245] rdpRRSetRdpOutputs: numCrtcs 0 numOutputs 0 monitorCount 0
[  8721.245] rdpRRSetRdpOutputs: add output 0 left 0 top 0 width 1600 height 850
[  8721.245] rdpLoadLayout: keylayout 0x00000409 variant  display 10
[  8721.245] rdpkeybChangeKeyboardControl:
[  8721.245] rdpkeybChangeKeyboardControl: autoRepeat on
[  8721.245] rdpkeybChangeKeyboardControl:
[  8721.245] rdpkeybChangeKeyboardControl: autoRepeat on
[  8721.289] rdpInDeferredRepeatCallback:
[  8721.289] rdpkeybChangeKeyboardControl:
[  8721.289] rdpkeybChangeKeyboardControl: autoRepeat off
[  8721.343] rdpInDeferredRepeatCallback:
[  8721.343] rdpkeybChangeKeyboardControl:
[  8721.343] rdpkeybChangeKeyboardControl: autoRepeat off
[  8721.345] rdpInDeferredRepeatCallback:
[  8721.345] rdpkeybChangeKeyboardControl:
[  8721.345] rdpkeybChangeKeyboardControl: autoRepeat off
[  8721.345] rdpInDeferredRepeatCallback:
[  8721.345] rdpkeybChangeKeyboardControl:
[  8721.345] rdpkeybChangeKeyboardControl: autoRepeat off
[  8721.858] KbdSync: toggling num lock
[  8721.858] rdpkeybChangeKeyboardControl:
[  8721.858] rdpkeybChangeKeyboardControl: autoRepeat off
[  8721.858] rdpkeybChangeKeyboardControl:
[  8721.858] rdpkeybChangeKeyboardControl: autoRepeat off
[  8727.604] rdpRRGetInfo:
[  8727.623] rdpkeybChangeKeyboardControl:
[  8727.623] rdpkeybChangeKeyboardControl: autoRepeat on
[  8727.623] rdpkeybChangeKeyboardControl:
[  8727.623] rdpkeybChangeKeyboardControl: autoRepeat on
[  8727.625] rdpkeybChangeKeyboardControl:
[  8727.625] rdpkeybChangeKeyboardControl: autoRepeat on
[  8727.625] rdpkeybChangeKeyboardControl:
[  8727.625] rdpkeybChangeKeyboardControl: autoRepeat on
[  8727.630] rdpkeybChangeKeyboardControl:
[  8727.630] rdpkeybChangeKeyboardControl: autoRepeat on
[  8727.630] rdpkeybChangeKeyboardControl:
[  8727.630] rdpkeybChangeKeyboardControl: autoRepeat on
[  8727.723] rdpInDeferredRepeatCallback:
[  8727.723] rdpkeybChangeKeyboardControl:
[  8727.724] rdpkeybChangeKeyboardControl: autoRepeat off
[  8727.724] rdpInDeferredRepeatCallback:
[  8727.724] rdpkeybChangeKeyboardControl:
[  8727.724] rdpkeybChangeKeyboardControl: autoRepeat off
[  8727.725] rdpInDeferredRepeatCallback:
[  8727.725] rdpkeybChangeKeyboardControl:
[  8727.725] rdpkeybChangeKeyboardControl: autoRepeat off
[  8727.725] rdpInDeferredRepeatCallback:
[  8727.725] rdpkeybChangeKeyboardControl:
[  8727.725] rdpkeybChangeKeyboardControl: autoRepeat off
[  8727.730] rdpInDeferredRepeatCallback:
[  8727.730] rdpkeybChangeKeyboardControl:
[  8727.730] rdpkeybChangeKeyboardControl: autoRepeat off
[  8727.730] rdpInDeferredRepeatCallback:
[  8727.730] rdpkeybChangeKeyboardControl:
[  8727.730] rdpkeybChangeKeyboardControl: autoRepeat off

@matt335672
Copy link
Member

This might be #241

Can you try applying the changes in b7002ee to /etc/X11/xrdp/xorg.conf?

@utrobinmv
Copy link
Author

I adjusted the config /etc/X11/xrdp/xorg.conf, but unfortunately it didn't change the situation.
/etc/X11/xrdp/xorg.conf
`
Section "ServerLayout"
Identifier "X11 Server"
Screen "Screen (xrdpdev)"
InputDevice "xrdpMouse" "CorePointer"
InputDevice "xrdpKeyboard" "CoreKeyboard"
EndSection

Section "ServerFlags"
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 "glamoregl"
Load "xorgxrdp"
Load "fb"
EndSection

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

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

Section "Monitor"
Identifier "Monitor"
Option "DPMS"
HorizSync 30-80
VertRefresh 60-75
ModeLine "1920x1080" 138.500 1920 1968 2000 2080 1080 1083 1088 1111 +hsync -vsync
ModeLine "1280x720" 74.25 1280 1720 1760 1980 720 725 730 750 +HSync +VSync
Modeline "1368x768" 72.25 1368 1416 1448 1528 768 771 781 790 +hsync -vsync
Modeline "1600x900" 119.00 1600 1696 1864 2128 900 901 904 932 -hsync +vsync
EndSection

Section "Device"
Identifier "Video Card (xrdpdev)"
Driver "xrdpdev"
Option "DRMDevice" "/dev/dri/renderD128"
Option "DRI3" "1"
EndSection

Section "Screen"
Identifier "Screen (xrdpdev)"
Device "Video Card (xrdpdev)"
Monitor "Monitor"
DefaultDepth 24
GPUDevice ""
SubSection "Display"
Depth 24
Modes "640x480" "800x600" "1024x768" "1280x720" "1280x1024" "1600x900" "1920x1080"
EndSubSection
EndSection
`

new .xorgxrdp.10.log
`[ 168.192]
X.Org X Server 1.20.11
X Protocol Version 11, Revision 0
[ 168.192] Build Operating System: linux Debian
[ 168.192] Current Operating System: Linux jfsrv-dl-006 6.1.0-0.deb11.21-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.90-1~bpo11+1 (2024-05-06) x86_64
[ 168.192] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-6.1.0-0.deb11.21-amd64 root=UUID=6bcb1a84-a6ce-4c22-9c8e-3167735615d2 ro quiet
[ 168.192] Build Date: 10 April 2024 08:59:35AM
[ 168.192] xorg-server 2:1.20.11-1+deb11u13 (https://www.debian.org/support)
[ 168.192] Current version of pixman: 0.40.0
[ 168.192] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 168.192] Markers: (--) probed, () from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 168.193] (++) Log file: ".xorgxrdp.10.log", Time: Tue Jul 16 22:40:32 2024
[ 168.282] (++) Using config file: "/etc/X11/xrdp/xorg.conf"
[ 168.282] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 168.358] (==) ServerLayout "X11 Server"
[ 168.358] (
) |-->Screen "Screen (xrdpdev)" (0)
[ 168.358] () | |-->Monitor "Monitor"
[ 168.389] (
) | |-->Device "Video Card (xrdpdev)"
[ 168.389] () |-->Input Device "xrdpMouse"
[ 168.389] (
) |-->Input Device "xrdpKeyboard"
[ 168.389] () Option "DontVTSwitch" "on"
[ 168.389] (
) Option "AutoAddDevices" "off"
[ 168.389] () Option "AutoAddGPU" "off"
[ 168.389] (
) Not automatically adding devices
[ 168.389] (==) Automatically enabling devices
[ 168.389] (**) Not automatically adding GPU devices
[ 168.389] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 168.442] (WW) The directory "/usr/share/fonts/X11/misc" does not exist.
[ 168.442] Entry deleted from font path.
[ 168.442] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 168.442] Entry deleted from font path.
[ 168.442] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[ 168.442] Entry deleted from font path.
[ 168.442] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[ 168.442] Entry deleted from font path.
[ 168.442] (WW) The directory "/usr/share/fonts/X11/Type1" does not exist.
[ 168.442] Entry deleted from font path.
[ 168.442] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[ 168.442] Entry deleted from font path.
[ 168.442] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[ 168.442] Entry deleted from font path.
[ 168.442] (==) FontPath set to:
built-ins
[ 168.442] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 168.442] (II) Loader magic: 0x563182ed7e40
[ 168.442] (II) Module ABI versions:
[ 168.442] X.Org ANSI C Emulation: 0.4
[ 168.442] X.Org Video Driver: 24.1
[ 168.442] X.Org XInput driver : 24.1
[ 168.442] X.Org Server Extension : 10.0
[ 168.443] (--) using VT number 2

[ 168.443] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[ 168.444] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 168.444] (II) xfree86: Adding drm device (/dev/dri/card1)
[ 168.445] (II) xfree86: Adding drm device (/dev/dri/card2)
[ 168.465] (--) PCI:*(1@0:0:0) 10de:2204:1462:3881 rev 161, Mem @ 0xfa000000/16777216, 0x383fe0000000/268435456, 0x383ff0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/131072
[ 168.465] (--) PCI: (3@0:0:0) 10de:2805:1462:5174 rev 161, Mem @ 0xf8000000/16777216, 0x383fc0000000/268435456, 0x383fd0000000/33554432, I/O @ 0x0000d000/128, BIOS @ 0x????????/524288
[ 168.465] (--) PCI: (4@0:0:0) 10de:2204:1462:3881 rev 161, Mem @ 0xf6000000/16777216, 0x383fa0000000/268435456, 0x383fb0000000/33554432, I/O @ 0x0000c000/128, BIOS @ 0x????????/524288
[ 168.465] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[ 168.465] (II) LoadModule: "dbe"
[ 168.466] (II) Module "dbe" already built-in
[ 168.466] (II) LoadModule: "ddc"
[ 168.466] (II) Module "ddc" already built-in
[ 168.466] (II) LoadModule: "extmod"
[ 168.466] (II) Module "extmod" already built-in
[ 168.466] (II) LoadModule: "glx"
[ 168.560] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 169.033] (II) Module glx: vendor="X.Org Foundation"
[ 169.033] compiled for 1.20.11, module version = 1.0.0
[ 169.033] ABI class: X.Org Server Extension, version 10.0
[ 169.033] (II) LoadModule: "int10"
[ 169.034] (II) Loading /usr/lib/xorg/modules/libint10.so
[ 169.111] (II) Module int10: vendor="X.Org Foundation"
[ 169.111] compiled for 1.20.11, module version = 1.0.0
[ 169.111] ABI class: X.Org Video Driver, version 24.1
[ 169.111] (II) LoadModule: "record"
[ 169.111] (II) Module "record" already built-in
[ 169.111] (II) LoadModule: "vbe"
[ 169.199] (II) Loading /usr/lib/xorg/modules/libvbe.so
[ 169.319] (II) Module vbe: vendor="X.Org Foundation"
[ 169.319] compiled for 1.20.11, module version = 1.1.0
[ 169.319] ABI class: X.Org Video Driver, version 24.1
[ 169.319] (II) LoadModule: "glamoregl"
[ 169.319] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[ 169.547] (II) Module glamoregl: vendor="X.Org Foundation"
[ 169.547] compiled for 1.20.11, module version = 1.0.1
[ 169.547] ABI class: X.Org ANSI C Emulation, version 0.4
[ 169.547] (II) LoadModule: "xorgxrdp"
[ 169.547] (II) Loading /usr/lib/xorg/modules/libxorgxrdp.so
[ 169.605] (II) Module XORGXRDP: vendor="X.Org Foundation"
[ 169.605] compiled for 1.20.11, module version = 0.2.12
[ 169.605] ABI class: X.Org Video Driver, version 24.1
[ 169.605] xorgxrdpSetup:
[ 169.605] (II) LoadModule: "fb"
[ 169.605] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 169.855] (II) Module fb: vendor="X.Org Foundation"
[ 169.855] compiled for 1.20.11, module version = 1.0.0
[ 169.855] ABI class: X.Org ANSI C Emulation, version 0.4
[ 169.855] (II) LoadModule: "xrdpdev"
[ 169.855] (II) Loading /usr/lib/xorg/modules/drivers/xrdpdev_drv.so
[ 169.882] (II) Module XRDPDEV: vendor="X.Org Foundation"
[ 169.882] compiled for 1.20.11, module version = 0.2.12
[ 169.882] ABI class: X.Org Video Driver, version 24.1
[ 169.882] xrdpdevSetup:
[ 169.882] (II) LoadModule: "xrdpmouse"
[ 169.882] (II) Loading /usr/lib/xorg/modules/input/xrdpmouse_drv.so
[ 169.882] (II) Module XRDPMOUSE: vendor="X.Org Foundation"
[ 169.882] compiled for 1.20.11, module version = 0.2.12
[ 169.882] Module class: X.Org XInput Driver
[ 169.882] ABI class: X.Org XInput driver, version 24.1
[ 169.882] rdpmousePlug:
[ 169.882] (II) LoadModule: "xrdpkeyb"
[ 169.883] (II) Loading /usr/lib/xorg/modules/input/xrdpkeyb_drv.so
[ 169.883] (II) Module XRDPKEYB: vendor="X.Org Foundation"
[ 169.883] compiled for 1.20.11, module version = 0.2.12
[ 169.883] Module class: X.Org XInput Driver
[ 169.883] ABI class: X.Org XInput driver, version 24.1
[ 169.883] rdpkeybPlug:
[ 169.883] rdpIdentify:
[ 169.883] (II) XRDPDEV: driver for xrdp: XRDPDEV
[ 169.883] rdpDriverFunc: op 10
[ 169.883] (WW) Falling back to old probe method for XRDPDEV
[ 169.883] rdpProbe:
[ 169.883] (II) Loading sub module "fb"
[ 169.883] (II) LoadModule: "fb"
[ 169.883] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 169.883] (II) Module fb: vendor="X.Org Foundation"
[ 169.883] compiled for 1.20.11, module version = 1.0.0
[ 169.883] ABI class: X.Org ANSI C Emulation, version 0.4
[ 169.883] rdpProbe: found DRMDevice xorg.conf value [/dev/dri/renderD128]
[ 169.883] rdpProbe: found DRI3 xorg.conf value [1]
[ 169.883] (II) XRDPDEV(0): using default device
[ 169.884] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 169.884] rdpPreInit:
[ 169.884] rdpPreInit: /dev/dri/renderD128 open ok, fd 12
[ 169.884] () XRDPDEV(0): Depth 24, (--) framebuffer bpp 32
[ 169.884] (==) XRDPDEV(0): RGB weight 888
[ 169.884] (==) XRDPDEV(0): Using gamma correction (1.0, 1.0, 1.0)
[ 169.884] (==) XRDPDEV(0): Default visual is TrueColor
[ 169.884] (==) XRDPDEV(0): DPI set to (96, 96)
[ 169.884] (II) XRDPDEV(0): mode "640x480" ok
[ 169.884] (II) XRDPDEV(0): mode "800x600" ok
[ 169.884] (II) XRDPDEV(0): Virtual size is 800x600 (pitch 800)
[ 169.884] (
) XRDPDEV(0): Default mode "800x600": 36.0 MHz (scaled from 0.0 MHz), 35.2 kHz, 56.2 Hz
[ 169.884] (II) XRDPDEV(0): Modeline "800x600"x0.0 36.00 800 824 896 1024 600 601 603 625 +hsync +vsync (35.2 kHz d)
[ 169.884] (II) Loading sub module "glamoregl"
[ 169.884] (II) LoadModule: "glamoregl"
[ 169.884] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[ 169.884] (II) Module glamoregl: vendor="X.Org Foundation"
[ 169.884] compiled for 1.20.11, module version = 1.0.1
[ 169.884] ABI class: X.Org ANSI C Emulation, version 0.4
[ 169.884] rdpPreInit: glamor module load ok
[ 172.602] (EE)
[ 172.602] (EE) Backtrace:
[ 172.634] (EE) 0: /usr/lib/xorg/Xorg (OsLookupColor+0x135) [0x563182e4aa45]
[ 172.635] (EE) 1: /lib/x86_64-linux-gnu/libpthread.so.0 (funlockfile+0x50) [0x7fc62f248140]
[ 172.667] (EE) 2: /lib/x86_64-linux-gnu/libnvidia-eglcore.so.535.104.05 (NvGlEglGetFunctions+0xdf72c) [0x7fc57ea273fc]
[ 172.668] (EE) 3: /lib/x86_64-linux-gnu/libnvidia-eglcore.so.535.104.05 (NvGlEglGetFunctions+0x29f01) [0x7fc57e971bd1]
[ 172.668] (EE) 4: /lib/x86_64-linux-gnu/libnvidia-eglcore.so.535.104.05 (NvGlEglGetFunctions+0x2a052) [0x7fc57e971d22]
[ 172.668] (EE) 5: /lib/x86_64-linux-gnu/libnvidia-eglcore.so.535.104.05 (NvGlEglGetFunctions+0x2ab6e) [0x7fc57e97283e]
[ 172.669] (EE) 6: /lib/x86_64-linux-gnu/libnvidia-eglcore.so.535.104.05 (NvGlEglApiInit+0x6a12) [0x7fc57e947902]
[ 172.669] (EE) 7: /lib/x86_64-linux-gnu/libnvidia-eglcore.so.535.104.05 (NvGlEglApiInit+0x3af) [0x7fc57e94129f]
[ 172.669] (EE) unw_get_proc_name failed: no unwind info found [-10]
[ 172.669] (EE) 8: /lib/x86_64-linux-gnu/libEGL_nvidia.so.0 (?+0x0) [0x7fc61d435895]
[ 172.670] (EE) unw_get_proc_name failed: no unwind info found [-10]
[ 172.670] (EE) 9: /lib/x86_64-linux-gnu/libEGL_nvidia.so.0 (?+0x0) [0x7fc61d43597b]
[ 172.683] (EE) 10: /lib/x86_64-linux-gnu/libEGL_nvidia.so.0 (NvEglwlaf47906in+0x6f4d6) [0x7fc61d4ae716]
[ 172.684] (EE) unw_get_proc_name failed: no unwind info found [-10]
[ 172.684] (EE) 11: /lib/x86_64-linux-gnu/libEGL_nvidia.so.0 (?+0x0) [0x7fc61d433898]
[ 172.684] (EE) 12: /lib/x86_64-linux-gnu/libEGL_nvidia.so.0 (NvEglwlaf47906in+0xf11d) [0x7fc61d44e35d]
[ 172.684] (EE) 13: /lib/x86_64-linux-gnu/libEGL.so.1 (eglMakeCurrent+0x2105) [0x7fc627811635]
[ 172.685] (EE) 14: /lib/x86_64-linux-gnu/libEGL.so.1 (eglMakeCurrent+0x273a) [0x7fc627811c6a]
[ 172.686] (EE) 15: /lib/x86_64-linux-gnu/libpthread.so.0 (__pthread_once_slow+0xbf) [0x7fc62f24534f]
[ 172.686] (EE) 16: /lib/x86_64-linux-gnu/libEGL.so.1 (eglMakeCurrent+0x290f) [0x7fc627811e3f]
[ 172.686] (EE) 17: /lib/x86_64-linux-gnu/libEGL.so.1 (eglQueryString+0x11d) [0x7fc62780f3ed]
[ 172.687] (EE) 18: /lib/x86_64-linux-gnu/libepoxy.so.0 (epoxy_has_egl_extension+0x17) [0x7fc62e442af7]
[ 172.688] (EE) 19: /usr/lib/xorg/modules/libglamoregl.so (glamor_egl_init+0x71) [0x7fc62e4c92f1]
[ 172.688] (EE) unw_get_proc_name failed: no unwind info found [-10]
[ 172.688] (EE) 20: /usr/lib/xorg/modules/drivers/xrdpdev_drv.so (?+0x0) [0x7fc62e803309]
[ 172.689] (EE) 21: /usr/lib/xorg/Xorg (InitOutput+0x9ae) [0x563182d2888e]
[ 172.689] (EE) 22: /usr/lib/xorg/Xorg (InitFonts+0x1cc) [0x563182cea52c]
[ 172.690] (EE) 23: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xea) [0x7fc62ee4fd0a]
[ 172.690] (EE) 24: /usr/lib/xorg/Xorg (_start+0x2a) [0x563182cd3d2a]
[ 172.690] (EE)
[ 172.690] (EE) Segmentation fault at address 0x88
[ 172.690] (EE)
Fatal server error:
[ 172.690] (EE) Caught signal 11 (Segmentation fault). Server aborting
[ 172.690] (EE)
[ 172.690] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 172.690] (EE) Please also check the log file at ".xorgxrdp.10.log" for additional information.
[ 172.690] (EE)
[ 172.690] (EE) Server terminated with error (1). Closing log file.
`

@jsorg71
Copy link
Contributor

jsorg71 commented Jul 16, 2024

It looks like you are trying to use glamor with NVidia drivers. Is that correct? I don't think it will work. You'll need to use the nvenc branch for NVidia hardware acceleration. It's still experimental.
If not, change the line
Option "DRMDevice" "/dev/dri/renderD128"
to something that does not exist(like /dev/dri/renderDxxx). so glamor is disabled.

@utrobinmv
Copy link
Author

I don't need nvidia accelerators. Since cuda works fine in the console. I need xrdp to load, since I'm working through it.

I changed /dev/dri/renderD128 to a non-existent /dev/dri/renderD150 and it worked. xrdp has loaded.

I am very grateful to you, thank you very much. You helped me.

@matt335672 matt335672 changed the title black screen on login black screen on login (NVidia / glamor) Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants