Hi Harsha, Weston needs to be rebuilt. But, no new library versions dependencies.
All right. On Mon, Jun 25, 2018 at 10:21 AM, Harsha Manjula Mallikarjun (RBEI/ECF3) < [email protected]> wrote: > Hi Matheus, > > >From: Matheus Santana [mailto:[email protected]] > >Sent: Friday, June 22, 2018 8:33 PM > >To: Harsha Manjula Mallikarjun (RBEI/ECF3) <Harsha.ManjulaMallikarjun@in. > bosch.com> > >Cc: [email protected] > >Subject: Re: [PATCH 0/5] Implement support for drm properties "GAMMA_LUT" > and "CTM" > > > >Hi Harsha, > >I am unable to run the tests you introduced. Tests execution gets stuck > after reporting success for surface-global-test. > > Surface-global-test terminates the compositor. May be this is the reason. > I do not see a stuck test rather a terminated compositor. > > For testing I modified Weston.ini as follows: > modules=ivi-controller.so, surface-global-test.so,gamma- > test.so,ctm-test.so > > Are you running tests in an another way? > I'm running them by just issuing `make check` after building weston. I basically execute three commands (within weston's root dir): $ ./autogen.sh --prefix=$WLD $ make $ make check The output for `autogen.sh` (which is the same regardless patches application) is attached. All tests in suite run fine (24 passed, 1 skipped) when running these commands without the paches. I'm applying the patches by downloading the mbox and `git am patches.mbox`. Are you able to run all tests in suite by just `make check` after building the project? Best regards, Matheus P.S.: it shouldn't make a difference but I've applied the new version you provided and tried it again without luck. > > >Is it necessary building weston against any newer libraries versions for > running the new tests? > > > >Thanks, > >Matheus > > > >On Fri, Jun 22, 2018 at 10:23 AM, <[email protected]> > wrote: > >From: Harsha M M <[email protected]> > > > >current drm backend uses drmModeCrtcSetGamma to set the gamma look up > table. > >This api is a legacy now. DRM backend should support setting of gamma > look up > >table through GAMMA_LUT property to keep up with the latest DRM. > > > >DRM has support for setting color transformation matrix. This is useful > for > >tuning additional display settings like brightness, saturation and hue. > > > >This patch series adds support for setting of these two drm properties > along > >with respective tests. > > > >Harsha M M (5): > > compositor-drm: Implement support for GAMMA_LUT drm property > > libweston: provide support to set color transformation matrix for > > output > > compositor-drm: add support for CTM property > > tests: add test for setting gamma > > tests: add test for color transformation matrix > > > > Makefile.am | 13 ++- > > libweston/compositor-drm.c | 149 +++++++++++++++++++++++++-- > > libweston/compositor.h | 12 +++ > > tests/ctm-test.c | 210 ++++++++++++++++++++++++++++++++++++++ > > tests/gamma-test.c | 248 ++++++++++++++++++++++++++++++ > +++++++++++++++ > > 5 files changed, 625 insertions(+), 7 deletions(-) > > create mode 100644 tests/ctm-test.c > > create mode 100644 tests/gamma-test.c > > > >-- > >2.7.4 > > > >_______________________________________________ > >wayland-devel mailing list > >[email protected] > >https://lists.freedesktop.org/mailman/listinfo/wayland-devel > > Best regards, > Harsha MM > RBEI/ECF3 > > >
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'. libtoolize: copying file 'build-aux/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking whether sys/types.h defines makedev... no checking sys/mkdev.h usability... no checking sys/mkdev.h presence... no checking for sys/mkdev.h... no checking sys/sysmacros.h usability... yes checking sys/sysmacros.h presence... yes checking for sys/sysmacros.h... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking whether make supports nested variables... yes checking dependency style of gcc... gcc3 checking whether make supports nested variables... (cached) yes checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking for a sed that does not truncate output... /usr/bin/sed checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for library containing dlsym... -ldl checking for library containing clock_gettime... none required checking for library containing clock_getres... none required checking whether SFD_CLOEXEC is declared... yes checking whether TFD_CLOEXEC is declared... yes checking whether CLOCK_MONOTONIC is declared... yes checking execinfo.h usability... yes checking execinfo.h presence... yes checking for execinfo.h... yes checking for mkostemp... yes checking for strchrnul... yes checking for initgroups... yes checking for posix_fallocate... yes checking for LIBDRM... yes checking for doxygen... no checking for EGL... yes checking for EGL_TESTS... yes checking linux/sync_file.h usability... yes checking linux/sync_file.h presence... yes checking for linux/sync_file.h... yes checking for XKBCOMMON_COMPOSE... yes checking for XWAYLAND... yes checking for XWAYLAND_TEST... yes checking for XCB... yes checking for X11_COMPOSITOR_XKB... yes checking for X11_COMPOSITOR... yes checking for DRM_COMPOSITOR... yes checking for DRM_COMPOSITOR_ATOMIC... yes checking for DRM_COMPOSITOR_GBM... yes checking for LIBINPUT_BACKEND... yes checking for COMPOSITOR... yes checking for WAYLAND_PROTOCOLS... yes checking for WAYLAND_COMPOSITOR... yes checking for WAYLAND_COMPOSITOR_EGL... yes checking for FBDEV_COMPOSITOR... yes checking for PIXMAN... yes checking for PNG... yes checking for library containing jpeg_CreateDecompress... -ljpeg checking for WEBP... yes checking for LIBVA... yes checking for CAIRO... yes checking for TEST_CLIENT... yes checking for SIMPLE_CLIENT... yes checking for SIMPLE_EGL_CLIENT... yes checking for SIMPLE_DMABUF_DRM_CLIENT... yes checking for LIBDRM_PLATFORM_FREEDRENO... no checking for LIBDRM_PLATFORM_INTEL... yes checking for LIBDRM_PLATFORM_ETNAVIV... no checking for SIMPLE_DMABUF_V4L_CLIENT... yes checking for CLIENT... yes checking for SERVER... yes checking for WESTON_INFO... yes checking for PANGO... yes checking for library containing pam_open_session... -lpam checking for COLORD... yes checking for DBUS... yes checking for SYSTEMD_LOGIN... yes checking for LIBXML2... yes checking for WCAP... yes checking for SETBACKLIGHT... yes configure: Weston's native backend: drm-backend.so configure: Weston's default desktop shell client: weston-desktop-shell checking for LCMS... yes checking for wayland-scanner... /home/embs/wayland-build/bin/wayland-scanner checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating doc/doxygen/tools.doxygen config.status: creating doc/doxygen/tooldev.doxygen config.status: creating Makefile config.status: creating libweston/version.h config.status: creating compositor/weston.pc config.status: creating libweston/libweston-5.pc config.status: creating libweston/libweston-5-uninstalled.pc config.status: creating libweston-desktop/libweston-desktop-5.pc config.status: creating libweston-desktop/libweston-desktop-5-uninstalled.pc config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands Native Backend drm-backend.so setuid Install yes Cairo Renderer image EGL yes xcb_xkb yes XWayland yes dbus yes ivi-shell yes Build wcap utility yes Build Fullscreen Shell yes Enable developer documentation no weston-launch utility yes systemd-login support yes systemd notify support no DRM Compositor yes X11 Compositor yes Wayland Compositor yes Headless Compositor yes FBDEV Compositor yes RDP Compositor no Screen Sharing no JUnit XML output yes Build Clients yes Build EGL Clients no Build Simple Clients yes Build Simple EGL Clients yes Install Demo Clients no Colord Support yes LCMS2 Support yes libjpeg Support yes libwebp Support yes VA H.264 encoding Support yes
_______________________________________________ wayland-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/wayland-devel
