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

Reply
 
Thread Tools Search this Thread Display Modes
Old 05-17-2016, 01:47 PM   #1
chrysstyann
Junior Member
 
Join Date: May 2016
Posts: 3
Default Dell Precision M3800 / DisplayLink D3100 - displaylink.service failed because ...

Hi DisplayLink team and forum colleagues,

I installed new DisplayLink D3100 driver (1.1.62) on a fresh Ubuntu 16.04 and I get the same error. Reading on internet on some other forums it seems to be a problem with intel graphic driver or something but I'm not 100% sure.
I installed Ubuntu 16.04 several times +/- Download software updates option and +/- Install third party software option but the result is the same.

DisplayLink service won't start and the display inserted in D3100 is not recognized.

Displaylink Driver Installation log:
Code:
sudo ./displaylink-driver-1.1.62.run 
Verifying archive integrity... All good.
Uncompressing DisplayLink Linux Driver 1.1.62  100%  
DisplayLink Linux Software 1.1.62 install script called: install
Distribution discovered: Ubuntu 16.04 LTS
Installing
Configuring EVDI DKMS module
Registering EVDI kernel module with DKMS
Building EVDI kernel module with DKMS
Installing EVDI kernel module to kernel tree
EVDI kernel module built successfully
Installing x64/DisplayLinkManager
Installing libraries
Installing firmware packages
Installing license file
Adding udev rule for DisplayLink DL-3xxx/5xxx devices
Starting DLM systemd service
Created symlink from /etc/systemd/system/graphical.target.wants/displaylink.service to /lib/systemd/system/displaylink.service.
Job for displaylink.service failed because the control process exited with error code. See "systemctl status displaylink.service" and "journalctl -xe" for details.
On DisplayLink service status I get:
Code:
sudo service displaylink status
[sudo] password for crionita: 
● displaylink.service - DisplayLink Manager Service
   Loaded: loaded (/lib/systemd/system/displaylink.service; enabled; vendor preset: enabled)
   Active: activating (auto-restart) (Result: exit-code) since Ma 2016-05-17 15:21:44 EEST; 2s ago
  Process: 9304 ExecStartPre=/sbin/modprobe evdi (code=exited, status=1/FAILURE)

mai 17 15:21:44 UWstation systemd[1]: Failed to start DisplayLink Manager Service.
mai 17 15:21:44 UWstation systemd[1]: displaylink.service: Unit entered failed state.
mai 17 15:21:44 UWstation systemd[1]: displaylink.service: Failed with result 'exit-code'.
I used
Code:
sudo ./DLSupportTool --debug
and the exported file is attached.

Could someone tell me what should I do 'cuz, obviously, DisplayLink service doesn't start.

Any support, help solving this is much appreciated.

PS1: the same laptop with Ubuntu 15.10 + DisplayLink Driver 1.0.335 worked fine.
PS2: another laptop but the same model with Ubuntu 16.04 + DisplayLink Driver 1.1.62 works fine. wtf?!?!
Attached Files
File Type: zip UWstation_2016-05-17T16:12:34.808078.zip (47.8 KB, 0 views)

Last edited by chrysstyann; 05-17-2016 at 02:21 PM.
chrysstyann is offline   Reply With Quote
Old 05-17-2016, 02:33 PM   #2
mlukaszek
Senior Member
 
mlukaszek's Avatar
 
Join Date: Feb 2010
Posts: 386
Default

This looks odd. The reason it doesn't work is evdi kernel module not being loaded at all, although from the installation it looks like DKMS successfully built it.

Can you inspect what actually happened in DKMS? Perhaps the build actually failed, but the script does not quite get it? Look for clues in /var/lib/dkms.

Thanks,
Michal
mlukaszek is offline   Reply With Quote
Old 05-17-2016, 02:51 PM   #3
chrysstyann
Junior Member
 
Join Date: May 2016
Posts: 3
Default

Hey,

How did you figure it out that evdi kernel module is not loaded at all?
I'm a beginner so.. inspecting what happen in DKMS (/var/lib/dkms) won't enlighten me.

So, the problem is at the DisplayLink driver installation process?

Anyways, I installed Ubuntu 16.04 2-3 times by now. Is there a possibility that evdi kernel module failed every time (I got the same error every time).

What would be the easiest way to fix this issue?

LE: got it. From the machine_info.txt
Code:
DL driver version: 1.1.62
EVDI kernel module version: None
Tried to install driver 1.0.335. See logs:
Code:
sudo ./displaylink-driver-1.0.335.run
Verifying archive integrity... All good.
Uncompressing DisplayLink Linux Driver 1.0.335  100%  
DisplayLink Linux Software 1.0.335 install script called: install
Distribution discovered: Ubuntu 16.04 LTS
WARNING: Kernel version 4.4.0-22-generic is not supported. Highest supported version is 3.19.
Installing
Configuring EVDI DKMS module
Registering EVDI kernel module with DKMS
Building EVDI kernel module with DKMS
Installing EVDI kernel module to kernel tree
EVDI kernel module built successfully
Installing x64/DisplayLinkManager
Installing libraries
Installing firmware packages
Installing license file
Adding udev rule for DisplayLink DL-3xxx/5xxx devices
The installation log says that evdi kernel module is installed but on machine_info.txt is saying something else.
Code:
DL driver version: 1.0.335
EVDI kernel module version: None
My doubts are:
1. Why the newest driver gets an error on installation process and the old one no?
2. Why the older driver installation process is fine (besides kernel warning which should be 3.19) and in machine_info.txt evdi kernel module is none?

