Cannot install displaylink driver on fedora 40

im traying to instal displaylink driver but it shows me de following erroor

sudo ./displaylink-driver-6.0.0-24.run 
Verifying archive integrity...  100%   MD5 checksums are OK. All good.
Uncompressing DisplayLink Linux Driver 6.0.0  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/6.10.4-200.fc40.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.14.4/source -> /usr/src/evdi-1.14.4

Building module:
Cleaning build area...
Building module(s)....(bad exit status: 2)
Failed command:
make -j8 KERNELRELEASE=6.10.4-200.fc40.x86_64 all INCLUDEDIR=/lib/modules/6.10.4-200.fc40.x86_64/build/include KVERSION=6.10.4-200.fc40.x86_64 DKMS_BUILD=1
Error! Bad return status for module build on kernel: 6.10.4-200.fc40.x86_64 (x86_64)
Consult /var/lib/dkms/evdi/1.14.4/build/make.log for more information.
Deleting module evdi-1.14.4 completely from the DKMS tree.
ERROR: Failed to install evdi to the kernel tree.

Where did you get the display link drivers from?
Does the maintainer claim it’s compatible with linux kernel 6.10?

I did find this Releases · displaylink-rpm/displaylink-rpm · GitHub that says there are fixes to make it compile on recent kernels and for fedora.

Disclaimer: I have no idea of the quality of the RPMs on offer.

1 Like

from displaylink website

i try it but didnt work, im not root, im new using fedora so can you tellme how cat i open terminal in root mode

Is this a machine you control or one configured by your IT group? These days many systems do not have a root login. but provide root privileges using “sudo” or “doas”. When IT configures “sudo” they may limit users to a few specific commands.

Linux troubleshooting and repair often requires use of a terminal. You will find that Linux Command provides a good introduction and reference for situations that require using a terminal.

its a machine that i control, i can change everything i want

The upstream github repository has an RPM package for Fedora with bug fixes:

This release contains the latest EVDI driver, v1.14.6. This release resolves build issues for newer kernels that are being used in Fedora. There was other bug fixes included as well.

Full Changelog: v6.0.0…v6.0.0-1

% wget2 https://github.com/displaylink-rpm/displaylink-rpm/releases/download/v6.0.0-1/fedora-40-displaylink-1.14.6-1.github_evdi.x86_64.rpm
fedora-40-displaylin 100% [=====================================================================>]    6.82M   34.15MB/s
                          [Files: 1  Bytes: 6.82M [8.32MB/s] Redirects: 1  Todo: 0  Errors: 0    ]
% ls -l *.rpm
-rw-r--r--. 1 gnw3 gnw3 19251040 Jul 25 15:38 fedora-40-displaylink-1.14.4-2.github_evdi.src.rpm
-rw-r--r--. 1 gnw3 gnw3  7154050 Jul 25 15:38 fedora-40-displaylink-1.14.4-2.github_evdi.x86_64.rpm
-rw-r--r--. 1 gnw3 gnw3  7154639 Aug 14 18:00 fedora-40-displaylink-1.14.6-1.github_evdi.x86_64.rpm
% sudo dnf install fedora-40-displaylink-1.14.6-1.github_evdi.x86_64.rpm
[password prompt]
Last metadata expiration check: 0:25:06 ago on Fri Aug 16 07:51:18 2024.
Dependencies resolved.
========================================================================================================================
 Package                    Architecture          Version                             Repository                   Size
========================================================================================================================
Upgrading:
 displaylink                x86_64                1.14.6-1.github_evdi                @commandline                6.8 M

Transaction Summary
========================================================================================================================
Upgrade  1 Package

Total size: 6.8 M
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 
  Upgrading        : displaylink-1.14.6-1.github_evdi.x86_64                                                        1/2 
  Running scriptlet: displaylink-1.14.6-1.github_evdi.x86_64                                                        1/2 
  Running scriptlet: displaylink-1.14.4-2.github_evdi.x86_64                                                        2/2 
  Cleanup          : displaylink-1.14.4-2.github_evdi.x86_64                                                        2/2 
  Running scriptlet: displaylink-1.14.4-2.github_evdi.x86_64                                                        2/2 
Scanning processes...                                                                                                   
Scanning processor microcode...                                                                                         
Scanning linux images...                                                                                                

Running kernel seems to be up-to-date.

The processor microcode seems to be up-to-date.

No services need to be restarted.

No containers need to be restarted.

No user sessions are running outdated binaries.

No VM guests are running outdated hypervisor (qemu) binaries on this host.

Upgraded:
  displaylink-1.14.6-1.github_evdi.x86_64                                                                               

Complete!
1 Like

Added displaylink, f40