Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not work with Kali 6.10.9-1kali1 #494

Closed
renoproc opened this issue Oct 2, 2024 · 4 comments
Closed

Do not work with Kali 6.10.9-1kali1 #494

renoproc opened this issue Oct 2, 2024 · 4 comments

Comments

@renoproc
Copy link

renoproc commented Oct 2, 2024

Sadly the driver do not work with the last Kali update Kali 6.10.9-1kali1 (2024-09-09)
I had problems with evdi downloaded with displaylink driver 6.0 (evdi version 1.14.4), it wouldn't compile.

"Installing
	[ Installing EVDI ]
	DEBUG local evdi_dir : /tmp/tmp.QIQe6cj2dz/evdi
	[[ Installing EVDI DKMS module ]]
	Sign command: /lib/modules/6.10.9-amd64/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.9-amd64 all INCLUDEDIR=/lib/modules/6.10.9-amd64/build/include KVERSION=6.10.9-amd64 DKMS_BUILD=1
	Error! Bad return status for module build on kernel: 6.10.9-amd64 (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."

Because I had a similar problem as #469 I then tried to install the latest evdi (version 1.1.4.7 when I write this post)
But it still doesn't work, no screen detection.

So I tried the 1.14.6 version, we never know, same failure.
Very annoying.

@SushiFanta
Copy link

SushiFanta commented Oct 10, 2024

Similar failed make when apt installer is building evdi 1.14.7 on peppermint OS (bookworm) using the latest repository and installer from the displaylink website.

Cleaning build area...
make -j20 KERNELRELEASE=6.1.0-25-amd64 all INCLUDEDIR=/lib/modules/6.1.0-25-amd64/build/include KVERSION=6.1.0-25-amd64 DKMS_BUILD=1...(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.1.0-25-amd64 (x86_64)
Consult /var/lib/dkms/evdi/1.14.7/build/make.log for more information.
dpkg: error processing package evdi (--configure):
 installed evdi package post-installation script subprocess returned error exit status 10
dpkg: dependency problems prevent configuration of displaylink-driver:
 displaylink-driver depends on evdi (>= 1.14.7); however:
  Package evdi is not configured yet.
 displaylink-driver depends on evdi (<< 1.15.0); however:
  Package evdi is not configured yet.

dpkg: error processing package displaylink-driver (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 evdi
 displaylink-driver
E: Sub-process /usr/bin/dpkg returned an error code (1)

@jakub-prussak-synaptics
Copy link
Collaborator

@SushiFanta @EdwardBetts Could you send logs to our support?
Especially /var/lib/dkms/evdi/1.14.7/build/make.log.

@renoproc
Copy link
Author

Here it is :
evdi-1.14.7_6.10.11-amd64_x86_64_log_make.log

And below a summary of its installation via displaylink-debian

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

Checking dependencies

unzip is installed
linux-headers-6.10.11-amd64 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 ...

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

Installing driver version: 6.0

Distribution discovered: Kali GNU/Linux Rolling
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.11-amd64/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.7/source -> /usr/src/evdi-1.14.7

Building module:
Cleaning build area...
Building module(s)....
Signing module /var/lib/dkms/evdi/1.14.7/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/6.10.11-amd64/updates/dkms/
depmod....
[[ Installing EVDI library ]]
make: Entering directory '/tmp/tmp.pfH63tHohA/evdi/library'
cc -I../module -std=gnu99 -fPIC -D_FILE_OFFSET_BITS=64  $(pkg-config --cflags-only-I libdrm)   -c -o evdi_lib.o evdi_lib.c
cc -I../module -std=gnu99 -fPIC -D_FILE_OFFSET_BITS=64  $(pkg-config --cflags-only-I libdrm)   -c -o evdi_procfs.o evdi_procfs.c
cc evdi_lib.o evdi_procfs.o -shared -Wl,-soname,libevdi.so.1 -o libevdi.so.1.14.7 -lc -lgcc 
cp libevdi.so.1.14.7 libevdi.so
ln -sf libevdi.so.1.14.7 libevdi.so.1
make: Leaving directory '/tmp/tmp.pfH63tHohA/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

DisplayLink evdi module installed successfully.

 Reboot required!
 Detected user session type is: x11.
 Please, reboot your computer to ensure proper functioning of the software.

DisplayLink driver installed successfully.

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' → '/usr/lib/systemd/system/displaylink-driver.service'.
Setup DisplayLink xorg.conf depending on graphics card
Wrote X11 changes to: /etc/X11/xorg.conf.d/20-displaylink.conf

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

Performing clean-up
Removing redundant: "6.0" directory

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

Install complete, please reboot to apply the changes

============================================

Nota Bene :

~# dpkg -l "evdi*"
ii  evdi-dkms      1.14.6+dfsg-1 all          Extensible Virtual Display Interface driver kernel module
~# ls -l /usr/src         
drwxr-xr-x 2 root root      4096  1 oct.  13:53 evdi-1.14.4
drwxr-xr-x 3 root root      4096  3 oct.  12:16 evdi-1.14.6+dfsg
drwxr-xr-x 3 root root      4096 22 oct.  09:20 evdi-1.14.7
~# cat /sys/devices/evdi/version 
1.14.7
~# ./displaylink-debian.sh --debug
--------------- Linux system info ----------------

Distro: Kali
Release: kali-rolling
Kernel: 6.10.11-amd64

---------------- DisplayLink info ----------------

Driver version: 1.14.4
1.14.6+dfsg
1.14.7
DisplayLink service status: up and running
EVDI service version: 1.14.7

------------------ Graphics card -----------------

Vendor: i915
Subsystem: Device
VGA: Intel Corporation WhiskeyLake-U GT2 [UHD Graphics 620] (rev 02)
VGA (3D): 
X11 version: 21.1.13-3~kali1
X11 configs: /etc/X11/20-displaylink.conf /etc/X11/xorg.conf.d/20-displaylink.conf

-------------- DisplayLink xorg.conf -------------

File: /etc/X11/xorg.conf.d/20-displaylink.conf
Contents:
 Section "Device"
    Identifier  "Intel"
    Driver      "intel"
EndSection

-------------------- Monitors --------------------

Providers: number : 1
Provider 0: id: 0x47 cap: 0xb, Source Output, Sink Output, Sink Offload crtcs: 4 outputs: 5 associated providers: 0 name:Intel

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

@renoproc
Copy link
Author

renoproc commented Oct 22, 2024

Finally solved using the solution proposed in this post AdnanHodzic/displaylink-debian#965

Displayling-debian --debug was like this before :

~# ./displaylink-debian.sh --debug
--------------- Linux system info ----------------

Distro: Kali
Release: kali-rolling
Kernel: 6.10.11-amd64

---------------- DisplayLink info ----------------

Driver version: 1.14.4
1.14.6+dfsg
1.14.7
DisplayLink service status: up and running
EVDI service version: 1.14.7

------------------ Graphics card -----------------

Vendor: i915
Subsystem: Device
VGA: Intel Corporation WhiskeyLake-U GT2 [UHD Graphics 620] (rev 02)
VGA (3D): 
X11 version: 21.1.13-3~kali1
X11 configs: /etc/X11/20-displaylink.conf /etc/X11/xorg.conf.d/20-displaylink.conf

-------------- DisplayLink xorg.conf -------------

File: /etc/X11/xorg.conf.d/20-displaylink.conf
Contents:
 Section "Device"
    Identifier  "Intel"
    Driver      "intel"
EndSection

-------------------- Monitors --------------------

Providers: number : 1
Provider 0: id: 0x47 cap: 0xb, Source Output, Sink Output, Sink Offload crtcs: 4 outputs: 5 associated providers: 0 name:Intel

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

And now :

~# ./displaylink-debian.sh --debug
--------------- Linux system info ----------------

Distro: Kali
Release: kali-rolling
Kernel: 6.10.11-amd64

---------------- DisplayLink info ----------------

Driver version: 1.14.4
1.14.6+dfsg
1.14.7
DisplayLink service status: up and running
EVDI service version: 1.14.7

------------------ Graphics card -----------------

Vendor: i915
Subsystem: Device
VGA: Intel Corporation WhiskeyLake-U GT2 [UHD Graphics 620] (rev 02)
VGA (3D): 
X11 version: 21.1.13-3~kali1
X11 configs: /etc/X11/20-displaylink.conf /etc/X11/xorg.conf.d/20-displaylink.conf

-------------- DisplayLink xorg.conf -------------

File: /etc/X11/xorg.conf.d/20-displaylink.conf
Contents:
# Set with displaylink install, commented
#Section "Device"
#    Identifier  "Intel"
#    Driver      "intel"
#EndSection
# 

# See https://github.com/AdnanHodzic/displaylink-debian/issues/228#issuecomment-467889348
Section "OutputClass"
    Identifier  "DisplayLink"
    MatchDriver "evdi"
    Driver      "modesetting"
    Option      "AccelMethod" "none"
EndSection

# See https://github.com/AdnanHodzic/displaylink-debian/issues/236#issuecomment-471213411
#Section "Device"
#    Identifier  "DisplayLink"
#    Driver      "modesetting"
#    Option      "PageFlip" "false"
#EndSection

-------------------- Monitors --------------------

Providers: number : 5
Provider 0: id: 0x45 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 3 outputs: 4 associated providers: 4 name:modesetting
Provider 1: id: 0x14f cap: 0x2, Sink Output crtcs: 1 outputs: 1 associated providers: 1 name:modesetting
Provider 2: id: 0x12e cap: 0x2, Sink Output crtcs: 1 outputs: 1 associated providers: 1 name:modesetting
Provider 3: id: 0x10d cap: 0x2, Sink Output crtcs: 1 outputs: 1 associated providers: 1 name:modesetting
Provider 4: id: 0xec cap: 0x2, Sink Output crtcs: 1 outputs: 1 associated providers: 1 name:modesetting

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants