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.28k stars 229 forks source link

X fails to start, TTY only, deleting conf solves issue #782

Closed BlueNalgene closed 1 year ago

BlueNalgene commented 1 year ago

Summary

This issue certainly seems like a duplicate of other issues. I am raising it here as a separate issue with more detail on this system. See #746 , #747 , and possibly #781 . Since the issue still persists and my logs have more information than some of the others, this may be useful.

Hardware

neofetch --off
wes-TITAN
------------- 
OS: Kubuntu 22.10 x86_64 
Host: TITAN Standard 
Kernel: 5.19.0-29-generic 
Uptime: 4 mins 
Packages: 2175 (dpkg), 7 (snap) 
Shell: bash 5.2.2 
Resolution: 2560x1440 
DE: Plasma 5.25.5 
WM: KWin 
Theme: [Plasma], Breeze [GTK2/3] 
Icons: [Plasma], breeze-dark [GTK2/3] 
Terminal: konsole 
CPU: AMD Ryzen 9 5900HX with Radeon Graphics (16) @ 4.680GHz 
GPU: NVIDIA GeForce RTX 3070 Mobile / Max-Q 
GPU: AMD ATI 06:00.0 Cezanne 
Memory: 3147MiB / 31499MiB 

Attempting to use a new i-tec CADUA4KDOCKPDLUS dock with 2 extra 4K monitors through the USB-C port on the computer with DisplayPort cables to the dock.

Steps I've Taken

I installed the drivers on a 100% fresh install of Kubuntu 22.10. Log below.

$ sudo ./displaylink-debian.sh

--------------------------- 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-5.19.0-29-generic is installed
dpkg-query: package 'dkms' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files.
dkms not found! Install? [Y/n] y
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  build-essential dctrl-tools dh-dkms dpkg-dev fakeroot g++ g++-12 gcc gcc-12
  libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libasan8
  libatomic1 libc-dev-bin libc-devtools libc6-dev libcc1-0 libcrypt-dev libfakeroot
  libgcc-12-dev libitm1 liblsan0 libnsl-dev libstdc++-12-dev libtirpc-dev libtsan2
  libubsan1 linux-libc-dev lto-disabled-list make manpages-dev rpcsvc-proto
Suggested packages:
  debtags menu debian-keyring g++-multilib g++-12-multilib gcc-12-doc gcc-multilib
  autoconf automake libtool flex bison gcc-doc gcc-12-multilib gcc-12-locales glibc-doc
  libstdc++-12-doc make-doc
The following NEW packages will be installed:
  build-essential dctrl-tools dh-dkms dkms dpkg-dev fakeroot g++ g++-12 gcc gcc-12
  libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libasan8
  libatomic1 libc-dev-bin libc-devtools libc6-dev libcc1-0 libcrypt-dev libfakeroot
  libgcc-12-dev libitm1 liblsan0 libnsl-dev libstdc++-12-dev libtirpc-dev libtsan2
  libubsan1 linux-libc-dev lto-disabled-list make manpages-dev rpcsvc-proto
