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

Reply
 
Thread Tools Search this Thread Display Modes
Old 09-26-2015, 03:55 PM   #1
jgbarah
Junior Member
 
Join Date: Sep 2015
Posts: 1
Question Trying to install DisplayLink-Ubuntu-1.0.138.zip with Linux 4.1

I'm trying to install DisplayLink-Ubuntu-1.0.138.zip in my Debian testing/amd64 box, which has a 4.1 kernel. It fails in what seems to be a pre-installation check, saying:

Code:
$ sudo ./displaylink-driver-1.0.138.run 
[sudo] password for jgb: 
Verifying archive integrity... All good.
Uncompressing DisplayLink Linux Driver 1.0.138  100%  
DisplayLink Linux Software 1.0.138 install script called: install
Distribution discovered: Debian GNU/Linux testing (stretch)
WARNING: Kernel version 4.1.0-2-amd64 is not supported. Highest supported version is 3.19.
Unsatisfied dependencies. Missing component: Linux headers for running kernel, 4.1.0-2-amd64.
This is a fatal error, cannot install DisplayLink Linux Software
According to the release notes, however, it seems it should work with 4.x kernels...

Any idea?

Last edited by jgbarah; 09-29-2015 at 11:31 AM.
jgbarah is offline   Reply With Quote
Old 09-30-2015, 01:28 PM   #2
emher
Junior Member
 
Join Date: Sep 2015
Posts: 5
Default

I am having the same problem on Ubuntu 15.10 (kernel 4.2.0-11-generic).
emher is offline   Reply With Quote
Old 10-01-2015, 07:42 AM   #3
Szymon
DisplayLink Tech Support
 
Szymon's Avatar
 
Join Date: Feb 2010
Posts: 55
Default

Hi,

The kernel version should not be an issue preventing from SW install in this case. What you need are headers for your kernel version.
Please install all dependant packages for your kernel version listed in this article:
how-to-install-displaylink-software-on-ubuntu

and then try to install again.

Regards,
Szymon
Szymon is offline   Reply With Quote
Old 10-05-2015, 06:28 AM   #4
emher
Junior Member
 
Join Date: Sep 2015
Posts: 5
Default

Hi Szymon,

thanks for your advice. I tried to follow the guide. I was unable to install install the linux-generic-lts-utopic and xserver-xorg-lts-utopic packages (they were not found), but i guess this i not a problem since i have a sufficiently new kernel?

I have the same problem with the matching signed kernel. The terminal output is:

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-signed-generic-lts-utopic


Now, if i run the displaylink installer anyway as instructed i get the following terminal output:

Verifying archive integrity... All good.
Uncompressing DisplayLink Linux Driver 1.0.138 100%
DisplayLink Linux Software 1.0.138 install script called: install
Distribution discovered: Ubuntu Wily Werewolf (development branch)
WARNING: Kernel version 4.2.0-11-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


However, when i connect my display link products nothing happens. I tried reinstalling without any luck. Any idea of what might be wrong?

Thanks,
emher
emher is offline   Reply With Quote
Old 10-06-2015, 06:49 AM   #5
tammbuhez
Junior Member
 
Join Date: Oct 2015
Posts: 6
Lightbulb

Hi all,

I succeeded in making the driver works on Debian Jessie with a backported kernel:
Code:
Linux mp-de-007 4.1.0-0.bpo.2-amd64 #1 SMP Debian 4.1.6-1~bpo8+1 (2015-09-09) x86_64 GNU/Linux
With the displaylink and monitor connected (not sure it is necessary, but I do it this way):
  • Extract the sources from the binarie
    • ./displaylink-driver-1.0.138.run --keep --noexec
    • cd displaylink-driver-1.0.138/
  • Link Kbuild on Makefile (required to find headers)
    • cd /lib/modules/$(uname -r)/build
    • sudo ln -s Makefile Kbuild
  • Uninstall my previous installation (if already installed)
    • sudo ./displaylink-installer.sh uninstall
    • sudo rmmod evdi
  • edit the installer (displaylink-installer.sh) used in previous step and change
    • line 10: SYSTEMINITDAEMON=systemd
    • line 13:ATTR{idVendor}=="17e9" instead of ATTR{idVendor}=="179"
  • run the installer
    • sudo ./displaylink-installer.sh install
