Welcome!
Forum users

Current releases
--MX-23 release info here
--Migration information to MX-23 here
--antiX-23.1 (Arditi del Popolo) release info here

Important information
--If in starting your system it boots to an unwanted Desktop, right click desktop, then select leave and logout. At the
login screen there is a session chooser at the top of the screen.

News
-- MX Linux on social media: here
-- New Forum Features, Marking Solved and Referencing a User: here

Displaylink-Debian ?

For developer discussion on package requests
Post Reply
Message
Author
User avatar
mw1649
Posts: 65
Joined: Fri Jan 02, 2015 3:17 am

Displaylink-Debian ?

#1 Post by mw1649 »

Is there any chance this script can be "tweaked" for MX ?

https://github.com/AdnanHodzic/displaylink-debian

He is using the driver from the Ubuntu rep it seems. - http://www.displaylink.com/downloads/ubuntu

I tried it but get a dbus error and as a non internals guy I am totally lost as to try to work around that!

Mike
MX-21.3_x64 Wildflower February 15 2023 Kernel: 6.1.0-4mx-amd64 x86_64 bits: 64 Desktop: Xfce 4.18.1
LENOVO IdeaPad 3 i3

User avatar
Jerry3904
Administrator
Posts: 21859
Joined: Wed Jul 19, 2006 6:13 am

Re: Displaylink-Debian ?

#2 Post by Jerry3904 »

I had to look up some background:

https://en.wikipedia.org/wiki/DisplayLink
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox and Windows 10
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

User avatar
alkmene
Posts: 5
Joined: Wed Mar 20, 2019 3:44 am

Re: Displaylink-Debian ?

#3 Post by alkmene »

This would be really great. I bought a docking station needing this driver and I tried to get the script running yesterday, but I failed. I love MX linux, but I need a docking station running with it.
Cordial greetings,
alkmene

New to Linux since 2019-01. I am running MX Linux and Linux Mint on two different machines trying to figure out the differences and learn the new operating system. Loving it :)

User avatar
JayM
Qualified MX Guide
Posts: 6793
Joined: Tue Jan 08, 2019 4:47 am

Re: Displaylink-Debian ?

#4 Post by JayM »

The README.md for displaylink-debian at GitHub says
Supported platforms are:

Debian: Jessie 8.0/Stretch 9.0/Buster 10/Sid (unstable)
Ubuntu: 14.04 Trusty/15.04 Vivid/15.10 Wily/16.04 Xenial/16.10 Yakkety/17.04 Zesty/17.10 Artful/18.04 Bionic/19.04 Disco
elementary OS: O.3 Freya/0.4 Loki/5.0 Juno
Mint: 15 Olivia/16 Petra/17.3 Rosa/18 Sarah/18.3 Sylvia/19.1 Tessa
Kali: kali-rolling/2016.2/2017.3/2018.3/2018.4
Deepin: 15/15.1/15.1.1/15.2/15.4.1
MX Linux: 17.1
BunsenLabs: Helium
Parrot: 4.5
and
Technical

displaylink-debian.sh downloads and extracts the contents of the official DisplayLink Ubuntu driver.

displaylink-debian.sh modifies the contents of the official installer, displaylink-installer.sh, makes all necessary changes for DisplayLink to work out of box on supported Linux distribution.

Install/Reinstall/Uninstall is performed.
So it should work(??) if you use the version from GitHub, not the Ubuntu one from DisplayLink, and follow the instructions.
Please read the Forum Rules, How To Ask For Help, How to Break Your System and Don't Break Debian. Always include your full Quick System Info (QSI) with each and every new help request.

User avatar
alkmene
Posts: 5
Joined: Wed Mar 20, 2019 3:44 am

Re: Displaylink-Debian ?

#5 Post by alkmene »

Hi JayM, well yes this gave me hope and so I tried it on my testing machine, but I didnt succeed in getting it to run. (I didnt try the official ubuntu version.)
Cordial greetings,
alkmene

New to Linux since 2019-01. I am running MX Linux and Linux Mint on two different machines trying to figure out the differences and learn the new operating system. Loving it :)

User avatar
Stevo
Developer
Posts: 12745
Joined: Fri Dec 15, 2006 8:07 pm

Re: Displaylink-Debian ?

#6 Post by Stevo »

It says it supports MX 17.1, but may need some tweaking to support the 18 versions. It depends on how the script detect the distro release.

Edit: the version in there also supports MX Continuum (18), so can you show us what errors you're getting?

Code: Select all

# MX Linux
elif [ "$lsb" == "MX" ];
then
	if [ $codename == "Horizon" ] || [ $codename == "Continuum" ];
	then
		echo -e "\nPlatform requirements satisfied, proceeding ..."
	else
		message
		exit 1
	fi

User avatar
alkmene
Posts: 5
Joined: Wed Mar 20, 2019 3:44 am

Re: Displaylink-Debian ?