0 upgraded, 34 newly installed, 0 to remove and 87 not upgraded.
Need to get 52.9 MB of archives.
After this operation, 197 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://us.archive.ubuntu.com/ubuntu kinetic/main amd64 libcc1-0 amd64 12.2.0-3ubuntu1 [46.4 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu kinetic/main amd64 libitm1 amd64 12.2.0-3ubuntu1 [29.4 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu kinetic/main amd64 libatomic1 amd64 12.2.0-3ubuntu1 [10.4 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu kinetic/main amd64 libasan8 amd64 12.2.0-3ubuntu1 [2,433 kB]
Get:5 http://us.archive.ubuntu.com/ubuntu kinetic/main amd64 liblsan0 amd64 12.2.0-3ubuntu1 [1,060 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu kinetic/main amd64 libtsan2 amd64 12.2.0-3ubuntu1 [2,456 kB]
Get:7 http://us.archive.ubuntu.com/ubuntu kinetic/main amd64 libubsan1 amd64 12.2.0-3ubuntu1 [969 kB]
Get:8 http://us.archive.ubuntu.com/ubuntu kinetic/main amd64 libgcc-12-dev amd64 12.2.0-3ubuntu1 [2,577 kB]
Get:9 http://us.archive.ubuntu.com/ubuntu kinetic/main amd64 gcc-12 amd64 12.2.0-3ubuntu1 [21.4 MB]
Get:10 http://us.archive.ubuntu.com/ubuntu kinetic/main amd64 gcc amd64 4:12.2.0-1ubuntu1 [5,104 B]
Get:11 http://us.archive.ubuntu.com/ubuntu kinetic/main amd64 make amd64 4.3-4.1build1 [180 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu kinetic/main amd64 lto-disabled-list all 35 [12.2 kB]
Get:13 http://us.archive.ubuntu.com/ubuntu kinetic/main amd64 dpkg-dev all 1.21.9ubuntu1 [1,070 kB]
Get:14 http://us.archive.ubuntu.com/ubuntu kinetic/main amd64 libc-dev-bin amd64 2.36-0ubuntu4 [20.0 kB]
Get:15 http://us.archive.ubuntu.com/ubuntu kinetic-updates/main amd64 linux-libc-dev amd64 5.19.0-29.30 [1,342 kB]
Get:16 http://us.archive.ubuntu.com/ubuntu kinetic/main amd64 libcrypt-dev amd64 1:4.4.28-2 [112 kB]
Get:17 http://us.archive.ubuntu.com/ubuntu kinetic/main amd64 rpcsvc-proto amd64 1.4.2-0ubuntu6 [68.5 kB]
Get:18 http://us.archive.ubuntu.com/ubuntu kinetic/main amd64 libtirpc-dev amd64 1.3.3+ds-1 [193 kB]
Get:19 http://us.archive.ubuntu.com/ubuntu kinetic/main amd64 libnsl-dev amd64 1.3.0-2build2 [71.3 kB]
Get:20 http://us.archive.ubuntu.com/ubuntu kinetic/main amd64 libc6-dev amd64 2.36-0ubuntu4 [2,088 kB]
Get:21 http://us.archive.ubuntu.com/ubuntu kinetic/main amd64 libstdc++-12-dev amd64 12.2.0-3ubuntu1 [2,158 kB]
Get:22 http://us.archive.ubuntu.com/ubuntu kinetic/main amd64 g++-12 amd64 12.2.0-3ubuntu1 [12.0 MB]
Get:23 http://us.archive.ubuntu.com/ubuntu kinetic/main amd64 g++ amd64 4:12.2.0-1ubuntu1 [1,406 B]
Get:24 http://us.archive.ubuntu.com/ubuntu kinetic/main amd64 build-essential amd64 12.9ubuntu3 [4,744 B]
Get:25 http://us.archive.ubuntu.com/ubuntu kinetic/main amd64 dctrl-tools amd64 2.24-3build2 [66.9 kB]
Get:26 http://us.archive.ubuntu.com/ubuntu kinetic-updates/main amd64 dh-dkms all 3.0.6-2ubuntu2 [9,642 B]
Get:27 http://us.archive.ubuntu.com/ubuntu kinetic-updates/main amd64 dkms all 3.0.6-2ubuntu2 [41.4 kB]
Get:28 http://us.archive.ubuntu.com/ubuntu kinetic/main amd64 libfakeroot amd64 1.29-1ubuntu1 [31.1 kB]
Get:29 http://us.archive.ubuntu.com/ubuntu kinetic/main amd64 fakeroot amd64 1.29-1ubuntu1 [60.0 kB]
Get:30 http://us.archive.ubuntu.com/ubuntu kinetic/main amd64 libalgorithm-diff-perl all 1.201-1 [41.8 kB]
Get:31 http://us.archive.ubuntu.com/ubuntu kinetic/main amd64 libalgorithm-diff-xs-perl amd64 0.04-7 [11.8 kB]
Get:32 http://us.archive.ubuntu.com/ubuntu kinetic/main amd64 libalgorithm-merge-perl all 0.08-4 [12.0 kB]
Get:33 http://us.archive.ubuntu.com/ubuntu kinetic/main amd64 libc-devtools amd64 2.36-0ubuntu4 [28.5 kB]
Get:34 http://us.archive.ubuntu.com/ubuntu kinetic/main amd64 manpages-dev all 5.13-1 [2,355 kB]
Fetched 52.9 MB in 9s (5,749 kB/s)
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend requires a screen at least 13 lines tall and 31 columns wide.)
debconf: falling back to frontend: Readline
Extracting templates from packages: 100%
Selecting previously unselected package libcc1-0:amd64.
(Reading database ... 218445 files and directories currently installed.)
Preparing to unpack .../00-libcc1-0_12.2.0-3ubuntu1_amd64.deb ...
Unpacking libcc1-0:amd64 (12.2.0-3ubuntu1) ...
Selecting previously unselected package libitm1:amd64.
Preparing to unpack .../01-libitm1_12.2.0-3ubuntu1_amd64.deb ...
Unpacking libitm1:amd64 (12.2.0-3ubuntu1) ...
Selecting previously unselected package libatomic1:amd64.
Preparing to unpack .../02-libatomic1_12.2.0-3ubuntu1_amd64.deb ...
Unpacking libatomic1:amd64 (12.2.0-3ubuntu1) ...
Selecting previously unselected package libasan8:amd64.
Preparing to unpack .../03-libasan8_12.2.0-3ubuntu1_amd64.deb ...
Unpacking libasan8:amd64 (12.2.0-3ubuntu1) ...
Selecting previously unselected package liblsan0:amd64.
Preparing to unpack .../04-liblsan0_12.2.0-3ubuntu1_amd64.deb ...
Unpacking liblsan0:amd64 (12.2.0-3ubuntu1) ...
Selecting previously unselected package libtsan2:amd64.
Preparing to unpack .../05-libtsan2_12.2.0-3ubuntu1_amd64.deb ...
Unpacking libtsan2:amd64 (12.2.0-3ubuntu1) ...
Selecting previously unselected package libubsan1:amd64.
Preparing to unpack .../06-libubsan1_12.2.0-3ubuntu1_amd64.deb ...
Unpacking libubsan1:amd64 (12.2.0-3ubuntu1) ...
Selecting previously unselected package libgcc-12-dev:amd64.
Preparing to unpack .../07-libgcc-12-dev_12.2.0-3ubuntu1_amd64.deb ...
Unpacking libgcc-12-dev:amd64 (12.2.0-3ubuntu1) ...
Selecting previously unselected package gcc-12.
Preparing to unpack .../08-gcc-12_12.2.0-3ubuntu1_amd64.deb ...
Unpacking gcc-12 (12.2.0-3ubuntu1) ...
Selecting previously unselected package gcc.
Preparing to unpack .../09-gcc_4%3a12.2.0-1ubuntu1_amd64.deb ...
Unpacking gcc (4:12.2.0-1ubuntu1) ...
Selecting previously unselected package make.
Preparing to unpack .../10-make_4.3-4.1build1_amd64.deb ...
Unpacking make (4.3-4.1build1) ...
Selecting previously unselected package lto-disabled-list.
Preparing to unpack .../11-lto-disabled-list_35_all.deb ...
Unpacking lto-disabled-list (35) ...
Selecting previously unselected package dpkg-dev.
Preparing to unpack .../12-dpkg-dev_1.21.9ubuntu1_all.deb ...
Unpacking dpkg-dev (1.21.9ubuntu1) ...
Selecting previously unselected package libc-dev-bin.
Preparing to unpack .../13-libc-dev-bin_2.36-0ubuntu4_amd64.deb ...
Unpacking libc-dev-bin (2.36-0ubuntu4) ...
Selecting previously unselected package linux-libc-dev:amd64.
Preparing to unpack .../14-linux-libc-dev_5.19.0-29.30_amd64.deb ...
Unpacking linux-libc-dev:amd64 (5.19.0-29.30) ...
Selecting previously unselected package libcrypt-dev:amd64.
Preparing to unpack .../15-libcrypt-dev_1%3a4.4.28-2_amd64.deb ...
Unpacking libcrypt-dev:amd64 (1:4.4.28-2) ...
Selecting previously unselected package rpcsvc-proto.
Preparing to unpack .../16-rpcsvc-proto_1.4.2-0ubuntu6_amd64.deb ...
Unpacking rpcsvc-proto (1.4.2-0ubuntu6) ...
Selecting previously unselected package libtirpc-dev:amd64.
Preparing to unpack .../17-libtirpc-dev_1.3.3+ds-1_amd64.deb ...
Unpacking libtirpc-dev:amd64 (1.3.3+ds-1) ...
Selecting previously unselected package libnsl-dev:amd64.
Preparing to unpack .../18-libnsl-dev_1.3.0-2build2_amd64.deb ...
Unpacking libnsl-dev:amd64 (1.3.0-2build2) ...
Selecting previously unselected package libc6-dev:amd64.
Preparing to unpack .../19-libc6-dev_2.36-0ubuntu4_amd64.deb ...
Unpacking libc6-dev:amd64 (2.36-0ubuntu4) ...
Selecting previously unselected package libstdc++-12-dev:amd64.
Preparing to unpack .../20-libstdc++-12-dev_12.2.0-3ubuntu1_amd64.deb ...
Unpacking libstdc++-12-dev:amd64 (12.2.0-3ubuntu1) ...
Selecting previously unselected package g++-12.
Preparing to unpack .../21-g++-12_12.2.0-3ubuntu1_amd64.deb ...
Unpacking g++-12 (12.2.0-3ubuntu1) ...
Selecting previously unselected package g++.
Preparing to unpack .../22-g++_4%3a12.2.0-1ubuntu1_amd64.deb ...
Unpacking g++ (4:12.2.0-1ubuntu1) ...
Selecting previously unselected package build-essential.
Preparing to unpack .../23-build-essential_12.9ubuntu3_amd64.deb ...
Unpacking build-essential (12.9ubuntu3) ...
Selecting previously unselected package dctrl-tools.
Preparing to unpack .../24-dctrl-tools_2.24-3build2_amd64.deb ...
Unpacking dctrl-tools (2.24-3build2) ...
Selecting previously unselected package dh-dkms.
Preparing to unpack .../25-dh-dkms_3.0.6-2ubuntu2_all.deb ...
Unpacking dh-dkms (3.0.6-2ubuntu2) ...
Selecting previously unselected package dkms.
Preparing to unpack .../26-dkms_3.0.6-2ubuntu2_all.deb ...
Unpacking dkms (3.0.6-2ubuntu2) ...
Selecting previously unselected package libfakeroot:amd64.
Preparing to unpack .../27-libfakeroot_1.29-1ubuntu1_amd64.deb ...
Unpacking libfakeroot:amd64 (1.29-1ubuntu1) ...
Selecting previously unselected package fakeroot.
Preparing to unpack .../28-fakeroot_1.29-1ubuntu1_amd64.deb ...
Unpacking fakeroot (1.29-1ubuntu1) ...
Selecting previously unselected package libalgorithm-diff-perl.
Preparing to unpack .../29-libalgorithm-diff-perl_1.201-1_all.deb ...
Unpacking libalgorithm-diff-perl (1.201-1) ...
Selecting previously unselected package libalgorithm-diff-xs-perl:amd64.
Preparing to unpack .../30-libalgorithm-diff-xs-perl_0.04-7_amd64.deb ...
Unpacking libalgorithm-diff-xs-perl:amd64 (0.04-7) ...
Selecting previously unselected package libalgorithm-merge-perl.
Preparing to unpack .../31-libalgorithm-merge-perl_0.08-4_all.deb ...
Unpacking libalgorithm-merge-perl (0.08-4) ...
Selecting previously unselected package libc-devtools.
Preparing to unpack .../32-libc-devtools_2.36-0ubuntu4_amd64.deb ...
Unpacking libc-devtools (2.36-0ubuntu4) ...
Selecting previously unselected package manpages-dev.
Preparing to unpack .../33-manpages-dev_5.13-1_all.deb ...
Unpacking manpages-dev (5.13-1) ...
Setting up manpages-dev (5.13-1) ...
Setting up lto-disabled-list (35) ...
Setting up dh-dkms (3.0.6-2ubuntu2) ...
Setting up libalgorithm-diff-perl (1.201-1) ...
Setting up linux-libc-dev:amd64 (5.19.0-29.30) ...
Setting up libfakeroot:amd64 (1.29-1ubuntu1) ...
Setting up fakeroot (1.29-1ubuntu1) ...
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode
Setting up libtirpc-dev:amd64 (1.3.3+ds-1) ...
Setting up rpcsvc-proto (1.4.2-0ubuntu6) ...
Setting up make (4.3-4.1build1) ...
Setting up libatomic1:amd64 (12.2.0-3ubuntu1) ...
Setting up libubsan1:amd64 (12.2.0-3ubuntu1) ...
Setting up libnsl-dev:amd64 (1.3.0-2build2) ...
Setting up libcrypt-dev:amd64 (1:4.4.28-2) ...
Setting up libasan8:amd64 (12.2.0-3ubuntu1) ...
Setting up libtsan2:amd64 (12.2.0-3ubuntu1) ...
Setting up libc-dev-bin (2.36-0ubuntu4) ...
Setting up libalgorithm-diff-xs-perl:amd64 (0.04-7) ...
Setting up libcc1-0:amd64 (12.2.0-3ubuntu1) ...
Setting up liblsan0:amd64 (12.2.0-3ubuntu1) ...
Setting up dctrl-tools (2.24-3build2) ...
Setting up libitm1:amd64 (12.2.0-3ubuntu1) ...
Setting up libc-devtools (2.36-0ubuntu4) ...
Setting up libalgorithm-merge-perl (0.08-4) ...
Setting up dpkg-dev (1.21.9ubuntu1) ...
Setting up libgcc-12-dev:amd64 (12.2.0-3ubuntu1) ...
Setting up libc6-dev:amd64 (2.36-0ubuntu4) ...
Setting up libstdc++-12-dev:amd64 (12.2.0-3ubuntu1) ...
Setting up gcc-12 (12.2.0-3ubuntu1) ...
Setting up g++-12 (12.2.0-3ubuntu1) ...
Setting up gcc (4:12.2.0-1ubuntu1) ...
Setting up dkms (3.0.6-2ubuntu2) ...
Setting up g++ (4:12.2.0-1ubuntu1) ...
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
Setting up build-essential (12.9ubuntu3) ...
Processing triggers for man-db (2.10.2-2) ...
Processing triggers for libc-bin (2.36-0ubuntu4) ...
lsb-release is installed
dpkg-query: package 'linux-source' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files.
linux-source not found! Install? [Y/n] y
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  linux-source-5.19.0
Suggested packages:
  libncurses-dev | ncurses-dev kernel-package libqt3-dev
