PDA

View Full Version : Trying to install DisplayLink-Ubuntu-1.0.138.zip with Linux 4.1


jgbarah
09-26-2015, 02:55 PM
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:


$ 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?

emher
09-30-2015, 12:28 PM
I am having the same problem on Ubuntu 15.10 (kernel 4.2.0-11-generic).

Szymon
10-01-2015, 06:42 AM
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 (http://support.displaylink.com/knowledgebase/articles/684649-how-to-install-displaylink-software-on-ubuntu)

and then try to install again.

Regards,
Szymon

emher
10-05-2015, 05:28 AM
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

tammbuhez
10-06-2015, 05:49 AM
Hi all,

I succeeded in making the driver works on Debian Jessie with a backported kernel:

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/LinuxWith 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:


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


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

emher
10-06-2015, 11:30 AM
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 :D

Cheers,
emher

tammbuhez
10-06-2015, 11:54 AM
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 :D

Cheers,
emher

Glad to see that!

emher
10-08-2015, 06:35 AM
Hi all,

after installing the new display link driver the CPU consumption has gone crazy. The DisplayLinkManager consistently uses 50% of my CPU. Does any of you have similar problems?

http://peecee.dk/uploads/102015/Screenshot_from_2015-10-08_08-32-09.png

My CPU is an Intel® Core™ i7-3667U CPU @ 2.00GHz × 4.

\emher

travis1969
10-20-2015, 11:35 PM
tammbuhez, or anyone else that can help.
I compiled successfully kernel 4.2.3 (intel i7)

I get "bash: Linux: command not found" . I have no idea what to do with the "code" you posted (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)

Thank you for the help. I have two DisplayLInks (USB 2.0 UGA). Can't wait to get them running here at work.

tammbuhez
10-21-2015, 04:48 AM
This is not a code to type, this is the output of the comand "uname -a" showing my kernel version.

fooctrl
11-30-2015, 05:20 AM
For those of you interested, I made a DisplayLink driver installer for Debian (Jessie/Stretch/Sid) (https://github.com/AdnanHodzic/displaylink-debian)

It works regardless of your kernel version.

displaylink-debian licence is GPLv3 and if you’d like to add any changes or to extend it to any other distribution then Debian, be my guest!

egrange
12-16-2015, 02:25 AM
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)

tammbuhez
12-16-2015, 05:20 AM
What's the output of command xrandr --listproviders?

egrange
12-16-2015, 01:41 PM
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

tammbuhez
12-16-2015, 06:57 PM
What is the provider called radeon?
Could you try with the displaylink only?

egrange
12-16-2015, 07:46 PM
Radeon is the PC's graphics card apparently. How do I proceed to switch it off as you suggest ?
Thank you again for your help.

tammbuhez
12-16-2015, 09:35 PM
what is the output of lscpi?
I'd like to understand your computer's hardware configuration. It seems you also have an Intel video card. What is your main video card?

egrange
12-17-2015, 09:47 PM
This is the result of the lscpi command if this helps :)

00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev 12)
Subsystem: Acer Incorporated [ALI] Device 0364
Flags: bus master, fast devsel, latency 0
Capabilities: [e0] Vendor Specific Information: Len=0c <?>
Kernel driver in use: agpgart-intel

00:01.0 PCI bridge: Intel Corporation Core Processor PCI Express x16 Root Port (rev 12) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 24
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
I/O behind bridge: 00002000-00002fff
Memory behind bridge: afe00000-afefffff
Prefetchable memory behind bridge: 00000000b0000000-00000000bfffffff
Capabilities: [88] Subsystem: Acer Incorporated [ALI] Device 0364
Capabilities: [80] Power Management version 3
Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [a0] Express Root Port (Slot+), MSI 00
Capabilities: [100] Virtual Channel
Kernel driver in use: pcieport

00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 12) (prog-if 00 [VGA controller])
Subsystem: Acer Incorporated [ALI] Device 0365
Flags: bus master, fast devsel, latency 0, IRQ 26
Memory at f0000000 (64-bit, non-prefetchable) [size=4M]
Memory at d0000000 (64-bit, prefetchable) [size=256M]
I/O ports at 1800 [size=8]
Expansion ROM at <unassigned> [disabled]
Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [d0] Power Management version 2
Capabilities: [a4] PCI Advanced Features
Kernel driver in use: i915

