https://bugs.kde.org/show_bug.cgi?id=493517

            Bug ID: 493517
           Summary: Wayland conneciton unresponsive after clipboard paste
    Classification: Plasma
           Product: KRdp
           Version: 6.1.5
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: unassigned-b...@kde.org
          Reporter: heuristi...@gmail.com
                CC: ahiems...@heimr.nl
  Target Milestone: ---

SUMMARY

I just tried rdpserver for the first time (krdp x86_64 6.1.5-1.fc40) on wayland
and it worked fine until I tried to paste content remotely and the connection
froze.

STEPS TO REPRODUCE

Installed with:
```
sudo dnf install krdp-server libva-nvidia-driver
```

After this, remote desktop showed up in system settings. I added a user and
connected with `remmina 1.4.33` from another fedora 40 machine. It worked fine
until I pasted text copied remotely into the window (copy/pasting within the
window worked fine). I tried a couple of times and it seems consistent.

OBSERVED RESULT

Connection freeze

SOFTWARE/OS VERSIONS

Environment: Fedora 40 (KDE spin), freshly installed today
nvidia driver installed via `akmod-nvidia.x86_64 3:560.35.03-1.fc40`
kernel parameter `nvidia_drm modeset=1` set
remmina 1.4.33 (rdp client)

ADDITIONAL INFORMATION

Here are the logs from `journalctl -b | grep -i 'rdp.*]:`