#7 Post by alkmene »

Dear Stevo,

hell yeah, thank you very much for your offer.

I am new to Linux (and I love it). But naturally I do face some difficulties.

When I follow the instructions (on my Lenovo T440s) I get the following (error) messages:

displaylink-debian
https://github.com/AdnanHodzic/displaylink-debian

Code: Select all

Failed to retrieve unit: No such method 'GetUnit'
Details:

Code: Select all

$ git clone https://github.com/AdnanHodzic/displaylink-debian.git
Klone nach 'displaylink-debian' ...
remote: Enumerating objects: 6, done.
remote: Counting objects: 100% (6/6), done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 732 (delta 2), reused 0 (delta 0), pack-reused 726
Empfange Objekte: 100% (732/732), 170.45 KiB | 0 bytes/s, Fertig.
Löse Unterschiede auf: 100% (286/286), Fertig.
gordon@Nyx:~
$ cd displaylink-debian/ && sudo ./displaylink-debian.sh
Failed to retrieve unit: No such method 'GetUnit'

--------------------------- displaylink-debian -------------------------------

DisplayLink driver installer for Debian and Ubuntu based Linux distributions:

* Debian, Ubuntu, Elementary OS, Mint, Kali, Deepin and many more!
* Full list of all supported platforms: http://bit.ly/2zrwz2u
* When submitting a new issue, include Debug information

Options:

[I]nstall
[D]ebug
[R]e-install
[U]ninstall
[Q]uit

Select a key: [i/d/r/u/q]: i

-------------------------------------------------------------------

Checking dependencies