The following NEW packages will be installed:
  linux-source linux-source-5.19.0
0 upgraded, 2 newly installed, 0 to remove and 87 not upgraded.
Need to get 161 MB of archives.
After this operation, 179 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://us.archive.ubuntu.com/ubuntu kinetic-updates/main amd64 linux-source-5.19.0 all 5.19.0-29.30 [161 MB]
Get:2 http://us.archive.ubuntu.com/ubuntu kinetic-updates/main amd64 linux-source all 5.19.0.29.26 [2,304 B]
Fetched 161 MB in 28s (5,808 kB/s)
Selecting previously unselected package linux-source-5.19.0.
(Reading database ... 223931 files and directories currently installed.)
Preparing to unpack .../linux-source-5.19.0_5.19.0-29.30_all.deb ...
Unpacking linux-source-5.19.0 (5.19.0-29.30) ...
Selecting previously unselected package linux-source.
Preparing to unpack .../linux-source_5.19.0.29.26_all.deb ...
Unpacking linux-source (5.19.0.29.26) ...
Setting up linux-source-5.19.0 (5.19.0-29.30) ...
Setting up linux-source (5.19.0.29.26) ...
x11-xserver-utils is installed
wget is installed
dpkg-query: package 'libdrm-dev' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files.
libdrm-dev not found! Install? [Y/n] y
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  libpciaccess-dev
The following NEW packages will be installed:
  libdrm-dev libpciaccess-dev
