Display ports not working

$ cat /etc/fedora-release 
Fedora release 36 (Thirty Six)

I recently installed Fedora 36 on a Dell Precision 7540 - it worked real nice up until I decided to connect some external peripherals.

I have a usb-c docking station (Dell D6000) with two DisplayPort connectors and one HDMI-connector.

On the HDMI-connector I have a Dell P2211H monitor connected via a HDMI to DVI-D adapter. The monitor only supports DVI(-D) and VGA. That monitor works fine. As do keyboard/mouse/network via the dock.

The other monitor (Dell P2210H) however I’ve connected via DisplayPort as it has such a port and need no adapter - but it does not work. I’ve tried using the DVI(-D) port on it as well over a DVI/DP-adapter to no avail.

I have another computer, still Dell but another model and running Windows which is able to utilize both monitors just fine.

So I’ve come to believe that F36 on this laptop is unable to turn on the DisplayPorts properly.

I do see errors in dmesg:

[user@host ~]$ dmesg -w
=== both monitors connected - disconnecting DisplayPort
[ 1350.206029] i915 0000:00:02.0: [drm] *ERROR* Failed to probe lspcon
[ 1350.206031] i915 0000:00:02.0: [drm] *ERROR* LSPCON init failed on port D
[ 1351.133239] i915 0000:00:02.0: [drm] *ERROR* Failed to probe lspcon
[ 1351.133241] i915 0000:00:02.0: [drm] *ERROR* LSPCON init failed on port D
[ 1363.919288] Registered IR keymap rc-cec
[ 1363.919384] rc rc0: DP-2 as /devices/pci0000:00/0000:00:02.0/rc/rc0
[ 1363.919474] input: DP-2 as /devices/pci0000:00/0000:00:02.0/rc/rc0/input35
[ 1364.361194] i915 0000:00:02.0: [drm] *ERROR* Failed to probe lspcon
[ 1364.361196] i915 0000:00:02.0: [drm] *ERROR* LSPCON init failed on port D
[ 1365.053192] i915 0000:00:02.0: [drm] *ERROR* Failed to probe lspcon
[ 1365.053194] i915 0000:00:02.0: [drm] *ERROR* LSPCON init failed on port D
=== after some flickering HDMI-port monitor is back online
=== reconnecting DisplayPort-monitor
[ 1426.557769] i915 0000:00:02.0: [drm] *ERROR* Failed to probe lspcon
[ 1426.557772] i915 0000:00:02.0: [drm] *ERROR* LSPCON init failed on port D
[ 1427.484975] i915 0000:00:02.0: [drm] *ERROR* Failed to probe lspcon
[ 1427.484977] i915 0000:00:02.0: [drm] *ERROR* LSPCON init failed on port D
[ 1433.209164] Registered IR keymap rc-cec
[ 1433.209263] rc rc0: DP-2 as /devices/pci0000:00/0000:00:02.0/rc/rc0
[ 1433.209411] input: DP-2 as /devices/pci0000:00/0000:00:02.0/rc/rc0/input36
[ 1433.650956] i915 0000:00:02.0: [drm] *ERROR* Failed to probe lspcon
[ 1433.650958] i915 0000:00:02.0: [drm] *ERROR* LSPCON init failed on port D
[ 1434.343743] i915 0000:00:02.0: [drm] *ERROR* Failed to probe lspcon
[ 1434.343745] i915 0000:00:02.0: [drm] *ERROR* LSPCON init failed on port D
=== after some flickering HDMI-port monitor is back online
=== DisplayPort monitor reacts to connect/disconnect but never turns on

But I don’t know what to make of them. Googling the error turns up older issues that are supposedly solved by upgrading to kernels way older than 5.19.

I’ve installed nvidia graphics drivers which seem to work, but that does not change the DP-behavior.

