DisplayLink Forum

DisplayLink Forum (https://displaylink.org/forum/index.php)
-   Linux and Open Source (https://displaylink.org/forum/forumdisplay.php?f=29)
-   -   Linux 5.9 and Display Link (https://displaylink.org/forum/showthread.php?t=67372)

sick.codes 11-30-2020 06:48 PM

Quote:

Originally Posted by andy_g (Post 91060)
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:

Confirming 1.7* works on 5.10rc6 :D

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

andy_g 12-01-2020 07:21 AM

Thanks for confirming that this also works on 5.10.X

RobstaRobotard 12-01-2020 10:50 PM

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...

Xros 12-10-2020 09:51 AM

Quote:

Originally Posted by bnavigator (Post 90853)
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?

andy_g 12-10-2020 09:57 AM

Quote:

Originally Posted by Xros (Post 91111)
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 :confused:

andy_g 12-16-2020 07:45 AM

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.

Crashdummy 12-17-2020 11:57 AM

fAILED TOO
 
Quote:

Originally Posted by andy_g (Post 91156)
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

andy_g 12-17-2020 12:25 PM

Quote:

Originally Posted by Crashdummy (Post 91178)
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

nvergontbij 01-01-2021 09:59 PM

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.

RobstaRobotard 01-04-2021 12:23 AM

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 :)


All times are GMT. The time now is 12:43 AM.

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