0 upgraded, 2 newly installed, 0 to remove and 87 not upgraded.
Need to get 312 kB of archives.
After this operation, 1,402 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://us.archive.ubuntu.com/ubuntu kinetic/main amd64 libpciaccess-dev amd64 0.16-3 [21.9 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu kinetic/main amd64 libdrm-dev amd64 2.4.113-2 [290 kB]
Fetched 312 kB in 9s (35.7 kB/s)
Selecting previously unselected package libpciaccess-dev:amd64.
(Reading database ... 224133 files and directories currently installed.)
Preparing to unpack .../libpciaccess-dev_0.16-3_amd64.deb ...
Unpacking libpciaccess-dev:amd64 (0.16-3) ...
Selecting previously unselected package libdrm-dev:amd64.
Preparing to unpack .../libdrm-dev_2.4.113-2_amd64.deb ...
Unpacking libdrm-dev:amd64 (2.4.113-2) ...
Setting up libpciaccess-dev:amd64 (0.16-3) ...
Setting up libdrm-dev:amd64 (2.4.113-2) ...
Processing triggers for man-db (2.10.2-2) ...
dpkg-query: package 'libelf-dev' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files.
libelf-dev not found! Install? [Y/n] y
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  zlib1g-dev
The following NEW packages will be installed:
  libelf-dev zlib1g-dev
