PDA

View Full Version : Support Ubuntu 20.04 LTS (Focal Fossa)


Josemlp
03-06-2020, 09:36 AM
I am try to install displaylink driver in Ubuntu 20.04 LTS (Focal Fossa)
(linux kernel 5.4.0-14-generic), but the instalation finish with the error:


make[1]: se sale del directorio '/usr/src/linux-headers-5.4.0-14-generic'


It planned some new release to fix this problems?
Thank! Regars

PilotPaul
03-11-2020, 11:51 AM
With Ubuntu 20.04 due out in the next month, I would be most interested in beta testing any new drivers that support this release...

gvart
03-12-2020, 04:48 PM
I'm facing same issue after upgrading from 19.10 to 20.04
Displays are not working anymore and I'm not able to use them at all.

For those who in the same situation, you can use an opensource drivers which worked for me https://github.com/AdnanHodzic/displaylink-debian

RobstaRobotard
03-19-2020, 07:15 PM
I'm facing same issue after upgrading from 19.10 to 20.04
Displays are not working anymore and I'm not able to use them at all.

For those who in the same situation, you can use an opensource drivers which worked for me https://github.com/AdnanHodzic/displaylink-debian

The displaylink-debian definitely installs focal based drivers (it shows as it installs):

During the installation it downloads from our friendly neighbourhood DisplayLink webpage:
https://www.displaylink.com/downloads/file?id=1369

DisplayLink Linux Software 5.2.14 install script called: install
Distribution discovered: Ubuntu Focal Fossa (development branch)

The github page where you likely found displaylink-debian also mentions that it downloads from the displaylink site then does some patching and installing of items...

I'm still trying to iron out some things as am new to displaylink, but hope this helps...

djkajo
04-17-2020, 09:00 PM
Same situation here, just upgraded to 20.04 and the secondary display stoped working, i use a thinkpad dock connected to the laptop and got it to work on Ubuntu 19 with the latest displaylink driver, now even reinstalling the driver it does not work.

I have tried the open source drivers advised here but even after following all the steps it does not work either.
Any update soon ?

ESSEDIA
04-23-2020, 08:47 AM
Verifying archive integrity... 100% All good.
Uncompressing DisplayLink Linux Driver 5.2.14 100%
DisplayLink Linux Software 5.2.14 install script called: install
Distribution discovered: Ubuntu 20.04 LTS
Installing
Configuring EVDI DKMS module
Registering EVDI kernel module with DKMS
Building EVDI kernel module with DKMS
ERROR (code 3): Failed to build evdi/5.2.14. Consult /var/lib/dkms/evdi/5.2.14/build/make.log for details..

make.log:
DKMS make.log for evdi-5.2.14 for kernel 5.4.0-26-generic (x86_64)
gio 23 apr 2020, 10:41:26, CEST
make KBUILD_VERBOSE=1 SUBDIRS=/var/lib/dkms/evdi/5.2.14/build SRCROOT=/var/lib/dkms/evdi/5.2.14/build CONFIG_MODULE_SIG= -C /lib/modules/5.4.0-26-generic/build modules
make[1]: ingresso nella directory "/usr/src/linux-headers-5.4.0-26-generic"
make -f ./Makefile syncconfig
make -f ./scripts/Makefile.build obj=scripts/basic
rm -f .tmp_quiet_recordmcount
make -f ./scripts/Makefile.build obj=scripts/kconfig syncconfig
flex -oscripts/kconfig/lexer.lex.c -L scripts/kconfig/lexer.l
/bin/sh: 1: flex: not found
make[3]: *** [scripts/Makefile.host:9: scripts/kconfig/lexer.lex.c] Error 127
make[3]: *** Attesa per i processi non terminati....
bison -o scripts/kconfig/parser.tab.c --defines=scripts/kconfig/parser.tab.h -t -l scripts/kconfig/parser.y
/bin/sh: 1: bison: not found
make[3]: *** [scripts/Makefile.host:17: scripts/kconfig/parser.tab.h] Error 127
make[2]: *** [Makefile:594: syncconfig] Error 2
make[1]: *** [Makefile:704: include/config/auto.conf.cmd] Error 2
make[1]: uscita dalla directory "/usr/src/linux-headers-5.4.0-26-generic"
make: *** [Makefile:22: all] Error 2

also I have tried to install evdi-dkms from repository, but same output

ESSEDIA
04-24-2020, 08:29 AM
Request support for Ubuntu 20.04
Here diagnostic tool output

willianmacedo
04-24-2020, 12:38 PM
in version 19.10 we already had the problem of disconnecting the displays eventually.

now in version 20.04 LTS general error in the driver.
Failed to build evdi / 5.2.14. Consult /var/lib/dkms/evdi/5.2.14/build/make.log for details ..

Janne
04-24-2020, 04:41 PM
Verifying archive integrity... 100% All good.
Uncompressing DisplayLink Linux Driver 5.2.14 100%
DisplayLink Linux Software 5.2.14 install script called: install
Distribution discovered: Ubuntu 20.04 LTS
Installing
Configuring EVDI DKMS module
Registering EVDI kernel module with DKMS
Building EVDI kernel module with DKMS
ERROR (code 3): Failed to build evdi/5.2.14. Consult /var/lib/dkms/evdi/5.2.14/build/make.log for details..

make.log:
DKMS make.log for evdi-5.2.14 for kernel 5.4.0-26-generic (x86_64)
gio 23 apr 2020, 10:41:26, CEST
make KBUILD_VERBOSE=1 SUBDIRS=/var/lib/dkms/evdi/5.2.14/build SRCROOT=/var/lib/dkms/evdi/5.2.14/build CONFIG_MODULE_SIG= -C /lib/modules/5.4.0-26-generic/build modules
make[1]: ingresso nella directory "/usr/src/linux-headers-5.4.0-26-generic"
make -f ./Makefile syncconfig
make -f ./scripts/Makefile.build obj=scripts/basic
rm -f .tmp_quiet_recordmcount
make -f ./scripts/Makefile.build obj=scripts/kconfig syncconfig
flex -oscripts/kconfig/lexer.lex.c -L scripts/kconfig/lexer.l
/bin/sh: 1: flex: not found
make[3]: *** [scripts/Makefile.host:9: scripts/kconfig/lexer.lex.c] Error 127
make[3]: *** Attesa per i processi non terminati....
bison -o scripts/kconfig/parser.tab.c --defines=scripts/kconfig/parser.tab.h -t -l scripts/kconfig/parser.y
/bin/sh: 1: bison: not found
make[3]: *** [scripts/Makefile.host:17: scripts/kconfig/parser.tab.h] Error 127
make[2]: *** [Makefile:594: syncconfig] Error 2
make[1]: *** [Makefile:704: include/config/auto.conf.cmd] Error 2
make[1]: uscita dalla directory "/usr/src/linux-headers-5.4.0-26-generic"
make: *** [Makefile:22: all] Error 2

also I have tried to install evdi-dkms from repository, but same output

If you look into the log you can see the flex command is not installed, install by

sudo aprt-get install flex

But next you will get an new problem and another and it will fail anyhow.

An option I used is https://www.displaylink.com/downloads/file?id=1369 it possible to run and get DisplayLink to work for 20.04 version.

polrus
04-24-2020, 06:02 PM
I have the same issue

I installed flex, bison, libelf-dev
but still the installation fails.

I bought 3 x displaylink devices last week - pls support and update the driver for the newest kernel

