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

Reply
 
Thread Tools Search this Thread Display Modes
Old 10-31-2022, 10:27 AM   #1
alucard
Junior Member
 
Join Date: Oct 2022
Posts: 3
Default

Same issue here, kernel 6.02 is not supported! Running PopOS as well, which recently upgraded to v6 kernel. I've applied the same workaround as @ice10001, rollback to v5[.9] kernel.

I've attached the install log from /var/log/displaylink, clearly showing the evdi dkms is failing.
Attached Files
File Type: zip 20221031_logs.zip (5.2 KB, 0 views)
alucard is offline   Reply With Quote
Old 10-31-2022, 01:19 PM   #2
linux_person
Junior Member
 
Join Date: Oct 2022
Posts: 3
Default Ubuntu 22.04 kernel 6 - no support

upgrade to Kernel 6 broke my display-link too.
rolled back to old kernel for now.
any word from Synaptic about kernel 6 support?
linux_person is offline   Reply With Quote
Old 10-31-2022, 04:27 PM   #3
alucard
Junior Member
 
Join Date: Oct 2022
Posts: 3
Default

Following up, probably it is the same issue as already addressed here: https://github.com/DisplayLink/evdi/issues/376

However, there's no official evdi release that includes this fix, nor does the ubuntu bundle (the .run pacakge) include it.
alucard is offline   Reply With Quote
Old 11-01-2022, 11:35 AM   #4
alucard
Junior Member
 
Join Date: Oct 2022
Posts: 3
Default Confirmed that develop branch fixes it

Following up again, I've tried building evdi from the github develop branch and I can confirm this fixes it.
  1. Checkout the repo
  2. Execute make
  3. Replace the files from the module directory to the /usr/src/evdi-1.12.0 directory

This worked for me directly on the new kernel, kicking my gnome session directly at the end of the copy. Bit messy, there are probably better ways of doing this (I'm not an expert in dkms).
Note that I already had dkms working for evdi working on the 5.19 kernel (which is still fully installed).
alucard is offline   Reply With Quote
Old 11-01-2022, 10:43 PM   #5
kellehorreur
Junior Member
 
Join Date: Nov 2022
Posts: 1
Default Manually installing in dkms

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

Last edited by kellehorreur; 11-16-2022 at 03:16 PM.
kellehorreur is offline   Reply With Quote
Old 11-03-2022, 08:21 PM   #6
displaysadness
Junior Member
 
Join Date: Nov 2022
Posts: 2
Default

The version of evdi-dkms in both Debian and Ubuntu now include the patch to make it compile on the 6.x series kernel.
displaysadness is offline   Reply With Quote
Old 11-04-2022, 12:47 PM   #7
linux_person
Junior Member
 
Join Date: Oct 2022
Posts: 3
Default

@kellehorreur thanks for these instructions! it worked for me on Pop!_OS 22.04 kernel 6.0.3
linux_person is offline   Reply With Quote
Old 11-04-2022, 08:11 PM   #8
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 12-17-2022, 09:56 PM   #9
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   #10
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
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 10:55 PM.


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