0 upgraded, 2 newly installed, 0 to remove and 87 not upgraded.
Need to get 228 kB of archives.
After this operation, 982 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://us.archive.ubuntu.com/ubuntu kinetic/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-4.1ubuntu1 [164 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu kinetic/main amd64 libelf-dev amd64 0.187-4 [64.1 kB]
Fetched 228 kB in 0s (462 kB/s)
Selecting previously unselected package zlib1g-dev:amd64.
(Reading database ... 224210 files and directories currently installed.)
Preparing to unpack .../zlib1g-dev_1%3a1.2.11.dfsg-4.1ubuntu1_amd64.deb ...
Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-4.1ubuntu1) ...
Selecting previously unselected package libelf-dev:amd64.
Preparing to unpack .../libelf-dev_0.187-4_amd64.deb ...
Unpacking libelf-dev:amd64 (0.187-4) ...
Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-4.1ubuntu1) ...
Setting up libelf-dev:amd64 (0.187-4) ...
Processing triggers for man-db (2.10.2-2) ...
git is installed
pciutils is installed

Platform requirements satisfied, proceeding ...

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

Please read the Software License Agreement available at:
https://www.synaptics.com/node/4781?filetype=exe
Do you accept?: [Y/n]: y

Downloading DisplayLink Ubuntu driver:

