Package Details: evdi 1.14.4-0

Git Clone URL: https://aur.archlinux.org/evdi.git (read-only, click to copy)
Package Base: evdi
Description: A Linux® kernel module that enables management of multiple screens.
Upstream URL: https://github.com/DisplayLink/evdi
Keywords: display displaylink dp evdi screens
Licenses: GPL
Submitter: PlusMinus
Maintainer: endorfina
Last Packager: endorfina
Votes: 52
Popularity: 0.27
First Submitted: 2016-09-16 07:44 (UTC)
Last Updated: 2024-04-14 03:03 (UTC)

Latest Comments

« First ‹ Previous 1 .. 6 7 8 9 10 11 12 13 14 15 16 .. 22 Next › Last »

lachesis commented on 2020-03-12 20:07 (UTC) (edited on 2020-03-12 20:08 (UTC) by lachesis)

Thanks walwe, your instructions worked for me. Here's the resulting PKGBUILD.

Download this patch first: https://crazy.dev.frugalware.org/all-in-one-kernel-5.4-and-5.5-test.patch

Then use this PKGBUILD

# Maintainer: mwawrzyniak
# Contributor: PlusMinus

pkgname=evdi
pkgver=1.6.4
pkgrel=2
pkgdesc="A Linux® kernel module that enables management of multiple screens."
arch=('i686' 'x86_64')
url="https://github.com/DisplayLink/evdi"
license=('GPL')
groups=()
depends=(dkms libdrm)
makedepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=$pkgname.install
changelog=$pkgname.Changelog
source=($pkgname-$pkgver-$pkgrel.tar.gz::https://github.com/DisplayLink/evdi/archive/v$pkgver.tar.gz
        all-in-one-kernel-5.4-and-5.5-test.patch)
noextract=()
md5sums=('67d8ab1bb7a4ca013c5435df42ace5dc'
         'e44c3f9cd4e935d24b91ccc4cc993ce1')

prepare() {
  cd "$pkgname-$pkgver"
  local src
  for src in "${source[@]}"; do
    src="${src%%::*}"
    src="${src##*/}"
    [[ $src = *.patch ]] || continue
    patch -Np1 < "../$src"
  done
}

build() {
# We only need to build the library in this step, dkms will build the module
cd "$pkgname-$pkgver/library"

make
}

package() {
# Predfine some target folders
SRCDIR="$pkgdir/usr/src/$pkgname-$pkgver"   # This one is needed for dkms
LIBNAME=lib$pkgname

cd "$pkgname-$pkgver"

install -D -m 755 library/$LIBNAME.so.$pkgver $pkgdir/usr/lib/$LIBNAME.so

install -d $SRCDIR
install -D -m 755 module/* $SRCDIR
}

walwe commented on 2020-03-09 16:43 (UTC) (edited on 2020-03-09 16:44 (UTC) by walwe)

I can compile by applying the following changes, BUT the performance using displaylink is terrible beyond usable.

conychang commented on 2020-03-09 08:11 (UTC) (edited on 2020-03-09 08:12 (UTC) by conychang)

On Manjaro, facing exactly the same problem as this. https://forum.manjaro.org/t/displaylink-driver-and-evdi-issues-headers-and-kernel-module-tree/126130
I applied the patch, but still can't install it.

chico commented on 2020-03-04 16:52 (UTC)

doniom The patch data from "kaipee2 commented on 2020-02-19 11:17" does work Replace the information in the PKGBUILD with the one from the post.

doniom commented on 2020-03-02 10:29 (UTC) (edited on 2020-03-02 10:32 (UTC) by doniom)

Hello I use arch and have after updated too the new kernel, this error message:

Building module: cleaning build area... make -j8 KERNELRELEASE=5.5.7-arch1-1 all INCLUDEDIR=/lib/modules/5.5.7-arch1-1/build/include KVERSION=5.5.7-arch1-1 DKMS_BUILD=1...(bad exit status: 2) Error! Bad return status for module build on kernel: 5.5.7-arch1-1 (x86_64) Consult /var/lib/dkms/evdi/1.6.4/build/make.log for more information. Fehler: Befehl konnte nicht korrekt ausgeführt werden

/var/lib/dkms/evdi/1.6.4/build/evdi_drv.c:11:10: schwerwiegender Fehler: drm/drmP.h: Datei oder Verzeichnis nicht gefunden 11 | #include <drm/drmP.h> | ^~~~~~~~~~~~

extra/libdrm 2.4.100-1 (245.5 KiB 943.0 KiB) (Installed) aur/evdi 1.6.4-2 (+25 1.40%) (Installed)

darose commented on 2020-02-25 15:32 (UTC)

Not sure what you're talking about. I just clicked the link I posted and it was accessible to me.

Anyway, I tried to post the PKGBUILD code, but I couldn't figure out the markdown to include it inline like you did. Can you post a link that explains how?

kaipee2 commented on 2020-02-19 11:17 (UTC) (edited on 2020-02-19 11:41 (UTC) by kaipee2)

@darose your site is no longer accessible. Can we refrain from hosting the code outside of the AUR site and post the patched PKGBUILD in wrapped code here?

PKGBUILD from upstream kernel 5.5 patch (https://github.com/DisplayLink/evdi/issues/185#issuecomment-581985775)

# Maintainer: mwawrzyniak
# Contributor: PlusMinus

pkgname=evdi
pkgver=1.6.4
pkgrel=2
pkgdesc="A Linux® kernel module that enables management of multiple screens."
arch=('i686' 'x86_64')
url="https://github.com/DisplayLink/evdi"
license=('GPL')
groups=()
depends=(dkms libdrm)
makedepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=$pkgname.install
changelog=$pkgname.Changelog
source=($pkgname-$pkgver-$pkgrel.tar.gz::https://github.com/DisplayLink/evdi/archive/v$pkgver.tar.gz
        relro.patch
        evdi-1.6.4-kernel-5.4.x.patch
        kernel-5.5-test.patch::https://gitweb.frugalware.org/frugalware-current/raw/master/source/lib-extra/evdi/kernel-5.5-test.patch)
noextract=()
md5sums=('67d8ab1bb7a4ca013c5435df42ace5dc'
         '05e64dd295a66c030139d0c8f6f7013b'
         '1938ebead0b2c64f11591970a554fffc'
         '8df8c8c77980560679425435c7d74341')

prepare() {
  cd "$pkgname-$pkgver"
  local src
  for src in "${source[@]}"; do
    src="${src%%::*}"
    src="${src##*/}"
    [[ $src = *.patch ]] || continue
    patch -Np1 < "../$src"
  done
}

build() {
# We only need to build the library in this step, dkms will build the module
cd "$pkgname-$pkgver/library"

make
}

package() {
# Predfine some target folders
SRCDIR="$pkgdir/usr/src/$pkgname-$pkgver"   # This one is needed for dkms
LIBNAME=lib$pkgname

cd "$pkgname-$pkgver"

install -D -m 755 library/$LIBNAME.so $pkgdir/usr/lib/$LIBNAME.so

install -d $SRCDIR
install -D -m 755 module/* $SRCDIR
}

negletios commented on 2020-02-13 15:48 (UTC)

@darose thanks man a lot. This worked for me too.

darose commented on 2020-02-13 15:08 (UTC)

@exup: This PKGBUILD worked for me: http://darose.net/evdi.PKGBUILD