[user@host ~]$ #sudo dnf install xorg-x11-drv-nvidia xorg-x11-drv-nvidia-cuda
[user@host ~]$ nvidia-smi
Thu Sep  1 19:21:21 2022       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 515.65.01    Driver Version: 515.65.01    CUDA Version: 11.7     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  Quadro T2000        Off  | 00000000:01:00.0 Off |                  N/A |
| N/A   47C    P8     3W /  N/A |      2MiB /  4096MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A      2950      G   /usr/bin/gnome-shell                1MiB |
+-----------------------------------------------------------------------------+

Is there something I can do to get both monitors working?
Should I file this as a bug?

I seem to recall that often with docking stations fedora is unable to use the multiple display connections. Windows can, but that is due to the hardware and software vendors working together to create the proper drivers and firmware to support it. Linux does not have that support from the hardware vendors.

if you can see the multiple display connections with a tool such as inxi then likely they can be used. If not then probably not.

If I disconnect the HDMI-port I still get the same errors on the DisplayPorts - so I don’t think the problem is ‘multiple displays’, but rather that the driver fails to activate to DisplaPorts specifically.

As the vendor for the i915 driver seem to be Intel I still have some hope of getting the driver in shape.

Per the instructions: Build Guide | 01.org
I ran:

git clone git://anongit.freedesktop.org/drm-tip
cd drm-tip
cp /boot/config-`uname -r`* .config
# or, depending on your distribution
gunzip -c /proc/config.gz > .config
make olddefconfig
make
sudo make modules_install
sudo make install

and built a new kernel from commit d25f068998c.

Selecting it with sudo grubby --set-default=0 I am able to boot:

[user@host ~]$ uname -a
Linux co-p31051s 6.0.0-rc3+ #2 SMP PREEMPT_DYNAMIC Fri Sep 2 17:27:36 CEST 2022 x86_64 x86_64 x86_64 GNU/Linux

The error persists however:

=== disconnecting DisplayPort
[  141.704618] i915 0000:00:02.0: [drm] *ERROR* Failed to probe lspcon
[  141.704621] i915 0000:00:02.0: [drm] *ERROR* LSPCON init failed on port D
[  142.632614] i915 0000:00:02.0: [drm] *ERROR* Failed to probe lspcon
[  142.632616] i915 0000:00:02.0: [drm] *ERROR* LSPCON init failed on port D
[  148.373872] Registered IR keymap rc-cec
[  148.373974] rc rc0: DP-2 as /devices/pci0000:00/0000:00:02.0/rc/rc0
[  148.374092] input: DP-2 as /devices/pci0000:00/0000:00:02.0/rc/rc0/input36
[  148.816414] i915 0000:00:02.0: [drm] *ERROR* Failed to probe lspcon
[  148.816416] i915 0000:00:02.0: [drm] *ERROR* LSPCON init failed on port D
[  149.510384] i915 0000:00:02.0: [drm] *ERROR* Failed to probe lspcon
[  149.510386] i915 0000:00:02.0: [drm] *ERROR* LSPCON init failed on port D
=== reconnecting DisplayPort
[  172.999535] i915 0000:00:02.0: [drm] *ERROR* Failed to probe lspcon
[  172.999538] i915 0000:00:02.0: [drm] *ERROR* LSPCON init failed on port D
[  173.926534] i915 0000:00:02.0: [drm] *ERROR* Failed to probe lspcon
[  173.926536] i915 0000:00:02.0: [drm] *ERROR* LSPCON init failed on port D
[  179.718254] Registered IR keymap rc-cec
[  179.718351] rc rc0: DP-2 as /devices/pci0000:00/0000:00:02.0/rc/rc0
[  179.718448] input: DP-2 as /devices/pci0000:00/0000:00:02.0/rc/rc0/input37
[  180.160305] i915 0000:00:02.0: [drm] *ERROR* Failed to probe lspcon
[  180.160307] i915 0000:00:02.0: [drm] *ERROR* LSPCON init failed on port D
[  180.853517] i915 0000:00:02.0: [drm] *ERROR* Failed to probe lspcon
[  180.853519] i915 0000:00:02.0: [drm] *ERROR* LSPCON init failed on port D
=== error is same on both dock ports

