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

Reply
 
Thread Tools Search this Thread Display Modes
Old 11-30-2020, 07:48 PM   #11
sick.codes
Junior Member
 
Join Date: Aug 2020
Posts: 2
Default

Quote:
Originally Posted by andy_g View Post
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
Confirming 1.7* works on 5.10rc6

https://github.com/DisplayLink/evdi/pull/237

Last edited by sick.codes; 12-01-2020 at 12:59 AM.
sick.codes is offline   Reply With Quote
Old 12-01-2020, 08:21 AM   #12
andy_g
Junior Member
 
Join Date: Jan 2014
Posts: 16
Default

Thanks for confirming that this also works on 5.10.X
andy_g is offline   Reply With Quote
Old 12-01-2020, 11:50 PM   #13
RobstaRobotard
Junior Member
 
Join Date: Mar 2020
Posts: 11
Default 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...
RobstaRobotard is offline   Reply With Quote
Old 12-10-2020, 10:51 AM   #14
Xros
Junior Member
 
Join Date: Dec 2020
Posts: 1
Default

Quote:
Originally Posted by bnavigator View Post
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
4. Install displaylink

Code:
cd displaylink-driver-5.3.1.34
sudo ./displaylink-installer.sh install
However, we did not get feedback from any reasonably skilled Ubuntu user that these instructions are complete for Ubuntu.

The patch has been sucessfully tested on Archlinux and openSUSE.
I followed these commands in Ubuntu 20.04.01 and I had no problems until I tried to install the drivers and I got this:

Code:
DisplayLink Linux Software 5.3.1.34 install script called: install
Distribution discovered: Ubuntu 20.04.1 LTS
Unsatisfied dependencies. Missing component: Linux headers for running kernel, 5.9.7-050907-generic.
This is a fatal error, cannot install DisplayLink Linux Software.
May the 5.9.7 kernel version to be too high?
Xros is offline   Reply With Quote
Old 12-10-2020, 10:57 AM   #15
andy_g
Junior Member
 
Join Date: Jan 2014
Posts: 16
Default

Quote:
Originally Posted by Xros View Post
May the 5.9.7 kernel version to be too high?
No I am on 5.9.12 and all is working well. Try doing all the steps again with displaylink removed before hand maybe
andy_g is offline   Reply With Quote
Old 12-16-2020, 08:45 AM   #16
andy_g
Junior Member
 
Join Date: Jan 2014
Posts: 16
Default

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.
andy_g is offline   Reply With Quote
Old 12-17-2020, 12:57 PM   #17
Crashdummy
Junior Member
 
Join Date: Nov 2020
Posts: 4
Default fAILED TOO

Quote:
Originally Posted by andy_g View Post
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.
You need to use evdi 1.7.2 See the announcement.

Just follow the steps from page one but use the 1.7.2 release rather than cloning/patching
Crashdummy is offline   Reply With Quote
Old 12-17-2020, 01:25 PM   #18
andy_g
Junior Member
 
Join Date: Jan 2014
Posts: 16
Default

Quote:
Originally Posted by Crashdummy View Post
You need to use evdi 1.7.2 See the announcement.

Just follow the steps from page one but use the 1.7.2 release rather than cloning/patching
Thanks for the heads up on that
andy_g is offline   Reply With Quote
Old 01-01-2021, 10:59 PM   #19
nvergontbij
Junior Member
 
Join Date: Jan 2021
Posts: 5
Post

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'
    chmod +x displaylink-driver-5.3.1.34.run
    ./displaylink-driver-5.3.1.34.run --noexec --keep
2. Get the updated evdi version by typing:

Code:
    git clone https://github.com/DisplayLink/evdi.git
    cd evdi
    git checkout v1.7.x
    tar cf evdi.tar.gz *
    cp evdi.tar.gz ../displaylink-driver-5.3.1.34
3. Install displaylink:
Code:
    cd ../displaylink-driver-5.3.1.34
    sudo ./displaylink-installer.sh install
Tested on Ubuntu 20.04, kernel version 5.10.2 (-surface).
Hope that helps.
nvergontbij is offline   Reply With Quote
Old 01-04-2021, 01:23 AM   #20
RobstaRobotard
Junior Member
 
Join Date: Mar 2020
Posts: 11
Smile 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

Last edited by RobstaRobotard; 01-04-2021 at 03:27 AM.
RobstaRobotard is offline   Reply With Quote
Reply

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 08:08 AM.


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