Blinking mouse cursor when second monitor connected via DisplayLink

I am facing following issue when my monitor is connected to laptop via DisplayLink

blinking cursor displaylink

mouse cursor is blinking, there is this annoying rectangle in the background that is also blinking every few seconds or when moving a mouse

The hardware:

Software: Manjaro, XFCE

What I have observed:

  • when monitor is connected via HDMI directly to laptop then everything is ok so it’s clearly a DisplayLink issue
  • on Windows everything is also ok via DisplayLink.
  • I also have a second laptop with Manjaro as well - everything is fine there. I have noticed following difference: on Lenovo screen refresh rate is 120Hz, Dell monitor 60h, on second laptop both are 60Hz
inxi -v 7                                                                                                                                    ∞ ...
System:
  Host: mariusz-lenovo Kernel: 5.10.206-1-MANJARO arch: x86_64 bits: 64
    compiler: gcc v: 13.2.1 clocksource: tsc
  Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.36 wm: xfwm4 v: 4.18.0
    with: xfce4-panel tools: xfce4-screensaver,light-locker vt: 7 dm: 1: LightDM
    v: 1.32.0 2: SDDM note: stopped Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: LENOVO product: 81Y6 v: Lenovo Legion 5 15IMH05H
    serial: <superuser required> Chassis: type: 10 v: Lenovo Legion 5 15IMH05H
    serial: <superuser required>
  Mobo: LENOVO model: LNVNB161216 v: NO DPK serial: <superuser required>
    part-nu: LENOVO_MT_81Y6_BU_idea_FM_Legion 5 15IMH05H
    uuid: <superuser required> UEFI: LENOVO v: EFCN38WW date: 07/30/2020
Battery:
  ID-1: BAT0 charge: 23.3 Wh (49.9%) condition: 46.7/60.0 Wh (77.8%)
    power: 23.3 W volts: 16.4 min: 15.4 model: SMP L19M4PC0 type: Li-poly
    serial: 1116 status: charging cycles: 1584
Memory:
  System RAM: total: 32 GiB available: 31.27 GiB used: 3.88 GiB (12.4%)
  Message: For most reliable report, use superuser + dmidecode.
  Array-1: capacity: 32 GiB slots: 2 modules: 2 EC: None
    max-module-size: 16 GiB note: est.
  Device-1: ChannelA-DIMM0 type: DDR4 detail: synchronous size: 16 GiB
    speed: 2667 MT/s volts: curr: 1 min: 2 max: 2 width (bits): data: 64
    total: 64 manufacturer: Geil part-no: GR2666S464L19/16G serial: D8480340
  Device-2: ChannelB-DIMM0 type: DDR4 detail: synchronous size: 16 GiB
    speed: 2667 MT/s volts: curr: 1 min: 2 max: 2 width (bits): data: 64
    total: 64 manufacturer: Geil part-no: GR2666S464L19/16G serial: DA480340
CPU:
  Info: 6-core model: Intel Core i7-10750H bits: 64 type: MT MCP smt: enabled
    arch: Comet Lake rev: 2 cache: L1: 384 KiB L2: 1.5 MiB L3: 12 MiB
  Speed (MHz): avg: 3053 high: 3995 min/max: 800/5000 cores: 1: 3408 2: 3282
    3: 2765 4: 3224 5: 3995 6: 2892 7: 3644 8: 2612 9: 3206 10: 2631 11: 2300
    12: 2685 bogomips: 62431
  Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat
    arch_capabilities arch_perfmon art avx avx2 bmi1 bmi2 bts clflush
    clflushopt cmov constant_tsc cpuid cpuid_fault cx16 cx8 de ds_cpl dtes64
    dtherm dts epb ept ept_ad erms est f16c flexpriority flush_l1d fma fpu
    fsgsbase fxsr ht hwp hwp_act_window hwp_epp hwp_notify ibpb ibrs
    ibrs_enhanced ida intel_pt invpcid invpcid_single lahf_lm lm mca mce
    md_clear mmx monitor movbe mpx msr mtrr nonstop_tsc nopl nx ospke pae pat
    pbe pcid pclmulqdq pdcm pdpe1gb pebs pge pku pln pni popcnt pse pse36 pts
    rdrand rdseed rdtscp rep_good sdbg sep smap smep ss ssbd sse sse2 sse4_1
    sse4_2 ssse3 stibp syscall tm tm2 tpr_shadow tsc tsc_adjust
    tsc_deadline_timer vme vmx vnmi vpid x2apic xgetbv1 xsave xsavec xsaveopt
    xsaves xtopology xtpr