Also it is a shame that in 2020 and Ubuntu 20.04 installation instruction is dated 2014 and mentiones ubuntu 14 :/
cat /dev/null ) > arch/x86/platform/uv/modules.builtin
(for m in ; do echo $m; done; \
cat /dev/null arch/x86/platform/atom/modules.builtin arch/x86/platform/ce4100/modules.builtin arch/x86/platform/efi/modules.builtin arch/x86/platform/geode/modules.builtin arch/x86/platform/goldfish/modules.builtin arch/x86/platform/intel/modules.builtin arch/x86/platform/intel-mid/modules.builtin arch/x86/platform/intel-quark/modules.builtin arch/x86/platform/iris/modules.builtin arch/x86/platform/olpc/modules.builtin arch/x86/platform/scx200/modules.builtin arch/x86/platform/sfi/modules.builtin arch/x86/platform/ts5500/modules.builtin arch/x86/platform/uv/modules.builtin) > arch/x86/platform/modules.builtin
(for m in ; do echo $m; done; \
cat /dev/null arch/x86/crypto/modules.builtin arch/x86/entry/modules.builtin arch/x86/events/modules.builtin arch/x86/ia32/modules.builtin arch/x86/kernel/modules.builtin arch/x86/mm/modules.builtin arch/x86/net/modules.builtin arch/x86/platform/modules.builtin arch/x86/platform/pvh/modules.builtin arch/x86/purgatory/modules.builtin arch/x86/realmode/modules.builtin arch/x86/xen/modules.builtin) > arch/x86/modules.builtin
make[1]: Leaving directory '/usr/src/linux-headers-5.4.0-26-generic'
make: *** [Makefile:22: all] Error 2

willianmacedo
04-24-2020, 07:07 PM
in version 19.10 we already had the problem of disconnecting the displays eventually.

now in version 20.04 LTS general error in the driver.
Failed to build evdi / 5.2.14. Consult /var/lib/dkms/evdi/5.2.14/build/make.log for details ..

log

DKMS make.log for evdi-5.2.14 for kernel 5.4.0-26-generic (x86_64)
sex 24 abr 2020 16:01:43 -03
make KBUILD_VERBOSE=1 SUBDIRS=/var/lib/dkms/evdi/5.2.14/build SRCROOT=/var/lib/dkms/evdi/5.2.14/build CONFIG_MODULE_SIG= -C /lib/modules/5.4.0-26-generic/build modules
make[1]: Entering directory '/usr/src/linux-headers-5.4.0-26-generic'
make -f ./Makefile syncconfig
make -f ./scripts/Makefile.build obj=scripts/basic
rm -f .tmp_quiet_recordmcount
make -f ./scripts/Makefile.build obj=scripts/kconfig syncconfig
bison -o scripts/kconfig/parser.tab.c --defines=scripts/kconfig/parser.tab.h -t -l scripts/kconfig/parser.y
/bin/sh: 1: bison: not found
make[3]: *** [scripts/Makefile.host:17: scripts/kconfig/parser.tab.h] Error 127
make[2]: *** [Makefile:594: syncconfig] Error 2
make[1]: *** [Makefile:704: include/config/auto.conf.cmd] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.4.0-26-generic'
make: *** [Makefile:22: all] Error 2

willianmacedo
04-24-2020, 07:12 PM
works on 19.10 when you upgrade to 20.04lts to stop working.

smhanov
04-24-2020, 08:39 PM
This is confirmation that following the instructions on https://github.com/AdnanHodzic/displaylink-debian works with Ubuntu 20.04.

With the official drivers, even after installing flex and bison, it will not work because the makefile cannot find Build.include in the kernel headers.

After running:
sudo apt install git
git clone https://github.com/AdnanHodzic/displaylink-debian.git
cd displaylink-debian/ && sudo ./displaylink-debian.sh

Then, reboot, and "delete all secure boot variables" in bios or otherwise remove secureboot.

Chilcano
04-24-2020, 08:48 PM
This is confirmation that following the instructions on https://github.com/AdnanHodzic/displaylink-debian works with Ubuntu 20.04.

With the official drivers, even after installing flex and bison, it will not work because the makefile cannot find Build.include in the kernel headers.

After running:
sudo apt install git
git clone https://github.com/AdnanHodzic/displaylink-debian.git
cd displaylink-debian/ && sudo ./displaylink-debian.sh

Then, reboot, and "delete all secure boot variables" in bios or otherwise remove secureboot.

Hi Smhanov.
I've followed these instructions without success. I've reported here: https://github.com/AdnanHodzic/displaylink-debian/issues/391

Please, Could you share more details here.
What does mean `delete all secure boot variables` ?.

Regards.

jorcalle11
04-25-2020, 05:32 AM
Hey there!

I having errors when I trying to install Display link driver on Ubuntu 20.04.
This is the log of the /var/lib/dkms/evdi/5.2.14/build/make.log file.