--2023-01-26 10:45:08--  https://www.synaptics.com/sites/default/files/exe_files/2022-08/DisplayLink%20USB%20Graphics%20Software%20for%20Ubuntu5.6.1-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: 16905857 (16M) [application/zip]
Saving to: ‘DisplayLink_Ubuntu_5.6.1.zip’

DisplayLink_Ubuntu_5.6.1.zip           100%[===========================================================================>]  16.12M  2.84MB/s    in 5.7s

2023-01-26 10:45:14 (2.82 MB/s) - ‘DisplayLink_Ubuntu_5.6.1.zip’ saved [16905857/16905857]

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

Preparing for install

Archive:  DisplayLink_Ubuntu_5.6.1.zip
  inflating: 5.6.1/displaylink-driver-5.6.1-59.184.run
  inflating: 5.6.1/DisplayLink USB Graphics Software for Ubuntu 5.6.1-59.185-Release Notes.txt
  inflating: 5.6.1/__MACOSX/._DisplayLink USB Graphics Software for Ubuntu 5.6.1-59.185-Release Notes.txt
Creating directory displaylink-driver-5.6.1-59.184
Verifying archive integrity...  100%   MD5 checksums are OK. All good.
Uncompressing DisplayLink Linux Driver 5.6.1-59.184  100%
patching file 5.6.1/displaylink-driver-5.6.1/displaylink-installer.sh
patch unexpectedly ends in middle of line

