Go Back   DisplayLink Forum > DisplayLink Graphics Technology > Linux and Open Source

Thread Tools Search this Thread Display Modes
Old 02-20-2024, 02:42 PM   #1
Junior Member
Join Date: Jul 2020
Posts: 4
Default Errors installing DisplayLink drivers after upgrading to Ubuntu 22.04

OS: Ubuntu 22.04
Kernel: 5.15.0-94-generic

DisplayLink was working before upgrading to Ubuntu 22.04. Afterwards, it does not.
I uninstalled the old version (it was the standalone installer):
sudo displaylink-driver uninstall
I then tried installing using apt. I followed instructions to install the key, then ran sudo apt update, then sudo apt install displaylink-driver.

I get the following:
Building module:
cleaning build area...
make -j12 KERNELRELEASE=5.15.0-94-generic all INCLUDEDIR=/lib/modules/5.15.0-94-generic/build/include KVERSION=5.15.0-94-generic DKMS_BUILD=1...(bad exit status: 2)
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/evdi.0.crash'
Error! Bad return status for module build on kernel: 5.15.0-94-generic (x86_64)
Consult /var/lib/dkms/evdi/1.14.2/build/make.log for more information.
dpkg: error processing package evdi (--configure):
 installed evdi package post-installation script subprocess returned error exit status 10
dpkg: dependency problems prevent configuration of displaylink-driver:
 displaylink-driver depends on evdi (>= 1.14.1); however:
  Package evdi is not configured yet.
 displaylink-driver depends on evdi (<< 1.15.0); however:
  Package evdi is not configured yet.

dpkg: error processing package displaylink-driver (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)
Following the suggestion, I checked the make.log file. Its contents are below:
DKMS make.log for evdi-1.14.2 for kernel 5.15.0-94-generic (x86_64)
Tue Feb 20 10:11:32 AM EST 2024
make KBUILD_VERBOSE=1 M=/var/lib/dkms/evdi/1.14.2/build SUBDIRS=/var/lib/dkms/evdi/1.14.2/build SRCROOT=/var/lib/dkms/evdi/1.14.2/build CONFIG_MODULE_SIG= -C /lib/modules/5.15.0-94-generic/build modules
make[1]: Entering directory '/usr/src/linux-headers-5.15.0-94-generic'
test -e include/generated/autoconf.h -a -e include/config/auto.conf || (                \
echo >&2;                                                       \
echo >&2 "  ERROR: Kernel configuration is invalid.";           \
echo >&2 "         include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo >&2 "         Run 'make oldconfig && make prepare' on kernel src to fix it.";      \
echo >&2 ;                                                      \

  ERROR: Kernel configuration is invalid.
         include/generated/autoconf.h or include/config/auto.conf are missing.
         Run 'make oldconfig && make prepare' on kernel src to fix it.

make[1]: *** [Makefile:758: include/config/auto.conf] Error 1
make[1]: Leaving directory '/usr/src/linux-headers-5.15.0-94-generic'
make: *** [Makefile:38: all] Error 2
UPDATE: I ran the displaylink-debian.sh from GitHub that I'd seen referenced. It checks for and installs dependencies (it calls them out and you have to That script ran without errors, but still not recognizing my displays.

$ lsusb -d 17e9:
Bus 004 Device 004: ID 17e9:6012 DisplayLink Plugable UD-ULTC4K

Last edited by Chuck; 02-20-2024 at 07:12 PM. Reason: add contents of make.log
Chuck is offline   Reply With Quote
Old 02-20-2024, 10:05 PM   #2
Junior Member
Join Date: Jul 2020
Posts: 4

Update - I was able to get it working after (I believe) doing a reinstall of the kernel headers:
sudo apt install --reinstall linux-headers-$(uname -r)
I'd had issues with VirtualBox after the upgrade, and that resolved the issue with VBox. After that, I installed from the synaptic repo (did not use the standalone). I STILL got an error about evdi, but my monitors started working, so I'm good.
Chuck is offline   Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 05:26 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.