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

Reply
 
Thread Tools Search this Thread Display Modes
Old 11-04-2022, 08:11 PM   #11
miguel44444
Junior Member
 
Join Date: Nov 2022
Posts: 1
Thumbs up

Quote:
Originally Posted by kellehorreur View Post
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
These instructions worked for me on Fedora 36 with kernel version 6.0.5-200. Thank you so much for the help!
miguel44444 is offline   Reply With Quote
Old 11-15-2022, 12:22 AM   #12
cremohc
Junior Member
 
Join Date: Nov 2022
Posts: 1
Default What is the link to buy the dual hmi usb?

Hello, One question, it actually helps....
I have questions about which hub should I buy to use dual hdmi, could anyone tell me which is the right device?

I use PopOs.
I've seen people talking about this wavlink, but I don't think it's him:


https://pt.aliexpress.com/item/10050...d=yHr0am7r1rPL

Can someone confirm if this is the one, or what is the correct link?
Note: I'm in Europe.
cremohc is offline   Reply With Quote
Old 12-17-2022, 09:56 PM   #13
c_lanza
Junior Member
 
Join Date: Dec 2022
Posts: 2
Default

Hello @kellehorreur, first of all, thank you very much for doing the verbose explanation, for a not so advanced linux user like me, this makes is super easy to follow and understand.

However I am facing a challenge that you may be able to explain/solve.
I am using Fedora and my asus Zenscreen was running perfectly on kernel 5.16. however, I just updated to Fedora 37 running kernel 6.0.12-300.fc37.x86_64 and the problem I am facing is that when I try to compile evdi, it always comes back with an error saying that it couldn't find libdrm/drm.h
Code:
evdi_lib.c:6:10: fatal error: libdrm/drm.h: No such file or directory
    6 | #include <libdrm/drm.h>
      |          ^~~~~~~~~~~~~~
I checked and the latest version libdrm is installed but I guess it just cant find the right path??

would you have any idea on how to fix this?

cheers, and thank you very very much in advanced


Quote:
Originally Posted by kellehorreur View Post
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
c_lanza is offline   Reply With Quote
Old 12-21-2022, 07:22 PM   #14
c_lanza
Junior Member
 
Join Date: Dec 2022
Posts: 2
Default

Well, I kept digging around online and after a lot of trials I found this response from somebody on reddit:

This post
Code:
cd ~/Downlaods 
git clone https://github.com/DisplayLink/evdi
cd evdi-devel/evdi/module/
cp * /usr/src/evdi-1.12.0/
sudo dnf install dkms
sudo dkms build -m evdi -v 1.12.0 --force
sudo dkms install -m evdi -v 1.12.0
sudo reboot
and it worked like a charm. didnt even have to reboot and my Asus ZenScreen came back to life.
and in case somebody is wondering I am using Fedora 37
Linux fedora 6.0.13-300.fc37.x86_64

hope this helps somebody else.

cheers!
c_lanza is offline   Reply With Quote
Old 01-11-2023, 09:51 PM   #15
Aqualung
Junior Member
 
Join Date: Dec 2021
Posts: 20
Default

What is the status of DisplayLink drivers vis-a-vis newer kernels, such as 6.1.4? And just because my head spins after reading this thread, would any of the participants care to summarize the bottom line in this matter please?

To make it simpler, here's what the great unwashed want to know:
  1. Can 5.6.1 DL drivers be installed on newer kernels such as 6.1.4?
  2. If yes, what would be the definitive procedure?

Many thanks to all participants for their contributions so far.
Aqualung is offline   Reply With Quote
Old 01-12-2023, 11:11 AM   #16
Crashdummy
Junior Member
 
Join Date: Nov 2020
Posts: 11
Default

Quote:
Originally Posted by Aqualung View Post
What is the status of DisplayLink drivers vis-a-vis newer kernels, such as 6.1.4? And just because my head spins after reading this thread, would any of the participants care to summarize the bottom line in this matter please?

To make it simpler, here's what the great unwashed want to know:
  1. Can 5.6.1 DL drivers be installed on newer kernels such as 6.1.4?
  2. If yes, what would be the definitive procedure?

Many thanks to all participants for their contributions so far.
The DIsplaylink itself doesnt change that much so if you already have one installed you just need to update evdi ( https://github.com/DisplayLink/evdi )

Before updating to a 6.0+ kernel you just have to replace the the files dkms should compile.
Code:
# Download the most recent evdi module
$ git clone https://github.com/DisplayLink/evdi 

# Replace the ones installed by the displaylink installer
$ sudo cp "./evdi/module/*" "/usr/src/evdi-1.12.0/"

# (Optional! ) If you are already on a 6.0+ Kernel ( thus the dkms build failed during the upgrade ) reinstalll the module for your current kernel
$ sudo dkms build -m evdi -v 1.12.0 --force
$ sudo dkms install -m evdi -v 1.12.0 --force
In case youre on Fedora you can just download the asset and install it with dnf:
https://github.com/displaylink-rpm/d...s/tag/v5.6.1-1

Its already upgraded to support Kernel <6.2
6.2 will need another ( tiny ) update as well -> https://github.com/DisplayLink/evdi/issues/394

Last edited by Crashdummy; 01-16-2023 at 06:21 PM.
Crashdummy is offline   Reply With Quote
Old 01-14-2023, 07:53 PM   #17
Aqualung
Junior Member
 
Join Date: Dec 2021
Posts: 20
Default

@crashdummy: many thanks! Worked like a charm!
Aqualung is offline   Reply With Quote
Old 08-07-2023, 02:56 PM   #18
dunkirk
Junior Member
 
Join Date: Aug 2023
Posts: 1
Default Saved this gloomy Monday

Quote:
Originally Posted by kellehorreur View Post
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
I was on Linuxmint 21.2 victoria with kernel 5.19.0-50 (Dell XPS 9320 + UD22 Dock + 4 monitors). I decided to upgrade to 6.2.0-26 this morning (I don't know why).

Unsurprisingly, 2 out of 4 monitors stopped working.

Then I found this post and started following along. Interestingly, at the "Register the dkms module" step, right before I was about to execute
Code:
sudo dkms add -m evdi -v 1.12.0
everything went black. It seemed the system did a auto-log-out. Then all 4 monitors started working just like before!

Thank you sire!
dunkirk 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:35 AM.


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