This package seems to be uncompatible with the 6.6.1
kernel. When trying to install the dkms module I get this output:
(3/3) Install DKMS modules
==> dkms install --no-depmod evdi/1.14.03 -k 6.6.1-arch1-1
Error! Bad return status for module build on kernel: 6.6.1-arch1-1 (x86_64)
Consult /var/lib/dkms/evdi/1.14.03/build/make.log for more information.
==> WARNING: `dkms install --no-depmod evdi/1.14.03 -k 6.6.1-arch1-1' exited 10
The last lines of the mentioned log:
/var/lib/dkms/evdi/1.14.03/build/evdi_ioc32.c
/var/lib/dkms/evdi/1.14.03/build/evdi_fb.c: In function ‘evdifb_create’:
/var/lib/dkms/evdi/1.14.03/build/evdi_fb.c:421:23: error: ‘FBINFO_DEFAULT’ undeclared (first use in this function)
421 | info->flags = FBINFO_DEFAULT;
| ^~~~~~~~~~~~~~
/var/lib/dkms/evdi/1.14.03/build/evdi_fb.c:421:23: note: each undeclared identifier is reported only once for each function it appears in
/var/lib/dkms/evdi/1.14.03/build/evdi_drm_drv.c:127:31: error: ‘drm_gem_prime_fd_to_handle’ undeclared here (not in a function)
127 | .prime_fd_to_handle = drm_gem_prime_fd_to_handle,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
make[3]: *** [scripts/Makefile.build:243: /var/lib/dkms/evdi/1.14.03/build/evdi_fb.o] Error 1
make[3]: *** Waiting for unfinished jobs....
/var/lib/dkms/evdi/1.14.03/build/evdi_drm_drv.c:129:31: error: ‘drm_gem_prime_handle_to_fd’ undeclared here (not in a function)
129 | .prime_handle_to_fd = drm_gem_prime_handle_to_fd,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
make[3]: *** [scripts/Makefile.build:243: /var/lib/dkms/evdi/1.14.03/build/evdi_drm_drv.o] Error 1
make[2]: *** [/usr/lib/modules/6.6.1-arch1-1/build/Makefile:1913: /var/lib/dkms/evdi/1.14.03/build] Error 2
make[1]: *** [Makefile:234: __sub-make] Error 2
make[1]: Leaving directory '/usr/lib/modules/6.6.1-arch1-1/build'
make: *** [Makefile:38: all] Error 2
This breaks my entire DisplayLink setup and I don't have all screens available.
Pinned Comments
varungarg commented on 2024-03-09 10:05 (UTC) (edited on 2024-03-09 10:34 (UTC) by varungarg)
Hi folks. I am sorry for delayed response. I no longer actively maintain this package, and if someone wants to adopt it they are welcome.
Reason is that I have replaced one of my monitors and displaylink dock with this monitor: https://www.amazon.in/LG-2560x1440-Pixels-IPS-sRGB-Display/dp/B0BRQV14YD
It has eliminated need of displaylink which was a huge PITA. Also its one power brick and dock less, saving some cabling space under my desk.
I would something like this to anyone facing difficulty.
Setup:
Daisy chain this monitor with other monitor(s).
Add peripherals like keyboard, webcam directly to this monitor.
Connect this monitor to PC with display port.
Connect this monitor to laptops/PC with usb-c.
Switching:
From laptop to PC: disconnect usb-c cable from laptop and connect it to PC (for peripherals). Monitor will automatically switch to display port or will give a prompt if we want to switch (just press one button - OK). It will use DP for display and usb-c for peripherals.
From PC to laptop: disconnect uisb-c cable from PC and connect it to laptop (for peripherals and display). Monitor will again give a prompt that usb-c display detected and if we want to switch (same just press one button - OK). It will use usb-c for both display and peripherals
Note that this specific monitor does not support HDR and freesync while in daisy chain mode (although I could hardly see any difference). For those features we have to turn daisy chain off / use one monitor only. It could be issue for some people. Although from what I read displaylink too struggles with these.
Overall switching experience is pretty seamless.
Also as a small bonus, I can also connect my android phone/samsung dex with this setup. It didn't work with my displaylink dock.