UPDATE [2021-12-22]: With the the recently released update, 5.5.0-59.118, both Wayland and Xorg work on my PC with an Intel graphics controller, and Wayland doesn’t work on my PC with an NVIDIA controller without the proprietary NVIDIA driver, but Xorg does. I did not test whether Wayland or Xorg works with the proprietary NVIDIA controller, but I suspect it doesn’t.
As far as I can tell, the current version of the DisplayLink driver available for download:
- works on systems with non-NVIDIA graphics controllers (or at least some of them; it works with my Intel controller) in both Ubuntu 21.04 and Ubuntu 21.10;
- works with Xorg for systems with NVIDIA if you don’t have any proprietary NVIDIA driver (i.e., “nvidia-driver-###” package) installed and you’re therefore using the open-source “nouveau” driver instead;
- does not work with Xorg with the proprietary NVIDIA driver; and
- does not work with Wayland for systems with NVIDIA regardless of whether you are using the proprietary or open-source driver.
Your mileage may vary, of course, but if you’ve got NVIDIA and you’re seeing the same behavior I am, then if you want to use DisplayLink, the only way to do that is to both uninstall the proprietary NVIDIA driver and disable Wayland.
To Disable Wayland, put
WaylandEnable = False in the
[daemon] section of
/etc/gdm3/custom.conf and then reboot just to be certain.
If you previously followed my instructions here for making DisplayLink work with Ubuntu 21.04, then whether or not you’ve got NVIDIA, you should undo that and upgrade to the newest DisplayLink release. To do that:
- Unplug your DisplayLink hub.
- Download the newest DisplayLink installer for Ubuntu from here.
- Unpack the ZIP file in the download, which will give you a “.run” file.
- Make the “.run” file executable:
chmod +x displaylink*.run
- Use the “.run” file to uninstall DisplayLink:
sudo ./displaylink*.run uninstall
- Unhold the kernel packages that were held by the instructions in my earlier blog posting:
sudo apt-mark unhold $(sudo apt-mark showhold | grep '^linux')
- Update to the current kernel version:
sudo apt-get dist-upgrade
- Reinstall DisplayLink. In the directory in which you previously unpacked the ZIP file: