|
10-12-2020, 08:46 AM | #1 |
Junior Member
Join Date: Jan 2014
Posts: 16
|
Linux 5.9 and Display Link
Hi all
As per my earlier post here about getting Display Link drivers working on (K)Ubuntu 20.04 I have also been having no issues on the later 5.8.13 and 5.8.14 kernels but when updating to test the 5.9 kernel this morning I get nothing. Display Link doesn't even seem to start as I can't find the process running. I haven't tried manually running the Display Link process etc yet as I have work to do but wanted to give others a heads up that it's probably best to stick on the >5.8.8 Kernels for now but if anyone has any tips or things for me to try on 5.9 later I'm happy to try. |
10-19-2020, 10:55 PM | #2 |
Junior Member
Join Date: Oct 2020
Posts: 2
|
You have to patch the kernel module
Hello Ubuntu Users,
DisplayLink can work with the newest kernel 5.9, but you have to patch the kernel module manually. The issue is discussed here: https://github.com/DisplayLink/evdi/issues/225 Get:
1. Unzip the DisplayLink package and extract the inner archive Code:
unzip 'DisplayLink USB Graphics Software for Ubuntu 5.3.1.zip' chmod +x displaylink-driver-5.3.1.34.run ./displaylink-driver-5.3.1.34.run --noexec --keep 2. Patch evdi-1.7.0 with #228 or clone directly Code:
tar xf v1.7.0.tar.gz pushd evdi-1.7.0 patch -p1 < ../228.patch popd or Code:
git clone https://github.com/DisplayLink/evdi.git evdi-1.7.0 pushd evdi-1.7.0 git fetch origin pull/228/head git checkout -b pr228 FETCH_HEAD popd 3. Replace evdi Code:
rm displaylink-driver-5.3.1.34/evdi.tar.gz pushd evdi-1.7.0 tar cf evdi.tar.gz * cp evdi.tar.gz ../displaylink-driver-5.3.1.34/ popd Code:
cd displaylink-driver-5.3.1.34 sudo ./displaylink-installer.sh install The patch has been sucessfully tested on Archlinux and openSUSE. |
10-20-2020, 07:19 AM | #3 |
Junior Member
Join Date: Oct 2020
Posts: 1
|
|
10-20-2020, 07:43 AM | #4 |
Junior Member
Join Date: Jan 2014
Posts: 16
|
Thanks for posting those instructions and I might try later but for now I'm just dropping back down to 5.8.X when I'm using DisplayLink as I'm worried, (as per some on that original thread) that this 5.9 patch will break 5.8.X
5.9 seems stable and I haven't hit any issues so far but haven't got hours to debug at the moment so might just stick on 5.8 until things are a bit more complete. |
10-20-2020, 12:04 PM | #5 | |
Junior Member
Join Date: Oct 2020
Posts: 2
|
Quote:
The way the evdi kernel module works: For every installed kernel version, DKMS compiles and installs a kernel module against the correct kernel headers. You can switch between installed kernels and its respective kernel modules in your bootloader menu. |
|
10-20-2020, 12:45 PM | #6 |
Junior Member
Join Date: Jan 2014
Posts: 16
|
Ok thanks for that follow up clarification - if I get a chance I will have a go.
|
11-09-2020, 05:19 AM | #7 | |
Junior Member
Join Date: Nov 2020
Posts: 2
|
Quote:
Hello, Following the patch steps work on Ubuntu 20.10 with distro's default kernel (5.8.0-26-generic) |
|
11-22-2020, 01:35 AM | #8 | |
Junior Member
Join Date: Mar 2020
Posts: 11
|
Bnavigator
Quote:
Since we're all here and not mentioning names. I mean, that would be unreasonable... Perhaps we can collectively be more conducive and indicate which DisplayLink build we're running, which kernel version, and which EVDI version too... If we can indicate what works and what doesn't too? For me I've tried the instructions above on 5.9 under Ubuntu 20.10 (which also worked on 5.8.*) prior and have offered logs as well... |
|
11-30-2020, 08:19 AM | #9 |
Junior Member
Join Date: Jan 2014
Posts: 16
|
Just wanted to say thanks for the detailed steps to get things working on 5.9.X as I finally did these today
With kernel 5.10 nearly here will this workaround continue to also work for 5.10 Last edited by andy_g; 11-30-2020 at 08:35 AM. |
11-30-2020, 06:48 PM | #10 | |
Junior Member
Join Date: Aug 2020
Posts: 2
|
Quote:
https://github.com/DisplayLink/evdi/pull/237 Last edited by sick.codes; 11-30-2020 at 11:59 PM. |
|
|
|