DisplayLink / evdi

Extensible Virtual Display Interface
MIT License
709 stars 184 forks source link

Support for Fedora 36 Workstation in 'ubuntu displaylink installer' #370

Open VGerris opened 2 years ago

VGerris commented 2 years ago

I would like to request for support for Fedora 36 Workstation in the installer from displaylink, hoping this is the place to ask. I started with a report that shows the step that make it work, at least until a driver or kernel update:

https://github.com/DisplayLink/evdi/issues/367

Repeating the steps:

download driver : https://www.synaptics.com/products/displaylink-graphics/downloads/ubuntu-5.6?filetype=exe - unpack and make installer executable (chmod u+x displaylink-driver-5.6.0-59.176.run)
install dkms, kernel development and headers and libdrm headers:
sudo dnf install -y dkms libdrm-devel kernel-devel kernel-headers
run the installer:

sudo ./displaylink-driver-5.6.0-59.176.run Verifying archive integrity... 100% MD5 checksums are OK. All good. Uncompressing DisplayLink Linux Driver 5.6.0-59.176 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.18.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... Error! DKMS tree already contains: evdi-1.11.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.PU3H5hVpAU/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.11.0 -lc -lgcc cp libevdi.so.1.11.0 libevdi.so make: Leaving directory '/tmp/tmp.PU3H5hVpAU/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.

My question - can we work on the installer supporting Fedora Workstation ? I am sure some people here and on the rpm based repo are willing to test.

Thank you

swills1 commented 2 years ago

Version 1.11 is already in the devel branch. It works with 5.18.

https://github.com/displaylink-rpm/displaylink-rpm/releases

See here: https://github.com/displaylink-rpm/displaylink-rpm/issues/218

VGerris commented 2 years ago

The current version 1.12.0 with 5.6.1 displaylink does not work on Fedora Workstation 36 and kernel 5.19: ERROR: could not insert 'evdi': Unknown symbol in module, or unknown parameter The same happens for the original installer. The 5.6.0 version works : https://github.com/displaylink-rpm/displaylink-rpm/releases/tag/v5.6.0

The idea behind this ticket is to have the installer support the distro, with for example also using dkms so it works with secure boot enabled. It seems to me just a few lines of code need to be added to check for dependencies on the added OS(es).

RPM packages have their own value, like for enterprise with internal repo. I think 'consumers' may be happier with support in the run file. If the rpm way is the way to have the RH family version, I suppose this ticket can be closed.