evdi icon indicating copy to clipboard operation
evdi copied to clipboard

Graphical artifacts on GNOME Wayland, Linux 6.10.3, and EVDI >= 1.14.2

Open archer-65 opened this issue 1 year ago • 5 comments

  • Are you using the latest driver? Yes
  • Are you using the latest EVDI version? Yes
  • If you are using a DisplayLink device, have you checked 'troubleshooting' on DisplayLink's website? Yes
  • Is this issue related to evdi/kernel? It seems so
  • Linux distribution and its version - NixOS Unstable
  • Linux kernel version - 6.10.3
  • Xorg version (if used)
  • Desktop environment in use - GNOME Wayland

I'm experiencing significant graphical artifacts when using GNOME on Wayland with EVDI 1.14.3 (and next versions). These artifacts make the system almost unusable, particularly when interacting with certain applications and desktop elements (try moving windows around if you can reproduce).

Summary:

  • Docking Station: DELL D3100 DisplayLink
  • Operating System: NixOS Unstable, Linux Kernel 6.10.3 (with 6.9.12 and EVDI 1.14.2 is working fine)
  • Desktop Environment: GNOME (Wayland)
  • EVDI Version: >=1.14.3 (rollback to 1.14.2 resolves the issue, tried 1.14.3, 1.14.4, 1.14.5 and 1.14.6)

archer-65 avatar Aug 19 '24 14:08 archer-65

Hi there! I ran git bisect and found the culprit: https://github.com/DisplayLink/evdi/commit/3323f3190dc922f1b4ad5f525f09b72afd2739e0.

In fact, building EVDI 1.14.6 again with the changes above reverted works perfectly.

archer-65 avatar Aug 21 '24 08:08 archer-65

Thank you, you saved my day. I had the same issues, reverting the commit solves it. The 1.14.6 is not very stable for me though, after random 2-3 hours the external monitor stops refreshing and "freezes".

  • Are you using the latest driver? Yes

  • Are you using the latest EVDI version? Yes

  • If you are using a DisplayLink device, have you checked 'troubleshooting' on DisplayLink's website? Yes

  • Is this issue related to evdi/kernel? It seems so

  • Linux distribution and its version - Ubuntu 24.04.1 LTS (Asahi, MacBook M2, aarch64)

  • Linux kernel version - 6.10.0-1001-asahi-arm

  • Xorg version (if used)

  • Desktop environment in use - KDE Wayland

  • Docking station:

    • i-tec USB 3.0 / USB-C / Thunderbolt 3 Dual Display Docking Station + Power Delivery 65W
    • PN: CADUA4KDOCKPDL
    • EAN: 8595611702754

VladimirKadlec avatar Sep 04 '24 14:09 VladimirKadlec

Hi there! I ran git bisect and found the culprit: 3323f31.

In fact, building EVDI 1.14.6 again with the changes above reverted works perfectly.