unzip is installed
linux-headers-4.19.0-1-amd64 is installed
dkms is installed
lsb-release is installed
dpkg-query: Paket »linux-source« ist nicht installiert und es ist keine Information verfügbar
Verwenden Sie dpkg --info (= dpkg-deb --info) zum Untersuchen von Archiven
und dpkg --contents (= dpkg-deb --contents) zum Auflisten ihres Inhalts.
linux-source not found! Install? [Y/n] y
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
The following additional packages will be installed:
linux-source-4.9
Vorgeschlagene Pakete:
libncurses-dev | ncurses-dev libqt4-dev
Die folgenden NEUEN Pakete werden installiert:
linux-source linux-source-4.9
0 aktualisiert, 2 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
Es müssen 96,8 MB an Archiven heruntergeladen werden.
Nach dieser Operation werden 96,8 MB Plattenplatz zusätzlich benutzt.
Möchten Sie fortfahren? [J/n] j
Holen:1 http://ftp.de.debian.org/debian stretch-updates/main amd64 linux-source-4.9 all 4.9.144-3.1 [96,8 MB]
Holen:2 http://ftp.de.debian.org/debian stretch/main amd64 linux-source all 4.9+80+deb9u6 [5.994 B]
Es wurden 96,8 MB in 16 s geholt (5.862 kB/s).
Vormals nicht ausgewähltes Paket linux-source-4.9 wird gewählt.
(Lese Datenbank ... 256625 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von .../linux-source-4.9_4.9.144-3.1_all.deb ...
Entpacken von linux-source-4.9 (4.9.144-3.1) ...
Vormals nicht ausgewähltes Paket linux-source wird gewählt.
Vorbereitung zum Entpacken von .../linux-source_4.9+80+deb9u6_all.deb ...
Entpacken von linux-source (4.9+80+deb9u6) ...
linux-source-4.9 (4.9.144-3.1) wird eingerichtet ...
linux-source (4.9+80+deb9u6) wird eingerichtet ...
x11-xserver-utils is installed
wget is installed

Platform requirements satisfied, proceeding ...

-------------------------------------------------------------------

Please read the Software License Agreement available at:
https://www.displaylink.com/downloads/file?id=1304
Do you accept?: [Y/n]: y

Downloading DisplayLink Ubuntu driver:

--2019-03-23 18:22:46-- https://www.displaylink.com/downloads/file?id=1304
Auflösen des Hostnamens »www.displaylink.com (www.displaylink.com)« … 18.203.109.3, 34.246.147.251, 54.77.143.153, ...
Verbindungsaufbau zu www.displaylink.com (www.displaylink.com)|18.203.109.3|:443 … verbunden.
HTTP-Anforderung gesendet, auf Antwort wird gewartet … 303 See Other
Platz: http://assets.displaylink.com/live/downloads/software/f1304_DisplayLink%20USB%20Graphics%20Software%20for%20Ubuntu%205.1.zip?AWSAccessKeyId=AKIAJHGQWPVXWHEDJUEA&Expires=1553362709&Signature=p32d0P2dOP1zFQeb%2FslHMfrk0FM%3D [folgend]
--2019-03-23 18:22:46-- http://assets.displaylink.com/live/downloads/software/f1304_DisplayLink%20USB%20Graphics%20Software%20for%20Ubuntu%205.1.zip?AWSAccessKeyId=AKIAJHGQWPVXWHEDJUEA&Expires=1553362709&Signature=p32d0P2dOP1zFQeb%2FslHMfrk0FM%3D
Auflösen des Hostnamens »assets.displaylink.com (assets.displaylink.com)« … 52.218.104.98
Verbindungsaufbau zu assets.displaylink.com (assets.displaylink.com)|52.218.104.98|:80 … verbunden.
HTTP-Anforderung gesendet, auf Antwort wird gewartet … 200 OK
Länge: 12102697 (12M) [application/octet-stream]
Wird in »»DisplayLink_Ubuntu_5.1.zip«« gespeichert.

DisplayLink_Ubuntu_5.1.z 100%[==================================>] 11,54M 5,44MB/s in 2,1s

2019-03-23 18:22:48 (5,44 MB/s) - »»DisplayLink_Ubuntu_5.1.zip«« gespeichert [12102697/12102697]


-------------------------------------------------------------------

Preparing for install

Archive: DisplayLink_Ubuntu_5.1.zip
inflating: 5.1/displaylink-driver-5.1.26.run
inflating: 5.1/LICENSE
Creating directory displaylink-driver-5.1.26
Verifying archive integrity... 100% All good.
Uncompressing DisplayLink Linux Driver 5.1.26 100%

-------------------------------------------------------------------

Installing driver version: 5.1

DisplayLink Linux Software 5.1.26 install script called: install
/sbin/init: invalid option -- '-'
Usage: init {-e VAR[=VAL] | [-t SECONDS] {0|1|2|3|4|5|6|S|s|Q|q|A|a|B|b|C|c|U|u}}
Distribution discovered: MX 18.1 Continuum
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-ubuntu-1604/DisplayLinkManager
Installing libraries
Installing firmware packages
Installing licence file
Adding udev rule for DisplayLink DL-3xxx/4xxx/5xxx/6xxx devices

Please read the FAQ
http://support.displaylink.com/knowledgebase/topics/103927-troubleshooting-ubuntu
Installation complete!
Adding udlfb to blacklist
Adding udl to blacklist

-------------------------------------------------------------------

Performing post install steps

Enable and start displaylink-driver service
Created symlink /etc/systemd/system/multi-user.target.wants/displaylink-driver.service → /lib/systemd/system/displaylink-driver.service.
Failed to start displaylink-driver.service: Unknown unit: displaylink-driver.service
See system logs and 'systemctl status displaylink-driver.service' for details.
Setup DisplayLink xorg.conf depending on graphics card
Wrote X11 changes to: /etc/X11/xorg.conf.d/20-displaylink.conf

-------------------------------------------------------------------

Performing clean-up
Removing redundant: "DisplayLink_Ubuntu_5.1.zip" file
Removing redundant: "5.1" directory

-------------------------------------------------------------------

Install complete, please reboot to apply the changes
After reboot, make sure to consult post-install guide! http://bit.ly/2TbZleK
Reboot now? [Y/n]
And then when I follow the "Post installation Guide and Troubleshooting" I receive:

https://github.com/AdnanHodzic/displaylink-debian

Code: Select all

$ sudo ./displaylink-debian.sh --debug
Failed to retrieve unit: No such method 'GetUnit'

-------------------------------------------------------------------

Starting Debug ...

Did you read Post Installation Guide? http://bit.ly/2TbZleK [y/N]
And:

Code: Select all

$ xrandr --listproviders
Providers: number : 1
Provider 0: id: 0x49 cap: 0xb, Source Output, Sink Output, Sink Offload crtcs: 4 outputs: 6 associated providers: 0 name:Intel
System info:

Code: Select all

System:    Host: Nyx Kernel: 4.19.0-1-amd64 x86_64 bits: 64 compiler: gcc v: 6.3.0 
           Desktop: Xfce 4.12.3 Distro: MX-18.1_x64 Continuum Feb 9  2019 
           base: Debian GNU/Linux 9 (stretch) 
CPU:       Topology: Dual Core model: Intel Core i7-4600U bits: 64 type: MT MCP arch: Haswell 
           rev: 1 L2 cache: 4096 KiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 21550 
           Speed: 998 MHz min/max: 800/3300 MHz Core speeds (MHz): 1: 998 2: 2200 3: 2270 
           4: 2168 
Graphics:  Device-1: Intel Haswell-ULT Integrated Graphics vendor: Lenovo driver: i915 v: kernel 
           bus ID: 00:02.0 
           Display: x11 server: X.Org 1.19.2 driver: intel resolution: 1920x1080~60Hz 
           OpenGL: renderer: Mesa DRI Intel Haswell Mobile v: 4.5 Mesa 18.2.6 direct render: Yes 
Cordial greetings,
alkmene

New to Linux since 2019-01. I am running MX Linux and Linux Mint on two different machines trying to figure out the differences and learn the new operating system. Loving it :)

Post Reply

Return to “Package Requests / Status”