AdnanHodzic / displaylink-debian

DisplayLink driver installer for Debian and Ubuntu based Linux distributions.
https://foolcontrol.org/?p=1777
GNU General Public License v3.0
1.29k stars 229 forks source link

MX 19.03 -- ERROR: the installer script is unable to find out how to start DisplayLinkManager service automatically on your system. #551

Closed ajsap closed 3 years ago

ajsap commented 3 years ago

--------------- Linux system info ----------------

Distro: Debian Release: buster Kernel: 5.8.0-3-amd64

---------------- DisplayLink info ----------------

Driver version: System has not been booted with systemd as init system (PID 1). Can't operate. Failed to connect to bus: Host is down DisplayLink service status: EVDI service version: /sys/devices/evdi/version not found

------------------ Graphics card -----------------

Vendor: i915 Subsystem: HD VGA: Intel Corporation HD Graphics 620 (rev 02) VGA (3D): X11 version: 1.20.9-2~mx19ahs+1 X11 configs: /etc/X11/xorg.conf.d/synaptics.conf /etc/X11/xorg.conf.d/10-evdev.conf

-------------- DisplayLink xorg.conf -------------

File: /etc/X11/xorg.conf.d/20-displaylink.conf cat: /etc/X11/xorg.conf.d/20-displaylink.conf: No such file or directory Contents:

-------------------- Monitors --------------------

Providers: number : 1 Provider 0: id: 0x45 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 3 outputs: 3 associated providers: 0 name:modesetting


$ sudo bash displaylink-debian.sh

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

DisplayLink driver installer for Debian and Ubuntu based Linux distributions:

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-5.8.0-3-amd64 is installed dkms is installed lsb-release is installed linux-source is installed x11-xserver-utils is installed wget is installed libdrm-dev is installed libelf-dev is installed git is installed pciutils is installed

Platform requirements satisfied, proceeding ...


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

Downloading DisplayLink Ubuntu driver:

--2021-03-08 20:33:55-- https://www.displaylink.com/downloads/file?id=1576 Resolving www.displaylink.com (www.displaylink.com)... 34.250.82.133, 52.214.244.113, 34.252.69.235, ... Connecting to www.displaylink.com (www.displaylink.com)|34.250.82.133|:443... connected. HTTP request sent, awaiting response... 303 See Other Location: https://s3.eu-west-1.amazonaws.com/assets.displaylink.com/live/downloads/software/f1576_DisplayLink%20USB%20Graphics%20Software%20for%20Ubuntu%205.3.1.zip?AWSAccessKeyId=AKIAJHGQWPVXWHEDJUEA&Expires=1615189437&Signature=gCGFVzWhq86jiUOJCLBfXnh2Oj0%3D [following] --2021-03-08 20:33:57-- https://s3.eu-west-1.amazonaws.com/assets.displaylink.com/live/downloads/software/f1576_DisplayLink%20USB%20Graphics%20Software%20for%20Ubuntu%205.3.1.zip?AWSAccessKeyId=AKIAJHGQWPVXWHEDJUEA&Expires=1615189437&Signature=gCGFVzWhq86jiUOJCLBfXnh2Oj0%3D Resolving s3.eu-west-1.amazonaws.com (s3.eu-west-1.amazonaws.com)... 52.218.40.67 Connecting to s3.eu-west-1.amazonaws.com (s3.eu-west-1.amazonaws.com)|52.218.40.67|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 13889958 (13M) [application/octet-stream] Saving to: ‘DisplayLink_Ubuntu_5.3.1.zip’

DisplayLink_Ubuntu_5.3.1.zip 100%[=====================================================================================================================>] 13.25M 4.28MB/s in 3.1s

2021-03-08 20:34:01 (4.28 MB/s) - ‘DisplayLink_Ubuntu_5.3.1.zip’ saved [13889958/13889958]


Preparing for install

Archive: DisplayLink_Ubuntu_5.3.1.zip inflating: 5.3.1/displaylink-driver-5.3.1.34.run
Creating directory displaylink-driver-5.3.1.34 Verifying archive integrity... 100% All good. Uncompressing DisplayLink Linux Driver 5.3.1.34 100%