I did not re-build the Nvidia kernel modules for kernel 6, so it boots using nouveau driver for the Nvidia card - but interrestingly inxi seem to be aware of quite a few monitor ports:

[user@host ~]$ inxi --gpu
Graphics:
  Device-1: Intel CoffeeLake-H GT2 [UHD Graphics 630] vendor: Dell
    driver: i915 v: kernel arch: Gen9.5 process: Intel 14nm built: 2016-20
    ports: active: DP-2 off: eDP-1 empty: DP-1, DP-3, HDMI-A-1, HDMI-A-2
    bus-ID: 00:02.0 chip-ID: 8086:3e9b class-ID: 0300
  Device-2: NVIDIA TU117GLM [Quadro T2000 Mobile / Max-Q] vendor: Dell
    driver: nouveau v: kernel non-free: 515.xx+ status: current (as of 2022-06)
    arch: Turing code: TUxxx process: TSMC 12nm built: 2018-22 pcie: gen: 3
    speed: 8 GT/s lanes: 16 ports: active: none
    empty: DP-4, DP-5, DP-6, HDMI-A-3, eDP-2 bus-ID: 01:00.0
    chip-ID: 10de:1fb8 class-ID: 0300
[...redact webcam...]
  Display: wayland server: X.org v: 1.20.14 with: Xwayland v: 22.1.3
    compositor: gnome-shell v: 42.4 driver: gpu: i915 display-ID: 0
  Monitor-1: DP-2 model: Dell P2211H serial: 42W190AC737L built: 2010
    res: 1920x1080 dpi: 102 gamma: 1.2 size: 477x268mm (18.78x10.55")
    diag: 547mm (21.5") ratio: 16:9 modes: max: 1920x1080 min: 720x400
  Monitor-2: eDP-1 model: AU Optronics 0x24ed built: 2019 res: 1920x1080
    dpi: 142 gamma: 1.2 size: 344x194mm (13.54x7.64") diag: 395mm (15.5")
    ratio: 16:9 modes: 1920x1080
  OpenGL: renderer: Mesa Intel UHD Graphics 630 (CFL GT2)
    v: 4.6 Mesa 22.1.7 direct render: Yes

Looking at the git-repo i915 seem to be quite actively developed. I guess filing a bug following these instructions are in order.

I had a look in the machine hardware settings (BIOS/UEFI - whatever we call it these days) and found that I could disable the Intel graphics entirely:

After doing that I don’t rely on the i915 anymore, which inxi confirms:

[user@host ~]$ inxi --gpu
Graphics:
  Device-1: NVIDIA TU117GLM [Quadro T2000 Mobile / Max-Q] vendor: Dell
    driver: nvidia v: 515.65.01 alternate: nouveau,nvidia_drm non-free: 515.xx+
    status: current (as of 2022-06) arch: Turing code: TUxxx
    process: TSMC 12nm built: 2018-22 pcie: gen: 1 speed: 2.5 GT/s lanes: 16
    link-max: gen: 3 speed: 8 GT/s ports: active: none off: DP-2,eDP-1
    empty: DP-1,DP-3,HDMI-A-1 bus-ID: 01:00.0 chip-ID: 10de:1fb8
    class-ID: 0300
[...redact webcam...]
  Display: wayland server: X.org v: 1.20.14 with: Xwayland v: 22.1.3
    compositor: gnome-shell v: 42.4 driver: gpu: nvidia,nvidia-nvswitch
    display-ID: 0
  Monitor-1: DP-2 model: Dell P2211H serial: 42W190AC737L built: 2010
    res: 1920x1080 dpi: 102 gamma: 1.2 size: 477x268mm (18.78x10.55")
    diag: 547mm (21.5") ratio: 16:9 modes: max: 1920x1080 min: 640x480
  Monitor-2: eDP-1 model: AU Optronics 0x24ed built: 2019 res: 1920x1080
    dpi: 142 gamma: 1.2 size: 344x194mm (13.54x7.64") diag: 395mm (15.5")
    ratio: 16:9 modes: 1920x1080
  OpenGL: renderer: Quadro T2000/PCIe/SSE2 v: 4.6.0 NVIDIA 515.65.01
    direct render: Yes

But still nothing on the DisplayPort monitor, and new errors in dmesg:

[user@host ~]$ dmesg -w
[...]
=== before disconnect
[  206.180187] nvidia-modeset: WARNING: GPU:0: AU Optronics Corporation (DP-4): G-SYNC Compatible: EDID min refresh rate invalid, disabling G-SYNC Compatible.
[  206.184647] nvidia-modeset: WARNING: GPU:0: AU Optronics Corporation (DP-4): G-SYNC Compatible: EDID min refresh rate invalid, disabling G-SYNC Compatible.
[  206.198646] nvidia-modeset: WARNING: GPU:0: AU Optronics Corporation (DP-4): G-SYNC Compatible: EDID min refresh rate invalid, disabling G-SYNC Compatible.
[  206.202871] nvidia-modeset: WARNING: GPU:0: AU Optronics Corporation (DP-4): G-SYNC Compatible: EDID min refresh rate invalid, disabling G-SYNC Compatible.
[  206.303505] nvidia-modeset: WARNING: GPU:0: AU Optronics Corporation (DP-4): G-SYNC Compatible: EDID min refresh rate invalid, disabling G-SYNC Compatible.
[  206.687754] nvidia-modeset: WARNING: GPU:0: AU Optronics Corporation (DP-4): G-SYNC Compatible: EDID min refresh rate invalid, disabling G-SYNC Compatible.
[  214.194983] nvidia-modeset: WARNING: GPU:0: AU Optronics Corporation (DP-4): G-SYNC Compatible: EDID min refresh rate invalid, disabling G-SYNC Compatible.
[  214.216041] nvidia-modeset: WARNING: GPU:0: AU Optronics Corporation (DP-4): G-SYNC Compatible: EDID min refresh rate invalid, disabling G-SYNC Compatible.
[  214.250173] nvidia-modeset: WARNING: GPU:0: AU Optronics Corporation (DP-4): G-SYNC Compatible: EDID min refresh rate invalid, disabling G-SYNC Compatible.
[  214.271081] nvidia-modeset: WARNING: GPU:0: AU Optronics Corporation (DP-4): G-SYNC Compatible: EDID min refresh rate invalid, disabling G-SYNC Compatible.
[  214.562976] nvidia-modeset: WARNING: GPU:0: AU Optronics Corporation (DP-4): G-SYNC Compatible: EDID min refresh rate invalid, disabling G-SYNC Compatible.
=== before reconnect
[  236.346929] nvidia-modeset: WARNING: GPU:0: AU Optronics Corporation (DP-4): G-SYNC Compatible: EDID min refresh rate invalid, disabling G-SYNC Compatible.
[  236.350978] nvidia-modeset: WARNING: GPU:0: AU Optronics Corporation (DP-4): G-SYNC Compatible: EDID min refresh rate invalid, disabling G-SYNC Compatible.
[  236.366268] nvidia-modeset: WARNING: GPU:0: AU Optronics Corporation (DP-4): G-SYNC Compatible: EDID min refresh rate invalid, disabling G-SYNC Compatible.
[  236.370902] nvidia-modeset: WARNING: GPU:0: AU Optronics Corporation (DP-4): G-SYNC Compatible: EDID min refresh rate invalid, disabling G-SYNC Compatible.
[  236.525701] nvidia-modeset: WARNING: GPU:0: AU Optronics Corporation (DP-4): G-SYNC Compatible: EDID min refresh rate invalid, disabling G-SYNC Compatible.
[  244.357437] nvidia-modeset: WARNING: GPU:0: AU Optronics Corporation (DP-4): G-SYNC Compatible: EDID min refresh rate invalid, disabling G-SYNC Compatible.
[  244.379108] nvidia-modeset: WARNING: GPU:0: AU Optronics Corporation (DP-4): G-SYNC Compatible: EDID min refresh rate invalid, disabling G-SYNC Compatible.
[  244.414968] nvidia-modeset: WARNING: GPU:0: AU Optronics Corporation (DP-4): G-SYNC Compatible: EDID min refresh rate invalid, disabling G-SYNC Compatible.
[  244.435914] nvidia-modeset: WARNING: GPU:0: AU Optronics Corporation (DP-4): G-SYNC Compatible: EDID min refresh rate invalid, disabling G-SYNC Compatible.
[  244.717721] nvidia-modeset: WARNING: GPU:0: AU Optronics Corporation (DP-4): G-SYNC Compatible: EDID min refresh rate invalid, disabling G-SYNC Compatible.
=== after reconnect

Found a solution!

Turns out the dock is a re-branded DisplayLink which has ubuntu drivers which can be coaxed into working with Fedora using evdi.

First I had to enable rpmsphere repo.

[user@host ~]$ sudo dnf install https://github.com/rpmsphere/noarch/raw/master/r/rpmsphere-release-36-1.noarch.rpm
[sudo] password for user: 
Last metadata expiration check: 2:53:58 ago on Mon 05 Sep 2022 03:09:54 PM CEST.
rpmsphere-release-36-1.noarch.rpm                                                                                                                                                                              13 kB/s | 7.0 kB     00:00    
Dependencies resolved.
==============================================================================================================================================================================================================================================
 Package                                                          Architecture                                          Version                                             Repository                                                   Size
==============================================================================================================================================================================================================================================
Installing:
 rpmsphere-release                                                noarch                                                36-1                                                @commandline                                                7.0 k

Transaction Summary
==============================================================================================================================================================================================================================================
Install  1 Package

Total size: 7.0 k
Installed size: 724  
Is this ok [y/N]: y
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                                                                                      1/1 
  Installing       : rpmsphere-release-36-1.noarch                                                                                                                                                                                        1/1 
  Verifying        : rpmsphere-release-36-1.noarch                                                                                                                                                                                        1/1 

Installed:
  rpmsphere-release-36-1.noarch                                                                                                                                                                                                               

Complete!

Then I could install evdi.

[user@host ~]$ sudo dnf install evdi
RPM Sphere - Basearch                                                                                                                                                                                         5.5 MB/s | 3.5 MB     00:00    
RPM Sphere - Noarch                                                                                                                                                                                           5.9 MB/s | 4.1 MB     00:00    
Last metadata expiration check: 0:00:01 ago on Mon 05 Sep 2022 06:04:25 PM CEST.
Dependencies resolved.
==============================================================================================================================================================================================================================================
 Package                                                 Architecture                                         Version                                                    Repository                                                      Size
==============================================================================================================================================================================================================================================
Installing:
 evdi                                                    x86_64                                               1.10.1-1                                                   rpmsphere                                                       28 k
Installing dependencies:
 dkms                                                    noarch                                               3.0.6-1.fc36                                               updates                                                         58 k
 evdi-dkms                                               noarch                                               1.10.1-1                                                   rpmsphere-noarch                                                42 k

Transaction Summary
==============================================================================================================================================================================================================================================
Install  3 Packages

Total download size: 128 k
Installed size: 365 k
Is this ok [y/N]: y
Downloading Packages:
(1/3): dkms-3.0.6-1.fc36.noarch.rpm                                                                                                                                                                           361 kB/s |  58 kB     00:00    
(2/3): evdi-dkms-1.10.1-1.noarch.rpm                                                                                                                                                                           75 kB/s |  42 kB     00:00    
(3/3): evdi-1.10.1-1.x86_64.rpm                                                                                                                                                                                44 kB/s |  28 kB     00:00    
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                                                          91 kB/s | 128 kB     00:01     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                                                                                      1/1 
  Installing       : dkms-3.0.6-1.fc36.noarch                                                                                                                                                                                             1/3 
  Running scriptlet: dkms-3.0.6-1.fc36.noarch                                                                                                                                                                                             1/3 
Created symlink /etc/systemd/system/multi-user.target.wants/dkms.service → /usr/lib/systemd/system/dkms.service.

  Installing       : evdi-dkms-1.10.1-1.noarch                                                                                                                                                                                            2/3 
  Running scriptlet: evdi-dkms-1.10.1-1.noarch                                                                                                                                                                                            2/3 
Sign command: /lib/modules/5.19.6-200.fc36.x86_64/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub
Certificate or key are missing, generating self signed certificate for MOK...
Creating symlink /var/lib/dkms/evdi/1.10.1/source -> /usr/src/evdi-1.10.1

Building module:
Cleaning build area...
make -j8 KERNELRELEASE=5.19.6-200.fc36.x86_64 all INCLUDEDIR=/lib/modules/5.19.6-200.fc36.x86_64/build/include KVERSION=5.19.6-200.fc36.x86_64 DKMS_BUILD=1...(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.19.6-200.fc36.x86_64 (x86_64)
Consult /var/lib/dkms/evdi/1.10.1/build/make.log for more information.
warning: %post(evdi-dkms-1.10.1-1.noarch) scriptlet failed, exit status 10

Error in POSTIN scriptlet in rpm package evdi-dkms
  Installing       : evdi-1.10.1-1.x86_64                                                                                                                                                                                                 3/3 
  Running scriptlet: evdi-1.10.1-1.x86_64                                                                                                                                                                                                 3/3 
  Verifying        : dkms-3.0.6-1.fc36.noarch                                                                                                                                                                                             1/3 
  Verifying        : evdi-1.10.1-1.x86_64                                                                                                                                                                                                 2/3 
  Verifying        : evdi-dkms-1.10.1-1.noarch                                                                                                                                                                                            3/3 

Installed:
  dkms-3.0.6-1.fc36.noarch                                                        evdi-1.10.1-1.x86_64                                                        evdi-dkms-1.10.1-1.noarch                                                       

Complete!

After which I tought I could run the Ubuntu driver installer.

[user@host DisplayLink USB Graphics Software for Ubuntu5.6.1-EXE]$ sudo ./displaylink-driver-5.6.1-59.184.run 
Verifying archive integrity...  100%   MD5 checksums are OK. All good.
Uncompressing DisplayLink Linux Driver 5.6.1-59.184  100%  
WARNING: This is not an officially supported distribution.
Please use DisplayLink Forum for getting help if you find issues.

Installing
[ Installing EVDI ]
[[ Installing EVDI DKMS module ]]
Sign command: /lib/modules/5.19.6-200.fc36.x86_64/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub
Creating symlink /var/lib/dkms/evdi/1.12.0/source -> /usr/src/evdi-1.12.0

Building module:
Cleaning build area...
make -j8 KERNELRELEASE=5.19.6-200.fc36.x86_64 all INCLUDEDIR=/lib/modules/5.19.6-200.fc36.x86_64/build/include KVERSION=5.19.6-200.fc36.x86_64 DKMS_BUILD=1...
Signing module /var/lib/dkms/evdi/1.12.0/build/evdi.ko
Cleaning build area...

evdi.ko.xz:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.19.6-200.fc36.x86_64/extra/
depmod.....
[[ Installing module configuration files ]]
[[ Installing EVDI library ]]
make: Entering directory '/tmp/tmp.B8YjyluSAa/evdi/library'
cc -I../module -std=gnu99 -fPIC -D_FILE_OFFSET_BITS=64    -c -o evdi_lib.o evdi_lib.c
evdi_lib.c:6:10: fatal error: libdrm/drm.h: No such file or directory
    6 | #include <libdrm/drm.h>
      |          ^~~~~~~~~~~~~~
compilation terminated.
make: *** [<builtin>: evdi_lib.o] Error 1
make: Leaving directory '/tmp/tmp.B8YjyluSAa/evdi/library'
ERROR: Failed to build evdi library.

It failed due to missing dependencies. Which fortunately was easily remedied by installing libdrm-devel.

[user@host ~]$ sudo dnf install libdrm-devel
Last metadata expiration check: 0:01:56 ago on Mon 05 Sep 2022 06:04:25 PM CEST.
Dependencies resolved.
==============================================================================================================================================================================================================================================
 Package                                                         Architecture                                        Version                                                       Repository                                            Size
==============================================================================================================================================================================================================================================
Installing:
 libdrm-devel                                                    x86_64                                              2.4.110-1.fc36                                                fedora                                               149 k
Installing dependencies:
 libpciaccess-devel                                              x86_64                                              0.16-6.fc36                                                   fedora                                                12 k
 valgrind                                                        x86_64                                              1:3.19.0-3.fc36                                               updates                                              4.8 M
 valgrind-devel                                                  x86_64                                              1:3.19.0-3.fc36                                               updates                                               50 k

Transaction Summary
==============================================================================================================================================================================================================================================
Install  4 Packages

Total download size: 5.0 M
Installed size: 30 M
Is this ok [y/N]: y
Downloading Packages:
(1/4): libpciaccess-devel-0.16-6.fc36.x86_64.rpm                                                                                                                                                               73 kB/s |  12 kB     00:00    
(2/4): libdrm-devel-2.4.110-1.fc36.x86_64.rpm                                                                                                                                                                 680 kB/s | 149 kB     00:00    
(3/4): valgrind-devel-3.19.0-3.fc36.x86_64.rpm                                                                                                                                                                276 kB/s |  50 kB     00:00    
(4/4): valgrind-3.19.0-3.fc36.x86_64.rpm                                                                                                                                                                      8.8 MB/s | 4.8 MB     00:00    
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                                                         5.3 MB/s | 5.0 MB     00:00     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                                                                                      1/1 
  Installing       : valgrind-1:3.19.0-3.fc36.x86_64                                                                                                                                                                                      1/4 
  Installing       : valgrind-devel-1:3.19.0-3.fc36.x86_64                                                                                                                                                                                2/4 
  Installing       : libpciaccess-devel-0.16-6.fc36.x86_64                                                                                                                                                                                3/4 
  Installing       : libdrm-devel-2.4.110-1.fc36.x86_64                                                                                                                                                                                   4/4 
  Running scriptlet: libdrm-devel-2.4.110-1.fc36.x86_64                                                                                                                                                                                   4/4 
  Verifying        : libdrm-devel-2.4.110-1.fc36.x86_64                                                                                                                                                                                   1/4 
  Verifying        : libpciaccess-devel-0.16-6.fc36.x86_64                                                                                                                                                                                2/4 
  Verifying        : valgrind-1:3.19.0-3.fc36.x86_64                                                                                                                                                                                      3/4 
  Verifying        : valgrind-devel-1:3.19.0-3.fc36.x86_64                                                                                                                                                                                4/4 

Installed:
  libdrm-devel-2.4.110-1.fc36.x86_64                        libpciaccess-devel-0.16-6.fc36.x86_64                        valgrind-1:3.19.0-3.fc36.x86_64                        valgrind-devel-1:3.19.0-3.fc36.x86_64                       

Complete!

After which the driver installation succeeded and immediately turned on my secondary monitor!!

[user@host DisplayLink USB Graphics Software for Ubuntu5.6.1-EXE]$ sudo ./displaylink-driver-5.6.1-59.184.run 
Verifying archive integrity...  100%   MD5 checksums are OK. All good.
Uncompressing DisplayLink Linux Driver 5.6.1-59.184  100%  
WARNING: This is not an officially supported distribution.
Please use DisplayLink Forum for getting help if you find issues.

Installing
[ Installing EVDI ]
[[ Installing EVDI DKMS module ]]
Sign command: /lib/modules/5.19.6-200.fc36.x86_64/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub
Error! DKMS tree already contains: evdi-1.12.0
You cannot add the same module/version combo more than once.
EVDI DKMS module already installed.
[[ Installing module configuration files ]]
[[ Installing EVDI library ]]
make: Entering directory '/tmp/tmp.EwHEahKFdz/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.EwHEahKFdz/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

Installation complete!

Please reboot your computer if you're intending to use Xorg.

This has been figured out previously here.

Now to see if the module survives reboot! :slight_smile:

1 Like