Package Details: evdi-git 1.9.0.r0.gf479047-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 git version.
Upstream URL: https://github.com/DisplayLink/evdi
Licenses: GPL
Conflicts: evdi
Provides: evdi=1.9.0
Submitter: ajs124
Maintainer: severach
Last Packager: severach
Votes: 16
Popularity: 0.22
First Submitted: 2017-08-10 17:05
Last Updated: 2021-01-19 23:16

Latest Comments

1 2 3 4 5 Next › Last »

kayvan commented on 2021-03-01 18:41

build failes on kernel 5.11.2-arch1-1 in addition to the error message posted by @offmilk, I see this in the file: /var/lib/dkms/evdi/1.7.2/build/make.log

DKMS make.log for evdi-1.7.2 for kernel 5.11.2-arch1-1 (x86_64)
Mon Mar  1 10:30:58 AM PST 2021
cat: /etc/redhat-release: No such file or directory
make KBUILD_VERBOSE=1 M=/var/lib/dkms/evdi/1.7.2/build SUBDIRS=/var/lib/dkms/evdi/1.7.2/build SRCROOT=/var/lib/dkms/evdi/1.7.2/build CONFIG_MODULE_SIG= -C /lib/modules/5.11.2-arch1-1/build mo
dules
make[1]: Entering directory '/usr/lib/modules/5.11.2-arch1-1/build'
test -e include/generated/autoconf.h -a -e include/config/auto.conf || (                \
echo >&2;                                                       \
echo >&2 "  ERROR: Kernel configuration is invalid.";           \
echo >&2 "         include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo >&2 "         Run 'make oldconfig && make prepare' on kernel src to fix it.";      \
echo >&2 ;                                                      \
/bin/false)
make -f ./scripts/Makefile.build obj=/var/lib/dkms/evdi/1.7.2/build \
single-build= \
need-builtin=1 need-modorder=1
cat: /etc/redhat-release: No such file or directory

offmilk commented on 2021-02-24 07:07

Build fails on kernel 5.11.1-arch-1, not sure if related to @Ville.Kovacs error

==> Starting build()... CFLAGS="-Werror -Wextra -Wall -Wmissing-prototypes -Wstrict-prototypes -Wno-error=missing-field-initializers -march=x86-64 -mtune=generic -O2 -pipe " make -C module make[1]: Entering directory '/home/off/.cache/yay/evdi-git/src/evdi/module' make -C /lib/modules/5.11.1-arch1-1/build M=$PWD make[2]: Entering directory '/usr/lib/modules/5.11.1-arch1-1/build' CC [M] /home/off/.cache/yay/evdi-git/src/evdi/module/evdi_platform_drv.o CC [M] /home/off/.cache/yay/evdi-git/src/evdi/module/evdi_platform_dev.o CC [M] /home/off/.cache/yay/evdi-git/src/evdi/module/evdi_sysfs.o CC [M] /home/off/.cache/yay/evdi-git/src/evdi/module/evdi_modeset.o /home/off/.cache/yay/evdi-git/src/evdi/module/evdi_modeset.c:163:20: error: initialization of ‘void (*)(struct drm_crtc *, struct drm_atomic_state *)’ from incompatible pointer type ‘void (*)(struct drm_crtc *, struct drm_crtc_state *)’ [-Werror=incompatible-pointer-types] 163 | .atomic_flush = evdi_crtc_atomic_flush, | ^~~~~~~~~~~~~~~~~~~~~~ /home/off/.cache/yay/evdi-git/src/evdi/module/evdi_modeset.c:163:20: note: (near initialization for ‘evdi_helper_funcs.atomic_flush’) cc1: all warnings being treated as errors make[3]: *** [scripts/Makefile.build:279: /home/off/.cache/yay/evdi-git/src/evdi/module/evdi_modeset.o] Error 1 make[2]: *** [Makefile:1800: /home/off/.cache/yay/evdi-git/src/evdi/module] Error 2 make[2]: Leaving directory '/usr/lib/modules/5.11.1-arch1-1/build' make[1]: *** [Makefile:77: module] Error 2 make[1]: Leaving directory '/home/off/.cache/yay/evdi-git/src/evdi/module' make: *** [Makefile:8: all] Error 2 ==> ERROR: A failure occurred in build(). /usr/share/makepkg/util/message.sh: line 51: QUIET: unbound variable /usr/bin/makepkg: line 132: logpipe: unbound variable error making: evdi-git

Ville.Kovacs commented on 2021-02-16 17:36

doesn't build on 5.10.16-arch1-1 - sorry about the formatting, no time to study markdown.

==> Starting build()... CFLAGS="-Werror -Wextra -Wall -Wmissing-prototypes -Wstrict-prototypes -Wno-error=missing-field-initializers -march=x86-64 -mtune=generic -O2 -pipe " make -C module make[1]: Entering directory '/tmp/makepkg/evdi-git/src/evdi/module' make -C /lib/modules/5.10.16-arch1-1/build M=$PWD make[2]: Entering directory '/usr/lib/modules/5.10.16-arch1-1/build' CC [M] /tmp/makepkg/evdi-git/src/evdi/module/evdi_platform_drv.o CC [M] /tmp/makepkg/evdi-git/src/evdi/module/evdi_platform_dev.o CC [M] /tmp/makepkg/evdi-git/src/evdi/module/evdi_sysfs.o CC [M] /tmp/makepkg/evdi-git/src/evdi/module/evdi_modeset.o CC [M] /tmp/makepkg/evdi-git/src/evdi/module/evdi_connector.o CC [M] /tmp/makepkg/evdi-git/src/evdi/module/evdi_encoder.o CC [M] /tmp/makepkg/evdi-git/src/evdi/module/evdi_drm_drv.o CC [M] /tmp/makepkg/evdi-git/src/evdi/module/evdi_fb.o CC [M] /tmp/makepkg/evdi-git/src/evdi/module/evdi_gem.o CC [M] /tmp/makepkg/evdi-git/src/evdi/module/evdi_painter.o CC [M] /tmp/makepkg/evdi-git/src/evdi/module/evdi_params.o CC [M] /tmp/makepkg/evdi-git/src/evdi/module/evdi_cursor.o CC [M] /tmp/makepkg/evdi-git/src/evdi/module/evdi_debug.o CC [M] /tmp/makepkg/evdi-git/src/evdi/module/evdi_i2c.o CC [M] /tmp/makepkg/evdi-git/src/evdi/module/evdi_ioc32.o LD [M] /tmp/makepkg/evdi-git/src/evdi/module/evdi.o MODPOST /tmp/makepkg/evdi-git/src/evdi/module/Module.symvers CC [M] /tmp/makepkg/evdi-git/src/evdi/module/evdi.mod.o LD [M] /tmp/makepkg/evdi-git/src/evdi/module/evdi.ko make[2]: Leaving directory '/usr/lib/modules/5.10.16-arch1-1/build' make[1]: Leaving directory '/tmp/makepkg/evdi-git/src/evdi/module' CFLAGS="-I../module -Werror -Wextra -Wall -Wmissing-prototypes -Wstrict-prototypes -Wno-error=missing-field-initializers -march=x86-64 -mtune=generic -O2 -pipe " make -C library make[1]: Entering directory '/tmp/makepkg/evdi-git/src/evdi/library' cc -I../module -std=gnu99 -fPIC -I../module -Werror -Wextra -Wall -Wmissing-prototypes -Wstrict-prototypes -Wno-error=missing-field-initializers -march=x86-64 -mtune=generic -O2 -pipe -D_FORTIFY_SOURCE=2 -c -o evdi_lib.o evdi_lib.c evdi_lib.c: In function ‘find_unused_card_for’: evdi_lib.c:475:37: error: ‘%s’ directive output may be truncated writing up to 4095 bytes into a region of size 4089 [-Werror=format-truncation=] 475 | snprintf(link_path, PATH_MAX - 7, "%s/device", dirname); | ^~ ...... 521 | if (!is_correct_parent_device(evdi_path, parent_device)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from evdi_lib.c:17: /usr/include/bits/stdio2.h:71:10: note: ‘__builtinsnprintfchk’ output between 8 and 4103 bytes into a destination of size 4089 71 | return builtinsnprintfchk (s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ evdi_lib.c:526:60: error: ‘/drm’ directive output may be truncated writing 4 bytes into a region of size between 1 and 4096 [-Werror=format-truncation=] 526 | snprintf(evdi_drm_path, PATH_MAX - strlen(evdi_path), "%s/drm", evdi_path); | ^~~~ In file included from /usr/include/stdio.h:866, from evdi_lib.c:17: /usr/include/bits/stdio2.h:71:10: note: ‘__builtinsnprintfchk’ output between 5 and 4100 bytes into a destination of size 4096 71 | return builtinsnprintfchk (s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ evdi_lib.c: In function ‘evdi_check_device’: evdi_lib.c:619:36: error: ‘/drm/card’ directive output may be truncated writing 9 bytes into a region of size between 1 and 4096 [-Werror=format-truncation=] 619 | snprintf(card_path, PATH_MAX, "%s/drm/card%d", path, device); | ^~~~~~~~~ In file included from /usr/include/stdio.h:866, from evdi_lib.c:17: /usr/include/bits/stdio2.h:71:10: note: ‘__builtinsnprintfchk’ output between 11 and 4116 bytes into a destination of size 4096 71 | return builtinsnprintfchk (s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[1]: [<builtin>: evdi_lib.o] Error 1 make[1]: Leaving directory '/tmp/makepkg/evdi-git/src/evdi/library' make: [Makefile:9: all] Error 2 ==> ERROR: A failure occurred in build(). /usr/share/makepkg/util/message.sh: line 51: QUIET: unbound variable /usr/bin/makepkg: line 132: logpipe: unbound variable error making: evdi-git

MonoAnji commented on 2021-01-19 10:14

@kaipee2 Will build if you remove -fno-plt from CFLAGS in /etc/makepkg.conf.

kaipee2 commented on 2021-01-06 12:14

Doesn't build on Linux 5.10.4-arch2-1 x86_64

CFLAGS="-Werror -Wextra -Wall -Wmissing-prototypes -Wstrict-prototypes -Wno-error=missing-field-initializers -march=x86-64 -mtune=generic -O2 -pipe -fno-plt" make -C module -j8 --jobserver-auth=3,4
make[1]: warning: -j8 forced in submake: resetting jobserver mode.
make[1]: Entering directory '/home/kpatton/git/build/evdi-git/src/evdi/module'
make -C /lib/modules/5.10.4-arch2-1/build M=$PWD
make[2]: Entering directory '/usr/lib/modules/5.10.4-arch2-1/build'
  CC [M]  /home/kpatton/git/build/evdi-git/src/evdi/module/evdi_platform_drv.o
  CC [M]  /home/kpatton/git/build/evdi-git/src/evdi/module/evdi_platform_dev.o
  CC [M]  /home/kpatton/git/build/evdi-git/src/evdi/module/evdi_sysfs.o
  CC [M]  /home/kpatton/git/build/evdi-git/src/evdi/module/evdi_modeset.o
  CC [M]  /home/kpatton/git/build/evdi-git/src/evdi/module/evdi_connector.o
  CC [M]  /home/kpatton/git/build/evdi-git/src/evdi/module/evdi_encoder.o
  CC [M]  /home/kpatton/git/build/evdi-git/src/evdi/module/evdi_drm_drv.o
  CC [M]  /home/kpatton/git/build/evdi-git/src/evdi/module/evdi_fb.o
/home/kpatton/git/build/evdi-git/src/evdi/module/evdi_sysfs.o: warning: objtool: remove_all_store()+0x17: unannotated intra-function call
make[3]: *** [scripts/Makefile.build:279: /home/kpatton/git/build/evdi-git/src/evdi/module/evdi_sysfs.o] Error 255
make[3]: *** Deleting file '/home/kpatton/git/build/evdi-git/src/evdi/module/evdi_sysfs.o'
make[3]: *** Waiting for unfinished jobs....
/home/kpatton/git/build/evdi-git/src/evdi/module/evdi_platform_drv.o: warning: objtool: evdi_platform_drv_usb()+0x51: unannotated intra-function call
make[3]: *** [scripts/Makefile.build:279: /home/kpatton/git/build/evdi-git/src/evdi/module/evdi_platform_drv.o] Error 255
make[3]: *** Deleting file '/home/kpatton/git/build/evdi-git/src/evdi/module/evdi_platform_drv.o'
/home/kpatton/git/build/evdi-git/src/evdi/module/evdi_connector.o: warning: objtool: evdi_mode_valid()+0x53: unannotated intra-function call
make[3]: *** [scripts/Makefile.build:279: /home/kpatton/git/build/evdi-git/src/evdi/module/evdi_connector.o] Error 255
make[3]: *** Deleting file '/home/kpatton/git/build/evdi-git/src/evdi/module/evdi_connector.o'
/home/kpatton/git/build/evdi-git/src/evdi/module/evdi_drm_drv.o: warning: objtool: evdi_driver_unload()+0x2c: unannotated intra-function call
make[3]: *** [scripts/Makefile.build:279: /home/kpatton/git/build/evdi-git/src/evdi/module/evdi_drm_drv.o] Error 255
make[3]: *** Deleting file '/home/kpatton/git/build/evdi-git/src/evdi/module/evdi_drm_drv.o'
/home/kpatton/git/build/evdi-git/src/evdi/module/evdi_encoder.o: warning: objtool: evdi_enc_destroy()+0x16: unannotated intra-function call
make[3]: *** [scripts/Makefile.build:279: /home/kpatton/git/build/evdi-git/src/evdi/module/evdi_encoder.o] Error 255
make[3]: *** Deleting file '/home/kpatton/git/build/evdi-git/src/evdi/module/evdi_encoder.o'
/home/kpatton/git/build/evdi-git/src/evdi/module/evdi_platform_dev.o: warning: objtool: evdi_platform_dev_create()+0x14: unannotated intra-function call
make[3]: *** [scripts/Makefile.build:279: /home/kpatton/git/build/evdi-git/src/evdi/module/evdi_platform_dev.o] Error 255
make[3]: *** Deleting file '/home/kpatton/git/build/evdi-git/src/evdi/module/evdi_platform_dev.o'
/home/kpatton/git/build/evdi-git/src/evdi/module/evdi_modeset.o: warning: objtool: evdi_atomic_check()+0x23: unannotated intra-function call
make[3]: *** [scripts/Makefile.build:279: /home/kpatton/git/build/evdi-git/src/evdi/module/evdi_modeset.o] Error 255
make[3]: *** Deleting file '/home/kpatton/git/build/evdi-git/src/evdi/module/evdi_modeset.o'
/home/kpatton/git/build/evdi-git/src/evdi/module/evdi_fb.o: warning: objtool: evdi_user_framebuffer_destroy()+0x44: unannotated intra-function call
make[3]: *** [scripts/Makefile.build:279: /home/kpatton/git/build/evdi-git/src/evdi/module/evdi_fb.o] Error 255
make[3]: *** Deleting file '/home/kpatton/git/build/evdi-git/src/evdi/module/evdi_fb.o'
make[2]: *** [Makefile:1805: /home/kpatton/git/build/evdi-git/src/evdi/module] Error 2
make[2]: Leaving directory '/usr/lib/modules/5.10.4-arch2-1/build'
make[1]: *** [Makefile:77: module] Error 2
make[1]: Leaving directory '/home/kpatton/git/build/evdi-git/src/evdi/module'
make: *** [Makefile:8: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

rafaelgov95 commented on 2020-12-26 20:59

I would like to use kernel 5.4 but the error in xorg-server

severach commented on 2020-12-15 03:55

QUIET is caused by set -u, not an interesting error. Missing directory 5.9.9 is caused by not rebooting after a kernel upgrade. This package does not detect an upgraded kernel. There's nothing to fix yet because someone begged me to move to 1.8.0 and the published version of DisplayLink won't run with it.

jamincollins commented on 2020-12-14 18:46

@BrokenHelm the issue is caused by the set -u usage in the PKGBUILD.

https://bbs.archlinux.org/viewtopic.php?pid=1905988#p1905988

In this particular case, commenting the set -u at the beginning of the build function seems to be enough. However, based on the above comment, I would say that all set -u usage should be removed.

BrokenHelm commented on 2020-11-24 07:43

Any suggestions on how to fix the following?


cat: /etc/redhat-release: No such file or directory
CFLAGS="-Werror -Wextra -Wall -Wmissing-prototypes -Wstrict-prototypes -Wno-error=missing-field-initializers" make -C module 
make[1]: Entering directory '/home/caspar/.cache/yay/evdi-git/src/evdi/module'
make -C /lib/modules/5.9.9-arch1-1/build M=$PWD
make[2]: Entering directory '/home/caspar/.cache/yay/evdi-git/src/evdi/module'
make[2]: *** /lib/modules/5.9.9-arch1-1/build: No such file or directory.  Stop.
make[2]: Leaving directory '/home/caspar/.cache/yay/evdi-git/src/evdi/module'
make[1]: *** [Makefile:71: module] Error 2
make[1]: Leaving directory '/home/caspar/.cache/yay/evdi-git/src/evdi/module'
make: *** [Makefile:13: all] Error 2
==> ERROR: A failure occurred in build().
/usr/share/makepkg/util/message.sh: line 51: QUIET: unbound variable
/usr/bin/makepkg: line 132: logpipe: unbound variable
error making: evdi-git

The 1.7 build still works fine on kernel 5.9, the 1.8 is unable to build on my system. Checking the scripts I cant figure what is wrong.

bnavigator commented on 2020-10-15 14:51

There is now a new evdi-1.7 package with the patch for kernel 5.9 applied