00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series Chipset HECI Controller (rev 06)
Subsystem: Acer Incorporated [ALI] Device 0364
Flags: bus master, fast devsel, latency 0, IRQ 28
Memory at f0804000 (64-bit, non-prefetchable) [size=16]
Capabilities: [50] Power Management version 3
Capabilities: [8c] MSI: Enable+ Count=1/1 Maskable- 64bit+
Kernel driver in use: mei_me

00:1a.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05) (prog-if 20 [EHCI])
Subsystem: Acer Incorporated [ALI] Device 0364
Flags: bus master, medium devsel, latency 0, IRQ 16
Memory at f0806000 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2
Capabilities: [58] Debug port: BAR=1 offset=00a0
Capabilities: [98] PCI Advanced Features
Kernel driver in use: ehci-pci

00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 05)
Subsystem: Acer Incorporated [ALI] Device 0364
Flags: bus master, fast devsel, latency 0, IRQ 29
Memory at f0800000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
Capabilities: [100] Virtual Channel
Capabilities: [130] Root Complex Link
Kernel driver in use: snd_hda_intel

00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 05) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 16
Bus: primary=00, secondary=03, subordinate=04, sec-latency=0
I/O behind bridge: 00003000-00003fff
Memory behind bridge: f0400000-f04fffff
Prefetchable memory behind bridge: 00000000f0a00000-00000000f0bfffff
Capabilities: [40] Express Root Port (Slot+), MSI 00
Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
Capabilities: [90] Subsystem: Acer Incorporated [ALI] Device 0364
Capabilities: [a0] Power Management version 2
Kernel driver in use: pcieport

00:1c.1 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2 (rev 05) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 17
Bus: primary=00, secondary=05, subordinate=05, sec-latency=0
I/O behind bridge: 00004000-00004fff
Memory behind bridge: f0500000-f05fffff
Prefetchable memory behind bridge: 00000000a0000000-00000000a01fffff
Capabilities: [40] Express Root Port (Slot+), MSI 00
Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
Capabilities: [90] Subsystem: Acer Incorporated [ALI] Device 0364
Capabilities: [a0] Power Management version 2
Kernel driver in use: pcieport

00:1d.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05) (prog-if 20 [EHCI])
Subsystem: Acer Incorporated [ALI] Device 0364
Flags: bus master, medium devsel, latency 0, IRQ 23
Memory at f0807000 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2
Capabilities: [58] Debug port: BAR=1 offset=00a0
Capabilities: [98] PCI Advanced Features
Kernel driver in use: ehci-pci

00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a5) (prog-if 01 [Subtractive decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=0f, subordinate=0f, sec-latency=0
I/O behind bridge: 00005000-00005fff
Memory behind bridge: a0300000-a04fffff
Prefetchable memory behind bridge: 00000000a0500000-00000000a06fffff
Capabilities: [50] Subsystem: Acer Incorporated [ALI] Device 0364

00:1f.0 ISA bridge: Intel Corporation HM55 Chipset LPC Interface Controller (rev 05)
Subsystem: Acer Incorporated [ALI] Device 0364
Flags: bus master, medium devsel, latency 0
Capabilities: [e0] Vendor Specific Information: Len=10 <?>
Kernel driver in use: lpc_ich

00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset 4 port SATA AHCI Controller (rev 05) (prog-if 01 [AHCI 1.0])
Subsystem: Acer Incorporated [ALI] Device 0364
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 25
I/O ports at 1818 [size=8]
I/O ports at 180c [size=4]
I/O ports at 1810 [size=8]
I/O ports at 1808 [size=4]
I/O ports at 1820 [size=32]
Memory at f0808000 (32-bit, non-prefetchable) [size=2K]
Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [70] Power Management version 3
Capabilities: [a8] SATA HBA v1.0
Capabilities: [b0] PCI Advanced Features
Kernel driver in use: ahci

00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 05)
Subsystem: Acer Incorporated [ALI] Device 0364
Flags: medium devsel, IRQ 10
Memory at f0809000 (64-bit, non-prefetchable) [size=256]
I/O ports at 1840 [size=32]

00:1f.6 Signal processing controller: Intel Corporation 5 Series/3400 Series Chipset Thermal Subsystem (rev 05)
Subsystem: Acer Incorporated [ALI] Device 0364
Flags: fast devsel, IRQ 18
Memory at f080a000 (64-bit, non-prefetchable) [size=4K]
Capabilities: [50] Power Management version 3
Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
Kernel driver in use: intel ips

02:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Park [Mobility Radeon HD 5430/5450/5470] (rev ff) (prog-if ff)
!!! Unknown header type 7f
Kernel driver in use: radeon

02:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Cedar HDMI Audio [Radeon HD 5400/6300 Series] (rev ff) (prog-if ff)
!!! Unknown header type 7f
Kernel driver in use: snd_hda_intel

03:00.0 Ethernet controller: Qualcomm Atheros AR8151 v1.0 Gigabit Ethernet (rev c0)
Subsystem: Acer Incorporated [ALI] Device 0364
Flags: bus master, fast devsel, latency 0, IRQ 30
Memory at f0400000 (64-bit, non-prefetchable) [size=256K]
I/O ports at 3000 [size=128]
Capabilities: [40] Power Management version 3
Capabilities: [48] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [58] Express Endpoint, MSI 00
Capabilities: [6c] Vital Product Data
Capabilities: [100] Advanced Error Reporting
Capabilities: [180] Device Serial Number ff-aa-f3-98-00-26-2d-ff
Kernel driver in use: atl1c

05:00.0 Network controller: Broadcom Corporation BCM43225 802.11b/g/n (rev 01)
Subsystem: Foxconn International, Inc. T77H103.00 Wireless Half-size Mini PCIe Card
Flags: bus master, fast devsel, latency 0, IRQ 17
Memory at f0500000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [40] Power Management version 3
Capabilities: [58] Vendor Specific Information: Len=78 <?>
Capabilities: [48] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [d0] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [13c] Virtual Channel
Capabilities: [160] Device Serial Number 00-00-00-ff-ff-14-78-e4
Capabilities: [16c] Power Budgeting <?>
Kernel driver in use: bcma-pci-bridge

ff:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers (rev 02)
Subsystem: Intel Corporation Device 8086
Flags: bus master, fast devsel, latency 0

ff:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture System Address Decoder (rev 02)
Subsystem: Intel Corporation Device 8086
Flags: bus master, fast devsel, latency 0

ff:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 02)
Subsystem: Intel Corporation Device 8086
Flags: bus master, fast devsel, latency 0