Then you should be able to see a new provider:

Code:
xrandr --listproviders

Providers: number : 2
Provider 0: id: 0x47 cap: 0xb, Source Output, Sink Output, Sink Offload crtcs: 4 outputs: 4 associated providers: 0 name:Intel
Provider 1: id: 0x13c cap: 0x2, Sink Output crtcs: 1 outputs: 1 associated providers: 0 name:modesetting
The displaylink is the provider 1 named "modesetting"
Connect it to provider 0

Code:
xrandr --setprovideroutputsource 1 0
Then go to your display preferences, you should see the new monitor.

The following does not work:
- unplug and plug again your monitor
- when removing the displaylink, xrandr still display the provider 1, need a reboot to make it disappear.

Regards,
Tamm Buhez

Last edited by tammbuhez; 10-13-2015 at 08:32 AM.
tammbuhez is offline   Reply With Quote
Old 10-06-2015, 12:30 PM   #6
emher
Junior Member
 
Join Date: Sep 2015
Posts: 5
Default

Hi tammbuhez,

I followed your instructions (just the two small edits in the installer script, not the provider stuff) and my external monitors are now working flawlessly again (Ubuntu 15.10, kernel 4.2.0-11-generic). You are my hero

Cheers,
emher
emher is offline   Reply With Quote
Old 10-06-2015, 12:54 PM   #7
tammbuhez
Junior Member
 
Join Date: Oct 2015
Posts: 6
Smile

Quote:
Originally Posted by emher View Post
Hi tammbuhez,

I followed your instructions (just the two small edits in the installer script, not the provider stuff) and my external monitors are now working flawlessly again (Ubuntu 15.10, kernel 4.2.0-11-generic). You are my hero

Cheers,
emher
Glad to see that!
tammbuhez is offline   Reply With Quote
Old 12-16-2015, 03:25 AM   #8
egrange
Junior Member
 
Join Date: Dec 2015
Posts: 4
Default Linux 4.2.0-19-generic black screen

Hello,

Thanks to tammbuhez for your tuto, and your driver for Debian. Unfortunately for me, I'm on Ubuntu Mate, and neither work.

My AOC E2251Fwu external screen is detected (even its resolution)... but it remains blank.

My system (kernel Linux 4.2.0-19-generic) even shows a 3rd screen: "FNM" in a black square (see screen print). What is that ?

Any suggestion welcome (I'm a Linux beginner).

Thx,

Etienne
(I submit here because I gather that 4.1 or 4.2 present similar issues with the original DL installer)
Attached Images
File Type: jpg Capture-1.jpg (20.5 KB, 0 views)
egrange is offline   Reply With Quote
Old 12-16-2015, 06:20 AM   #9
tammbuhez
Junior Member
 
Join Date: Oct 2015
Posts: 6
Default

What's the output of command
Code:
xrandr --listproviders
?
tammbuhez is offline   Reply With Quote
Old 12-16-2015, 02:41 PM   #10
egrange
Junior Member
 
Join Date: Dec 2015
Posts: 4
Default xrandr --listproviders

etienne@etienne-Aspire-3820:~$ xrandr --listproviders
Providers: number : 5
Provider 0: id: 0x8f cap: 0x9, Source Output, Sink Offload crtcs: 3 outputs: 3 associated providers: 4 name:Intel
Provider 1: id: 0x120 cap: 0x2, Sink Output crtcs: 1 outputs: 1 associated providers: 1 name:modesetting
Provider 2: id: 0x68 cap: 0x2, Sink Output crtcs: 1 outputs: 1 associated providers: 1 name:modesetting
Provider 3: id: 0x46 cap: 0x6, Sink Output, Source Offload crtcs: 4 outputs: 3 associated providers: 2 name:radeon
Provider 4: id: 0x46 cap: 0x6, Sink Output, Source Offload crtcs: 4 outputs: 3 associated providers: 2 name:radeon
egrange 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:15 PM.


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