-
Hi there, thank you for maintaining this amazing project! I've got a Windows 10 machine, on which I've installed arch in wsl2 with by following this guide: Next I've installed plasma + xrdp using this guide: All works reasonably well so far, but I'm experiencing annoying color screen tearing artifacts (like from a damaged video file) which sometimes fix themselves after ~10 seconds or when I take some action that changes the affected area. Can and should I switch the encoder, or some options in the Windows RDP client? It seems I'm currently using x264, see: end of /var/log/xrdp.log``` [2025-06-04T09:33:13.923+0200] [INFO ] xrdp_mm_egfx_frame_ack: client request turn off frame acks. [2025-06-04T09:43:46.704+0200] [ERROR] xrdp_sec_recv: xrdp_mcs_recv failed [2025-06-04T09:43:46.882+0200] [ERROR] xrdp_rdp_recv: xrdp_sec_recv failed [2025-06-04T09:43:46.911+0200] [ERROR] libxrdp_process_data: xrdp_rdp_recv failed [2025-06-04T09:43:46.951+0200] [ERROR] xrdp_process_data_in: xrdp_process_loop failed [2025-06-04T09:43:46.977+0200] [ERROR] SSL_write: I/O error [2025-06-04T09:43:46.999+0200] [ERROR] SSL: error:80000068:system library::Connection reset by peer [2025-06-04T09:43:46.102+0200] [ERROR] xrdp_iso_send: trans_write_copy_s failed [2025-06-04T09:43:46.106+0200] [ERROR] Sending [ITU T.125] DisconnectProviderUltimatum failed [2025-06-04T09:44:01.893+0200] [INFO ] Socket 14: connection accepted from [::ffff:172.21.112.1]:64247 [2025-06-04T09:44:01.907+0200] [INFO ] Using default X.509 certificate: /etc/xrdp/cert.pem [2025-06-04T09:44:01.910+0200] [INFO ] Using default X.509 key file: /etc/xrdp/key.pem [2025-06-04T09:44:01.911+0200] [INFO ] Security protocol: configured [SSL|RDP], requested [SSL|HYBRID|HYBRID_EX|RDP], selected [SSL] [2025-06-04T09:44:01.923+0200] [ERROR] SSL_read: I/O error [2025-06-04T09:44:01.926+0200] [ERROR] libxrdp_force_read: header read error [2025-06-04T09:44:01.927+0200] [ERROR] Processing [ITU-T T.125] Connect-Initial failed [2025-06-04T09:44:01.929+0200] [ERROR] [MCS Connection Sequence] receive connection request failed [2025-06-04T09:44:01.930+0200] [ERROR] xrdp_sec_incoming: xrdp_mcs_incoming failed [2025-06-04T09:44:01.932+0200] [ERROR] xrdp_rdp_incoming: xrdp_sec_incoming failed [2025-06-04T09:44:01.933+0200] [ERROR] xrdp_process_main_loop: libxrdp_process_incoming failed [2025-06-04T09:44:01.935+0200] [ERROR] xrdp_iso_send: trans_write_copy_s failed [2025-06-04T09:44:01.937+0200] [ERROR] Sending [ITU T.125] DisconnectProviderUltimatum failed [2025-06-04T09:44:01.944+0200] [INFO ] Socket 14: connection accepted from [::ffff:172.21.112.1]:64248 [2025-06-04T09:44:01.946+0200] [INFO ] Using default X.509 certificate: /etc/xrdp/cert.pem [2025-06-04T09:44:01.948+0200] [INFO ] Using default X.509 key file: /etc/xrdp/key.pem [2025-06-04T09:44:01.949+0200] [INFO ] Security protocol: configured [SSL|RDP], requested [SSL|HYBRID|HYBRID_EX|RDP], selected [SSL] [2025-06-04T09:44:01.956+0200] [INFO ] Connected client computer name: KAEFER [2025-06-04T09:44:01.958+0200] [INFO ] xrdp_load_keyboard_layout: Keyboard information sent by the RDP client, keyboard_type:[0x07], keyboard_subtype:[0x00], keylayout:[0x00000407] [2025-06-04T09:44:01.959+0200] [INFO ] xrdp_load_keyboard_layout: model [] variant [] layout [de] options [] [2025-06-04T09:44:01.960+0200] [INFO ] client supports gfx protocol [2025-06-04T09:44:01.961+0200] [WARN ] Received [MS-RDPBCGR] TS_UD_HEADER type 0xc006 is unknown (ignored) [2025-06-04T09:44:01.962+0200] [WARN ] Received [MS-RDPBCGR] TS_UD_HEADER type 0xc00a is unknown (ignored) [2025-06-04T09:44:01.964+0200] [INFO ] TLS connection established from [::ffff:172.21.112.1]:64248 TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 [2025-06-04T09:44:01.986+0200] [INFO ] Client supports single-screen resizes by xrdp [2025-06-04T09:44:01.988+0200] [INFO ] xrdp_caps_process_pointer: client supports new(color) cursor [2025-06-04T09:44:01.989+0200] [INFO ] xrdp_process_offscreen_bmpcache: support level 1 cache size 10485760 bytes cache entries 100 [2025-06-04T09:44:01.991+0200] [INFO ] xrdp_caps_process_codecs: NSCodec(CA8D1BB9-000F-154F-589F-AE2D1A87E2D6), codec id [1], properties len [3] [2025-06-04T09:44:01.992+0200] [INFO ] xrdp_caps_process_codecs: Image RemoteFX(2744CCD4-9D8A-4E74-803C-0ECBEEA19C54), codec id [5], properties len [49] [2025-06-04T09:44:01.993+0200] [INFO ] xrdp_caps_process_codecs: RemoteFX(76772F12-BD72-4463-AFB3-B73C9C6F7886), codec id [3], properties len [49] [2025-06-04T09:44:01.994+0200] [INFO ] Client Capability: LARGE_POINTER_FLAG_96x96 supported [2025-06-04T09:44:01.999+0200] [INFO ] Loading keymap file /etc/xrdp/km-00000407.ini [2025-06-04T09:44:02.109+0200] [WARN ] local keymap file for 0x00000407 found and doesn't match built in keymap, using local keymap file [2025-06-04T09:44:02.365+0200] [INFO ] TConfig: Loading GFX config file /etc/xrdp/gfx.toml [2025-06-04T09:44:02.566+0200] [INFO ] Login screen monitor height is 2400 pixels over 210 mm (290 DPI) [2025-06-04T09:44:02.972+0200] [INFO ] Module "ADJCDIRL" specified by user from [::ffff:172.21.112.1]:64248 is not configured. Using "Xorg" instead. [2025-06-04T09:44:02.117+0200] [INFO ] xrdp_egfx_create: error 0 channel_id 1 [2025-06-04T09:44:02.163+0200] [INFO ] xrdp_mm_egfx_caps_advertise: [2025-06-04T09:44:02.181+0200] [INFO ] version 0x00080004 flags 0x00000000 (index: 0) [2025-06-04T09:44:02.198+0200] [INFO ] version 0x00080105 flags 0x00000000 (index: 1) [2025-06-04T09:44:02.214+0200] [INFO ] version 0x000a0002 flags 0x00000000 (index: 2) [2025-06-04T09:44:02.231+0200] [INFO ] version 0x000a0200 flags 0x00000000 (index: 3) [2025-06-04T09:44:02.250+0200] [INFO ] version 0x000a0301 flags 0x00000000 (index: 4) [2025-06-04T09:44:02.264+0200] [INFO ] version 0x000a0400 flags 0x00000000 (index: 5) [2025-06-04T09:44:02.280+0200] [INFO ] version 0x000a0502 flags 0x00000000 (index: 6) [2025-06-04T09:44:02.296+0200] [INFO ] version 0x000a0600 flags 0x00000000 (index: 7) [2025-06-04T09:44:02.313+0200] [INFO ] Codec search order is H264, RFX [2025-06-04T09:44:02.327+0200] [INFO ] Matched H264 mode [2025-06-04T09:44:02.340+0200] [INFO ] replying version 0x000a0600 flags 0x00000000 [2025-06-04T09:44:02.355+0200] [INFO ] xrdp_mm_egfx_caps_advertise: xrdp_egfx_send_capsconfirm error 0 best_index 7 [2025-06-04T09:44:02.369+0200] [INFO ] xrdp_egfx_reset_graphics: [2025-06-04T09:44:02.387+0200] [INFO ] xrdp_egfx_reset_graphics: width 3840 height 2400 monitorcount 1 [2025-06-04T09:44:02.406+0200] [INFO ] xrdp_mm_egfx_caps_advertise: xrdp_egfx_send_reset_graphics error 0 monitorCount 0 [2025-06-04T09:44:02.423+0200] [INFO ] xrdp_mm_egfx_create_surfaces: map surface_id 0 left 0 top 0 width 3840 height 2400 [2025-06-04T09:44:02.438+0200] [INFO ] xrdp_encoder_create: starting h264 codec session gfx [2025-06-04T09:44:02.454+0200] [INFO ] xrdp_encoder_create: using x264 for software encoder [2025-06-04T09:44:02.472+0200] [INFO ] xrdp_mm_egfx_invalidate_wm_screen: [2025-06-04T09:44:02.487+0200] [INFO ] xrdp_mm_egfx_caps_advertise: egfx created. [2025-06-04T09:44:02.502+0200] [WARN ] Ignoring obsolete SCP port value '3350' [2025-06-04T09:44:02.521+0200] [INFO ] xrdp_wm_log_msg: sesman connect ok [2025-06-04T09:44:02.540+0200] [INFO ] xrdp_wm_log_msg: Performing login request for user [2025-06-04T09:44:02.156+0200] [INFO ] xrdp_wm_log_msg: login was successful - creating session [2025-06-04T09:44:02.161+0200] [INFO ] xrdp_wm_log_msg: session is available on display 10 for user user [2025-06-04T09:44:02.164+0200] [INFO ] xrdp_wm_log_msg: Connecting to session [2025-06-04T09:44:02.166+0200] [INFO ] loaded module 'libxup.so' ok, interface size 10440, version 4 [2025-06-04T09:44:02.168+0200] [INFO ] lib_mod_connect: connecting via UNIX socket [2025-06-04T09:44:02.169+0200] [INFO ] lib_mod_log_peer: xrdp_pid=4591 connected to Xorg_pid=3324 Xorg_uid=1000 Xorg_gid=1000 client=[::ffff:172.21.112.1]:64248 [2025-06-04T09:44:02.171+0200] [INFO ] xrdp_wm_log_msg: Connecting to chansrv [2025-06-04T09:44:02.178+0200] [INFO ] Received memory_allocation_complete command. width: 3840, height: 2400 [2025-06-04T09:44:02.193+0200] [INFO ] TConfig: Loading GFX config file /etc/xrdp/gfx.toml [2025-06-04T09:44:02.209+0200] [INFO ] xrdp_encoder_x264_encode: x264_encoder_open rv 0x73558c007650 for width 3840 height 2400 ``` |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I found a workaround: reducing the color depth setting in the Windows RDP client from 32bit to 24bit seems to have fixed the problem, I can't see any more artifacts! |
Beta Was this translation helpful? Give feedback.
-
Some users are reporting video artefacts with H.264 compression - see #3375 Setting the colour depth to 24 disables a feature called GFX. You can also try using 32bit and this post which may give you better performance than 24 bit colour. |
Beta Was this translation helpful? Give feedback.
I found a workaround: reducing the color depth setting in the Windows RDP client from 32bit to 24bit seems to have fixed the problem, I can't see any more artifacts!