Graphics:
  Device-1: NVIDIA TU106M [GeForce RTX 2060 Mobile] vendor: Lenovo
    driver: nvidia v: 470.223.02 arch: Turing pcie: speed: 8 GT/s lanes: 16
    bus-ID: 01:00.0 chip-ID: 10de:1f15 class-ID: 0300
  Device-2: Syntek Integrated Camera driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 bus-ID: 1-6:3 chip-ID: 174f:244c class-ID: 0e02
    serial: 0001
  Display: x11 server: X.Org v: 21.1.10 compositor: xfwm4 v: 4.18.0 driver:
    X: loaded: modesetting,nvidia gpu: evdi display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 3840x1080 s-dpi: 96 s-size: 1016x286mm (40.00x11.26")
    s-diag: 1055mm (41.55")
  Monitor-1: DP-2 pos: right res: 1920x1080 hz: 120 dpi: 142
    size: 344x194mm (13.54x7.64") diag: 395mm (15.55") modes: N/A
  Monitor-2: DVI-I-1-1 pos: primary,left res: 1920x1080 hz: 60 dpi: 82
    size: 598x336mm (23.54x13.23") diag: 686mm (27.01") modes: N/A
  API: EGL v: 1.5 hw: drv: nvidia platforms: device: 0 drv: nvidia device: 2
    drv: swrast gbm: drv: kms_swrast surfaceless: drv: swrast x11: drv: nvidia
    inactive: wayland,device-1
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 470.223.02
    glx-v: 1.4 direct-render: yes renderer: NVIDIA GeForce RTX 2060/PCIe/SSE2
  API: Vulkan v: 1.3.274 layers: 5 surfaces: xcb,xlib device: 0
    type: discrete-gpu driver: nvidia device-ID: 10de:1f15
Audio:
  Device-1: Intel Comet Lake PCH cAVS vendor: Lenovo driver: snd_hda_intel
    v: kernel bus-ID: 00:1f.3 chip-ID: 8086:06c8 class-ID: 0403
  Device-2: NVIDIA TU106 High Definition Audio vendor: Lenovo
    driver: snd_hda_intel v: kernel pcie: speed: 8 GT/s lanes: 16
    bus-ID: 01:00.1 chip-ID: 10de:10f9 class-ID: 0403
  Device-3: DisplayLink Targus USB3.0 DV Dock with Power
    driver: cdc_ncm,snd-usb-audio,usbfs type: USB rev: 3.2 speed: 5 Gb/s
    lanes: 1 bus-ID: 2-3.1:6 chip-ID: 17e9:4306 class-ID: 0a00
    serial: 10623369
  API: ALSA v: k5.10.206-1-MANJARO status: kernel-api with: aoss
    type: oss-emulator
  Server-1: JACK v: 1.9.22 status: off
  Server-2: PipeWire v: 1.0.0 status: off with: wireplumber status: active
  Server-3: PulseAudio v: 16.1 status: active with: 1: pulseaudio-alsa
    type: plugin 2: pulseaudio-jack type: module
Network:
  Device-1: Intel Comet Lake PCH CNVi WiFi driver: iwlwifi v: kernel
    bus-ID: 00:14.3 chip-ID: 8086:06f0 class-ID: 0280
  IF: wlp0s20f3 state: up mac: 34:c9:3d:2b:21:1d
  IP v4: 192.168.100.44/24 type: dynamic noprefixroute scope: global
    broadcast: 192.168.100.255
  IP v6: fe80::a211:ae86:dbe4:b68c/64 type: noprefixroute scope: link
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Lenovo driver: r8169 v: kernel pcie: speed: 2.5 GT/s lanes: 1
    port: 3000 bus-ID: 07:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp7s0 state: down mac: 54:05:db:4b:08:26
  IF-ID-1: br-040e46a70389 state: down mac: 02:42:b3:fc:ba:d4
  IP v4: 172.18.0.1/16 scope: global broadcast: 172.18.255.255
  IF-ID-2: br-0e8a5ad46e6e state: down mac: 02:42:49:58:93:e1
  IP v4: 192.168.49.1/24 scope: global broadcast: 192.168.49.255
  IF-ID-3: docker0 state: down mac: 02:42:dc:3c:56:88
  IP v4: 172.17.0.1/16 scope: global broadcast: 172.17.255.255
  IF-ID-4: docker_gwbridge state: down mac: 02:42:3d:af:81:fe
  IP v4: 172.19.0.1/16 scope: global broadcast: 172.19.255.255
  IF-ID-5: enp0s20f0u3u1i5 state: down mac: 00:50:b6:a5:de:cb
  IF-ID-6: ztwfuighl3 state: unknown speed: 10 Mbps duplex: full
    mac: ca:99:84:0f:42:0b
  IP v6: fe80::c899:84ff:fe0f:420b/64 scope: link
  WAN IP: 185.13.187.62
Bluetooth:
  Device-1: Intel AX201 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
    speed: 12 Mb/s lanes: 1 bus-ID: 1-14:5 chip-ID: 8087:0026 class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 3 state: up address: see --recommends
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 953.87 GiB used: 93.29 GiB (9.8%)
  ID-1: /dev/nvme0n1 vendor: Intel model: SSDPEKNW010T9 size: 953.87 GiB
    speed: 31.6 Gb/s lanes: 4 tech: SSD serial: BTNR03240Q2P1P0B fw-rev: 001C
    temp: 33.9 C scheme: GPT
  Message: No optical or floppy data found.
Partition:
  ID-1: / size: 114.45 GiB used: 93.11 GiB (81.4%) fs: ext4
    dev: /dev/nvme0n1p6 label: N/A uuid: 61ee80a6-09b5-47a2-832c-d9200679b372
  ID-2: /boot/efi size: 346 MiB used: 182.4 MiB (52.7%) fs: vfat
    dev: /dev/nvme0n1p1 label: SYSTEM uuid: 9A89-3DAC
Swap:
  ID-1: swap-1 type: partition size: 15.62 GiB used: 0 KiB (0.0%) priority: -2
    dev: /dev/nvme0n1p5 label: N/A uuid: 9163fc0e-26a2-4595-86ec-c364f07a663f
Unmounted:
  ID-1: /dev/nvme0n1p2 size: 128 MiB fs: <superuser required> label: N/A
    uuid: N/A
  ID-2: /dev/nvme0n1p3 size: 230.27 GiB fs: ntfs label: Windows
    uuid: 0E4C89C74C89AA53
  ID-3: /dev/nvme0n1p4 size: 590.67 GiB fs: ntfs label: DATA
    uuid: 926C8A3E6C8A1CDB
USB:
  Hub-1: 1-0:1 info: hi-speed hub with single TT ports: 16 rev: 2.0
    speed: 480 Mb/s lanes: 1 chip-ID: 1d6b:0002 class-ID: 0900
  Hub-2: 1-2:17 info: VIA Labs VL812 Hub ports: 4 rev: 2.1 speed: 480 Mb/s
    lanes: 1 chip-ID: 2109:2812 class-ID: 0900
  Hub-3: 1-2.2:18 info: Terminus Hub ports: 4 rev: 2.0 speed: 480 Mb/s
    lanes: 1 power: 100mA chip-ID: 1a40:0101 class-ID: 0900
  Device-1: 1-2.2.3:19 info: Natural Point type: N/A driver: N/A
    interfaces: 1 rev: 2.0 speed: 12 Mb/s lanes: 1 power: 366mA
    chip-ID: 131d:0159 class-ID: 0000
  Device-2: 1-3:2 info: Logitech M185 compact wireless mouse type: mouse
    driver: hid-generic,usbhid interfaces: 1 rev: 1.1 speed: 12 Mb/s lanes: 1
    power: 50mA chip-ID: 046d:c542 class-ID: 0301
  Device-3: 1-6:3 info: Syntek Integrated Camera type: video
    driver: uvcvideo interfaces: 2 rev: 2.0 speed: 480 Mb/s lanes: 1
    power: 500mA chip-ID: 174f:244c class-ID: 0e02 serial: 0001
  Device-4: 1-9:4 info: Integrated Express ITE Device(8910) type: keyboard
    driver: hid-generic,usbhid interfaces: 1 rev: 2.0 speed: 12 Mb/s lanes: 1
    power: 100mA chip-ID: 048d:c100 class-ID: 0301
  Device-5: 1-14:5 info: Intel AX201 Bluetooth type: bluetooth driver: btusb
    interfaces: 2 rev: 2.0 speed: 12 Mb/s lanes: 1 power: 100mA
    chip-ID: 8087:0026 class-ID: e001
  Hub-4: 2-0:1 info: super-speed hub ports: 8 rev: 3.1 speed: 10 Gb/s
    lanes: 1 chip-ID: 1d6b:0003 class-ID: 0900
  Hub-5: 2-3:5 info: VIA Labs VL812 Hub ports: 4 rev: 3.0 speed: 5 Gb/s
    lanes: 1 chip-ID: 2109:0812 class-ID: 0900
  Device-1: 2-3.1:6 info: DisplayLink Targus USB3.0 DV Dock with Power
    type: audio,communication,CDC-data driver: cdc_ncm,snd-usb-audio,usbfs
    interfaces: 7 rev: 3.2 speed: 5 Gb/s lanes: 1 power: 8mA
    chip-ID: 17e9:4306 class-ID: 0a00 serial: 10623369
  Hub-6: 3-0:1 info: hi-speed hub with single TT ports: 2 rev: 2.0
    speed: 480 Mb/s lanes: 1 chip-ID: 1d6b:0002 class-ID: 0900
  Hub-7: 4-0:1 info: super-speed hub ports: 4 rev: 3.1 speed: 10 Gb/s
    lanes: 1 chip-ID: 1d6b:0003 class-ID: 0900
Sensors:
  System Temperatures: cpu: 45.0 C pch: 45.0 C mobo: N/A gpu: nvidia
    temp: 41 C
  Fan Speeds (rpm): N/A
Info:
  Processes: 374 Power: uptime: 50m states: freeze,mem,disk suspend: deep
    wakeups: 0 hibernate: platform Init: systemd v: 255 default: graphical
  Packages: 1856 pm: pacman pkgs: 1827 pm: flatpak pkgs: 16 pm: snap
    pkgs: 13 Compilers: clang: 16.0.6 gcc: 13.2.1 Shell: Zsh v: 5.9
    running-in: xfce4-terminal inxi: 3.3.32

xrandr output when monitor is connected via DisplayLink (blinking cursor)

xrandr                                                                                                                                       ∞ ...
Screen 0: minimum 8 x 8, current 3840 x 1080, maximum 32767 x 32767
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-0 disconnected (normal left inverted right x axis y axis)
DP-2 connected 1920x1080+1920+0 (normal left inverted right x axis y axis) 344mm x 194mm
   1920x1080    120.00*+
DVI-I-1-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 598mm x 336mm
   1920x1080     60.00*+  50.00    59.94  
   1600x900      60.00  
   1280x1024     75.02    60.02  
   1152x864      75.00  
   1280x720      60.00    50.00    59.94  
   1024x768      75.03    60.00  
   800x600       75.00    60.32  
   720x576       50.00  
   720x480       60.00    59.94  
   640x480       75.00    60.00    59.94  
   720x400       70.08 

and xrandr output when monitor is connected directly via HDMI (no blinking cursor here):

Screen 0: minimum 8 x 8, current 3840 x 1080, maximum 32767 x 32767
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-0 connected 1920x1080+1920+0 (normal left inverted right x axis y axis) 598mm x 336mm
   1920x1080     60.00*+  59.94    50.00  
   1600x900      60.00  
   1280x1024     75.02    60.02  
   1280x720      60.00    59.94    50.00  
   1152x864      75.00  
   1024x768      75.03    60.00  
   800x600       75.00    60.32  
   720x576       50.00  
   720x480       59.94  
   640x480       75.00    59.94    59.93  
DP-2 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 194mm
   1920x1080    120.00*+

I have set up DisplayLink based on instructions from the following page Arch Linux Wiki DisplayLink
I also have tried changing modeline according to Wiki, but it didn’t help.

Thank you in advance for your help.