cat /dev/null drivers/video/backlight/modules.builtin drivers/video/console/modules.builtin drivers/video/fbdev/modules.builtin) > drivers/video/modules.builtin
(for m in ; do echo $m; done; \
cat /dev/null drivers/net/ethernet/3com/modules.builtin drivers/net/ethernet/8390/modules.builtin drivers/net/ethernet/adaptec/modules.builtin drivers/net/ethernet/agere/modules.builtin drivers/net/ethernet/alacritech/modules.builtin drivers/net/ethernet/alteon/modules.builtin drivers/net/ethernet/amazon/modules.builtin drivers/net/ethernet/amd/modules.builtin drivers/net/ethernet/aquantia/modules.builtin drivers/net/ethernet/arc/modules.builtin drivers/net/ethernet/atheros/modules.builtin drivers/net/ethernet/aurora/modules.builtin drivers/net/ethernet/broadcom/modules.builtin drivers/net/ethernet/brocade/modules.builtin drivers/net/ethernet/cadence/modules.builtin drivers/net/ethernet/cavium/modules.builtin drivers/net/ethernet/chelsio/modules.builtin drivers/net/ethernet/cirrus/modules.builtin drivers/net/ethernet/cisco/modules.builtin drivers/net/ethernet/cortina/modules.builtin drivers/net/ethernet/dec/modules.builtin drivers/net/ethernet/dlink/modules.builtin drivers/net/ethernet/emulex/modules.builtin drivers/net/ethernet/ezchip/modules.builtin drivers/net/ethernet/fujitsu/modules.builtin drivers/net/ethernet/google/modules.builtin drivers/net/ethernet/hp/modules.builtin drivers/net/ethernet/huawei/modules.builtin drivers/net/ethernet/i825xx/modules.builtin drivers/net/ethernet/intel/modules.builtin drivers/net/ethernet/marvell/modules.builtin drivers/net/ethernet/mellanox/modules.builtin drivers/net/ethernet/micrel/modules.builtin drivers/net/ethernet/microchip/modules.builtin drivers/net/ethernet/mscc/modules.builtin drivers/net/ethernet/myricom/modules.builtin drivers/net/ethernet/natsemi/modules.builtin drivers/net/ethernet/neterion/modules.builtin drivers/net/ethernet/netronome/modules.builtin drivers/net/ethernet/ni/modules.builtin drivers/net/ethernet/nvidia/modules.builtin drivers/net/ethernet/oki-semi/modules.builtin drivers/net/ethernet/packetengines/modules.builtin drivers/net/ethernet/pensando/modules.builtin drivers/net/ethernet/qlogic/modules.builtin drivers/net/ethernet/qualcomm/modules.builtin drivers/net/ethernet/rdc/modules.builtin drivers/net/ethernet/realtek/modules.builtin drivers/net/ethernet/renesas/modules.builtin drivers/net/ethernet/rocker/modules.builtin drivers/net/ethernet/samsung/modules.builtin drivers/net/ethernet/seeq/modules.builtin drivers/net/ethernet/sfc/modules.builtin drivers/net/ethernet/silan/modules.builtin drivers/net/ethernet/sis/modules.builtin drivers/net/ethernet/smsc/modules.builtin drivers/net/ethernet/socionext/modules.builtin drivers/net/ethernet/stmicro/modules.builtin drivers/net/ethernet/sun/modules.builtin drivers/net/ethernet/synopsys/modules.builtin drivers/net/ethernet/tehuti/modules.builtin drivers/net/ethernet/ti/modules.builtin drivers/net/ethernet/via/modules.builtin drivers/net/ethernet/wiznet/modules.builtin drivers/net/ethernet/xilinx/modules.builtin drivers/net/ethernet/xircom/modules.builtin) > drivers/net/ethernet/modules.builtin
(for m in drivers/net/tun.ko drivers/net/xen-netfront.ko; do echo $m; done; \
cat /dev/null drivers/net/dsa/modules.builtin drivers/net/ethernet/modules.builtin drivers/net/fddi/modules.builtin drivers/net/hamradio/modules.builtin drivers/net/phy/modules.builtin drivers/net/ppp/modules.builtin drivers/net/slip/modules.builtin drivers/net/wan/modules.builtin drivers/net/wireless/modules.builtin) > drivers/net/modules.builtin
(for m in ; do echo $m; done; \
cat /dev/null drivers/acpi/modules.builtin drivers/amba/modules.builtin drivers/android/modules.builtin drivers/ata/modules.builtin drivers/auxdisplay/modules.builtin drivers/base/modules.builtin drivers/block/modules.builtin drivers/bus/modules.builtin drivers/cdrom/modules.builtin drivers/char/modules.builtin drivers/char/ipmi/modules.builtin drivers/clk/modules.builtin drivers/clocksource/modules.builtin drivers/connector/modules.builtin drivers/cpufreq/modules.builtin drivers/cpuidle/modules.builtin drivers/crypto/modules.builtin drivers/dax/modules.builtin drivers/devfreq/modules.builtin drivers/dma/modules.builtin drivers/dma-buf/modules.builtin drivers/edac/modules.builtin drivers/eisa/modules.builtin drivers/extcon/modules.builtin drivers/firewire/modules.builtin drivers/firmware/modules.builtin drivers/gpio/modules.builtin drivers/gpu/modules.builtin drivers/hwmon/modules.builtin drivers/hwspinlock/modules.builtin drivers/hwtracing/intel_th/modules.builtin drivers/i2c/modules.builtin drivers/i3c/modules.builtin drivers/idle/modules.builtin drivers/input/modules.builtin drivers/input/serio/modules.builtin drivers/iommu/modules.builtin drivers/irqchip/modules.builtin drivers/isdn/modules.builtin drivers/leds/modules.builtin drivers/lightnvm/modules.builtin drivers/macintosh/modules.builtin drivers/mailbox/modules.builtin drivers/md/modules.builtin drivers/media/modules.builtin drivers/memory/modules.builtin drivers/message/modules.builtin drivers/mfd/modules.builtin drivers/misc/modules.builtin drivers/mmc/modules.builtin drivers/net/modules.builtin drivers/nfc/modules.builtin drivers/nvdimm/modules.builtin drivers/nvme/modules.builtin drivers/nvmem/modules.builtin drivers/opp/modules.builtin drivers/pci/modules.builtin drivers/perf/modules.builtin drivers/phy/modules.builtin drivers/pinctrl/modules.builtin drivers/platform/modules.builtin drivers/pnp/modules.builtin drivers/power/modules.builtin drivers/powercap/modules.builtin drivers/pps/modules.builtin drivers/ptp/modules.builtin drivers/pwm/modules.builtin drivers/rapidio/modules.builtin drivers/ras/modules.builtin drivers/regulator/modules.builtin drivers/remoteproc/modules.builtin drivers/reset/modules.builtin drivers/rtc/modules.builtin drivers/scsi/modules.builtin drivers/sfi/modules.builtin drivers/soc/modules.builtin drivers/spi/modules.builtin drivers/staging/modules.builtin drivers/thermal/modules.builtin drivers/tty/modules.builtin drivers/usb/modules.builtin drivers/vfio/modules.builtin drivers/video/modules.builtin drivers/virt/modules.builtin drivers/virtio/modules.builtin drivers/vme/modules.builtin drivers/watchdog/modules.builtin drivers/xen/modules.builtin) > drivers/modules.builtin
make[1]: Leaving directory '/usr/src/linux-headers-5.4.0-26-generic'
make: *** [Makefile:22: all] Error 2

djkajo
04-25-2020, 02:14 PM
This is confirmation that following the instructions on https://github.com/AdnanHodzic/displaylink-debian works with Ubuntu 20.04.

With the official drivers, even after installing flex and bison, it will not work because the makefile cannot find Build.include in the kernel headers.

After running:
sudo apt install git
git clone https://github.com/AdnanHodzic/displaylink-debian.git
cd displaylink-debian/ && sudo ./displaylink-debian.sh

Then, reboot, and "delete all secure boot variables" in bios or otherwise remove secureboot.

I can confirm it also worked for me.
I did the above steps, rebooted, checked if secureboot was disabled (it was), when ubuntu booted the secundary screen started working.
I have the secondary screen connected to a Lenovo Thinkpad x1 thru a Thinkpad Dock.
Thanks !!

jorcalle11
04-25-2020, 04:22 PM
Thank you djkajo!

I can confirm it worked for me on my dell XPS and Dell D6000 dock following the instructions that you followed as well.

I hope that solution works for everyone here!

bigdogg
04-26-2020, 02:39 AM
there is a PR to fix the script. this is what worked for me

https://github.com/AdnanHodzic/displaylink-debian/pull/392/files

Chilcano
04-27-2020, 01:45 PM
there is a PR to fix the script. this is what worked for me

https://github.com/AdnanHodzic/displaylink-debian/pull/392/files

Yes, It worked for me.
Thanks

davidjonbarnes@yahoo.co.u
04-29-2020, 06:52 AM
I have tried the displaylink-debian but it has errors - HUNK failed
I am wondering whether it would work if i did a fresh install of 20.04
I am wondering if someone has instructions for completely removing the official DisplayLink driver before trying displaylink-debian
I have a Thinkpad with Intel Graphics

SuperQuokka
04-29-2020, 10:24 PM
I have tried the displaylink-debian but it has errors - HUNK failed
I am wondering whether it would work if i did a fresh install of 20.04
I am wondering if someone has instructions for completely removing the official DisplayLink driver before trying displaylink-debian
I have a Thinkpad with Intel Graphics