Installing driver version: 5.6.1

Distribution discovered: Ubuntu 22.10

Installing
[ Installing EVDI ]
[[ Installing EVDI DKMS module ]]
Sign command: /usr/bin/kmodsign
Certificate or key are missing, generating them using update-secureboot-policy...
Generating a new Secure Boot signing key:
Can't load /var/lib/shim-signed/mok/.rnd into RNG
40D7CDFE947F0000:error:12000079:random number generator:RAND_load_file:Cannot open file:../crypto/rand/randfile.c:106:Filename=/var/lib/shim-signed/mok/.rnd
.......+.....+.+..+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*..+....+...+...+.....+.............+...........+.+...+..+....+...+.....+.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.........+...............+.....+.....................+.+.....+.........+...+...+.............+.....+....+..+..........+...+........+...+....+........+.......+..+.+..............+..........+.............................+......+...+...+.......+.....+.+.....+.......+..+..........+......+......+.....+.+.....+...+......+.........+....+...+...+..+...+.........+.....................+.......+............+.....+.+......+........+.+.........+........+.........+.........+.......+..+.......+........+................+...........+....+.....+......+.+...+.....+..................................+...+..+.+.................+..........+............+...+..+......+.......+..+...+...+....+............+......+..............+...+...+.......+.....+.+......+.........+..+...+.........+.......+.........+......+...+..+......+....+.....+....+............+..+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
.+...+.+............+.....+....+...+...+..+...+....+.....+.+.....+...+......+......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.........+...............+...+....+...............+..+...+......+.+...........+...+.+........+.+......+...........+...+....+...+.....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*...+.+.........+..+...+....+...+..............+...+......+.......+..+...+....+..............+..........+.....+....+...+..............+.............+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-----
Secure Boot not enabled on this system.
Signing key: /var/lib/shim-signed/mok/MOK.priv
Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der
Creating symlink /var/lib/dkms/evdi/1.12.0/source -> /usr/src/evdi-1.12.0

Building module:
Cleaning build area...
make -j16 KERNELRELEASE=5.19.0-29-generic all INCLUDEDIR=/lib/modules/5.19.0-29-generic/build/include KVERSION=5.19.0-29-generic DKMS_BUILD=1...
Signing module /var/lib/dkms/evdi/1.12.0/build/evdi.ko
Cleaning build area...

evdi.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.19.0-29-generic/updates/dkms/
depmod...
[[ Installing module configuration files ]]
[[ Installing EVDI library ]]
make: Entering directory '/tmp/tmp.yoFddvqDl0/evdi/library'
cc -I../module -std=gnu99 -fPIC -D_FILE_OFFSET_BITS=64    -c -o evdi_lib.o evdi_lib.c
cc evdi_lib.o -shared -Wl,-soname,libevdi.so.0 -o libevdi.so.1.12.0 -lc -lgcc
cp libevdi.so.1.12.0 libevdi.so
make: Leaving directory '/tmp/tmp.yoFddvqDl0/evdi/library'
[ Installing x64-ubuntu-1604/DisplayLinkManager ]
[ Installing libraries ]
[ Installing firmware packages ]
[ Installing licence file ]
[ Adding udev rule for DisplayLink DL-3xxx/4xxx/5xxx/6xxx devices ]
[ Adding upstart and powermanager sctripts ]

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

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

