Package Details: evdi-git 1.14.7.r3.g59a3a86-1

Git Clone URL: https://aur.archlinux.org/evdi-git.git (read-only, click to copy)
Package Base: evdi-git
Description: kernel module that enables management of multiple screens, primarily for DisplayLink USB VGA DVI HDMI DisplayPort video
Upstream URL: https://github.com/DisplayLink/evdi
Licenses: GPL
Conflicts: evdi
Provides: evdi
Submitter: None
Maintainer: severach
Last Packager: severach
Votes: 29
Popularity: 0.39
First Submitted: 2017-08-10 17:05 (UTC)
Last Updated: 2024-10-19 17:39 (UTC)

Dependencies (3)

Required by (3)

Sources (1)

Latest Comments

1 2 3 4 5 6 .. 16 Next › Last »

KarthikJay commented on 2024-10-26 20:43 (UTC) (edited on 2024-10-26 20:44 (UTC) by KarthikJay)

For anyone having trouble with the package not installing on linux kernel 6.12+ There is a compile error of the following:

/var/lib/dkms/evdi/1.14.7/build/evdi_modeset.c:507:10: error: ‘const struct drm_mode_config_funcs’ has no member named ‘output_poll_changed’
  507 |         .output_poll_changed = NULL,

I just fixed it by commenting that line in the folder: /var/lib/dkms/evdi/1.14.7/source/evdi_modeset.c Then running the command: sudo dkms install --no-depmod evdi/1.14.7 -k $(uname -r)

SimPilotAdamT commented on 2024-10-24 11:57 (UTC)

@GeorgP shouldn't that really be added to the pkgbuild by @severach?

hablitzel commented on 2024-10-04 19:26 (UTC)

@GeorgP Thank you, that helped! You made my day.

GeorgP commented on 2024-10-04 16:25 (UTC)

@hablitzel: I added

  find 'module/tests' -type 'f' -exec install -Dpm644 '{}' -t "${_DKMS}/tests/" ';'

above the line

  make -j1 -C "${_DKMS}" clean

to package().

hablitzel commented on 2024-10-03 10:20 (UTC) (edited on 2024-10-04 11:38 (UTC) by hablitzel)

I have a problem with installing the package on kernel 6.11.1-arch1-1 although using the sed command from @Segaja's comment. This is the output of


❯ LC_ALL=C yay -Ss evdi
aur/evdi-git 1.14.5.r2.ge36efa8-1 (+29 0.78) (Installed: 1.14.7.r3.g59a3a86-1)

What I did so far:

  • yay -G evdi-git
  • edit PKGUILD file and added the line with the sed-command at the end of prepare()-function
  • makepkg -si

In the output of the last command I see some errors:


: Post-transaction-Hooks werden gestartet …
(1/4) Arming ConditionNeedsUpdate...
(2/4) Install DKMS modules
==> dkms install --no-depmod evdi/1.14.7 -k 6.11.1-arch1-1
Error! Bad return status for module build on kernel: 6.11.1-arch1-1 (x86_64)
Consult /var/lib/dkms/evdi/1.14.7/build/make.log for more information.

The the aforementioned logfile I see this:


  gcc -Wp,-MMD,/var/lib/dkms/evdi/1.14.7/build/.evdi_ioc32.o.d -nostdinc -I./arch/x86/include -I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/u
api -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -std=gnu11 -fshort-wchar -funsigned-char -fno-common -fno-PIE -fno-strict-alias
ing -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=branch -fno-jump-tables -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmod
el=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables -mharden-sls=all -fpatchable-function-entry=16
,16 -fno-delete-null-pointer-checks -O2 -fno-allow-store-data-races -fstack-protector-strong -ftrivial-auto-var-init=zero -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -fmin-function-alignment=16 -fstrict-flex-a
rrays=3 -fno-strict-overflow -fno-stack-check -fconserve-stack -Wall -Wundef -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Werror=strict-prototypes -Wno-format-security -Wno-trigraphs -Wno-frame-address -Wn
o-address-of-packed-member -Wmissing-declarations -Wmissing-prototypes -Wframe-larger-than=2048 -Wno-main -Wno-dangling-pointer -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-overflow -Wno-array-bounds -Wno-alloc-size-larger-tha
n -Wimplicit-fallthrough=5 -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wenum-conversion -Wextra -Wunused -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-packed-not-aligned -Wno-format-overflow
-Wno-format-truncation -Wno-stringop-truncation -Wno-override-init -Wno-missing-field-initializers -Wno-type-limits -Wno-shift-negative-value -Wno-maybe-uninitialized -Wno-sign-compare -Wno-unused-parameter -g -gdwarf-5 -Iinclude/uapi/drm -
Iinclude/drm  -DMODULE  -DKBUILD_BASENAME='"evdi_ioc32"' -DKBUILD_MODNAME='"evdi"' -D__KBUILD_MODNAME=kmod_evdi -c -o /var/lib/dkms/evdi/1.14.7/build/evdi_ioc32.o /var/lib/dkms/evdi/1.14.7/build/evdi_ioc32.c
In Datei, eingebunden von /var/lib/dkms/evdi/1.14.7/build/evdi_i2c.c:12:
/var/lib/dkms/evdi/1.14.7/build/evdi_drm_drv.h:41:10: schwerwiegender Fehler: tests/evdi_test.h: Datei oder Verzeichnis nicht gefunden
   41 | #include "tests/evdi_test.h"
      |          ^~~~~~~~~~~~~~~~~~~