3. Is there a problem with DKMS package ? Should I install and older version? If yes, where should I find it?

Last edited by chrysstyann; 05-17-2016 at 03:07 PM.
chrysstyann is offline   Reply With Quote
Old 05-17-2016, 03:10 PM   #4
mlukaszek
Senior Member
 
mlukaszek's Avatar
 
Join Date: Feb 2010
Posts: 386
Default

It can also be seen here - loading the module is necessary for DisplayLinkManager service to start:
Code:
Process: 9304 ExecStartPre=/sbin/modprobe evdi (code=exited, status=1/FAILURE)
That's fine, you could archive the contents of /var/lib/dkms/evdi/*/build/ and attach here so we can have a look

Cheers,
Michal
mlukaszek is offline   Reply With Quote
Old 05-17-2016, 03:13 PM   #5
mlukaszek
Senior Member
 
mlukaszek's Avatar
 
Join Date: Feb 2010
Posts: 386
Default

Quote:
Originally Posted by chrysstyann View Post
Hey,
The installation log says that evdi kernel module is installed but on machine_info.txt is saying something else.
Code:
DL driver version: 1.0.335
EVDI kernel module version: None
The support tool is actually trying to query a running, loaded evdi kernel module. Seeing "None" here indicates you can't read /sys/modules/evdi/version - which may mean that it either doesn't exist (module is not loaded), or you don't have permissions to read it.

Cheers,
Michal
mlukaszek is offline   Reply With Quote
Old 05-17-2016, 04:17 PM   #6
chrysstyann
Junior Member
 
Join Date: May 2016
Posts: 3
Default

I have installed Ubuntu 16.04 again because I messed things there.
Now, after the installation I run just:
1. sudo apt-get update (for repos);
2. sudo apt-get install dkms;
3. sudo ./displaylink-driver-1.1.62.run;
...and nothing else.
Do you think I have to run something else first?
According to installation page, "If you are on an amd64 system that boots with UEFI, you will also need the matching signed kernel: sudo apt-get install linux-signed-generic-lts-utopic". My machine is with UEFI but to another laptop (same model) I didn't install linux-signed-generic-lts-utopic (also UEFI enabled in BIOS) and the display port is working like a charm.

And I have the same logs:
Code:
sudo ./displaylink-driver-1.1.62.run
Verifying archive integrity... All good.
Uncompressing DisplayLink Linux Driver 1.1.62  100%  
DisplayLink Linux Software 1.1.62 install script called: install
Distribution discovered: Ubuntu 16.04 LTS
Installing
Configuring EVDI DKMS module
Registering EVDI kernel module with DKMS
Building EVDI kernel module with DKMS
Installing EVDI kernel module to kernel tree
EVDI kernel module built successfully
Installing x64/DisplayLinkManager
Installing libraries
Installing firmware packages
Installing license file
Adding udev rule for DisplayLink DL-3xxx/5xxx devices
Starting DLM systemd service
Created symlink from /etc/systemd/system/graphical.target.wants/displaylink.service to /lib/systemd/system/displaylink.service.
Job for displaylink.service failed because the control process exited with error code. See "systemctl status displaylink.service" and "journalctl -xe" for details.
Attached is the folder in /var/lib/dkms. Please rename dkms.zip to dkms.tar as I couldn't attach it otherwise.
Attached Files
File Type: zip dkms.zip (215.2 KB, 0 views)

Last edited by chrysstyann; 05-17-2016 at 04:30 PM.
chrysstyann is offline   Reply With Quote
Old 08-06-2016, 05:07 PM   #7
Mrmice
Junior Member
 
Join Date: Aug 2016
Posts: 3
Default

Same issue here.
Also ubuntu 16.04, XPS 13
Very frustrating as I bought this laptop and the D3100 docking together.

Thanks in advance
Attached Files
File Type: zip MrMice-XPS13_2016-08-06T17:51:52.565530.zip (206.4 KB, 0 views)
Mrmice is offline   Reply With Quote
Old 08-08-2016, 09:24 AM   #8
CUnknown
Junior Member
 
Join Date: Aug 2016
Posts: 1
Default

It looks like I'm having the same issue after a complete reinstall of Ubuntu 16.04 to enable full disk encryption and secure boot.

Previously, it was working fine (also Ubuntu 16.04 x64).

In the syslog it shows the error message: modprobe[11418]: modprobe: ERROR: could not insert 'evdi': Required key not available

Last edited by CUnknown; 08-08-2016 at 03:49 PM.
CUnknown is offline   Reply With Quote
Old 08-12-2016, 12:03 PM   #9
Bacms
Junior Member
 
Join Date: Jul 2016
Posts: 4
Default

Quote:
Originally Posted by CUnknown View Post
It looks like I'm having the same issue after a complete reinstall of Ubuntu 16.04 to enable full disk encryption and secure boot.

Previously, it was working fine (also Ubuntu 16.04 x64).

In the syslog it shows the error message: modprobe[11418]: modprobe: ERROR: could not insert 'evdi': Required key not available
You probably need to re-sign your new kernel. This happens to me every time ubuntu updates it's kernel. Simply type:

sudo /usr/src/linux-headers-4.4.0-31-generic/scripts/sign-file sha256 ./EVDI.priv ./EVDI.der $(modinfo -n evdi)

Replacing the version of the headers by your own version
Bacms 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:44 PM.


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