12-06-2016, 12:42 PM | #21 |
Junior Member
Join Date: Oct 2016
Posts: 20
|
Hi Michal,
I have tested as native desktop and with ssh. Here is the output from 'example' command of the terminal window is at follows: Code:
sudo /bin/example /home/pi/EDIDv1_1440x900 [libevdi] ioctl: drop_master error=-1 Attempting to use device /dev/dri/card1... [libevdi] ioctl: drop_master error=-1 Press Enter or Ctrl+C to quit... Code:
pi@raspberrypi:~ $ xrandr Screen 0: minimum 320 x 200, current 1280 x 1024, maximum 2048 x 2048 HDMI-0 connected 1280x1024+0+0 (normal left inverted right x axis y axis) 359mm x 287mm 1280x1024 60.02*+ 1280x960 60.00 1024x768 60.00 800x600 60.32 640x480 60.00 720x400 70.08 pi@raspberrypi:~ $ xrandr --listproviders Providers: number : 2 Provider 0: id: 0x43 cap: 0x2, Sink Output crtcs: 3 outputs: 1 associated providers: 0 name:modesetting Provider 1: id: 0x270 cap: 0x2, Sink Output crtcs: 1 outputs: 1 associated providers: 0 name:modesetting pi@raspberrypi:~ $ xrandr --setprovideroutputsource 1 0 X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 140 (RANDR) Minor opcode of failed request: 35 () Value in failed request: 0x43 Serial number of failed request: 16 Current serial number in output stream: 17 pi@raspberrypi:~ $ xrandr --auto (without output) Code:
pi@raspberrypi:~ $ sudo /bin/monitorsim /home/pi/EDIDv1_1440x900 [libevdi] ioctl: drop_master error=-1 [libevdi] ioctl: drop_master error=-1 [libevdi] ioctl: drop_master error=-1 No protocol specified QXcbConnection: Could not connect to display :0 Best regards Michael |
12-07-2016, 07:52 AM | #22 |
Senior Member
Join Date: Feb 2010
Posts: 386
|
He're how it looks on my Pi - just had a moment to try a few things out. Note this is WITHOUT evdi loaded yet.
Code:
$ uname -a Linux ubuntupi 4.4.35-v7+ #931 SMP Sat Nov 26 13:05:09 GMT 2016 armv7l armv7l armv7l GNU/Linux Code:
$ lsmod | grep drm drm_kms_helper 101028 2 vc4 drm_mipi_dsi 8702 1 vc4 drm 262564 4 vc4,drm_kms_helper syscopyarea 2945 1 drm_kms_helper sysfillrect 3443 1 drm_kms_helper sysimgblt 2069 1 drm_kms_helper fb_sys_fops 1309 1 drm_kms_helper Code:
$ xrandr --listproviders Providers: number : 1 Provider 0: id: 0x43 cap: 0x9, Source Output, Sink Offload crtcs: 3 outputs: 1 associated providers: 0 name:modesetting Cheers, Michal |
12-07-2016, 08:44 AM | #23 |
Junior Member
Join Date: Oct 2016
Posts: 20
|
Hi Michal,
I use Debian Jessi (raspbian) on my RaspberryPi 2. The system is up-to-date. Here is the output from 'uname -a' command of the terminal window is at follows: Code:
Linux raspberrypi 4.4.34-v7+ #930 SMP Wed Nov 23 15:20:41 GMT 2016 armv7l GNU/Linux Code:
drm_mipi_dsi 8702 1 vc4 drm_kms_helper 101028 3 vc4,evdi drm 262564 5 vc4,evdi,drm_kms_helper syscopyarea 2945 2 evdi,drm_kms_helper sysfillrect 3443 2 evdi,drm_kms_helper sysimgblt 2069 2 evdi,drm_kms_helper fb_sys_fops 1309 1 drm_kms_helper Code:
Providers: number : 1 Provider 0: id: 0x43 cap: 0x2, Sink Output crtcs: 3 outputs: 1 associated providers: 0 name:modesetting Best regards Michael |
12-07-2016, 01:17 PM | #24 |
Senior Member
Join Date: Feb 2010
Posts: 386
|
Hi, at the moment it's Ubuntu MATE.
Cheers, Michal |
12-08-2016, 02:26 PM | #25 |
Junior Member
Join Date: Oct 2016
Posts: 20
|
Hi Michal,
I use ubuntu mate (16.04) on my RaspberryPi 2. The system is up-to-date. The outputs are the same. I will try to install 'evdi' and 'evdipp' tomorrow, and hope it will work. My goal is to just using the USB monitor.. Best regards Michael |
12-09-2016, 12:52 PM | #26 |
Junior Member
Join Date: Oct 2016
Posts: 20
|
Hi Michal,
I use ubuntu mate (16.04) for my RaspberryPi 2. The system is up to date (apt update, apt upgrade). After trying 'sudo BRANCH=next rpi-update' and 'sudo rpi-source' the current kernel and sources was installed. I also try to add the following lines into '/boot/config.txt’: Code:
dtoverlay=vc4-kms-v3d gpu_mem=128 Code:
Error! Bad return status for module build on kernel: 4.4.36-v7+ (armv7l) the file: Consult /var/lib/dkms/evdi/devel/module/build/make.log: DKMS make.log for evdi-devel/module for kernel 4.4.36-v7+ (armv7l) Fr 9. Dez 13:44:39 CET 2016 make KBUILD_VERBOSE=1 SUBDIRS=/var/lib/dkms/evdi/devel/module/build SRCROOT=/var/lib/dkms/evdi/devel/module/build CONFIG_MODULE_SIG= -C /lib/modules/4.4.36-v7+/build modules make[1]: Entering directory '/home/pi/linux-c6d86f7aa554854b04614ebb4d394766081fb41f' 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) mkdir -p /var/lib/dkms/evdi/devel/module/build/.tmp_versions ; rm -f /var/lib/dkms/evdi/devel/module/build/.tmp_versions/* WARNING: Symbol version dump ./Module.symvers is missing; modules will have no dependencies and modversions. make -f ./scripts/Makefile.build obj=/var/lib/dkms/evdi/devel/module/build gcc -Wp,-MD,/var/lib/dkms/evdi/devel/module/build/.evdi_drv.o.d -nostdinc -isystem /usr/lib/gcc/arm-linux-gnueabihf/4.9/include -I./arch/arm/include -Iarch/arm/include/generated/uapi -Iarch/arm/include/generated -Iinclude -I./arch/arm/include/uapi -Iarch/arm/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -mlittle-endian -Iarch/arm/mach-bcm2709/include -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-dwarf2-cfi-asm -fno-omit-frame-pointer -mapcs -mno-sched-prolog -fno-ipa-sra -mabi=aapcs-linux -mno-thumb-interwork -mfpu=vfp -funwind-tables -marm -D__LINUX_ARM_ARCH__=7 -march=armv7-a -msoft-float -Uarm -fno-delete-null-pointer-checks -Wno-maybe-uninitialized -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fno-stack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -Iinclude/drm -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(evdi_drv)" -D"KBUILD_MODNAME=KBUILD_STR(evdi)" -c -o /var/lib/dkms/evdi/devel/module/build/.tmp_evdi_drv.o /var/lib/dkms/evdi/devel/module/build/evdi_drv.c In file included from include/asm-generic/int-ll64.h:10:0, from ./arch/arm/include/asm/types.h:4, from include/uapi/linux/types.h:4, from include/linux/types.h:5, from include/linux/list.h:4, from include/linux/agp_backend.h:33, from include/drm/drmP.h:35, from /var/lib/dkms/evdi/devel/module/build/evdi_drv.c:10: include/uapi/asm-generic/int-ll64.h:11:29: fatal error: asm/bitsperlong.h: No such file or directory #include <asm/bitsperlong.h> ^ compilation terminated. scripts/Makefile.build:258: recipe for target '/var/lib/dkms/evdi/devel/module/build/evdi_drv.o' failed make[2]: *** [/var/lib/dkms/evdi/devel/module/build/evdi_drv.o] Error 1 Makefile:1401: recipe for target '_module_/var/lib/dkms/evdi/devel/module/build' failed make[1]: *** [_module_/var/lib/dkms/evdi/devel/module/build] Error 2 make[1]: Leaving directory '/home/pi/linux-c6d86f7aa554854b04614ebb4d394766081fb41f' Makefile:21: recipe for target 'all' failed make: *** [all] Error 2 A try with the original installation package 'displaylink-driver-1.2.65.run*' end also with a similar error. I've built the evdipp package without errors. so far so good What steps have you done until to compile evdi and running the module? Best regards Michael |
12-12-2016, 11:14 AM | #27 |
Senior Member
Join Date: Feb 2010
Posts: 386
|
I didn't use dkms, just used make to build in place. I think the problem you have is this:
Code:
echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \ Michal |
12-13-2016, 09:37 AM | #28 |
Junior Member
Join Date: Oct 2016
Posts: 20
|
Hi Michal,
After successfull build the evdi module and reboot The Build of evdi are successfull. Here is the output from 'example' command of the terminal window is at follows: Code:
pi@pi-desktop:~/target/bin$ sudo ./example EDIDv1_1440x900 terminate called after throwing an instance of 'boost::filesystem::filesystem_error' what(): boost::filesystem::directory_iterator::construct: No such file or directory Aborted (core dumped) Code:
pi@pi-desktop:~/target/bin$ sudo ./example EDIDv1_1440x900 terminate called after throwing an instance of 'boost::filesystem::filesystem_error' what(): boost::filesystem::directory_iterator::construct: No such file or directory Aborted (core dumped) pi@pi-desktop:~/target/bin$ sudo ./monitorsim EDIDv1_1440x900 [libevdi] ioctl: drop_master error=-1 [libevdi] ioctl: drop_master error=-1 [libevdi] ioctl: drop_master error=-1 [libevdi] ioctl: drop_master error=-1 The X11 connection broke: I/O error (code 1) XIO: fatal IO error 22 (Invalid argument) on X server ":0" after 399 requests (399 known processed) with 0 events remaining. The output from 'lsmod' command of the terminal window is at follows: Code:
lsmod| grep evdi evdi 36280 0 drm_kms_helper 101028 3 vc4,evdi drm 262564 8 vc4,evdi,drm_kms_helper syscopyarea 2945 2 evdi,drm_kms_helper sysfillrect 3443 2 evdi,drm_kms_helper sysimgblt 2069 2 evdi,drm_kms_helper What steps have you done until to compile evdi? How did you actually compile evdi? Runs under ubuntu mate an USB monitor (DL31xx) e.g. HP s104u? I havent any ideas anymore.. Best regards Michael |
12-19-2016, 12:14 PM | #29 |
Junior Member
Join Date: Oct 2016
Posts: 20
|
..does anyone else have an idea?
|
01-03-2017, 09:27 AM | #30 |
Junior Member
Join Date: Oct 2016
Posts: 20
|
.. push.
Best regards Michael |
|
|