Closed VietTralala closed 4 years ago
There is new release of Evdi with support for kernel 5.1: https://github.com/DisplayLink/evdi/releases/tag/v1.6.1 It should work properly with latest version of DisplayLinkManager (5.1) https://www.displaylink.com/downloads/ubuntu
Hi, is there an "howto" for updateing EVDI? I downloaded the sources from github and can compile it. But what to do with the resulting modules and files?
TIA
Uwe
Hi,
I've created a modified version of DisplayLink driver 5.1.26 with the new included evdi v1.6.1 which worked well on elementary OS Juno5 (ubuntu LTS 18.04.02 based) and kernel v5.1.4 from ukuu.
I renamed it to v5.1.27 and attached a working installer to solve our problem.
You can use the installer exactly as explained by https://support.displaylink.com/knowledgebase/articles/679060
by running as super user displaylink-installer.sh file after extracting the tar.gz file:
sudo ./displaylink-installer.sh --install
Best regards!
Thanks a LOT!!!!!
Installs and works also perfectly under Debian-SID with following kernel: 5.1.3-towo.2-siduction-amd64
Both external displays on my notebook were detected as expected.
Thanks for Your work
I can't get it to work either way.
Using sudo ./displaylink-debian.sh --install
As you can see, it passes the EVDI kernel module step but throws some warnings for some files not being found.
I uninstalled it again: sudo ./displaylink-installer.sh install
, copied the contents of displaylink-driver-5.1.26/x64-ubuntu-1604
into /opt/displaylink
, and ran the installer again. The warnings were gone. Rebooted.
Didn't work. USB just blinked twice and nothing happened.
I checked the service status with sudo service displaylink-driver status
and it says it's inactive (dead)
.
With the adapter unplugged I started the service with sudo service displaylink-driver start
and checked that it's running with sudo service displaylink-driver status
again, this time with an active (running)
return code.
I plug in the adapter, it just blinks twice and nothing happens again. Service is still running. When I remove the adapter, the service stops and goes back to inactive (dead)
.
I'm hitting a wall here, I don't know what else to do.
If you could take a look at my case, @AdnanHodzic, that would be great.
PS: Important info that I forgot to mention: The adapter worked plug-and-play the first time I plugged it in, but I had some color issues in my monitor, so that's when I tried to install the driver and did all the above steps and got to where I am now.
Device: UGA-165 Linux: 18.04.2 LTS Kernel: 5.1.9
@Luc45 ,
Are you using 64bit or 32bit Ubuntu version? My 64bit eOS setup do not required those files. Double check it, because the provided files are only for x86 and arm. The x64-ubuntu-1604 folder is empty.
@julianofcald
The first time I saw those "missing file" warnings, I copied the contents from the x86 folder you provided:
sudo cp displaylink-driver-5.1.27/x86-ubuntu-1604 /opt/displaylink
Upon seeing the warnings were gone but the adapter still didn't work, I uninstalled it again, downloaded the driver from DisplayLink, copied the x64 folder from there:
sudo cp displaylink-driver-5.1.26/x64-ubuntu-1604 /opt/displaylink
And installed yours (5.1.27, with EVDI 1.6.1). It installed fine again, but still, the adapter wasn't working.
Does yours work? Can you please run sudo ls -la /opt/displaylink
and let me know if there's anything in there?
Okay, so I got this working - sort of.
I downloaded a fresh version of 5.1.26 from DisplayLink drivers and got the EVDI 1.6.1 .tar.gz from the file you shared, @julianofcald. Now, I have to follow a very specific step to get this working:
sudo systemctl start displaylink-driver
If I plug it out, the service becomes inactive. If I start it again and connect the adapter again, it doesn't work - it's a one time thing, only the first time it is plugged in or I have to reboot.
Other than that, there are some artifacts around the mouse on the DisplayLink monitor and mouse is very lagged. I use GTX 1070 with Nvidia drivers, but that's a subject for another issue...
So, I have uninstalled NVIDIA Drivers, and came back to Noveau drivers. Ugraded kernel version from 5.1.9 to 5.1.15
Adapter now works on boot, even though sudo systemctl status displaylink-driver
still shows it's stopped. However, the artifacts on screen are still there, such as square around the mouse and/or mouse flickering.
-- Edit
Logging out and in again solves the artifacts. Seems it's working fine now! :tada:
So, more tips for anyone who cares:
I managed to solve the log-in/log-out artifacts with these:
The reason I did those is because /opt/displaylink/DisplayLinkManager
was using a LOT of CPU, specially when moving my mouse around (I know, right?). Unfortunately it didn't help it, and it's still using a lot of CPU.
Hey @Luc45 ,
Thank you so much for sharing those links with us. You solved an old problem that i have here. Before your tip, my dell displaylink dock station only displayed image if i booted with the USB cable plugged in before boot. Additionally, before suspending the notebook, the displaylink device must be removed in order to continue working after wake up. Now, i don't have the problem anymore.
However, i don't know if it's because in using eOS, but i don't have the /etc/modules listed in one of your links. So, my workaround was to:
sudo nano /usr/share/X11/xorg.conf.d/21-displaylink.conf
paste:
Section "Device" Identifier "DisplayLink" Driver "modesetting" Option "PageFlip" "false" EndSection
saved the file. (exactly as said in the first article)
and then:
sudo nano /etc/modules-load.d/modules.conf
added:
evdi
saved the file.
and then:
sudo nano /etc/modprobe.d/evdi.conf
added:
options evdi initial_device_count=2
because i have 2 extra screens
saved the file.
Rebooted.
and then, like magic, it worked. Thank you so much for sharing those links.
@Luc45 i follwed the steps in this thread but my display link disconnects/hungs intermittently sometimes. can you please give details steps/commands on how you installed displaylink/evdi. My ubuntu version is 18.05, kernel_version: 5.1.9
@julianofcald I'm glad that I could be of help!
@saikrishnagaddipati I didn't face this issue, so I don't know, but I suspect of some kind of USB power management thing. (https://askubuntu.com/questions/185274/how-can-i-disable-usb-autosuspend-for-a-specific-device)
And as a final note for my list of issues, my CPU usage with DisplayLink dropped significantly using Nvidia Drivers instead of Nouveau.
Closing this issue due to inactivity.
Please reopen this issue if it still persists.
When I try to install the driver the
/displaylink-debian.sh
will fail at:The log file contains:
I checked the paths
/usr/src/linux-headers-5.1.0-050100-generic/include/generated/autoconf.h
and/usr/src/linux-headers-5.1.0-050100-generic/include/config/auto.conf
but both existed. So I don't know why this error appears. How can I fix this error? Thank you in advance!