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. |
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' 2. Patch evdi-1.7.0 with #228 or clone directly Code:
tar xf v1.7.0.tar.gz or Code:
git clone https://github.com/DisplayLink/evdi.git evdi-1.7.0 3. Replace evdi Code:
rm displaylink-driver-5.3.1.34/evdi.tar.gz Code:
cd displaylink-driver-5.3.1.34 The patch has been sucessfully tested on Archlinux and openSUSE. |
Hi,
Quote:
Thanks a lot. |
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 :confused:
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. |
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. |
Ok thanks for that follow up clarification - if I get a chance I will have a go.
|
DisplayPort not working
1 Attachment(s)
Hello there,
I hope this is still the valid topic for my question. I am able to install the displaylink driver quite fine, however the Monitors connected thorugh Displayports refuse to work with this kernel. I did a clean install of Pop OS 20.10. Code:
|19:07:02|crashdummy@pop-os:[~]> uname -a && lsb_release -a Code:
|18:59:24|crashdummy@pop-os:[~]> lsmod | grep evdi I did all these steps as instructed. The only way the monitors can produce some output is by connecting them with HDMI. As this dock has only one HDMI Port I can't work around this issue for now... I use This Lenovo USB-C Dock frequently, too. The Displays here are connect with displayports only, thus no display can be connected at all. Both dockings were working quite fine till Kernel 5.7 ( haven't tested since then ) Logs have been attached Update: Restarting the displaylink service appears to get the second monitor to run: Code:
|
Quote:
Hello, Following the patch steps work on Ubuntu 20.10 with distro's default kernel (5.8.0-26-generic) |
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... |
Just wanted to say thanks for the detailed steps to get things working on 5.9.X as I finally did these today :cool:
With kernel 5.10 nearly here will this workaround continue to also work for 5.10 :confused: |
Quote:
https://github.com/DisplayLink/evdi/pull/237 |
Thanks for confirming that this also works on 5.10.X
|
Working on 5.9.10
With a lot of help from SicklCodes I've finally got my Displaylink working under 5.9.10...
I had previously followed the patch from post 2, but this did not appear to work... Among trying lots of different fixes, it seems that a patch from SickCodes' repo seemed to bring it all together... git clone https://github.com/sickcodes/evdi.git cd evdi git checkout -f master make sudo make install It would be great if this could be included with the current DisplayLink offering It also seems as though the displaylink-driver.service was not starting automatically., but was found to be present from typing 'systemctl status display' and tapping tab twice (without hitting enter). You can then test whether it will start with 'sudo systemctl start displaylink-driver.service' This worked for me to bring my additional 2 displays (1xHDMI and 1xDVI) from my DisplayLink adapter... I also had the HDMI straight from my Ryzen 7 laptop (with Nvidia MX350) working in parallel with the DVI from the DisplayLink alongside the laptop screen... |
Quote:
Code:
DisplayLink Linux Software 5.3.1.34 install script called: install |
Quote:
|
The new mainline 5.10 and 5.10.1 aren't working for me but I did notice some message when I installed these about EVDI so maybe I need to run the process again?
I've dropped back down to 5.9.X today as I have loads of work on. |
fAILED TOO
Quote:
Just follow the steps from page one but use the 1.7.2 release rather than cloning/patching |
Quote:
|
As per January, 1st 2021, all changes have been pushed to branch v.1.7.x: #225.
The updated (simpler) instructions are the following: 1. Download the DisplayLink driver from [the official download page](https://www.displaylink.com/downloads/ubuntu). Then run the following commands: Code:
unzip 'DisplayLink USB Graphics Software for Ubuntu 5.3.1.zip' Code:
git clone https://github.com/DisplayLink/evdi.git Code:
cd ../displaylink-driver-5.3.1.34 Hope that helps. |
Hope this helps....
I've put together a build script that I use already for my Ubuntu setup... Working for 5.9.16, and just installing 5.10.4 to test that too... But the results from above already speak for themselves... (Thank you bro :) )
Hopefully this can simplify the process... It downloads the current DisplayLink, then updates the EVDI folder from the above instructions... https://github.com/robotard/setup-ub...kdownloader.sh [AS PER BELOW - I've updated my script to allow for newer DisplayLink updated to not be automatically be patched] ##IMPORTANT## You may also need to run this to start the service after reboot: sudo systemctl start displaylink-driver.service Let me know if it helps :) |
Quote:
|
Hopefully updated the script for newer DisplayLink releases...
Please let me know if it works for you and always... ** Test with your own care** |
Quote:
Quote:
|
Quote:
20.10 + 5.10.4 = Still does not work for me: https://displaylink.org/forum/showthread.php?t=67495 Sympthoms are exactly the same (I see monitors plugged to the dock... but those all are forced disabled...). Not a harware problem. (Still wroks fine in Windows, but stopped to work in Linux). |
Quote:
|
Quote:
1. De-installed displaylink completly and rebooted. 2. Installed doing exactly these steps and rebooted. 3. No changes for me. (As on video from my post, monitors are forced to be disabled whatever I did) |
Quote:
'There doesn't seem to be anything here...' :) Is there a chance your ubuntu-setup repo is private? If you want to keep it that way, a gist could get the job done! |
|
Quote:
Works fine on 5.10.4 though... [EDIT] The original EVDI one, not from my missing script (adding in a second) |
1 Attachment(s)
Quote:
Logs attached here... |
For those interested:
This was the link to my installer using the fix that was working fine for 5.10.4 https://github.com/robotard/setup-ub...kdownloader.sh Shouldn't be private now... |
Quote:
|
Quote:
|
Quote:
Code:
DisplayLink Linux Software 5.3.1.34 install script called: install Different issue on 5.10.2: it seemed to install fine but couldn't find the evdi 1.7.2 binaries. Sadly I lost the log, will try again later. |
Hey all
Just to let you know everything is now working fine again on the latest 5.10.9 kernel for me after not working on 5.10.5 but working on 5..10.4 as per my earlier post. |
Quote:
If with the method: which evdi version did you use? |
Quote:
|
It works now!
Finally it worked with kernel 5.9.16 and with evdi 1.7.x on my Thinkpad T490!
Neither 5.8 or 5.10 worked at all with the same procedure, so I guesse trial and error was necessary :D |
Anyone got it to work with 5.11.2 ??
I could do everything just fine until recently when I upgraded my kernel to 5.11.2 I can't even install evdi anymore... Code:
DisplayLink Linux Software 5.3.1.34 install script called: install |
Can at least install now
I was able to install it using the changes of this PR.
https://github.com/DisplayLink/evdi/pull/269 Code:
unzip 'DisplayLink*.zip' evdi is installed and DisplayLinkManager running. |
All times are GMT. The time now is 11:42 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.