Hi @archer-65 What machine (CPU and GPU's) do you have? Please also attach dmesg logs.

synaptics-lspintzyk avatar Sep 05 '24 07:09 synaptics-lspintzyk

Hi there! I ran git bisect and found the culprit: 3323f31. In fact, building EVDI 1.14.6 again with the changes above reverted works perfectly.

Hi @archer-65 What machine (CPU and GPU's) do you have? Please also attach dmesg logs.

Hi!

CPU: Intel i7-1255U GPU: Iris Xe

I'll attach the dmesg logs next week, as I currently don't have access to the machine.

archer-65 avatar Sep 05 '24 07:09 archer-65

Hi there! I ran git bisect and found the culprit: 3323f31. In fact, building EVDI 1.14.6 again with the changes above reverted works perfectly.

Hi @archer-65 What machine (CPU and GPU's) do you have? Please also attach dmesg logs.

archer-65 avatar Sep 12 '24 06:09 archer-65

if 'rollback to 1.14.2 resolves the issue' you should probably rename this issue to be titled as '...EVDI >= 1.14.3'. This issue persist for version 1.14.7-109, please also see https://displaylink.org/forum/showthread.php?p=97520

mahlingam avatar Nov 21 '24 08:11 mahlingam

I'm having the artifacts issue too (Dell XPS 9340 with Intel arc gpu on Ubuntu 24.04).

Me trying to install evdi=1.14.2.

$ sudo apt install evdi=1.14.2-69
Place your right index finger on the fingerprint reader
Failed to match fingerprint
[sudo] password for viet: 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
  displaylink-driver
The following packages will be DOWNGRADED:
  evdi
0 upgraded, 0 newly installed, 1 downgraded, 1 to remove and 51 not upgraded.
Need to get 48.2 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] 
Get:1 https://www.synaptics.com/sites/default/files/Ubuntu stable/main amd64 evdi amd64 1.14.2-69 [48.2 kB]
Fetched 48.2 kB in 1s (74.2 kB/s)
(Reading database ... 438284 files and directories currently installed.)
Removing displaylink-driver (6.1.0-17) ...
The unit files have no installation config (WantedBy=, RequiredBy=, UpheldBy=,
Also=, or Alias= settings in the [Install] section, and DefaultInstance= for
template units). This means they are not meant to be enabled or disabled using systemctl.
 
Possible reasons for having these kinds of units are:
• A unit may be statically enabled by being symlinked from another unit's
  .wants/, .requires/, or .upholds/ directory.
• A unit's purpose may be to act as a helper for some other unit which has
  a requirement dependency on it.
• A unit may be started when needed via activation (socket, path, timer,
  D-Bus, udev, scripted systemctl call, ...).
• In case of template units, the unit is meant to be enabled with some
  instance name specified.
dpkg: warning: downgrading evdi from 1.14.7-109 to 1.14.2-69
(Reading database ... 438269 files and directories currently installed.)
Preparing to unpack .../evdi_1.14.2-69_amd64.deb ...
Module evdi-1.14.7 for kernel 6.8.0-49-generic (x86_64).
Before uninstall, this module version was ACTIVE on this kernel.

evdi.ko.zst:
 - Uninstallation
   - Deleting from: /lib/modules/6.8.0-49-generic/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.
depmod...
Module evdi-1.14.7 for kernel 6.8.0-1016-oem (x86_64).
Before uninstall, this module version was ACTIVE on this kernel.

evdi.ko.zst:
 - Uninstallation
   - Deleting from: /lib/modules/6.8.0-1016-oem/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.
depmod...
Module evdi-1.14.7 for kernel 6.8.0-1017-oem (x86_64).
Before uninstall, this module version was ACTIVE on this kernel.

evdi.ko.zst:
 - Uninstallation
   - Deleting from: /lib/modules/6.8.0-1017-oem/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.
depmod......
Module evdi-1.14.7 for kernel 6.8.7-060807-generic (x86_64).
Before uninstall, this module version was ACTIVE on this kernel.

evdi.ko.zst:
 - Uninstallation
   - Deleting from: /lib/modules/6.8.7-060807-generic/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.
depmod...
Module evdi-1.14.7 for kernel 6.11.0-061100-generic (x86_64).
Before uninstall, this module version was ACTIVE on this kernel.

evdi.ko.zst:
 - Uninstallation
   - Deleting from: /lib/modules/6.11.0-061100-generic/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.
depmod...
Deleting module evdi-1.14.7 completely from the DKMS tree.
Unpacking evdi (1.14.2-69) over (1.14.7-109) ...
Setting up evdi (1.14.2-69) ...
Sign command: /usr/bin/kmodsign
Signing key: /var/lib/shim-signed/mok/MOK.priv
Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der
Creating symlink /var/lib/dkms/evdi/1.14.2/source -> /usr/src/evdi-1.14.2

Building module:
Cleaning build area...
make -j22 KERNELRELEASE=6.11.0-061100-generic all INCLUDEDIR=/lib/modules/6.11.0-061100-generic/build/include KVERSION=6.11.0-061100-generic DKMS_BUILD=1...(ba
d exit status: 2)
ERROR (dkms apport): kernel package linux-headers-6.11.0-061100-generic is not supported
Error! Bad return status for module build on kernel: 6.11.0-061100-generic (x86_64)
Consult /var/lib/dkms/evdi/1.14.2/build/make.log for more information.
dpkg: error processing package evdi (--configure):
 installed evdi package post-installation script subprocess returned error exit status 10
Errors were encountered while processing:
 evdi
E: Sub-process /usr/bin/dpkg returned an error code (1)

I noticed it deleted my displaylink-driver. And I got a kernel error. Afterward, I was curious what version evdi I had:

$ dpkg -l | grep evdi
iF  evdi                                             1.14.2-69                                   amd64        Extensible Virtual Display Interface (EVDI) is a Linux® kernel module that enables management of multiple screens.

Since installing evdi deleted my displaylink-driver, I tried to install displaylink-driver again and it upgraded my evdi.

viet@viet-XPS-13-9340:~$ sudo apt install displaylink-driver
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  evdi
Suggested packages:
  xmlstarlet
The following NEW packages will be installed:
  displaylink-driver
The following packages will be upgraded:
  evdi
1 upgraded, 1 newly installed, 0 to remove and 51 not upgraded.
1 not fully installed or removed.
Need to get 6,736 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] 
Get:1 https://www.synaptics.com/sites/default/files/Ubuntu stable/main amd64 evdi amd64 1.14.7-109 [52.2 kB]
Get:2 https://www.synaptics.com/sites/default/files/Ubuntu stable/non-free amd64 displaylink-driver amd64 6.1.0-17 [6,684 kB]
Fetched 6,736 kB in 5s (1,306 kB/s)              
(Reading database ... 438259 files and directories currently installed.)
Preparing to unpack .../evdi_1.14.7-109_amd64.deb ...
Deleting module evdi-1.14.2 completely from the DKMS tree.
Unpacking evdi (1.14.7-109) over (1.14.2-69) ...
Selecting previously unselected package displaylink-driver.
Preparing to unpack .../displaylink-driver_6.1.0-17_amd64.deb ...
Unpacking displaylink-driver (6.1.0-17) ...
Setting up evdi (1.14.7-109) ...
Sign command: /usr/bin/kmodsign
Signing key: /var/lib/shim-signed/mok/MOK.priv
Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der
Creating symlink /var/lib/dkms/evdi/1.14.7/source -> /usr/src/evdi-1.14.7

Building module:
Cleaning build area...
make -j22 KERNELRELEASE=6.11.0-061100-generic all INCLUDEDIR=/lib/modules/6.11.0-061100-generic/build/include KVERSION=6.11.0-061100-generic DKMS_BUILD=1...
Signing module /var/lib/dkms/evdi/1.14.7/build/evdi.ko
Cleaning build area...

evdi.ko.zst:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/6.11.0-061100-generic/updates/dkms/
depmod...

DisplayLink evdi module installed successfully.

 Reboot required!
 Another version of EVDI was loaded before the installation.
 Please, reboot your computer to ensure proper functioning of the software.

Can you please help me out?

vqndev avatar Dec 05 '24 18:12 vqndev

Please try with just release evdi 1.14.8 and also with updated linux kernel if possible.

synaptics-lspintzyk avatar Dec 20 '24 10:12 synaptics-lspintzyk

Please try with just release evdi 1.14.8 and also with updated linux kernel if possible.

It's working fine now!

archer-65 avatar Dec 20 '24 10:12 archer-65

Thank you. Closing.

synaptics-lspintzyk avatar Dec 20 '24 11:12 synaptics-lspintzyk