summaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen2/recipes-graphics
AgeCommit message (Collapse)AuthorFilesLines
2016-12-23Add exec to remove gst cache in weston.serviceToshi Umemura1-0/+1
When weston in IVI starts to send encoded display image to meter cluster, it also starts to use gstreamer to encode in CES2017 demo. If cache for gstreamer remains, weston sometimes failes to start. To avoid this, this patch adds ExecStartPre to remove the cache as a workaround. Change-Id: I0f3f90bbfbf9033452d27c1cc3ea358e0e2880f3 Signed-off-by: ynakamura <ynakamura@jp.adit-jv.com>
2016-12-21weston: fix missing dependenciesYannick Gicquel1-2/+2
This commit fix missing dependencies. Please refer to following: https://jira.automotivelinux.org/browse/SPEC-373 Bug-AGL: SPEC-373 Change-Id: I0e7e616ee2392e2ddc7aabc55379533c6ae5682d Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh> Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2016-12-17Add sharing screen support to Weston via h.264Grigory Kletsko5-0/+4630
This patch enables sharing screen support between IVI and meter cluster for CES2017 demo using weston. h264 streaming data on the surface can be sent to the different soc via rtp protocol. Change-Id: Ie4d00e369039e57a19940284a7d82aba684a4bf6 Signed-off-by: Grigory Kletsko <grigory.kletsko@cogentembedded.com>
2016-12-15patch libgbm to retrieve DMA fd for gbm_surfaceGrigory Kletsko2-0/+94
This patch enables handling buffer object as file descriptor This patch will be used for meter cluster demo for CES2017 Change-Id: Ib83d69ba887ef9b5b03e99708aedf9b2a97f4d8a Signed-off-by: Grigory Kletsko <grigory.kletsko@cogentembedded.com>
2016-11-07remove wayland&weston backportRonan10-387/+0
Change-Id: I970a9a6dc467590ce10d328c34804083923dbd68 Signed-off-by: Ronan <ronan.lemartret@iot.bzh>
2016-10-28rc.pvr become a systemd serviceRonan2-5/+31
Change-Id: Ie58d65d312e9d00f5d3ba295034924954d9141f7 Signed-off-by: Ronan <ronan.lemartret@iot.bzh>
2016-09-01Changes to meta-renesas for building with YP 2.1.1 'krogoth'Jan-Simon Möller5-102/+39
Notable changes: - We drop old appends (libgcc_4.8.bbappend, qemu_%.bbappends, gtk+_2.24.%.bbappend) - All gstreamer1.0_1.2.3 related recipes are now in meta-reneas and have been heavily massaged to work with YP 2.1.1 . - systemd needs a patch due to the old kernel - linux-libc-headers needed a patch TODO: - Test and fix Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-06-29Use relative path for libGLESv2.so.2 sybolic linkDamian Hobson-Garcia1-1/+1
The versioned binary should be linked to the libGLESv2.so in the same directory and not to its location in the host build path. Change-Id: Id8b3a85f9cbde8d67ff1027503b4670b9c546950 Signed-off-by: Damian Hobson-Garcia <dhobsong@igel.co.jp>
2016-06-21Revert "gdp: Add gfx and multimedia packages to GDP image when enabled"Tadao Tanikawa1-2/+0
This reverts commit 632f4b7e7c05dbe7bbcad0474ebe65b84446aad8. The commit 632f4b puts new bbappend into meta-rcar-gen2. It causes warning when build agl-distro because AGL doesn't have recipe 'genivi-demo-platform.bb'. Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2016-06-21[AGL] Merge 'genivi-7.0-bsp-1.8.0' into 'agl-1.0-bsp-1.8.0'Tadao Tanikawa3-4/+8
* genivi-7.0-bsp-1.8.0: gstreamer: Fix a long list of build dependency QA warnings gstreamer: Fix runtime CMA error gdp: Fix missing gst faad plugin build error when s/w mmp is used. multimedia: Set PREFERRED_VERSION for gstreamer1.0-* to 1.2.% for all Gen 2 boards gdp: Add gfx and multimedia packages to GDP image when enabled Change-Id: I68459885ebdfbe7b3ad22efcea3ec9b82c8d5aa9 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2016-04-09RDEPEND libgbm-dev in the gles-user-moduleJan-Simon Möller1-1/+1
To keep core-image-minimal clean of the 3rdparty components, we need to add the requirements where they are needed and not globally in the local.conf.sample - fix this. Change-Id: I202fd35a5d081f0634a4b22a7f7ad55a80a34260 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-02-22gdp: Fix missing gst faad plugin build error when s/w mmp is used.Stephen Lawrence2-4/+6
Only add gfx or mmp to image when h/w acceleration enabled. This fixes an issue reported on list [1] where the GDP do_rootfs fails: 'ERROR: gstreamer1.0-plugins-bad-faad not found in the base feeds (koelsch cortexa15hf-vfp-neon cortexa15hf-vfp armv7ahf-vfp-neon armv7ahf-vfp armv6hf-vfp armv5ehf-vfp armv5hf-vfp noarch any all)' The issue was introduced with meta-renesas commit 632f4b7e7c05db which integrated a mechanism to add gfx and multimedia packages as needed to the IMAGE. Faad requires it be added to the image dependencies and is found in meta-openembedded/meta-multimedia/. By default the R-Car M2 Koeslch board local.conf and bblayers.conf in GDP do not enable h/w multimedia acceleration and so those requirements were not met. Resulting in the error as nothing was causing a Gst 1.4.x Faad plug-in to be built. However for GDP and the general case the BSP should only be adding packages it requires when h/w acceleration is enabled. Therefore modify the mechanism to do just that. When s/w rendering is used it should be left to layers outside of the BSP to do what is required. [1] http://lists.genivi.org/pipermail/genivi-projects/2016-January/001360.html
2016-02-08r-car m2: add a "libGLESv2.so.2" symbolic link for softwareYannick Gicquel1-0/+3
Some popular software, including Chromium/QtWebEngine, look for a library named "libGLESv2.so.2" on the filesystem to initialize their OpenGL ES backend : https://github.com/qtproject/qtwebengine/blob/dev/src/core/ surface_factory_qt.cpp#L83 but the proprietary userspace driver is named "libGLESv2.so" instead. Let us create a symbolic link which will satisfy this requirement (we do not rename the binary and make "libGLESv2.so" a symbolic link, because this would trigger a Yocto QA warning and prevent building). Change-Id: Iea901694e90cfd4a786087507cfc77302c9d3b8a Signed-off-by: Manuel Bachmann <mbc@iot.bzh> Author: Yannick Gicquel <yannick.gicquel@iot.bzh> Author: Manuel Bachmann <mbc@iot.bzh>
2016-01-28r-car m2: Revert "EGL_NO_DISPLAY workaroud", update libeglManuel Bachmann3-36/+1
The previous workaround will not not be necessary anymore to run Weston 1.8.0 on Porter, once we update the Renesas- specific libegl. This reverts commit d76a274af819a7cff4ef5c70de459de7bc68755a. This updates libegl. Change-Id: Ie8bedd0c6a47d05e9c5ec86ec63f035ac61dbb84 Signed-off-by: Manuel Bachmann <mbc@iot.bzh>
2016-01-27r-car m2: add EGL driver EGL_NO_DISPLAY workaroudManuel Bachmann2-0/+35
Weston 1.8.0 uses a new method of detection for client EGL extensions, which is incompatible with the driver provided by meta-renesas. We revert back to the old behavior as it is not strictly necessary for rendering. This allows Weston 1.8.0 to start in DRM mode on Porter/Koelsch with latest AGL base. Signed-off-by: Manuel Bachmann <mbc@iot.bzh> Change-Id: I0658b3beff96c7f173dbb4f85e8f18d3fce768c1
2016-01-13mesa: update to support mesa 10.1.3 & 10.6.3Yannick Gicquel2-2/+41
This patch fixup the build support for both yocto 1.7 and 2.0. Initial patch needs to be applied only on yocto 1.7 (mesa 10.1.3) as it is integrated upstream since mesa 10.3. Second patch is only required for yocto 2.0 recipe (mesa 10.6.3). Change-Id: I75940b3149f1c18b23dbf32fd2c4bafd1d6b241c Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
2015-12-15Update SRCREV for libgbmYoshihito Ogawa1-1/+1
Update libgbm SRCREV from 39cad6b7f2 to d5a58c6899 to fix an arugment of kms_bo_unmap(). Change-Id: Ieedc6f15512d9c4369fa297aaa0dc945291eeb14 Signed-off-by: Yoshihito Ogawa <yoshihito.ogawa.kc@renesas.com>
2015-12-02gdp: Add gfx and multimedia packages to GDP image when enabledStephen Lawrence1-0/+2
Introduce automation to the GDP build. The gfx and multimedia packages will now be added to the GDP IMAGE_INSTALL when they are enabled.
2015-11-13r-car m2: preconfigure Porter/Koelsch sound mixerManuel Bachmann1-1/+1
Sound is inaudible when starting a Porter/Koelsch board, because default state of their sound mixer is muted. Add a "alsa-utils-config" recipe which will be commented out, but available in local.conf, to preconfigure their mixer. Sound volume will be approximately 25% of maximum. Change-Id: Iaf60f612f8e01e7aa51f8a0558de00f26d36aee8 Signed-off-by: Manuel Bachmann <mbc@iot.bzh>
2015-11-06weston: workaround to avoid segfault on hotplug eventYannick Gicquel2-0/+82
This is for CES demo hardening and may be reworked or removed for a product. Change-Id: I45d708e873cbe8ce7d454ebcae31f24d51055736 Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh> Signed-off-by: Manuel Bachmann <mbc@iot.bzh>
2015-10-14r-car e2 (alt/silk): mesa: Temporary workaround to upstream Mesa build issueStephen Lawrence1-3/+3
This commit generalises an earlier workaround for the Alt board to all R-Car E2 based boards. Temporarily disable Cortex A7 optimisation to avoid upstream build issue between YP 1.7 gcc toolchain and Mesa 10.1,x releases. The build goes away and never returns. Graphics acceleration makes no use of Mesa so there should be no performance impact. This should be removed once upstream is fixed.
2015-08-20alt: mesa: Temporary workaround to upstream Mesa build issueStephen Lawrence1-0/+4
Temporarily disable Cortex A7 optimisation to avoid upstream build issue between YP 1.7 gcc toolchain and Mesa 10.1,x releases. The build goes away and never returns. Graphics acceleration makes no use of Mesa so there should be no performance impact. This should be removed once upstream is fixed.
2015-03-25gles-user-module: Add RDEPENDS for gles-kernel-moduleStephen Lawrence1-0/+2
The GLES user module has a runtime dependency on the GLES kernel module. Make that clear by adding an RDEPENDS for it.
2015-03-25libegl: Add RPROVIDES for libegl.soStephen Lawrence1-0/+1
libegl-dev provides libegl.so but this is not found when do_rootfs installs dependent packages for certain package configurations. Add RPROVIDES so it is found. Fixes do_rootfs build errors of the form: error: Can't install gles-user-module-1.0-r0@koelsch: no package provides libEGL.so
2015-03-25mesa: Add patch for compiling mesa when drm platform is not set.Florin Sarbu2-0/+64
Signed-off-by: Florin Sarbu <florin.sarbu@windriver.com>
2015-03-25mesa: Rename mesa bbappend to use wildcard for minor versionStephen Lawrence1-0/+0
Changed as part of update to YP 1.7
2015-03-25cogl: Rename cogl bbappend to use wildcard for minor version numberStephen Lawrence1-0/+0
Changed as part of the update to YP 1.7
2015-03-25commit BSP v1.8.0Nobuhiro Iwamatsu31-0/+4796
Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>