Performing post install steps

Enable displaylink-driver service
Created symlink /etc/systemd/system/multi-user.target.wants/displaylink-driver.service → /lib/systemd/system/displaylink-driver.service.
Setup DisplayLink xorg.conf depending on graphics card

Made backup of: /usr/share/sddm/scripts/Xsetup file

Location: /usr/share/sddm/scripts/Xsetup.org.bak
Wrote changes to /usr/share/sddm/scripts/Xsetup
Wrote X11 changes to: /etc/X11/xorg.conf.d/20-displaylink.conf

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

Performing clean-up
Removing redundant: "DisplayLink_Ubuntu_5.6.1.zip" file
Removing redundant: "5.6.1" directory

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

Install complete, please reboot to apply the changes
After reboot, make sure to consult post-install guide! http://bit.ly/2TbZleK

This creates a file at /etc/X11/xorg.conf.d/20-displaylink.conf which reads:

Section "ServerLayout"
    Identifier "layout"
    Screen 0 "nvidia"
    Inactive "intel"
EndSection

Section "Device"
    Identifier "intel"
    Driver "modesetting"
    Option "AccelMethod" "None"
EndSection

Section "Screen"
    Identifier "intel"
    Device "intel"
EndSection

Section "Device"
    Identifier "nvidia"
    Driver "nvidia"
    Option "ConstrainCursor" "off"
EndSection

Section "Screen"
    Identifier "nvidia"
    Device "nvidia"
    Option "AllowEmptyInitialConfiguration" "on"
    Option "IgnoreDisplayDevices" "CRT"
EndSection

When I follow the reboot instruction in the code, I fail to start X.

Observation

I fail to load X or even log in to Plasma when I boot. Reading the dmesg, I see:

Jan 26 10:47:01 wes-TITAN sddm[1302]: Failed to read display number from pipe
Jan 26 10:47:01 wes-TITAN sddm[1302]: Could not start Display server on vt 1

Aka, we don't find any displays on this laptop (regardless of connection to dock).

In TTY2, I confirm this with

$ xrandr --listproviders

which finds nothing.

Other notes that show up in Issues

Hotfix

Per buried suggestions in other issues, especially https://github.com/AdnanHodzic/displaylink-debian/issues/747#issuecomment-1246344139, I delete the X config

sudo mv /etc/X11/xorg.config.d//20-displaylink.conf /etc/X11/xorg.config.d//20-displaylink.conf.bak

Upon restart, I get my GUI back.

I also tried two variants of this to no avail. The contents of each variant read:

Var 1 - Reorder Config

Section "ServerLayout"
    Identifier "layout"
    Screen 0 "nvidia"
    Inactive "intel"
EndSection

Section "Device"
    Identifier "nvidia"
    Driver "nvidia"
    Option "ConstrainCursor" "off"
EndSection

Section "Screen"
    Identifier "nvidia"
    Device "nvidia"
    Option "AllowEmptyInitialConfiguration" "on"
    Option "IgnoreDisplayDevices" "CRT"
EndSection

Section "Device"
    Identifier "intel"
    Driver "modesetting"
    Option "AccelMethod" "None"
EndSection

Section "Screen"
    Identifier "intel"
    Device "intel"
EndSection

Var 2 - Remove Intel

Section "ServerLayout"
    Identifier "layout"
    Screen 0 "nvidia"
    Inactive "intel"
EndSection

Section "Device"
    Identifier "nvidia"
    Driver "nvidia"
    Option "ConstrainCursor" "off"
EndSection

Section "Screen"
    Identifier "nvidia"
    Device "nvidia"
    Option "AllowEmptyInitialConfiguration" "on"
    Option "IgnoreDisplayDevices" "CRT"
EndSection
Barabazs commented 1 year ago

In TTY2, I confirm this with

$ xrandr --listproviders

which finds nothing.

This is expected, as you do not boot into a desktop environment.

I'll close this issue and continue in your newly created issue.