Black screen, "Failed to import DMA buffer as EGL image"
gnome-remote-desktop-42.0 on Fedora 36
When starting a remote desktop connection via either RDP or VNC, I only get a black screen but not the screen content on the client, although with VNC control still works.
journalctl output shows an error: "Failed to import DMA buffer as EGL image":
Mar 31 18:33:20 localhost systemd[1737]: Starting gnome-remote-desktop.service - GNOME Remote Desktop...
Mar 31 18:33:20 localhost gnome-remote-desktop-daemon[3619]: libEGL warning: DRI2: failed to create dri screen
Mar 31 18:33:20 localhost systemd[1737]: Started gnome-remote-desktop.service - GNOME Remote Desktop.
Mar 31 18:33:21 localhost gnome-remote-de[3619]: [RDP] Initialization of CUDA was successful
Mar 31 18:33:21 localhost gnome-remote-de[3619]: RDP server started
Mar 31 18:33:21 localhost gnome-remote-de[3619]: VNC server started
Mar 31 18:33:37 localhost gnome-remote-de[3619]: Failed to import DMA buffer as EGL image: 12300
Mar 31 18:33:37 localhost gnome-remote-de[3619]: Failed to import DMA buffer as EGL image: 12300
Mar 31 18:33:37 localhost gnome-remote-de[3619]: Failed to import DMA buffer as EGL image: 12300
Mar 31 18:33:38 localhost gnome-remote-de[3619]: Failed to import DMA buffer as EGL image: 12300
Mar 31 18:33:38 localhost gnome-remote-de[3619]: Failed to import DMA buffer as EGL image: 12300
Mar 31 18:33:38 localhost gnome-remote-de[3619]: Failed to import DMA buffer as EGL image: 12300
Mar 31 18:33:38 localhost gnome-remote-de[3619]: Failed to import DMA buffer as EGL image: 12300
Mar 31 18:33:38 localhost gnome-remote-de[3619]: Failed to import DMA buffer as EGL image: 12300
Mar 31 18:33:38 localhost gnome-remote-de[3619]: Failed to import DMA buffer as EGL image: 12300
Mar 31 18:33:39 localhost gnome-remote-de[3619]: Failed to import DMA buffer as EGL image: 12300
Mar 31 18:33:39 localhost gnome-remote-de[3619]: Failed to import DMA buffer as EGL image: 12300
Mar 31 18:33:39 localhost gnome-remote-de[3619]: Failed to import DMA buffer as EGL image: 12300
Mar 31 18:33:39 localhost gnome-remote-de[3619]: Failed to import DMA buffer as EGL image: 12300
Mar 31 18:33:39 localhost gnome-remote-de[3619]: Failed to import DMA buffer as EGL image: 12300
Mar 31 18:33:39 localhost gnome-remote-de[3619]: Failed to import DMA buffer as EGL image: 12300
Mar 31 18:33:39 localhost gnome-remote-de[3619]: Failed to import DMA buffer as EGL image: 12300
Mar 31 18:33:40 localhost gnome-remote-de[3619]: Failed to import DMA buffer as EGL image: 12300
Mar 31 18:33:40 localhost gnome-remote-de[3619]: Failed to import DMA buffer as EGL image: 12300
Mar 31 18:33:40 localhost gnome-remote-de[3619]: Failed to import DMA buffer as EGL image: 12300
Mar 31 18:33:40 localhost gnome-remote-de[3619]: Failed to import DMA buffer as EGL image: 12300
Mar 31 18:33:40 localhost gnome-remote-de[3619]: Failed to import DMA buffer as EGL image: 12300
Mar 31 18:34:39 localhost gnome-remote-desktop-daemon[3619]: [18:34:39:527] [3619:4230] [WARN][com.winpr.negotiate] - Ac>
Mar 31 18:34:39 localhost gnome-remote-desktop-daemon[3619]: [18:34:39:528] [3619:4230] [WARN][com.winpr.negotiate] - Ac>
Mar 31 18:34:39 localhost gnome-remote-de[3619]: [RDP.RDPGFX] CapsAdvertise: Accepting capability set with version RDPGF>
Mar 31 18:34:39 localhost gnome-remote-de[3619]: [RDP.CLIPRDR] Client capabilities: long format names, stream file clip,>
Mar 31 18:34:39 localhost gnome-remote-de[3619]: Failed to import DMA buffer as EGL image: 12300
Mar 31 18:34:40 localhost gnome-remote-de[3619]: Failed to import DMA buffer as EGL image: 12300
Mar 31 18:34:40 localhost gnome-remote-de[3619]: Failed to import DMA buffer as EGL image: 12300
Mar 31 18:34:40 localhost gnome-remote-de[3619]: Failed to import DMA buffer as EGL image: 12300
Mar 31 18:34:40 localhost gnome-remote-de[3619]: Failed to import DMA buffer as EGL image: 12300
Mar 31 18:34:40 localhost gnome-remote-de[3619]: Failed to import DMA buffer as EGL image: 12300
Mar 31 18:34:41 localhost gnome-remote-de[3619]: Failed to import DMA buffer as EGL image: 12300
Mar 31 18:34:41 localhost gnome-remote-de[3619]: Failed to import DMA buffer as EGL image: 12300
Mar 31 18:34:41 localhost gnome-remote-de[3619]: Failed to import DMA buffer as EGL image: 12300
Mar 31 18:34:41 localhost gnome-remote-de[3619]: Failed to import DMA buffer as EGL image: 12300
Mar 31 18:34:41 localhost gnome-remote-de[3619]: Failed to import DMA buffer as EGL image: 12300
Mar 31 18:34:41 localhost gnome-remote-de[3619]: Failed to import DMA buffer as EGL image: 12300
Mar 31 18:34:49 localhost gnome-remote-desktop-daemon[3619]: [18:34:49:627] [3619:4230] [ERROR][com.freerdp.core.peer] ->
Mar 31 18:34:49 localhost gnome-remote-desktop-daemon[3619]: [18:34:49:627] [3619:4230] [ERROR][com.freerdp.core.peer] ->
Mar 31 18:34:49 localhost gnome-remote-desktop-daemon[3619]: [18:34:49:627] [3619:4230] [ERROR][com.freerdp.core.transpo>
Mar 31 18:34:49 localhost gnome-remote-de[3619]: Unable to check file descriptor, closing connection
The system has one display, connected to AMD GPU (kernel-5.17.1), and is running GNOME Wayland session. There is another Nvidia GPU. Other screen sharing/recording apps using PipeWire like GNOME Shell's built-in screencast, Firefox WebRTC, and OBS Studio all work as expected. Remote Desktop in GNOME 41 (VNC) also used to work fine.