Issue between evdi and Lunar Lake's xe: evdi: [W] evdi_gem_mmap:490 Don't allow imported objects to be mapped: owner: xe
Environment:
- Intel Core Ultra (Lunar Lake) with Intel Arc Graphics [8086:64a0]
- Kernel 6.14.0-37-generic
- Ubuntu 24.04
- xe driver
- HP USB-C/A Universal Dock G2 (DisplayLink-based)
- Two 2560x1440@60Hz external monitors
Impact:
- Choppy/stuttery display output on external monitors
- High CPU usage from DisplayLinkManager (~16% on average, saw spikes that consumed an entire core)
- Same dock works smoothly on older laptops using i915 driver (e.g., HP EliteBook 840 G8)
Log:
Feb 10 11:14:43 [hostname] kernel: evdi: [I] (card2) Opened by Task 3635 (systemd-logind) of process 3635 (systemd-logind)
Feb 10 11:14:43 [hostname] kernel: evdi: [I] (card2) Opened by Task 9250 (kwin_wayland) of process 9250 (kwin_wayland)
Feb 10 11:14:43 [hostname] kernel: evdi: [I] (card0) Connector state: connected
Feb 10 11:14:43 [hostname] kernel: evdi: [I] (card0) Edid property set
Feb 10 11:14:43 [hostname] kernel: evdi: [I] (card2) Connector state: connected
Feb 10 11:14:43 [hostname] kernel: evdi: [I] (card2) Edid property set
Feb 10 11:14:43 [hostname] kernel: evdi: [I] (card2) Notifying display power state: on
Feb 10 11:14:43 [hostname] kernel: evdi: [I] (card2) Notifying mode changed: 2560x1440@60; bpp 32; pixel format AR24 little-endian (0x34325241)
Feb 10 11:14:43 [hostname] kernel: evdi: [I] (card2) Notifying display power state: on
Feb 10 11:14:43 [hostname] kernel: evdi: [I] (card2) Opened by Task 9250 (kwin_wayland) of process 9250 (kwin_wayland)
Feb 10 11:14:43 [hostname] kernel: evdi: [W] evdi_painter_connect:896 (card0) Double connect - replacing 00000000c3e0970a with 00000000c3e0970a
Feb 10 11:14:43 [hostname] kernel: evdi: [I] (card0) Connected with Task 43283 (DisplayLinkMana) of process 43251 (DisplayLinkMana)
Feb 10 11:14:43 [hostname] kernel: evdi: [I] (card0) Connector state: connected
Feb 10 11:14:43 [hostname] kernel: evdi: [W] evdi_painter_connect:896 (card2) Double connect - replacing 00000000b60da418 with 00000000b60da418
Feb 10 11:14:43 [hostname] kernel: evdi: [I] (card2) Connected with Task 43280 (DisplayLinkMana) of process 43251 (DisplayLinkMana)
Feb 10 11:14:43 [hostname] kernel: evdi: [I] (card2) Connector state: connected
Feb 10 11:14:43 [hostname] kernel: evdi: [I] (card2) Notifying mode changed: 2560x1440@60; bpp 32; pixel format AR24 little-endian (0x34325241)
Feb 10 11:14:43 [hostname] kernel: evdi: [I] (card2) Notifying display power state: on
Feb 10 11:14:43 [hostname] kernel: evdi: [I] (card0) Notifying mode changed: 2560x1440@60; bpp 32; pixel format AR24 little-endian (0x34325241)
Feb 10 11:14:43 [hostname] kernel: evdi: [I] (card0) Notifying display power state: on
Feb 10 11:14:46 [hostname] kernel: evdi: [W] evdi_gem_mmap:490 Don't allow imported objects to be mapped: owner: xe
Feb 10 11:16:03 [hostname] kernel: evdi: [W] evdi_gem_mmap:490 Don't allow imported objects to be mapped: owner: xe
Can you check this with recently released evdi-1.14.14? There were some performance improvements for this platform.
Hi this is still happening and I think I was already on evdi 1.14.14:
Feb 18 13:15:43 [hostname] kernel: evdi: [I] (card2) Edid property set
Feb 18 13:15:43 [hostname] kernel: evdi: [I] (card3) Connector state: connected
Feb 18 13:15:43 [hostname] kernel: evdi: [I] (card3) Edid property set
Feb 18 13:16:12 [hostname] kernel: evdi: [W] evdi_gem_mmap:490 Don't allow imported objects to be mapped: owner: xe
Feb 18 13:19:37 [hostname] kernel: [UFW BLOCK] IN=wlp0s20f3 OUT= MAC=[mac_address] SRC=[src_ip] DST=[dst_ip] LEN=44 TOS=0x00 PREC=0x00 TTL=113 ID=7913 PROTO=TCP SPT=2012 DPT=55434 WINDOW=1024 RES=0x00 SYN URGP=0
evdi is already the newest version (1.14.14-178)
Hi everyone,
I can confirm that this is not specific to the xe driver. I'm seeing very similar behaviour on an Intel i5-13420H with integrated Raptor Lake graphics using the older i915 driver:
июн 10 14:50:16 [hostname] kernel: evdi: [W] evdi_gem_mmap:411 Don't allow imported objects to be mapped: owner: i915
июн 10 14:50:21 [hostname] kernel: evdi: [W] evdi_painter_connect:900 (card0) Double connect - replacing 000000004f487df2 with 000000004f487df2
июн 10 14:50:21 [hostname] kernel: evdi: [I] (card0) Connected with Task 4188 (DisplayLinkMana) of process 4157 (DisplayLinkMana)
июн 10 14:50:21 [hostname] kernel: evdi: [I] (card0) Connector state: connected
июн 10 14:50:21 [hostname] kernel: evdi: [I] (card0) Notifying mode changed: 3840x2160@60; bpp 32; pixel format AR24 little-endian (0x34325241)
июн 10 14:50:21 [hostname] kernel: evdi: [I] (card0) Notifying display power state: on
июн 10 14:50:21 [hostname] kernel: evdi: [W] evdi_painter_connect:900 (card0) Double connect - replacing 000000004f487df2 with 000000004f487df2
июн 10 14:50:21 [hostname] kernel: evdi: [I] (card0) Connected with Task 4173 (DisplayLinkMana) of process 4157 (DisplayLinkMana)
июн 10 14:50:21 [hostname] kernel: evdi: [I] (card0) Connector state: connected
июн 10 14:50:21 [hostname] kernel: evdi: [I] (card0) Notifying mode changed: 3840x2160@60; bpp 32; pixel format AR24 little-endian (0x34325241)
июн 10 14:50:21 [hostname] kernel: evdi: [I] (card0) Notifying display power state: on
июн 10 14:50:21 [hostname] kernel: evdi: [W] evdi_painter_connect:900 (card0) Double connect - replacing 000000004f487df2 with 000000004f487df2
июн 10 14:50:21 [hostname] kernel: evdi: [I] (card0) Connected with Task 4176 (DisplayLinkMana) of process 4157 (DisplayLinkMana)
июн 10 14:50:21 [hostname] kernel: evdi: [I] (card0) Connector state: connected
июн 10 14:50:21 [hostname] kernel: evdi: [I] (card0) Notifying mode changed: 3840x2160@60; bpp 32; pixel format AR24 little-endian (0x34325241)
июн 10 14:50:21 [hostname] kernel: evdi: [I] (card0) Notifying display power state: on
июн 10 14:50:21 [hostname] kernel: evdi: [W] evdi_painter_connect:900 (card0) Double connect - replacing 000000004f487df2 with 000000004f487df2
июн 10 14:50:21 [hostname] kernel: evdi: [I] (card0) Connected with Task 4184 (DisplayLinkMana) of process 4157 (DisplayLinkMana)
июн 10 14:50:21 [hostname] kernel: evdi: [I] (card0) Connector state: connected
июн 10 14:50:21 [hostname] kernel: evdi: [I] (card0) Notifying mode changed: 3840x2160@60; bpp 32; pixel format AR24 little-endian (0x34325241)
июн 10 14:50:21 [hostname] kernel: evdi: [I] (card0) Notifying display power state: on
Environment:
- OS: AlterOS 9 (RHEL 9 based) and Fedora 44
- Kernels tested: 6.6.142-1.el9 and 6.19.10-300.fc44
- EVDI Version: 1.14.10 / 1.14.16
Based on my testing, the recurrent warning evdi_gem_mmap:411 Don't allow imported objects to be mapped: owner: i915 is closely linked to the Double connect reconnect loop.
When the DisplayLinkManager daemon attempts to map the imported GEM buffer to read and compress the frame, the kernel's DRM/KMS subsystem blocks the mmap operation because the buffer is owned by the exporter (i915 / xe). This failure may be causing DisplayLinkManager to restart or reinitialize its connection to the evdi device, resulting in the repeated reconnect sequence visible in the logs.
As a virtual, non-hardware graphics device, evdi has to rely on the CPU to read, compress, and transmit these frames over USB. On Linux, imported dma-buf objects cannot always be directly mmap'ed by the importing driver. In this case, evdi appears to be denied CPU access to buffers exported by i915/xe.
The impact of this mapping failure differs dramatically depending on the display server:
- Under X11 + Cinnamon: The synchronous nature of Xorg causes the entire rendering pipeline to choke. Moving the mouse cursor over a 4K DisplayLink monitor spikes the DisplayLinkManager process to over 110% CPU, resulting in severe lags, stuttering, and eventual USB disconnects. Interestingly, the high-priority I/O transfer worker threads (_00007F6FE4002A and _00007F6FE40030 - named on my machine) remain mostly idle because the encoder pipeline is constantly blocked.
- Under Wayland + KDE Plasma: The asynchronous compositor handles the rendering fallback much better, preventing UI freezes. However, this comes at the cost of significantly higher CPU usage. During 4K video playback with mouse movement, the DisplayLinkMana process can consume close to 200% CPU. At the same time, the transport pipeline remains fully active: the encoder threads (SourceEngine_00 and ThreadedDevice_) typically consume around 50% and 40% CPU, while the I/O transfer worker threads (_00007F6FE4002A and _00007F6FE40030 - named on my machine) each use roughly 15% CPU to keep the 4K and 60Hz data stream flowing over USB.
It appears that this evdi_gem_mmap restriction affects both i915 and xe drivers across various kernel versions, severely limiting 4K performance on Intel hardware.
I've reproduced this behaviour on two different laptops, two Linux distributions, multiple kernel versions and two EVDI releases. The exact CPU usage differs between X11 and Wayland, but the evdi_gem_mmap warnings and repeated Double connect messages are present in both cases.
Problem reconfirmed on X11 with kernel Linux kernel 7.1.5 and Nvidia graphics. All display activity stopped until monitorsim was killed (remotely via SSH.)
sudo journalctl -b -k --since "2026-11-03 15:50:00" | grep -Ei 'evdi|drm|nvidia|i915|gpu|timeout|fault|error|hang'
Nov 03 15:52:19 eddy kernel: evdi: [I] (card6) Opened by Task 9572 (monitorsim) of process 9572 (monitorsim)
Nov 03 15:52:19 eddy kernel: evdi: [I] (card6) Added i2c adapter bus number 17
Nov 03 15:52:19 eddy kernel: evdi: [I] (card6) Connected with Task 9572 (monitorsim) of process 9572 (monitorsim)
Nov 03 15:52:19 eddy kernel: evdi: [I] (card6) Connector state: connected
Nov 03 15:52:19 eddy kernel: evdi: [I] (card6) Connector state: connected
Nov 03 15:52:19 eddy kernel: evdi: [I] (card6) Edid property set
Nov 03 15:52:19 eddy kernel: evdi: [I] (card6) Connector state: connected
Nov 03 15:52:19 eddy kernel: evdi: [I] (card6) Edid property set
Nov 03 15:52:20 eddy kernel: evdi: [W] evdi_gem_mmap:494 Don't allow imported objects to be mapped: owner: nvidia_drm
Nov 03 15:52:20 eddy kernel: evdi: [I] (card6) Notifying display power state: on
Nov 03 15:52:20 eddy kernel: evdi: [I] (card6) Notifying mode changed: 800x600@60; bpp 32; pixel format XR24 little-endian (0x34325258)
Nov 03 15:52:20 eddy kernel: evdi: [I] (card6) Notifying display power state: on
Nov 03 15:52:31 eddy kernel: evdi evdi.4: [drm] *ERROR* flip_done timed out
Nov 03 15:52:31 eddy kernel: evdi evdi.4: [drm] *ERROR* [CRTC:39:crtc-0] commit wait timed out
Nov 03 15:52:41 eddy kernel: evdi evdi.4: [drm] *ERROR* flip_done timed out
Nov 03 15:52:41 eddy kernel: evdi evdi.4: [drm] *ERROR* [PLANE:35:plane-0] commit wait timed out
Nov 03 15:52:52 eddy kernel: evdi evdi.4: [drm] *ERROR* flip_done timed out
Nov 03 15:52:52 eddy kernel: evdi evdi.4: [drm] *ERROR* [CRTC:39:crtc-0] commit wait timed out
Nov 03 15:53:02 eddy kernel: evdi evdi.4: [drm] *ERROR* flip_done timed out
Nov 03 15:53:02 eddy kernel: evdi evdi.4: [drm] *ERROR* [PLANE:35:plane-0] commit wait timed out
Nov 03 15:53:13 eddy kernel: evdi evdi.4: [drm] *ERROR* flip_done timed out
Nov 03 15:53:13 eddy kernel: evdi evdi.4: [drm] *ERROR* [CRTC:39:crtc-0] commit wait timed out
Nov 03 15:53:23 eddy kernel: evdi evdi.4: [drm] *ERROR* flip_done timed out
Nov 03 15:53:23 eddy kernel: evdi evdi.4: [drm] *ERROR* [PLANE:35:plane-0] commit wait timed out
Nov 03 15:53:28 eddy kernel: evdi: [I] (card6) Disconnected from Task 9574 (QDBusConnection) of process 9572 (monitorsim)
Nov 03 15:53:28 eddy kernel: evdi: [I] (card6) Removing i2c adapter bus number 17
Nov 03 15:53:28 eddy kernel: evdi: [I] (card6) Closed by Task 9574 (QDBusConnection) of process 9572 (monitorsim)
The above test was with createTimer() in monitorsim/screenpreview.cpp set for screen update at 5 Hz via
createTimer(5); With the original 60 Hz update rate, the journal file was also flooded with messages:
Nov 03 13:46:40 eddy kernel: evdi: [W] evdi_painter_request_update_ioctl:1286 (card6) Update was already requested - ignoring
Nov 03 13:46:40 eddy kernel: evdi: [W] evdi_painter_request_update_ioctl:1286 (card6) Update was already requested - ignoring
Nov 03 13:46:40 eddy kernel: evdi: [W] evdi_painter_request_update_ioctl:1286 (card6) Update was already requested - ignoring
Nov 03 13:46:40 eddy kernel: evdi: [W] evdi_painter_request_update_ioctl:1286 (card6) Update was already requested - ignoring