Cloning into 'evdi'... remote: Enumerating objects: 46, done. remote: Counting objects: 100% (46/46), done. remote: Compressing objects: 100% (46/46), done. remote: Total 46 (delta 2), reused 8 (delta 0), pack-reused 0 Unpacking objects: 100% (46/46), done. Note: checking out '5bd169208b8dbce6ab3c63643bb69eba79594276'.

You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example:

git checkout -b

CFLAGS="-Werror -Wextra -Wall -Wmissing-prototypes -Wstrict-prototypes -Wno-error=missing-field-initializers" make -C module make[1]: Entering directory '/home/andy/Downloads/displaylink-debian/evdi/module' cat: /etc/redhat-release: No such file or directory make -C /lib/modules/5.8.0-3-amd64/build M=$PWD make[2]: Entering directory '/usr/src/linux-headers-5.8.0-3-amd64' cat: /etc/redhat-release: No such file or directory AR /home/andy/Downloads/displaylink-debian/evdi/module/built-in.a CC [M] /home/andy/Downloads/displaylink-debian/evdi/module/evdi_drv.o CC [M] /home/andy/Downloads/displaylink-debian/evdi/module/evdi_modeset.o CC [M] /home/andy/Downloads/displaylink-debian/evdi/module/evdi_connector.o CC [M] /home/andy/Downloads/displaylink-debian/evdi/module/evdi_encoder.o CC [M] /home/andy/Downloads/displaylink-debian/evdi/module/evdi_main.o CC [M] /home/andy/Downloads/displaylink-debian/evdi/module/evdi_fb.o CC [M] /home/andy/Downloads/displaylink-debian/evdi/module/evdi_gem.o CC [M] /home/andy/Downloads/displaylink-debian/evdi/module/evdi_painter.o CC [M] /home/andy/Downloads/displaylink-debian/evdi/module/evdi_params.o CC [M] /home/andy/Downloads/displaylink-debian/evdi/module/evdi_cursor.o CC [M] /home/andy/Downloads/displaylink-debian/evdi/module/evdi_debug.o CC [M] /home/andy/Downloads/displaylink-debian/evdi/module/evdi_ioc32.o LD [M] /home/andy/Downloads/displaylink-debian/evdi/module/evdi.o cat: /etc/redhat-release: No such file or directory MODPOST /home/andy/Downloads/displaylink-debian/evdi/module/Module.symvers CC [M] /home/andy/Downloads/displaylink-debian/evdi/module/evdi.mod.o LD [M] /home/andy/Downloads/displaylink-debian/evdi/module/evdi.ko make[2]: Leaving directory '/usr/src/linux-headers-5.8.0-3-amd64' make[1]: Leaving directory '/home/andy/Downloads/displaylink-debian/evdi/module' CFLAGS="-I../module -Werror -Wextra -Wall -Wmissing-prototypes -Wstrict-prototypes -Wno-error=missing-field-initializers " make -C library make[1]: Entering directory '/home/andy/Downloads/displaylink-debian/evdi/library' cc -I../module -std=gnu99 -fPIC -I../module -Werror -Wextra -Wall -Wmissing-prototypes -Wstrict-prototypes -Wno-error=missing-field-initializers -c -o evdi_lib.o evdi_lib.c cc evdi_lib.o -shared -Wl,-soname,libevdi.so.0 -o libevdi.so.1.7.2 -lc -lgcc cp libevdi.so.1.7.2 libevdi.so make[1]: Leaving directory '/home/andy/Downloads/displaylink-debian/evdi/library' patching file 5.3.1/displaylink-driver-5.3.1/displaylink-installer.sh

Installing driver version: 5.3.1

DisplayLink Linux Software 5.3.1.34 install script called: install ERROR: the installer script is unable to find out how to start DisplayLinkManager service automatically on your system. Please set an environment variable SYSTEMINITDAEMON to 'upstart', 'systemd' or 'runit' before running the installation script to force one of the options. Installation terminated. andy@zb:~/Downloads/displaylink-debian $

Barabazs commented 3 years ago

This is unrelated to displaylink-debian, this is a known "issue" with your OS. cfr https://github.com/AdnanHodzic/displaylink-debian/issues/543#issuecomment-785044080