ff:02.1 Host bridge: Intel Corporation 1st Generation Core i3/5/7 Processor QPI Physical 0 (rev 02)
Subsystem: Intel Corporation Device 8086
Flags: bus master, fast devsel, latency 0

ff:02.2 Host bridge: Intel Corporation 1st Generation Core i3/5/7 Processor Reserved (rev 02)
Subsystem: Intel Corporation Device 8086
Flags: bus master, fast devsel, latency 0

ff:02.3 Host bridge: Intel Corporation 1st Generation Core i3/5/7 Processor Reserved (rev 02)
Subsystem: Intel Corporation Device 8086
Flags: bus master, fast devsel, latency 0

fooctrl
01-31-2016, 05:06 PM
In the latest version of "displaylink-debian (https://github.com/AdnanHodzic/displaylink-debian)" I've also added support for Ubuntu >=15.04 to <=16.04

Please remove your current installation, reboot your system and then install it using displaylink-debian.

AntiNSA
02-01-2016, 05:51 AM
can you give me the best command to purge remove displaylink driver? I would like to reinstall trying your driver. I can only use the external monitors with the open source ati driver. With the proprietary drivers I cant use them.... only black screens

AntiNSA
02-01-2016, 06:11 AM
It seems I am unable to edit my own posts. Here is the comman I used on ubuntu 15.10 to install the driver:
sudo /home/robert/Downloads/dl/displaylink-driver-1.0.335.run

I am running cinamin.


can you give me the correct command to completely remove that driver, and install yours within ubuntu? I hope your driver can fork with the propratary radeon/ati driver to allow betttewr hardware acceleration and less lag than the the opensource drivers. Thank you.

fooctrl
02-01-2016, 06:40 AM
If you used "displaylink-debian" to install it and if the driver dir is still there, you can do this by just running the script and selecting "uninstall".

Otherwise, get the version of driver you installed, extract the source, i.e:

./displaylink-driver-1.0.138.run --keep --noexec
cd displaylink-driver-1.0.138/
sudo ./displaylink-installer.sh uninstall

unfulvio
03-31-2016, 01:19 PM
Hello there fooctrl I tried your script but it didn't seem to work with Ubuntu 15.10

I believe that the driver recently changed and does no longer contain the function you're attempting to change in your script

would you be so kind to provide an older version of the patched driver? I might give it a try -- thanks!

for more details: https://github.com/AdnanHodzic/displaylink-debian/issues/5

unfulvio
03-31-2016, 05:21 PM
never mind, thanks, figured out that installation wasn't the issue

looks like I might have that intel libdrm conflict... but unable to solve it :(