displaylink-debian
displaylink-debian copied to clipboard
sed: can't read /lib/systemd/system/displaylink-driver.service: No such file or directory
Steps take:
- Uninstalled prior version (i believe 5.3.1)
- Installed new version (5.8)
- Installation failed
Installation fails with:
Performing post install steps
sed: can't read /lib/systemd/system/displaylink-driver.service: No such file or directory
What can I do to fix or troubleshoot this missing file?
Select a key: [i/d/r/u/q]: I
-------------------------------------------------------------------
Checking dependencies
unzip is installed
linux-headers-5.19.0-41-generic is installed
dkms is installed
lsb-release is installed
linux-source is installed
x11-xserver-utils is installed
wget is installed
libdrm-dev:amd64 is installed
libelf-dev:amd64 is installed
git is installed
pciutils is installed
build-essential is installed
Platform requirements satisfied, proceeding ...
-------------------------------------------------------------------
Please read the Software License Agreement available at:
https://www.synaptics.com/node/5591?filetype=exe
Do you accept?: [Y/n]: Y
Downloading DisplayLink Ubuntu driver:
--2024-04-09 16:20:51-- https://www.synaptics.com/sites/default/files/exe_files/2023-08/DisplayLink%20USB%20Graphics%20Software%20for%20Ubuntu5.8-EXE.zip
Resolving www.synaptics.com (www.synaptics.com)... 54.245.106.105
Connecting to www.synaptics.com (www.synaptics.com)|54.245.106.105|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 18341463 (17M) [application/zip]
Saving to: ‘DisplayLink_Ubuntu_5.8.zip’
DisplayLink_Ubuntu_5.8.zip 100%[=====================================================================================================================>] 17.49M 3.15MB/s in 7.0s
2024-04-09 16:20:59 (2.50 MB/s) - ‘DisplayLink_Ubuntu_5.8.zip’ saved [18341463/18341463]
-------------------------------------------------------------------
Preparing for install
Archive: DisplayLink_Ubuntu_5.8.zip
inflating: 5.8/DisplayLink USB Graphics Software for Ubuntu 5.8.0-63.33-Release Notes.txt
inflating: 5.8/displaylink-driver-5.8.0-63.33.run
Creating directory displaylink-driver-5.8.0-63.33
Verifying archive integrity... 100% MD5 checksums are OK. All good.
Uncompressing DisplayLink Linux Driver 5.8.0-63.33 100%
patching file 5.8/displaylink-driver-5.8/displaylink-installer.sh
patch unexpectedly ends in middle of line
Hunk #1 succeeded at 239 (offset 2 lines).
Installing driver version: 5.8
Distribution discovered: Ubuntu 22.04.4 LTS
WARNING: Version 1.13.1 of EVDI kernel module is already running.
Please reboot before attempting to re-install DisplayLink Linux Software.
Installation terminated.
Adding udlfb to blacklist
Adding udl to blacklist
-------------------------------------------------------------------
Performing post install steps
sed: can't read /lib/systemd/system/displaylink-driver.service: No such file or directory
Can't uninstall either:
Select a key: [i/d/r/u/q]: R
-------------------------------------------------------------------
Checking dependencies
unzip is installed
linux-headers-5.19.0-41-generic is installed
dkms is installed
lsb-release is installed
linux-source is installed
x11-xserver-utils is installed
wget is installed
libdrm-dev:amd64 is installed
libelf-dev:amd64 is installed
git is installed
pciutils is installed
build-essential is installed
Platform requirements satisfied, proceeding ...
-------------------------------------------------------------------
Uninstalling ...
bash: /opt/displaylink/displaylink-installer.sh: No such file or directory
-------------------------------------------------------------------
tarting Debug ...
Did you read Post Installation Guide? https://github.com/AdnanHodzic/displaylink-debian/blob/master/docs/post-install-guide.md [y/N] Y
Did you read Troubleshooting most common issues? https://github.com/AdnanHodzic/displaylink-debian/blob/master/docs/common-issues.md [y/N] Y
--------------- Linux system info ----------------
Distro: Ubuntu
Release: jammy
Kernel: 5.19.0-41-generic
---------------- DisplayLink info ----------------
Driver version:
DisplayLink service status:
EVDI service version: 1.13.1
------------------ Graphics card -----------------
Vendor: i915
Subsystem: [UHD
VGA: Intel Corporation CoffeeLake-H GT2 [UHD Graphics 630]
VGA (3D): NVIDIA Corporation GP107M [GeForce GTX 1050 Ti Mobile] (rev a1)
X11 version: 21.1.4-2ubuntu1.7~22.04.9
-------------- 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 : 6
Provider 0: id: 0x45 cap: 0x9, Source Output, Sink Offload crtcs: 3 outputs: 4 associated providers: 4 name:modesetting
Provider 1: id: 0x277 cap: 0x2, Sink Output crtcs: 1 outputs: 1 associated providers: 1 name:modesetting
Provider 2: id: 0x256 cap: 0x2, Sink Output crtcs: 1 outputs: 1 associated providers: 1 name:modesetting
Provider 3: id: 0x235 cap: 0x2, Sink Output crtcs: 1 outputs: 1 associated providers: 1 name:modesetting
Provider 4: id: 0x214 cap: 0x2, Sink Output crtcs: 1 outputs: 1 associated providers: 1 name:modesetting
Provider 5: id: 0x1f3 cap: 0x0 crtcs: 0 outputs: 0 associated providers: 0 name:NVIDIA-G0
-------------------------------------------------------------------
Use this information when submitting an issue (http://bit.ly/2GLDlpY)
-------------------------------------------------------------------
Update:
Used this to solve the uninstall issue, editing script for for v5.8: https://github.com/AdnanHodzic/displaylink-debian/issues/380
Will re-test the installation
afaik this happens when you don't reboot between uninstalling and installing.
I had got the same issue that displaylink-driver.service not be found.
At the third try, I accidently executed the installation script from the home-dir:
sudo ./Downloads/displaylink-debian/displaylink-debian.sh
Because of that, the installation-script created a 6.0 folder in my home-dir. If you have the 6.0 folder in the displaylink-debian directory it should also work.
After looking into that, it seems to contain the extracted files from the ubuntu driver like discribed at https://support.displaylink.com/knowledgebase/articles/679060
To install the modified driver with ~/6.0/displaylink-driver-6.0/displaylink-installer.sh, first uninstall evdi and the broken installation of displaylink-debian.sh:
sudo apt remove evdi
sudo ./displaylink-debian.sh --uninstall
Then reboot.
Go into the accidently created folder and install the driver:
cd ~/6.0/displaylink-driver-6.0/
sudo ./displaylink-installer.sh
Reboot after correct installation.
The service displaylink-driver.service should run now.
systemctl status displaylink-driver.service
Like in post installation described I had to do some stuff with xrandr
xrandr --setprovideroutputsource 1 0
xrandr --setprovideroutputsource 2 0
xrandr --setprovideroutputsource 3 0
xrandr --setprovideroutputsource 4 0
xrandr --output DVI-I-1-1 --auto --right-of HDMI-1
Now the display is reachable in the system-settings but stays black.
After configuring the connected monitor there and applying, I was able to enable and extend the screen.