DisplayLink Forum

DisplayLink Forum (https://displaylink.org/forum/index.php)
-   Linux and Open Source (https://displaylink.org/forum/forumdisplay.php?f=29)
-   -   dsiplaylink for kernel 6 ? (https://displaylink.org/forum/showthread.php?t=68454)

Arnaud 10-09-2022 08:39 AM

dsiplaylink for kernel 6 ?
 
Hello

displayLink works fine with Ubuntu 22.04, kernel 5.15 on my laptop, but I have some troubles with freezing after suspend.

It seems that this trouble disappears with kernel 6 but I could not make this driver work with this new version of the kernel.

I would be happy to know when and/how to use it on kernel 6 please.

Best regards
Arnaud

Arnaud 10-11-2022 09:42 AM

DisplayLink and kernel 6
 
To be more precise, I've just discovered that the DiplayLink driver works with kernel 6 and my DELL USB-C hubs but not with my Belkin one.

Best regards
Arnaud

ice10001 10-28-2022 01:16 AM

Pop_OS 22.04 issue
 
I was on Pop_OS without issue, but an update that happened in the last week ended with my Displaylink device not giving any output after a reboot (day end shut down & next day start)

Only thing I can guess is that Pop_OS updated the Kernel to 6.* and Display link driver will not install with issues reporting evdi & dkms (and combinations) not being written to kernel.

I saw on this forum that kernel 6 is not supported yet which is a bummer to kill my system, as I need 3 screens.

As there does not seem to be a roadmap or delivery date, I have gone back to 20.04 for the 5 Kernel & have my 3 screens.

Does anyone know when we can expect kernel 6 support or how to get the current driver to install on Pop_OS 22.04 LTS Nvidia

alucard 10-31-2022 10:27 AM

1 Attachment(s)
Same issue here, kernel 6.02 is not supported! Running PopOS as well, which recently upgraded to v6 kernel. I've applied the same workaround as @ice10001, rollback to v5[.9] kernel.

I've attached the install log from /var/log/displaylink, clearly showing the evdi dkms is failing.

linux_person 10-31-2022 01:19 PM

Ubuntu 22.04 kernel 6 - no support
 
upgrade to Kernel 6 broke my display-link too.
rolled back to old kernel for now.
any word from Synaptic about kernel 6 support?

alucard 10-31-2022 04:27 PM

Following up, probably it is the same issue as already addressed here: https://github.com/DisplayLink/evdi/issues/376

However, there's no official evdi release that includes this fix, nor does the ubuntu bundle (the .run pacakge) include it.

alucard 11-01-2022 11:35 AM

Confirmed that develop branch fixes it
 
Following up again, I've tried building evdi from the github develop branch and I can confirm this fixes it.
  1. Checkout the repo
  2. Execute make
  3. Replace the files from the module directory to the /usr/src/evdi-1.12.0 directory

This worked for me directly on the new kernel, kicking my gnome session directly at the end of the copy. Bit messy, there are probably better ways of doing this (I'm not an expert in dkms).
Note that I already had dkms working for evdi working on the 5.19 kernel (which is still fully installed).

kellehorreur 11-01-2022 10:43 PM

Manually installing in dkms
 
A little more verbose version of alucard's solution: (Tested on PopOs 22.04 and kernel 6.0.2 and 6.0.3)

Got to a random temporary folder, clone and build from source:
Code:

cd <temp-folder>
git clone git@github.com:DisplayLink/evdi.git
cd evdi
make

List all installed versions of evdi: ("evdi/<version>" is what you are looking for)
Code:

dkms status
Uninstall current version of evdi (if the latest version (currently 1.12.0) is not installed at all, this step is unnecessary), if you want you can uninstall earlier versions, too
Code:

sudo dkms remove -m evdi -v 1.12.0 --all
Create the dkms source folder and copy the newly built files into the dkms folder:
Code:

sudo mkdir /usr/src/evdi-1.12.0/
cd /usr/src/evdi-1.12.0/
sudo cp <temp-folder>/evdi/module/* .

Register the dkms module:
Code:

sudo dkms add -m evdi -v 1.12.0
sudo dkms build -m evdi -v 1.12.0
sudo dkms install -m evdi -v 1.12.0

If after a reboot, it does not just start working, re-run ubuntu installer (from and following the instructions https://www.synaptics.com/products/d...wnloads/ubuntu):
Code:

....
sudo ./displaylink-driver-5.6.1-59.184.run


displaysadness 11-03-2022 08:21 PM

The version of evdi-dkms in both Debian and Ubuntu now include the patch to make it compile on the 6.x series kernel.

linux_person 11-04-2022 12:47 PM

@kellehorreur thanks for these instructions! it worked for me on Pop!_OS 22.04 kernel 6.0.3


All times are GMT. The time now is 01:50 PM.

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