How to use a USB DisplayLink Monitor with an Raspberry Pi 4

2022-01-27

TLDR;

Try the official DisplayLink Driver beta 5.5 and Ubuntu Mate 32/64bit distribution if you have a newer DisplayLink Screen. Older DisplayLink Screens might work with the opensource driver that comes with the kernel. DisplayLink driver 5.4.1 only works with Ubuntu (Mate) desktop 32bit.

Suggested Installation:

  1. Ubuntu Mate for the Raspberry Pi
  2. Driver Download

Why

I bought an ASUS MB169B+ USB Displaylink monitor in 2015 in order to have a external screen in the coworking space. My workplace has changed since then, but the screen still works. So I thought I would use it with my Raspberry Pi camping system project.

The ones of you who know how painful linux drivers are might be getting nervous by now. Yes, this was a story of a lot of invested time, but it does have a happy ending.

Note about older DisplayLink devices

There is an open source driver, but it did not work for my 2015 ASUS MB169B+ device.

The documentation for the new displaylink driver notes following device families are supported:

"Support for DL-1x5 and DL-1x0 devices is provided by the open source udl driver."

Failed attempts

64 Bit ARM before Version 5.5 beta

Versions older than Version 5.5 beta do not bring ARM 64 bit (armv8/aarch64) binaries. The displaylink driver is a closed binary. Took me a while until I realized this problem. Ubuntu does not offer Ubuntu Desktop for arm 32 bit (armhf) anymore. Ubuntu Mate still does and it worked there.

Version 5.5 beta was released Dec 22, 2021. Thanks Synaptics!

Linux Distributions

As mentioned DisplayLink only supports Ubuntu officially. With the newest beta Ubuntu Desktop finally works.

Other tested Distributions sorted by recommendation:

Debian Linux

DisplayLink Driver Installscript for Debian If you find a way to install regular debian or any of the supported distributions, then it should work. However at the moment the new beta driver is not supported, and this means your distribution needs to be 32 bit ARM (armhf). If you find another distribution in the supported list. It might viable to try it out. It needs to be 32bit.

https://raspi.debian.net

How to supply the Screen with power.

The Raspberry Pi cannot supply enough power to the screen. Use A Y-Cable instead. A connector goes into a power source like a mobile battery, the next one into the Raspberry Pi and one into the screen. Ugreen Y Micro USB 3.0 Cable

Another way to do this is using an powered USB-Hub, but this might use more power and a power outlet.

My setup

Cons

Apart from the distro lock-in to Ubuntu, the CPU usage for DisplayLink is bothering me. It's usable for remote desktop and webbrowsing / programming. Watching videos is not a good idea.

Verdict

You probably want a portable HDMI/USB-C Screen. They are relatively cheap now. Alternatively the Pi can be connected to a tablet via USB HDMI Capture device (about 20 dollars) It works, but the screen is small.

I will keep using the DisplayLink screen for now.

Ubuntu Mate Configuration

If you can get desktopify to work, then these will probably not be necessary.

DisplayLink uses a lot of CPU because the protocol is encrypted, so you will want to avoid redraws.

Control center → Mate Tweak → Windows → Performance → uncheck "Enable Animation" and "show Window content when moving windows" After doing this Ubuntu Mate is quite snappy on DisplayLink.

The Ultimate Ubuntu-Mate 20.10 Setup Guide for the Pi4/Pi400! 21 Things to do After Installing Ubuntu MATE

Thanks for reading

If you enjoyed this article, Just send out this e-mail. I will let you know next time I write something.

Linklist for further exploration

Older driver, incompatible with newer Displaylink screens:

Other displaylink related links:

Raspberry Pi related links

Thanks to everyone involved in GNU/Linux.