I have the same issue, Intel Thinkpad, worked under Eaon, did a fresh install of Focal, managed to get video working with help from here. Then Focal got an update yesterday (pretty sure I saw EVDI name in packages being updated) and now no video. Previous fixes not working :(
You could try a fresh Linux install, but as soon as it tries to update I suspect you'll hit the same issue.

SuperQuokka
04-29-2020, 10:32 PM
This is confirmation that following the instructions on https://github.com/AdnanHodzic/displaylink-debian works with Ubuntu 20.04.
It worked right up until Ubuntu downloaded some updates yesterday. Then nada.

davidjonbarnes@yahoo.co.u
04-30-2020, 10:55 AM
I have the same issue, Intel Thinkpad, worked under Eaon, did a fresh install of Focal, managed to get video working with help from here. Then Focal got an update yesterday (pretty sure I saw EVDI name in packages being updated) and now no video. Previous fixes not working :(
You could try a fresh Linux install, but as soon as it tries to update I suspect you'll hit the same issue.

I really wanted to try scaling too - why no word when new official drivers will be released? We shouldnt really need to compile them ourselves either.

qnarkill
04-30-2020, 07:20 PM
Got the displaylink working on 20.04 @ amd and vega graphics and wayland. I had to install libdrm-dev to avoid the drm.h error while running install from the git clone. Now everythings fine other than the graphics and sound seem to be slightly cutting off and choppy. Anyways 100% better than without it.:p

tttkevin
04-30-2020, 09:28 PM
The official Ubuntu 20.04 driver may be coming soon! Check this out:
https://support.displaylink.com/knowledgebase/articles/1944022-how-to-install-displaylink-software-on-ubuntu-20-0

SuperQuokka
05-01-2020, 12:38 AM
The official Ubuntu 20.04 driver may be coming soon! Check this out:
https://support.displaylink.com/knowledgebase/articles/1944022-how-to-install-displaylink-software-on-ubuntu-20-0
Excellent! That is good news!

Fezzi
05-01-2020, 08:45 AM
The official Ubuntu 20.04 driver may be coming soon! Check this out:
https://support.displaylink.com/knowledgebase/articles/1944022-how-to-install-displaylink-software-on-ubuntu-20-0

Its about time! Saw it too and if already published, the driver should be available for download asap...

Have 2 of the docks and would be very disappointed if it would not be supported anymore..

gjorgi
05-01-2020, 01:04 PM
there is a PR to fix the script. this is what worked for me

https://github.com/AdnanHodzic/displaylink-debian/pull/392/files

Works like a charm.
Thanks

garipat
05-01-2020, 01:42 PM
This is confirmation that following the instructions on https://github.com/AdnanHodzic/displaylink-debian works with Ubuntu 20.04.

With the official drivers, even after installing flex and bison, it will not work because the makefile cannot find Build.include in the kernel headers.

After running:
sudo apt install git
git clone https://github.com/AdnanHodzic/displaylink-debian.git
cd displaylink-debian/ && sudo ./displaylink-debian.sh

Then, reboot, and "delete all secure boot variables" in bios or otherwise remove secureboot.

I followed the procedure and It worked well. the only problem I have with my ThinkPad Hybrid USB-C with USB-A is that I have a pageflip issue as described :
https://support.displaylink.com/knowledgebase/articles/1181623-displaylink-ubuntu-driver-after-recent-x-upgrades
But the troubleshooting is already installed but doesn't work

Do you guys having the same problem ?

PilotPaul
05-01-2020, 04:05 PM
I followed the procedure and It worked well. the only problem I have with my ThinkPad Hybrid USB-C with USB-A is that I have a pageflip issue as described :
https://support.displaylink.com/knowledgebase/articles/1181623-displaylink-ubuntu-driver-after-recent-x-upgrades
But the troubleshooting is already installed but doesn't work

Do you guys having the same problem ?

Worked for me with the 20-displaylink.conf as described in your link. However Wayland produces significant tearing, fine with X11 though...

garipat
05-01-2020, 05:54 PM
Worked for me with the 20-displaylink.conf as described in your link. However Wayland produces significant tearing, fine with X11 though...

try to use just your second monitor and check if it is working well. I don't have problem when i extend or duplicate my screen. Only when I use the monitor alone it happens

PilotPaul
05-02-2020, 08:04 AM
try to use just your second monitor and check if it is working well. I don't have problem when i extend or duplicate my screen. Only when I use the monitor alone it happens

Mmm not sure why I would do that - I have 3 monitors, 2 driven direct from the PC (one HDMI and one DVI) and the third via the DisplayLink (USB3 to DVI). If I switch off the two main monitors, the third (DL) monitor continues to funciton correctly. If I make it my primary display and reboot, then login (blind, as the login screen doesn't display on my DL monitor), then again the performance is fine. Doesn't really prove anything to be honest unless I start unplugging monitors....(CBA!)

In any case I am happy for now with X11 and have all the functionality I require...we'll see what the new driver is like once its released.

Fezzi
05-03-2020, 04:50 AM
there is a PR to fix the script. this is what worked for me

https://github.com/AdnanHodzic/displaylink-debian/pull/392/files

Thx for that... works great... lets wait and see for the official new drivers..

PilotPaul
05-04-2020, 11:46 AM
New driver now available and installed - builds/installs just fine under 20.04 and works a treat with both X and Wayland. :-)

Jeins
05-04-2020, 11:55 AM
Today I want to install the lastest ubuntu driver. But I get the error. Missing Component libdrm. But it is installed. Anyone have the same issue?

PilotPaul
05-04-2020, 12:01 PM
Today I want to install the lastest ubuntu driver. But I get the error. Missing Component libdrm. But it is installed. Anyone have the same issue?

You need to make sure both libdrm-dev and dkms are installed: "sudo apt install libdrm-dev dkms"...

Jeins
05-04-2020, 12:04 PM
Yep. Both are installed. I uninstall both an let the installer install them, but that don't work too.

PilotPaul
05-04-2020, 12:08 PM
Yep. Both are installed. I uninstall both an let the installer install them, but that don't work too.
Would you like to post your output? Also "lsb_release -a", "uname -a" and "apt search libdrm-dev"

Adrillex
05-04-2020, 12:12 PM
Yep. Both are installed. I uninstall both an let the installer install them, but that don't work too.

Same here, I was able to install 5.2 using github link given before, but I can't install 5.3, I got same error.
Tried to re-install dkms and libdrm-dev, with no success

Jeins
05-04-2020, 12:13 PM
Would you like to post your output? Also "lsb_release -a", "uname -a" and "apt search libdrm-dev"

install output:

Verifying archive integrity... 100% All good.
Uncompressing DisplayLink Linux Driver 5.3.0.28 100%
DisplayLink Linux Software 5.3.0.28 install script called:
Distribution discovered: Ubuntu 20.04 LTS
[ Installing dependencies ]

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Paketlisten werden gelesen...
Abhängigkeitsbaum wird aufgebaut....
Statusinformationen werden eingelesen....
dkms ist schon die neueste Version (2.8.1-5ubuntu1).
libdrm-dev ist schon die neueste Version (2.4.101-2).
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
Do you want to continue? [Y/n] Y
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
dkms ist schon die neueste Version (2.8.1-5ubuntu1).
libdrm-dev ist schon die neueste Version (2.4.101-2).
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
Unsatisfied dependencies. Missing component: libdrm.
This is a fatal error, cannot install DisplayLink Linux Software.


lsb_release -a:

No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04 LTS
Release: 20.04
Codename: focal

uname -a:

Linux Jonas-Linux 5.4.0-28-generic #32-Ubuntu SMP Wed Apr 22 17:40:10 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

apt search:

Sortierung... Fertig
Volltextsuche... Fertig
libdrm-dev/focal,now 2.4.101-2 amd64 [installiert]
Benutzerbereichsschnittstelle zu Kernel-DRM-Diensten – Entwicklungsdateien

PilotPaul
05-04-2020, 12:16 PM
Yep. Both are installed. I uninstall both an let the installer install them, but that don't work too.

lsb_release -a:

No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04 LTS
Release: 20.04
Codename: focal

uname -a:

Linux Jonas-Linux 5.4.0-28-generic #32-Ubuntu SMP Wed Apr 22 17:40:10 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

apt search:

Sortierung... Fertig
Volltextsuche... Fertig
libdrm-dev/focal,now 2.4.101-2 amd64 [installiert]
Benutzerbereichsschnittstelle zu Kernel-DRM-Diensten – Entwicklungsdateien

Well I'm assuming that the German is the same as my English version! :-) The only difference i have is that I am running kernel 5.4.0-29.generic...maybe try enabling the focal-proposed repository?

Jeins
05-04-2020, 12:19 PM
Well I'm assuming that the German is the same as my English version! :-) The only difference i have is that I am running kernel 5.4.0-29.generic...maybe try enabling the focal-proposed repository?

I hope so! :D Okay I will give it a try. Thanks

PilotPaul
05-04-2020, 12:21 PM
You could also try "sudo apt -f install" to fix any missing dependencies before re-running the installation...

Jeins
05-04-2020, 12:34 PM
Tried that before. Don't help. And also with new kernel, I get the same error

PilotPaul
05-04-2020, 01:35 PM
Tried that before. Don't help. And also with new kernel, I get the same error

Interesting...

I've done a "apt search libdrm" on my system for comparison. Output is as follows:

"Sorting...
Full Text Search...
libdrm-amdgpu1/focal,now 2.4.101-2 amd64 [installed]
Userspace interface to amdgpu-specific kernel DRM services -- runtime

libdrm-common/focal,focal,now 2.4.101-2 all [installed]
Userspace interface to kernel DRM services -- common files

libdrm-dev/focal,now 2.4.101-2 amd64 [installed]
Userspace interface to kernel DRM services -- development files

libdrm-intel1/focal,now 2.4.101-2 amd64 [installed]
Userspace interface to intel-specific kernel DRM services -- runtime

libdrm-nouveau2/focal,now 2.4.101-2 amd64 [installed]
Userspace interface to nouveau-specific kernel DRM services -- runtime

libdrm-radeon1/focal,now 2.4.101-2 amd64 [installed]
Userspace interface to radeon-specific kernel DRM services -- runtime

libdrm-tests/focal 2.4.101-2 amd64
Testing tools from the libdrm project

libdrm2/focal,now 2.4.101-2 amd64 [installed]
Userspace interface to kernel DRM services -- runtime

libdrmaa1.0-java/focal,focal 8.1.9+dfsg-9build2 all
Distributed resource management Application API library - Java bindings

libdrmaa1.0-java-doc/focal,focal 8.1.9+dfsg-9build2 all
Distributed resource management Application API library - Java bindings docs

libdrmaa1.0-ruby/focal,focal 8.1.9+dfsg-9build2 all
Distributed resource management Application API library - Ruby bindings"

Maybe you are missing one of these? Just a thought...

davidjonbarnes@yahoo.co.u
05-04-2020, 02:05 PM
Only thing extra I had to do even though on Intel graphics I
had to make /usr/share/X11/xorg.conf.d/20-displaylink.conf
contain:
Section "Device"
Identifier "DisplayLink"
Driver "modesetting"
Option "PageFlip" "false"
EndSection

not this:
Section "Device"
Identifier "Intel Graphics"
Driver "intel"
EndSection

PilotPaul
05-04-2020, 02:07 PM
Only thing extra I had to do even though on Intel graphics I
had to make /usr/share/X11/xorg.conf.d/20-displaylink.conf
contain:
Section "Device"
Identifier "DisplayLink"
Driver "modesetting"
Option "PageFlip" "false"
EndSection

not this:
Section "Device"
Identifier "Intel Graphics"
Driver "intel"
EndSection

I needed this with the 5.2 driver, but not for the 5.3 one, which works with both X and Wayland...I'm using Intel HD 4600 graphics (builtin).

Jeins
05-04-2020, 02:17 PM
Now I have the same output, but that don't change anything.

PilotPaul
05-04-2020, 02:20 PM
Now I have the same output, but that don't change anything.
Have you removed any previous installations, such as the displaylink-debian one, before trying the new installation? I removed all previous displaylink drivers and re-booted before trying the latest one...

Jeins
05-04-2020, 02:24 PM
Yes. I used the displaylink uinstaller

PilotPaul
05-04-2020, 02:35 PM
Yes. I used the displaylink uinstaller

Well I'm running out of ideas! Maybe try a fresh installation of 20.04, either in a VM or a spare partition, and see what happens?

txtweet
05-04-2020, 02:46 PM
I have the same issue. I'm on a fresh install of Kubuntu 20.04, it's the first thing I try to install...

PilotPaul
05-04-2020, 02:58 PM
I have the same issue. I'm on a fresh install of Kubuntu 20.04, it's the first thing I try to install...

Mine was upgraded from 19.10, which may mean some libraries are present that are not in a fresh install. Have you tried installing build-essentials before running the install?

txtweet
05-04-2020, 03:29 PM
Thank you for your idea,
The apt install command did not change anything...

If I can't find a solution before tonight I'll go back to the 18.04 and wait sometime before upgrading...

PilotPaul
05-04-2020, 03:33 PM
Thank you for your idea,
Unfortunatly it was installed by default. The apt install command did not change anything...

If I can't find a solution before tonight I'll go back to the 18.04 and wait sometime before upgrading...

If it helps at all the "displaylink-debian" solution referred to in previous posts seems to work fine for most people (though you may need to tweak your Xorg.conf a little)...maybe try that before ditching 20.04?

SuperQuokka
05-04-2020, 11:45 PM
I only signed up to DisplayLink driver update alert emails yesterday. Got the one about 5.3 this morning. Ran the installer and happy happy joy joy.
Had previously tried the debian one, but uninstalled a couple of days back when I gave up trying to get it to work. If there's any logs/config anyone wants to see from my working install, let me know.

garipat
05-05-2020, 04:17 AM
same problem with libdrm

txtweet
05-05-2020, 07:58 AM
If it helps at all the "displaylink-debian" solution referred to in previous posts seems to work fine for most people (though you may need to tweak your Xorg.conf a little)...maybe try that before ditching 20.04?

Unfortunately displaylink-debian now try to install the v5.3 so i get the same libdrm issue.

Btw even on ubuntu 18.04 with the 5.2 I have to tweak a Xorg.conf file.

barzar
05-05-2020, 08:50 AM
Unfortunately displaylink-debian now try to install the v5.3 so i get the same libdrm issue.

Btw even on ubuntu 18.04 with the 5.2 I have to tweak a Xorg.conf file.

I ran into the same issue(displaylink-debian downloading 5.3) but it can be easily fixed by replacing head -n 1 on line 21 and 23 of displaylink-debian.sh with sed -n '2p' so the script grabs the second download link. Works for me, finally got my 2 displays working. 5.3 didn't work at all for me.

PilotPaul
05-05-2020, 08:51 AM
Probably worth submitting a bug report to DisplayLink as this seems to be affecting quite a few people...

Jeins
05-05-2020, 09:05 AM
Yes. I contacted DisplayLink and they adviced me to post my output files in this forum. Nice support of them (irony).

JakubDabrowski
05-05-2020, 09:59 AM
Dear users!

Thank you for your constant communication here on the forum and your patience.

We would like to apologize for the inconveniences that you have faced while trying to use our new driver.
We are aware of libdrm issue on our new driver for Ubuntu 20.04

Right now our Engineering Team is working on the resolution of the problem. We should be able to release a fix very shortly as our engineers are already testing the possible solution for this case.

As a possible temporary workaround you may start our installer in this manner:

From console:

Installing Workaround:

LC_ALL=C sudo ./displaylink-driver-5.3.0.28.run

Uninstalling Workaround:

LC_ALL=C sudo displaylink-installer uninstall

This should help you for now before we have a permanent fix done.

Thank you very much for help in developing our drivers and I will be posting here any new information we would be able to share with you!

Kind regards,
Jakub

Adrillex
05-05-2020, 12:21 PM
I just installed displaylink 5.3 on ubuntu 20.04, but now boot freeze just after starting displaylink service. Any idea ?

JakubDabrowski
05-06-2020, 05:32 AM
Hello,

Thank you for your patience.

As I have mentioned yesterday, we were working on a installation fix for Ubuntu 20.04.

Here it is: https://www.displaylink.com/downloads/file?id=1576

Please verify that version and if you would face any issues inform us.

Thank you very much for your cooperation!

Best regards,
Jakub

jarsal
05-07-2020, 10:04 AM
Hello,

Thank you for your patience.

As I have mentioned yesterday, we were working on a installation fix for Ubuntu 20.04.

Here it is: https://www.displaylink.com/downloads/file?id=1576

Please verify that version and if you would face any issues inform us.

Thank you very much for your cooperation!

Best regards,
Jakub

Many people are having performance issues with the new driver and can't use their display link devices. Are you planning to fix this issues or maybe you already have any solution?

Tiberius
05-07-2020, 11:35 AM
I recently installed ubuntu 20.04. (fresh install)

I use displaylink D3100 to connect thinkpad t420 with intel graphics to view on external FHD monitor. I use X11

When used only on external monitor it lags a lot it's not usable at all. When i use inbuilt display , mirror, extend works ok



Same configuration worked flawless on ubuntu 18.04


PS : tried but same result
make /usr/share/X11/xorg.conf.d/20-displaylink.conf

Section "Device"
Identifier "DisplayLink"
Driver "modesetting"
Option "PageFlip" "false"
EndSection

garipat
05-08-2020, 04:15 AM
Hello,

Thank you for your patience.

As I have mentioned yesterday, we were working on a installation fix for Ubuntu 20.04.

Here it is: https://www.displaylink.com/downloads/file?id=1576

Please verify that version and if you would face any issues inform us.

Thank you very much for your cooperation!

Best regards,
Jakub

thank you for the fast fixing. The installation of the new driver with $ sudo LANG=C ./displaylink-driver-5.3.1.34.run and $ sudo ./displaylink-driver-5.3.1.34.run is working fine.

Unfortunately the perfomance issue maintains. Do i miss something?

I am using a Lenovo Dock 2 USB-C with USB-A

Stofe7
05-08-2020, 02:26 PM
I can confirm Tiberius's issue.

specialworld83
05-08-2020, 03:42 PM
Good evening, the lag are very evident and even if imposed the effects of plasma with xrender are still visible. If I remove the dock everything goes back to normal. I am attaching the debug file.

In fact, on ubuntu 18.04 I had no problem with any lag.

It doesn't allow me to attach the file. I enclose it with connection via gdrive

https://drive.google.com/open?id=1waIHNJQ4tmnM1Jgl59h_w2132Fj25snP

Jeins
05-08-2020, 03:55 PM
Same here. Big lag's when using external screen only.

shellfyred
05-09-2020, 12:15 PM
Confirming there is still an issue with the latest package for Ubuntu 20.04. I recently upgraded 20.04 and installed the latest DL package, displaylink-driver-5.3.1.34. Now if I close the lid, the UI lags 3-5 seconds on input (e.g. button click does nothing for 5 seconds). Opening the lid and the issue immediately goes away. Nothing from htop seems to indicate this is in anyway tied to CPU/memory load.

Tiberius
05-09-2020, 09:40 PM
tonight i tried on other laptop ubuntu 20.04. same problems lags badly on external monitor (intel graphics).

snipe122
05-11-2020, 06:50 AM
Confirming happening for me as well. Maybe after latest kernel upgrade? Was working fine for me before. Have to keep the lid open now :(

michal.postrozny
05-11-2020, 06:36 PM
Interestingly the mouse movement does not lag. Just the click and keyboard. This happens even though mouse/keyboard is not connected to the dock. Dual monitor setup. Does not matter if lid is open or close.

I would be happy tho share the logs gathered with displaylink tool on priv to DisplayLink support. I'm not comfortable to share anything gathered using 'sudo' on public forum.

rjbathgate
05-11-2020, 11:19 PM
Confirming same issue here.

Running Ubuntu 20.04, with a StarTech DK30C2DPPD dock (DisplayLink chipset: DL6950) and ThinkPad E590 and DisplayLink drivers 5.3.1.

When connecting via the dock to an ultrawide monitor (LG 38 inch), with native resolution of 3840x1600, it is extremely laggy - every mouse click action takes 3-5 seconds - it completely unusable.

If I switch back to just use Laptop display (dock still connected, but monitor setting set to laptop screen only), everything works perfectly fine.

CPU load seems a bit high, but not massively high.

When on Ubuntu 19 and using the previous driver, I had exactly the same issue plus CPU was even higher (htop was maxing all threads at 100%).

I have set the logging to 1 (as per https://support.displaylink.com/knowledgebase/articles/1107401-how-to-reduce-or-increase-the-amount-of-messages-t) but made no difference.

Have also amended the 20-displaylink.conf as per a lot of other threads, again with no difference.

On a smaller monitor (34 inch with native resolution of 3440x1440), it performs better but still unusable.

Keen to see if DisplayLink update the driver soon.

UPDATE

With EVDI logging set to 0, DRM logging set to 0, pageflip modsetting applied (https://support.displaylink.com/knowledgebase/articles/1181623-displaylink-ubuntu-driver-after-recent-x-upgrades) AND (important AND), the external monitor set to extend mode, the lag is significantly reduced - almost usable!

If I change the display settings to external screen only (i.e. single display, laptop display off), then the massive lag instantly returns.

So, the primary (laptop) screen needs to be on and active for the lag on the external monitor to be 'acceptable'. This seems like a really strange bug.

Anyone else experience this?

Stofe7
05-12-2020, 10:40 AM
@rjbathgate, can you compare with "mirror" settings please? I curious about your case.
In my case if I choose mirror, then it will be a kind of usable scenario, but of course I lost the external monitor highest resolution. So the exact case is, Linux screen mode is mirror, resolution is set to the highest one of the internal screen, lid off.

rjbathgate
05-12-2020, 07:05 PM
@rjbathgate, can you compare with "mirror" settings please? I curious about your case.
In my case if I choose mirror, then it will be a kind of usable scenario, but of course I lost the external monitor highest resolution. So the exact case is, Linux screen mode is mirror, resolution is set to the highest one of the internal screen, lid off.

In mirror mode, there is near to no lag, but the resolution achieved makes it pointless (1080 on a 37inch ultrawide monitor...!)

Stofe7
05-13-2020, 09:27 AM
Thank you, agree.

marijic.silvio
05-13-2020, 01:29 PM
I am using Wavlink WL-UG69PD2 with Dell Latitude 5590 and LG 34U" (3440 x 1440). I faced same issue this morning after upgrade to Ubuntu 20.04 and after upgrading to latest display link driver and switching from Xorg to Wayland I am able to extend screen with external display running above mentioned resolution with no noticeable lag.

Hope it helps someone.

spences10
05-14-2020, 08:33 AM
I've been following this thread, I used the support tool to add my zip but don't seem to be able to add files, maybe I need to build up cred on here first? Not sure.

Anyways, my issue is the same.

I have two external monitors going through a DispplayLink box, I upgraded to 20.04 and the screens lag when trying to turn off the built in monitor

My hardware is a Asus Transformer 3 Pro T303UA

Maybe if the mods approve me I can add the support zip?

bben81
05-14-2020, 02:00 PM
hi,
i use a lenovo thinkpad L460 with ubuntu 20.04 and dual boot windows 10 with an usb3 targus dockstation. When i use ubuntu 20.04, I have the same problem if I close the laptop screen. In mirror or extended mode, no slowdown.
Under windows, no problem whatever the mode used.

xitiomet
05-14-2020, 06:00 PM
I'm also experiencing extreme lag under ubuntu 20.04, using the latest displaylink driver 5.3.1.34

Everything worked fine in 19.04 with displaylink 5.2.14

micsnare
05-16-2020, 08:24 AM
Dear friends,

I have been experiencing this issue for quite some time, since I run Arch Linux (rolling-release with always the most recent updates) therefore I run into these problems often and always very early.
I have identified this problem already over a month ago.
This seems to be a problem with the evdi-component that is installed with the displaylink driver (it's a dependency).

Someone has reported this upstream (with the Displaylink developers), since the displaylink driver depends on it.

@JakubDabrowski and @mlukaszek (Michal)

PLEASE REACH OUT TO ME. I'M HAPPY TO COLLABORATE TO GET THIS FIXED WITH YOU.

Here's the link to the evdi-bug report:
https://github.com/DisplayLink/evdi/issues/181

By the way, see the links below.... I have reported similar behaviour in the past quite often:

https://displaylink.org/forum/showthread.php?t=66906
https://displaylink.org/forum/showthread.php?t=65346
https://displaylink.org/forum/showthread.php?t=65281
https://displaylink.org/forum/showthread.php?t=65296

mrderooij
05-22-2020, 08:49 AM
I use a displaylink device (HP portreplicator 3005pr) to switch between Ubuntu desktop and windows laptop. Two monitors.
Issue with the desktop: clean install Ubuntu 20.04 and following displaylinks installation instructions for 5.3.1 driver. Works fine with one monitor connected to video out on the desktop and one one displaylink device.
Both on the displaylink device mouse movement okay, but reactions on actions to slow, serveral seconds (>5), reaction on typing also lagging behind.

Second try: clean install Ubuntu 20.04 and following display link instructions, but instead of libdrm-dev I used the non dev version. same behaviour, but reactions speed now increased tot a lag of 3 seconds when alle displays are on the displaylink device.
Video Both on Displaylink (https://drive.google.com/file/d/1ZGJ_WWg6PJUhiWCth9nk9j2u5SB1YlF7/view?usp=sharing)
Video One on Displaylink On on desktop video out (https://drive.google.com/file/d/1TvSqLrGMc0v2ujsqLrrkjKffSeGKueO1/view?usp=sharing)

snipe122
05-24-2020, 11:34 AM
Hi,

as I wrote in the other thread: don't know how it is for others, but for me the issue seems to be fixed. Can close my lid and still system is responsive...

I guess some recent Ubuntu patch fixed it again?

Update: Unfortunately the issue still exists. It seems it was by pure luck it was working that time. After reboot back to the old 5s lag when lid is closed... !

mrderooij
06-04-2020, 02:35 PM
Hey,
checked the issue this morning. Same behaviour.

snipe122
06-09-2020, 05:46 AM
Hello,

Thank you for your patience.

As I have mentioned yesterday, we were working on a installation fix for Ubuntu 20.04.

Here it is: https://www.displaylink.com/downloads/file?id=1576

Please verify that version and if you would face any issues inform us.

Thank you very much for your cooperation!

Best regards,
Jakub

Hi Jakub,

could you please update us if your team is working on any fix for the lag issue and if there is any ETA on this?

Thank you

snipe122
06-11-2020, 08:15 AM
Hi Jakub,

I could not reply to the other thread, it was closed.

I have tried the fix and can confirm it is working. I can close my laptop lid and the system is behaving normal, e.g. no lag.

Regards

mrderooij
06-11-2020, 12:22 PM
first trail today. Fix seems to work

rick_pri
06-12-2020, 08:40 AM
I seem to have the same issue on Xorg, even when I have an HDMI screen as well as a DP screen connected, but with the laptop lid closed. When I switch to Wayland it's much better but the input stalls frequently leading to input being repeated a number of times.

I'll wait until the patch comes out to see if it helps but I see latency on the same dock with the same devices connected on Wayland with the laptop display in use, so it may be that this is the most obvious issue currently but that there may be a lot of other issues to resolve at the moment.

McGregor80
07-01-2020, 07:33 AM
I just installed the USB to HDMI extension to may Ubuntu 20.04 LTS. Installed displaylink-driver-5.3.1.34.run. It's a thinkPad laptop with closed screen which is connected through docking station to one DisplayPort screen and one VGA screen.

The USB screen is displaying correctly.
The issue i have is that as soon as i use mouse the cursor starts to jump around and sometimes pixeling. I can't perform basic operations like grab and drag as the cursor location changes. When not using mouse it seems to be stable.

Changing the refresh rate for the USB to HDMI screen from 60 to 50Hz decreased the scale of the issue a little bit, but the problem persists.
Tried to move the mouse to another USB port and even change the mouse

Is there any solution for that ?

jigglywiggly
07-08-2020, 06:10 AM
I am using Ubuntu 20.04, Wayland, an rx5700
5.3.1 is the displaylink version

Installation was a breeze, however performance is very bad. I am on a dl 6950
On Windows performance is great, here however it's not usable.

I am using Wayland.
Monitor setup:
Left: 1080p Potrait
Center: 1440p 144hz (On primary gpu)
Right: 4k 60hz

This is a desktop system, I can plug all the displays into the rx5700 and it works fine, but I am testing this device.

There is extreme lag moving the mouse/dragging windows.

mrderooij
07-13-2020, 06:52 AM
@jigglywiggly

Having problems? Please check https://www.displaylink.org/forum/showthread.php?t=67148

It is working fine so far.

jigglywiggly
07-13-2020, 10:01 PM
@jigglywiggly

Having problems? Please check https://www.displaylink.org/forum/showthread.php?t=67148

It is working fine so far.

Hmm, it says that is not for amd only machines which mine is, I will try it anyway though.
EDIT: Went ahead and tried it, rebooted it and it didn't do anything.

fitter
07-24-2020, 12:42 PM
Unfortunately this performance issue also affects my AMD-only laptop running Ubuntu 20.04 and my new docking station.
Is there any ETA for possible fix?

emericv
08-04-2020, 11:30 AM
Unfortunately this performance issue also affects my AMD-only laptop running Ubuntu 20.04 and my new docking station.
Is there any ETA for possible fix?

I have same issue on a laptop with AMD GPU : the second screen (using DisplayLink) is detected but the display is very jerky

mugiwara
08-07-2020, 07:41 AM
I have same issue on a laptop with AMD GPU : the second screen (using DisplayLink) is detected but the display is very jerky

Having the same exact issue with AMDGPU + DisplayLink as well.

My workaround has been to stay with Ubuntu 18.04 using the DisplayLink 5.3.1 driver for Ubuntu for the time being alongside the AMDGPU-PRO driver as that seems to be the only working configuration for me, but it's not ideal, especially considering I'm having to use the AMDGPU-PRO driver which has had compatibility issues with running software that works fine using the AMDGPU open-source driver. The lack of proper support for AMDGPU is what's keeping me from upgrading to Ubuntu 20.04 LTS and it seems like this issue has been brought up my numerous people for a few months now with no real answers or estimations on progress. :confused:

I would definitely advise DisplayLink to make their drivers fully open source, as many others have suggested over the past several years. That way, you know, us pesky Linux users wouldn't have to be so much of a bother. ;) I think it'd be to their benefit anyway, it's not like open source contributors would be seeing any of the profits DisplayLink makes and if anything it'll help to get their software available on more platforms which ultimately results in greater revenue for them.

fitter
08-07-2020, 01:33 PM
I just realized that all displaylink developer replies were about "1FPS problem" when laptop screen is off. I failed to find any mention of screen lag for external monitors problem. Which is a little bit worrying me. Nevertheless we have vacations season rn, lets hope this topic will be addressed soon.

I could even live some time with lagging external screen, I can just display there some static things and mainly work on my laptop screen. But this problem also affects my laptop's audio, which gets some hiccups. I cant accept it unfortunately...


My workaround has been to stay with Ubuntu 18.04 using the DisplayLink 5.3.1 driver for

Be careful with updates, looks like new kernel for 18.04 also breaks DisplayLink
https://www.displaylink.org/forum/showthread.php?t=67228

mugiwara
08-07-2020, 05:23 PM
https://www.displaylink.org/forum/showthread.php?t=67228[/url]

Yeah, I'm aware. The latest 18.04 kernel using the latest DisplayLink driver for 18.04 did indeed break DisplayLink with AMDGPU, which is the main reason I'm using the 5.3.1 DisplayLink driver as it's an older version that seems to be working fine with the latest kernel alongside AMDGPU-PRO.

Without these workarounds, my external monitor exhibits high latency and really bad screen tearing. The monitor behaves fine with AMDGPU-PRO, so I doubt the fix is impossible. Hopefully some sort of update is given soon considering it seems to be affecting AMDGPU users as a whole and is likely keeping some, like myself, from updating to Ubuntu 20.04 LTS.

mrderooij
09-02-2020, 07:44 PM
Hello,

The fix worked fine, but is now running behind a few security updates. can you please append the fix to the latest version?

Mark

fitter
09-09-2020, 01:38 PM
I could even live some time with lagging external screen, I can just display there some static things and mainly work on my laptop screen. But this problem also affects my laptop's audio, which gets some hiccups. I cant accept it unfortunately...


Small update. Ubuntu 20.04 got minor kernel update recently, so I decided to install the displaylink driver again and check if it fixed the external screen responsiveness (it didn't...).
But by accident I discovered something else, audio provided by the docking station is not as jerky as the native laptop's headphone output. Small win, I can now use the external screens to do some tasks
Edit: It's not completely fine, I can still hear cracking when window displayed on the external screen refreshes it's content

@any_displaylink_dev
Are you aware of the performance issue on AMD systems running 20.04? I see that "1fps when laptop screen disabled" bug got some attention and there is a work going on it. I don't know if the problem I am facing is related to it or no. If you want I can provide more data

thopiekar
09-11-2020, 05:08 PM
Small update. Ubuntu 20.04 got minor kernel update recently, so I decided to install the displaylink driver again and check if it fixed the external screen responsiveness (it didn't...).
But by accident I discovered something else, audio provided by the docking station is not as jerky as the native laptop's headphone output. Small win, I can now use the external screens to do some tasks
Edit: It's not completely fine, I can still hear cracking when window displayed on the external screen refreshes it's content

@any_displaylink_dev
Are you aware of the performance issue on AMD systems running 20.04? I see that "1fps when laptop screen disabled" bug got some attention and there is a work going on it. I don't know if the problem I am facing is related to it or no. If you want I can provide more data

Got the same 1fps thing here with Nvidia hardware. I can only assume that the OS tries to save power and trottles the GPU or the USB controllers. I tried to prevent this but no success. Any ideas here?

thopiekar
09-25-2020, 04:54 PM
Got the same 1fps thing here with Nvidia hardware. I can only assume that the OS tries to save power and trottles the GPU or the USB controllers. I tried to prevent this but no success. Any ideas here?

The DisplayLink staff is working on getting fixes merged into Xorg-Xserver.
For Ubuntu 20.04 they provide a package with a temporary fix.
Just google or search around here.

pat1
09-26-2020, 09:45 AM
I forced my system (20.04) with the latest kernel available.
With the latest kernel from apt-get dist-upgrade (5.4) still had problems, then used this script (https://linuxconfig.org/how-to-upgrade-kernel-to-latest-version-on-ubuntu-20-04-focal-fossa-linux) to get kerlnel 5.8 and now works fine.
:eek:

Only side problem is that my vmware and virtualbox stopped to work because no drivers available for this kernel. Great oppurtunity to learn 'virt-manager' qemu kvm stuff ...

fitter
09-26-2020, 12:47 PM
I forced my system (20.04) with the latest kernel available.
With the latest kernel from apt-get dist-upgrade (5.4) still had problems, then used this script (https://linuxconfig.org/how-to-upgrade-kernel-to-latest-version-on-ubuntu-20-04-focal-fossa-linux) to get kerlnel 5.8 and now works fine.
:eek:

Only side problem is that my vmware and virtualbox stopped to work because no drivers available for this kernel. Great oppurtunity to learn 'virt-manager' qemu kvm stuff ...
Good to hear that. 20.04 probably will get 5.8 kernel next month as another point release with stuff from Ubuntu 20.10.

I am not very familiar with kernel development, but since 5.4 is LTS, used by the most popular Linux distros rn and affected by nasty displaylink bug which was fixed in later kernel versions. Shouldn't it get the fix backported then?

Ah, btw. I tried installing proprietary AMDGPU drivers to check if it fixes anything - no changes at all...

andy_g
09-27-2020, 07:00 PM
I forced my system (20.04) with the latest kernel available.
With the latest kernel from apt-get dist-upgrade (5.4) still had problems, then used this script (https://linuxconfig.org/how-to-upgrade-kernel-to-latest-version-on-ubuntu-20-04-focal-fossa-linux) to get kerlnel 5.8 and now works fine.
:eek:
I've been testing Linux again recently and can confirm Release: 5.3.1 05 May 2020 seems to work on my AMD 4800H CPU with Kernel Version 5.8.12-050812-generic although it seems to use more CPU than I would think reasonable - over 30% at times :eek:

I'm going to try the special Ubuntu xserver-xorg-core version stickied to see if that helps but at least I can see my AOC USB 3 monitor now on one Linux distribution finally so thanks :p

EDIT - All is working well the latest 5.8.12 kernel with no high cpu usage. I installed the kernel via the mainline 'app' plus the latest displaylink-driver-5.3.1.34 from Display link direct on Kunbuntu 20.04 LTS

mauromol
10-10-2020, 04:34 PM
I have recently upgraded from Linux Mint 18.3 (Ubuntu 16.04) to Kubuntu 20.04. The improvement I see in DisplayLink behavior is noticeable: no more screen corruptions even if I use the OpenGL compositor and VSync, for instance, and no apparent performance issue (the video seems to work just fine, like if I had the monitor connected directly to the HDMI port of my notebook).

However, what is not working is audio: even if I have the output in Kubuntu audio panel ("USB3.0 Dual Video Dock") and even if I try to change the output profile to anything listed there (from digital stereo IEC958 output to analog stereo, 2.1, 5.1, what else output), I hear no audio neither from headphones connected to the audio jack in the front of the docking station, nor from the speakers of my monitor connected to the docking station through HDMI.

Has anyone this problem?

mauromol
10-12-2020, 01:25 PM
I have recently upgraded from Linux Mint 18.3 (Ubuntu 16.04) to Kubuntu 20.04. The improvement I see in DisplayLink behavior is noticeable: no more screen corruptions even if I use the OpenGL compositor and VSync, for instance, and no apparent performance issue (the video seems to work just fine, like if I had the monitor connected directly to the HDMI port of my notebook).


I must partially correct myself. Indeed, after some minutes of usage and when there are many applications open, the DisplayLinkManager process almost constantly eats from 0,5 to 1 full core of my CPU (12%-25% of an i5 Haswell 4-core CPU).
Sometimes you won't notice it, but sometimes it slows down the system a lot...
The audio problem remains, too.

snipe122
12-06-2020, 12:02 PM
Today I have closed my laptop screen, just to try. And guess what, no lag anymore. Is this problem finally fixed? :rolleyes: Running Ubuntu 20.10 with latest updates.

bbrout
12-16-2020, 01:21 AM
Am attempting to get Displaylink USB/VGA adapter to work on Ubuntu 20.04 with NVIDIA Card. I have filled my video ports with three monitors and need to add a fourth. I have installed Ubuntu driver from Displaylink site and upgraded with xserver patch for 20.04. Still no joy. lsusb "sees" the Displaylink as:

Bus 001 Device 004: ID 17e9:4300 DisplayLink Displaylink USB3.0 Display

but no action on the attached monitor. Am using CableCreation Adaptor.

Attached is the Linux Support tool zip file.

Any help would be appreciated.

Thank you.

snipe122
12-16-2020, 12:53 PM
After latest Ubuntu updates it seems the problem is back, lagging when laptop lid closed.

nvergontbij
01-04-2021, 01:39 PM
Most compatibility issues between displaylink, evdi and kernel vers. > 5.8 have been solved by the evdi branch 1.7.x
Instructions for its installation are reported here:

https://displaylink.org/forum/showthread.php?p=91259#post91259

Perhaps this might work for you as well.
If not, feel free to report back.

n1n4
01-20-2021, 08:18 PM
Problem described here (for those who might come to this thread due to same issue):

https://www.displaylink.org/forum/showthread.php?t=67537

Tried the fix explained here: https://displaylink.org/forum/showpost.php?p=91259&postcount=19

Tried the fix with both 5.4 kernel (default in Mint 20.1) and a 5.8.x kernel (via Update Manager). Neither made a difference. Still just blurry lines in correct resolution.

snipe122
01-22-2021, 06:10 AM
Today I tried to close my laptop lid. Guess what, no lag today. Wonder how long that will hold!

cement_head
04-22-2021, 04:24 PM
Totally broken on a System76 GalagoPro with Kernel 5.11.x and DisplayLink 5.4.

Worked without issues on Kernel 5.3 and DisplayLink 5.3, so there must be an incorrect parameter.

cement_head
06-11-2021, 02:14 PM
Looks as if it's a MESA bug; patch needs to be applied:

https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1931547

z0rk
08-21-2021, 02:45 AM
It has now been more than a year since DisplayLink provided a patch for this issue. We are now up to xorg 1.20.12. Will this ever get fixed?

https://www.displaylink.org/forum/showthread.php?t=67148