SUMMARY When I connect to my workstation from macOS using the "Windows" app, all I see is a black screen. Looking at the journal log, it seems krdp/kwin fail to setup video capture/streaming. STEPS TO REPRODUCE 1. Get the "Windows" app from the macOS App Store (at time of filing bug, Version 11.3.2 (2848)) 2. Enable RDP/remote desktop in Plasma's native settings app. Ensure krdp and other dependencies are installed. 3. Connect to the Linux system from macOS. OBSERVED RESULT Black screen and errors in the journal. EXPECTED RESULT RDP session works and I can remote desktop. SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 6.5.5 KDE Frameworks Version: 6.22.0 Qt Version: 6.10.2 Kernel Version: 6.18.9-2-cachyos (64-bit) Graphics Platform: Wayland Processors: 32 × AMD Ryzen 9 9950X3D 16-Core Processor Memory: 64 GiB of RAM (62.4 GiB usable) Graphics Processor: NVIDIA GeForce RTX 5090 ADDITIONAL INFORMATION The logs suggest this is different from https://bugs.kde.org/show_bug.cgi?id=494715. Journal logs: ``` Feb 10 07:51:33 wave5 krdpserver[2319]: New client connected: OS X platform Unspecified version Feb 10 07:51:33 wave5 krdpserver[2319]: Attempting authenticating user with PAM Feb 10 07:51:33 wave5 krdpserver[3944725]: pam_unix(login:account): setuid failed: Operation not permitted Feb 10 07:51:33 wave5 krdpserver[2319]: PAM authentication succeeded for user "jfroy" Feb 10 07:51:33 wave5 krdpserver[2319]: Video stream initialized Feb 10 07:51:33 wave5 krdpserver[2319]: Initializing Freedesktop Portal Session Feb 10 07:51:33 wave5 kded6[2283]: Registering ":1.862/StatusNotifierItem" to system tray Feb 10 07:51:33 wave5 krdpserver[2319]: Received caps: Feb 10 07:51:33 wave5 krdpserver[2319]: RDPGFX_CAPVERSION_8 AVC: false YUV420: false Feb 10 07:51:33 wave5 krdpserver[2319]: RDPGFX_CAPVERSION_81 AVC: false YUV420: false Feb 10 07:51:33 wave5 krdpserver[2319]: RDPGFX_CAPVERSION_10 AVC: false YUV420: false Feb 10 07:51:33 wave5 krdpserver[2319]: RDPGFX_CAPVERSION_102 AVC: false YUV420: false Feb 10 07:51:33 wave5 krdpserver[2319]: RDPGFX_CAPVERSION_103 AVC: false YUV420: false Feb 10 07:51:33 wave5 krdpserver[2319]: RDPGFX_CAPVERSION_104 AVC: true YUV420: true Feb 10 07:51:33 wave5 krdpserver[2319]: RDPGFX_CAPVERSION_107 AVC: true YUV420: true Feb 10 07:51:33 wave5 krdpserver[2319]: UNKNOWN_VERSION AVC: false YUV420: false Feb 10 07:51:33 wave5 krdpserver[2319]: UNKNOWN_VERSION AVC: false YUV420: false Feb 10 07:51:33 wave5 krdpserver[2319]: Selected caps: UNKNOWN_VERSION Feb 10 07:51:33 wave5 krdpserver[2319]: Started Freedesktop Portal session Feb 10 07:51:33 wave5 xdg-desktop-portal-kde[2656]: Failed to notify "Created too many similar notifications in quick succession" Feb 10 07:51:33 wave5 krdpserver[2319]: [in @ 0x7f81940504c0] Setting BufferSourceContext.pix_fmt to a HW format requires hw_frames_ctx to be non-NULL! Feb 10 07:51:33 wave5 krdpserver[2319]: Failed to create the buffer filter Feb 10 07:51:33 wave5 krdpserver[2319]: [libx264 @ 0x7f8194060980] -qscale is ignored, -crf is recommended. Feb 10 07:51:33 wave5 krdpserver[2319]: [libx264 @ 0x7f8194060980] MB rate (40000000) > level limit (16711680) Feb 10 07:51:33 wave5 krdpserver[2319]: [libx264 @ 0x7f8194060980] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 AVX512 Feb 10 07:51:33 wave5 krdpserver[2319]: [libx264 @ 0x7f8194060980] profile Constrained Baseline, level 6.2, 4:2:0, 8-bit Feb 10 07:51:33 wave5 kwin_wayland[2161]: 0x502: GL_INVALID_OPERATION error generated. <image> and <target> are incompatible Feb 10 07:51:33 wave5 kwin_wayland[2161]: Invalid framebuffer status: "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT" Feb 10 07:51:33 wave5 kwin_wayland[2161]: 0x502: GL_INVALID_OPERATION error generated. <image> and <target> are incompatible Feb 10 07:51:33 wave5 kwin_wayland[2161]: Invalid framebuffer status: "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT" Feb 10 07:51:33 wave5 kwin_wayland[2161]: 0x502: GL_INVALID_OPERATION error generated. <image> and <target> are incompatible Feb 10 07:51:33 wave5 kwin_wayland[2161]: Invalid framebuffer status: "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT" Feb 10 07:51:33 wave5 pipewire[2217]: invalid memory type 8 Feb 10 07:51:33 wave5 pipewire[2217]: invalid memory type 8 Feb 10 07:51:33 wave5 pipewire[2217]: invalid memory type 8 Feb 10 07:51:33 wave5 kwin_wayland[2161]: "0,0 4000x2560" Received stream buffer that does not contain user data ``` `kscreen-doctor -o`: ``` > kscreen-doctor -o Output: 1 DP-3 ef104781-d931-40c0-b8f1-b12a58aa41f7 enabled connected priority 1 DisplayPort replication source:0 Modes: 1:3840x2160@60.00*! 2:3840x2160@240.00 3:3840x2160@199.98 4:3840x2160@164.99 5:3840x2160@119.88 6:3840x2160@100.00 7:3840x2160@59.94 8:3840x2160@50.00 9:3840x2160@29.97 10:3840x2160@25.00 11:2560x1440@239.97 12:2560x1440@120.00 13:2560x1440@59.95 14:1920x1080@239.99 15:1920x1080@119.88 16:1920x1080@100.00 17:1920x1080@59.94 18:1920x1080@50.00 19:1680x1050@59.95 20:1600x900@60.00 21:1280x1024@75.03 22:1280x1024@60.02 23:1440x900@59.89 24:1280x960@60.00 25:1280x800@59.81 26:1152x864@75.00 27:1280x720@100.00 28:1280x720@60.00 29:1280x720@59.94 30:1280x720@50.00 31:1024x768@75.03 32:1024x768@70.07 33:1024x768@60.00 34:1440x480@59.94 35:800x600@75.00 36:800x600@72.19 37:800x600@60.32 38:800x600@56.25 39:720x480@59.94 40:640x480@75.00 41:640x480@72.81 42:640x480@59.94 Geometry: 1440,360 2560x1440 Scale: 1.5 Rotation: 1 Overscan: 0 Vrr: incapable RgbRange: unknown HDR: enabled SDR brightness: 400 nits SDR gamut wideness: 50% Peak brightness: 1000 nits, overridden with: 1000 nits Max average brightness: 277 nits Min brightness: 0.0002 nits Wide Color Gamut: enabled ICC profile: none Color profile source: sRGB Color power preference: prefer efficiency and performance Brightness control: supported, set to 80% and dimming to 100% DDC/CI: allowed Color resolution: unknown Allow EDR: unsupported Sharpness control: unsupported Output: 2 DP-1 997b0a8e-4e80-411c-b340-c93981bf8430 enabled connected priority 2 DisplayPort replication source:0 Modes: 43:3840x2160@60.00*! 44:3840x2160@240.00 45:3840x2160@199.98 46:3840x2160@164.99 47:3840x2160@119.88 48:3840x2160@100.00 49:3840x2160@59.94 50:3840x2160@50.00 51:3840x2160@29.97 52:3840x2160@25.00 53:2560x1440@239.97 54:2560x1440@120.00 55:2560x1440@59.95 56:1920x1080@239.99 57:1920x1080@119.88 58:1920x1080@100.00 59:1920x1080@59.94 60:1920x1080@50.00 61:1680x1050@59.95 62:1600x900@60.00 63:1280x1024@75.03 64:1280x1024@60.02 65:1440x900@59.89 66:1280x960@60.00 67:1280x800@59.81 68:1152x864@75.00 69:1280x720@100.00 70:1280x720@60.00 71:1280x720@59.94 72:1280x720@50.00 73:1024x768@75.03 74:1024x768@70.07 75:1024x768@60.00 76:1440x480@59.94 77:800x600@75.00 78:800x600@72.19 79:800x600@60.32 80:800x600@56.25 81:720x480@59.94 82:640x480@75.00 83:640x480@72.81 84:640x480@59.94 Geometry: 0,0 1440x2560 Scale: 1.5 Rotation: 2 Overscan: 0 Vrr: incapable RgbRange: unknown HDR: enabled SDR brightness: 400 nits SDR gamut wideness: 50% Peak brightness: 1000 nits, overridden with: 1000 nits Max average brightness: 277 nits Min brightness: 0.0002 nits Wide Color Gamut: enabled ICC profile: none Color profile source: sRGB Color power preference: prefer efficiency and performance Brightness control: supported, set to 80% and dimming to 100% DDC/CI: allowed Color resolution: unknown Allow EDR: unsupported Sharpness control: unsupported ```