Kompilierung beendet.
make[3]: *** [scripts/Makefile.build:244: /var/lib/dkms/evdi/1.14.7/build/evdi_i2c.o] Fehler 1
make[3]: *** Es wird auf noch nicht beendete Prozesse gewartet …
In Datei, eingebunden von /var/lib/dkms/evdi/1.14.7/build/evdi_gem.c:24:
/var/lib/dkms/evdi/1.14.7/build/evdi_drm_drv.h:41:10: schwerwiegender Fehler: tests/evdi_test.h: Datei oder Verzeichnis nicht gefunden
   41 | #include "tests/evdi_test.h"
      |          ^~~~~~~~~~~~~~~~~~~

(I'm sorry for the German error messages but it didn't turn to English even with LC_ALL=C in front of the commands.

Can anyone help me with this?

Segaja commented on 2024-08-12 08:06 (UTC)

Currently this package doesn't build with Linux 6.10.3 or higher. This is due to https://github.com/DisplayLink/evdi/issues/481

In order to fix this add the following line at the end of the prepare() function in the PKGBUILD file:

sed -i 's/>= LINUX_VERSION_CODE/<= LINUX_VERSION_CODE/' module/evdi_platform_dev.h module/evdi_platform_dev.c

rbeucher commented on 2024-08-11 23:57 (UTC)

Hi,

I have updated my kernel to 6.10.3-arch1-2 this morning and the displaylink service does not start anymore. I have the following error showing in the journal:

Module evdi not found in directory /lib/modules/6.10.3-arch1-2

R

nktnet commented on 2024-06-28 11:54 (UTC) (edited on 2024-06-28 11:56 (UTC) by nktnet)

On evdi-git 1.14.2.r0.g9905b9b-1 from 2024-03-18 16:46 (UTC), installation with kernel 6.9.6-arch1-1 failed with error:

make: Entering directory '/home/nktnet/.cache/yay/evdi-git/src/evdi/library'
install -d /home/nktnet/.cache/yay/evdi-git/pkg/evdi-git/usr/lib
install -m 755 libevdi.so.1.14.5 /home/nktnet/.cache/yay/evdi-git/pkg/evdi-git/usr/lib/libevdi.so.1.14.5
ln -sf libevdi.so.1.14.5 /home/nktnet/.cache/yay/evdi-git/pkg/evdi-git/usr/lib/libevdi.so.1
ln -sf libevdi.so.1 /home/nktnet/.cache/yay/evdi-git/pkg/evdi-git/usr/lib/libevdi.so
make: Leaving directory '/home/nktnet/.cache/yay/evdi-git/src/evdi/library'
install: omitting directory 'module/tests'
==> ERROR: A failure occurred in package().
    Aborting...
 -> error making: evdi-git-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
evdi-git - exit status 4

(using Wayland).

Had to manually edit the PKGBUILD (e.g. in ~/.cache/yay/evdi-git/PKGBUILD) at line 90, from

install -Dpm644 module/* -t "${_DKMS}/"

to:

find module/ -type f ! -path '*/tests/*' -exec install -Dpm644 {} -t "${_DKMS}/" \;

hablitzel commented on 2024-03-18 16:33 (UTC)

Sorry folks. I should have read the posts before my post to get the needed information. It works for me after changing the branch in the PKGBUILD.

hablitzel commented on 2024-03-18 08:02 (UTC) (edited on 2024-03-18 08:03 (UTC) by hablitzel)

Since today I have problems with building evdi-git. I realized that my external screens were not recognized and that displaylink could not be started because modprobe evdi failed. I tried to rebuild evid-git and that fails with the following errors:

❯ LC_ALL=C yay -S evdi-git
AUR Explicit (1): evdi-git-1.14.1.r0.g83bb793-1
:: PKGBUILD up to date, skipping download: evdi-git
  1 evdi-git                         (Installed) (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==>
  1 evdi-git                         (Installed) (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==>
==> Making package: evdi-git 1.14.1.r0.g83bb793-1 (Mon Mar 18 08:56:37 2024)
==> Retrieving sources...
  -> Updating evdi git repo...
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with md5sums...
    evdi ... Skipped
==> Validating source files with sha256sums...
    evdi ... Skipped
:: (1/1) Parsing SRCINFO: evdi-git
==> Making package: evdi-git 1.14.1.r0.g83bb793-1 (Mon Mar 18 08:56:39 2024)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating evdi git repo...
==> Validating source files with md5sums...
    evdi ... Skipped
==> Validating source files with sha256sums...
    evdi ... Skipped
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Creating working copy of evdi git repo...
Cloning into 'evdi'...
done.
fatal: invalid reference: origin/devel
==> ERROR: Failure while creating working copy of evdi git repo
    Aborting...
 -> error making: evdi-git-exit status 1
 -> Failed to install the following packages. Manual intervention is required:
evdi-git - exit status 1

I'm not sure what I can do to overcome the "invalid reference" in git. Can you help me out?