DisplayLink is now working with Ubuntu 21.04

By | June 3, 2021

Thanks to Peter Boros for pointing out that Canonical and Synaptics have made the fixes necessary to make DisplayLink work with Ubuntu 21.04 without any of the fixes I’ve posted. I was unaware of this because, unfortunately, Canonical did not update any of the bugs I’ve filed about this to indicate that the issue was fixed, and Synaptics did not announce the new release of their software or update the Ubuntu download page to indicate that it’s compatible with 21.04. 🤷

If you’ve installed my fixes on your Ubuntu 21.04 box to make it work with DisplayLink, here’s what you should do to undo them:

  1. Download the current DisplayLink Ubuntu installer from here.
  2. Unzip it.
  3. Run “bash displaylink-driver-*.run --noexec --keep --target dl-installer“. Do this in a persistent directory like your Desktop or something, not in /tmp, because you’re going to need these files still after you’ve rebooted, and rebooting clears /tmp on Ubuntu.
  4. Make sure you’ve got a monitor plugged directly into your computer, not into your DisplayLink hub, or proceed in an SSH session into your computer from a different one.
  5. Switch directories to the dl-installer directory and run”sudo bash displaylink-installer.sh uninstall“.
  6. Download the script below as hirsute-unfix-displaylink.sh and run sudo bash -e hirsute-unfix-displaylink.sh.
  7. Reboot and log in again.
  8. If you’re working directly on your computer rather than through an SSH session, make sure your keyboard and mouse are plugged directly into your computer rather than your DisplayLink hub, because you can’t install the DisplayLink driver when the hub is plugged in.
  9. Switch into the dl-installer directory again and run “sudo bash displaylink-installer.sh install“.
  10. Reboot.

At this point DisplayLink should be working, and you can delete all of the installers and scripts that you downloaded or unpacked.

Note that this uses the evdi shared library and kernel module shipped with the DisplayLink installer, not the ones shipped with Ubuntu.

Here’s the hirsute-unfix-displaylink.sh script:

Print Friendly, PDF & Email

2 thoughts on “DisplayLink is now working with Ubuntu 21.04

  1. Pingback: Using DisplayLink with Ubuntu 21.04 (“Hirsute Hippo”) – Something better to do

  2. Pingback: Update on using DisplayLink with Ubuntu 21.04 (Hirsute Hippo) – Something better to do

Leave a Reply

Your email address will not be published.