```
Sep 22 22:12:24 waydev krdpserver[23010]: libva info: va_openDriver() returns 0
Sep 22 22:12:24 waydev krdpserver[23010]: libva info: VA-API version 1.21.0
Sep 22 22:12:24 waydev krdpserver[23010]: libva info: Trying to open
/usr/lib64/dri-nonfree/nvidia_drv_video.so
Sep 22 22:12:24 waydev krdpserver[23010]: libva info: Trying to open
/usr/lib64/dri-freeworld/nvidia_drv_video.so
Sep 22 22:12:24 waydev krdpserver[23010]: libva info: Trying to open
/usr/lib64/dri/nvidia_drv_video.so
Sep 22 22:12:24 waydev krdpserver[23010]: libva info: Found init function
__vaDriverInit_1_0
Sep 22 22:12:24 waydev krdpserver[23010]: libva info: va_openDriver() returns 0
Sep 22 22:12:30 waydev krdpserver[23010]: [22:12:30:865] [23010:23441]
[WARN][com.winpr.negotiate] - AcceptSecurityContext status
SEC_I_CONTINUE_NEEDED [0x00090312]
Sep 22 22:12:30 waydev krdpserver[23010]: [22:12:30:967] [23010:23441]
[WARN][com.winpr.negotiate] - AcceptSecurityContext status
SEC_I_COMPLETE_NEEDED [0x00090313]
Sep 22 22:12:31 waydev krdpserver[23010]: org.kde.krdp: New client connected: 
UNIX platform Unspecified version
Sep 22 22:12:32 waydev krdpserver[23010]: QObject: Cannot create children for a
parent that is in a different thread.
Sep 22 22:12:32 waydev krdpserver[23010]: [Parsed_scale_vaapi_1 @
0x7fe2e4044080] Failed to create processing pipeline config: 12 (the requested
VAProfile is not supported).
Sep 22 22:12:32 waydev krdpserver[23010]: [Parsed_scale_vaapi_1 @
0x7fe2e4044080] Failed to configure output pad on Parsed_scale_vaapi_1
Sep 22 22:12:32 waydev krdpserver[23010]: kpipewire_record_logging: Failed
configuring filter graph
Sep 22 22:12:32 waydev krdpserver[23010]: kpipewire_record_logging: h264_vaapi
codec not found
Sep 22 22:12:32 waydev krdpserver[23010]: [libopenh264 @ 0x7fe2e4679740]
[OpenH264] this = 0x0x7fe2e4bf8330, Warning:layerId(0) doesn't support
profile(578), change to UNSPECIFIC profile
Sep 22 22:12:32 waydev krdpserver[23010]: [libopenh264 @ 0x7fe2e4679740]
[OpenH264] this = 0x0x7fe2e4bf8330, Warning:bEnableFrameSkip = 0,bitrate can't
be controlled for RC_QUALITY_MODE,RC_BITRATE_MODE and RC_TIMESTAMP_MODE without
enabling skip frame.
Sep 22 22:13:51 waydev krdpserver[23010]: [22:13:51:494] [23010:23441]
[ERROR][com.freerdp.core.peer] - peer_recv_callback: CONNECTION_STATE_ACTIVE -
peer_recv_pdu() fail
Sep 22 22:13:51 waydev krdpserver[23010]: [22:13:51:494] [23010:23441]
[ERROR][com.freerdp.core.transport] - transport_check_fds:
transport->ReceiveCallback() - -1
Sep 22 22:16:20 waydev krdpserver[23010]: libva info: VA-API version 1.21.0
Sep 22 22:16:20 waydev krdpserver[23010]: libva info: Trying to open
/usr/lib64/dri-nonfree/nvidia_drv_video.so
Sep 22 22:16:20 waydev krdpserver[23010]: libva info: Trying to open
/usr/lib64/dri-freeworld/nvidia_drv_video.so
Sep 22 22:16:20 waydev krdpserver[23010]: libva info: Trying to open
/usr/lib64/dri/nvidia_drv_video.so
Sep 22 22:16:20 waydev krdpserver[23010]: libva info: Found init function
__vaDriverInit_1_0
Sep 22 22:16:20 waydev krdpserver[23010]: libva info: va_openDriver() returns 0
Sep 22 22:16:20 waydev krdpserver[23010]: libva info: VA-API version 1.21.0
Sep 22 22:16:20 waydev krdpserver[23010]: libva info: Trying to open
/usr/lib64/dri-nonfree/nvidia_drv_video.so
Sep 22 22:16:20 waydev krdpserver[23010]: libva info: Trying to open
/usr/lib64/dri-freeworld/nvidia_drv_video.so
Sep 22 22:16:20 waydev krdpserver[23010]: libva info: Trying to open
/usr/lib64/dri/nvidia_drv_video.so
Sep 22 22:16:20 waydev krdpserver[23010]: libva info: Found init function
__vaDriverInit_1_0
Sep 22 22:16:20 waydev krdpserver[23010]: libva info: va_openDriver() returns 0
Sep 22 22:16:20 waydev krdpserver[23010]: libva info: VA-API version 1.21.0
Sep 22 22:16:20 waydev krdpserver[23010]: libva info: Trying to open
/usr/lib64/dri-nonfree/nvidia_drv_video.so
Sep 22 22:16:20 waydev krdpserver[23010]: libva info: Trying to open
/usr/lib64/dri-freeworld/nvidia_drv_video.so
Sep 22 22:16:20 waydev krdpserver[23010]: libva info: Trying to open
/usr/lib64/dri/nvidia_drv_video.so
Sep 22 22:16:20 waydev krdpserver[23010]: libva info: Found init function
__vaDriverInit_1_0
Sep 22 22:16:20 waydev krdpserver[23010]: libva info: va_openDriver() returns 0
Sep 22 22:16:20 waydev krdpserver[23010]: libva info: VA-API version 1.21.0
Sep 22 22:16:20 waydev krdpserver[23010]: libva info: Trying to open
/usr/lib64/dri-nonfree/nvidia_drv_video.so
Sep 22 22:16:20 waydev krdpserver[23010]: libva info: Trying to open
/usr/lib64/dri-freeworld/nvidia_drv_video.so
Sep 22 22:16:20 waydev krdpserver[23010]: libva info: Trying to open
/usr/lib64/dri/nvidia_drv_video.so
Sep 22 22:16:20 waydev krdpserver[23010]: libva info: Found init function
__vaDriverInit_1_0
Sep 22 22:16:20 waydev krdpserver[23010]: libva info: va_openDriver() returns 0
Sep 22 22:16:20 waydev krdpserver[23010]: libva info: VA-API version 1.21.0
Sep 22 22:16:20 waydev krdpserver[23010]: libva info: Trying to open
/usr/lib64/dri-nonfree/nvidia_drv_video.so
Sep 22 22:16:20 waydev krdpserver[23010]: libva info: Trying to open
/usr/lib64/dri-freeworld/nvidia_drv_video.so
Sep 22 22:16:20 waydev krdpserver[23010]: libva info: Trying to open
/usr/lib64/dri/nvidia_drv_video.so
Sep 22 22:16:20 waydev krdpserver[23010]: libva info: Found init function
__vaDriverInit_1_0
Sep 22 22:16:21 waydev krdpserver[23010]: libva info: va_openDriver() returns 0
Sep 22 22:16:21 waydev krdpserver[23010]: libva info: VA-API version 1.21.0
Sep 22 22:16:21 waydev krdpserver[23010]: libva info: Trying to open
/usr/lib64/dri-nonfree/nvidia_drv_video.so
Sep 22 22:16:21 waydev krdpserver[23010]: libva info: Trying to open
/usr/lib64/dri-freeworld/nvidia_drv_video.so
Sep 22 22:16:21 waydev krdpserver[23010]: libva info: Trying to open
/usr/lib64/dri/nvidia_drv_video.so
Sep 22 22:16:21 waydev krdpserver[23010]: libva info: Found init function
__vaDriverInit_1_0
Sep 22 22:16:21 waydev krdpserver[23010]: libva info: va_openDriver() returns 0
Sep 22 22:16:29 waydev krdpserver[23010]: [22:16:29:003] [23010:23673]
[WARN][com.winpr.negotiate] - AcceptSecurityContext status
SEC_I_CONTINUE_NEEDED [0x00090312]
Sep 22 22:16:30 waydev krdpserver[23010]: [22:16:30:103] [23010:23673]
[WARN][com.winpr.negotiate] - AcceptSecurityContext status
SEC_I_COMPLETE_NEEDED [0x00090313]
Sep 22 22:16:31 waydev krdpserver[23010]: org.kde.krdp: New client connected: 
UNIX platform Unspecified version
Sep 22 22:16:31 waydev krdpserver[23010]: [Parsed_scale_vaapi_1 @
0x7fe2e0041400] Failed to create processing pipeline config: 12 (the requested
VAProfile is not supported).
Sep 22 22:16:31 waydev krdpserver[23010]: [Parsed_scale_vaapi_1 @
0x7fe2e0041400] Failed to configure output pad on Parsed_scale_vaapi_1
Sep 22 22:16:31 waydev krdpserver[23010]: kpipewire_record_logging: Failed
configuring filter graph
Sep 22 22:16:31 waydev krdpserver[23010]: kpipewire_record_logging: h264_vaapi
codec not found
Sep 22 22:16:31 waydev krdpserver[23010]: [libopenh264 @ 0x7fe2e0ca7800]
[OpenH264] this = 0x0x7fe2e097c8d0, Warning:layerId(0) doesn't support
profile(578), change to UNSPECIFIC profile
Sep 22 22:16:31 waydev krdpserver[23010]: [libopenh264 @ 0x7fe2e0ca7800]
[OpenH264] this = 0x0x7fe2e097c8d0, Warning:bEnableFrameSkip = 0,bitrate can't
be controlled for RC_QUALITY_MODE,RC_BITRATE_MODE and RC_TIMESTAMP_MODE without
enabling skip frame.
Sep 22 22:16:41 waydev krdpserver[23010]: [22:16:41:201] [23010:23673]
[ERROR][com.freerdp.core.peer] - peer_recv_callback: CONNECTION_STATE_ACTIVE -
peer_recv_pdu() fail
Sep 22 22:16:41 waydev krdpserver[23010]: [22:16:41:201] [23010:23673]
[ERROR][com.freerdp.core.transport] - transport_check_fds:
transport->ReceiveCallback() - -1
```

Side note: Running `krdpserver -u user -p test` from an ssh connection didn't
work. I think that was because it wasn't a child process of the wayland login
shell. After generating a SSL cert it would run from within Plasma, but the
connection wouldn't render anything. I had to configure the server through
system settings before it'd work.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to