All of lore.kernel.org
 help / color / mirror / Atom feed
* Error: Adding chromium browser + fsl-image-gui (Yocto - Dora)
@ 2014-05-04  8:26 Benuvel GnanaKirubakaran, Jv.
  2014-05-04 13:35 ` Dmitriy B.
  2014-05-06 10:38 ` Somashekar
  0 siblings, 2 replies; 6+ messages in thread
From: Benuvel GnanaKirubakaran, Jv. @ 2014-05-04  8:26 UTC (permalink / raw)
  To: Otavio Salvador, Lauren Post, meta-freescale@yoctoproject.org
  Cc: jsomash, immanuel, saliya

Hi All,

Bitbaking fsl-image-gui of Yocto-dora was successfully built and
desktop appeared at HDMI also we can utilize all the privileges which
are available in it.

Now we desired to add chromium browser, for which, following changes
were did with the earlier successful one:

1. build/conf/bblayers.conf:
BBLAYERS += " ${BSPDIR}/sources/meta-browser "

2. build/conf/local.conf:
CORE_IMAGE_EXTRA_INSTALL += "chromium"
LICENSE_FLAGS_WHITELIST="commercial"

3. .repo/manifest.xml
<remote fetch="git://github.com/OSSystems" name="OSSystems"/>
<project remote="OSSystems"
revision="fc3969f63bda343c38c40a23f746c560c4735f3e"
name="meta-browser" path="sources/meta-browser" />

After repo sync, fsl-image-gui was built. But while after parsing
recipes, it throws error as below:

------------------------------------------------------------------------------
benuvelj@benuvelj-OptiPlex-GX520:~/BRAND_IMAGING/fsl-community-bsp_dora/build$
bitbake fsl-image-gui
WARNING: Unable to get checksum for linux-boundary SRC_URI entry
defconfig: file could not be found
| ETA:  00:15:21
Parsing recipes: 100%
|################################################################################################################|
Time: 01:58:38
Parsing of 1434 .bb files complete (0 cached, 1434 parsed). 1828
targets, 62 skipped, 0 masked, 0 errors.
ERROR: No recipes available for:

/home/benuvelj/BRAND_IMAGING/fsl-community-bsp_dora/sources/meta-browser/recipes-gnome/gnome-settings-daemon/gnome-settings-daemon_2.32.1.bbappend
ERROR: Command execution failed: Exited with 1

Summary: There was 1 WARNING message shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit
code.
------------------------------------------------------------------------------

content of
/home/benuvelj/BRAND_IMAGING/fsl-community-bsp_dora/sources/meta-browser/recipes-gnome/gnome-settings-daemon/gnome-settings-daemon_2.32.1.bbappend:

-----------------------------------------------------------------------------
DEPENDS += "nss"

CFLAGS += "-I${STAGING_INCDIR}/mozilla/nss"
-----------------------------------------------------------------------------

could you help us to resolve the issue?

--
Thanks & Regards,
Benuvel Jv



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Error: Adding chromium browser + fsl-image-gui (Yocto - Dora)
  2014-05-04  8:26 Error: Adding chromium browser + fsl-image-gui (Yocto - Dora) Benuvel GnanaKirubakaran, Jv.
@ 2014-05-04 13:35 ` Dmitriy B.
  2014-05-09 20:18   ` Carlos Rafael Giani
  2014-05-06 10:38 ` Somashekar
  1 sibling, 1 reply; 6+ messages in thread
From: Dmitriy B. @ 2014-05-04 13:35 UTC (permalink / raw)
  To: meta-freescale@yoctoproject.org
  Cc: Benuvel GnanaKirubakaran, Jv., Otavio Salvador, immanuel, saliya,
	jsomash

[-- Attachment #1: Type: text/plain, Size: 570 bytes --]

2014-05-04 12:26 GMT+04:00 Benuvel GnanaKirubakaran, Jv. <
benuvelj@iwavesystems.com>:
>
>
> could you help us to resolve the issue?
>

Add meta-gnome and meta-ruby layers. Then add LICENSE_FLAGS_WHITELIST to
have x264/libav enabled, chromium depends on them.

Also be sure to have at least 32GB of RAM on your build machine, I already
tried to build chromium on 8GB+4GB swap and on 16GB+8GB swap machines
without success, it fails at LINK stage with oom-killer being invoked.


> --
> Thanks & Regards,
> Benuvel Jv


Best Regards,
Dmitriy Beykun

[-- Attachment #2: Type: text/html, Size: 1193 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Error: Adding chromium browser + fsl-image-gui (Yocto - Dora)
  2014-05-04  8:26 Error: Adding chromium browser + fsl-image-gui (Yocto - Dora) Benuvel GnanaKirubakaran, Jv.
  2014-05-04 13:35 ` Dmitriy B.
@ 2014-05-06 10:38 ` Somashekar
  2014-05-09 20:11   ` Lauren Post
  2014-05-09 20:20   ` Carlos Rafael Giani
  1 sibling, 2 replies; 6+ messages in thread
From: Somashekar @ 2014-05-06 10:38 UTC (permalink / raw)
  To: Otavio Salvador, Lauren Post, meta-freescale; +Cc: immanuel, Benuvel J, saliya

Hi All,

We are able to integrate and build yocto(dora) with chromium browser, but 
hardware acceleration seems to be not working.

Could not play video from youtube.com, following procedure was referred to 
export WebGL libraries;  which we assume is required for enabling hardware 
acceleration.

- To enable rendering of WebGL do the following steps after boot.  Add the 
following lines to  /etc/profile or /usr/bin/google-chrome
export 
LD_PRELOAD=/usr/lib/libGAL.so:/usr/lib/libEGL.so:/usr/lib/libGLSLC.so:/usr/lib/libCLC.so:/usr/lib/libGLESv2.so

- Start the Chromium browser
$google-chrome --use-gl=egl

(http://git.freescale.com/git/cgit.cgi/imx/meta-fsl-bsp-release.git/tree/imx/README?h=dora_3.10.17-1.0.0_beta)

After loading youtube.com browser shows an option to install adobe flash 
player, since it is for X86 machines we were not able to use it.

Please provide your suggestion on how to enable browser(chromium) to use 
hardware acceleration.

In the same project we have to change the screen mode from landscape to 
portrait.  Please let us know is there any configuration file or settings 
through which we can change the mode ?


Regards,
Somashekar




-----Original Message----- 
From: Benuvel GnanaKirubakaran, Jv.
Sent: Sunday, May 04, 2014 1:56 PM
To: Otavio Salvador ; Lauren Post ; meta-freescale@yoctoproject.org
Cc: jsomash@iwavesystems.com ; immanuel@iwavesystems.com ; 
saliya@iwavesystems.com
Subject: Error: Adding chromium browser + fsl-image-gui (Yocto - Dora)

Hi All,

Bitbaking fsl-image-gui of Yocto-dora was successfully built and
desktop appeared at HDMI also we can utilize all the privileges which
are available in it.

Now we desired to add chromium browser, for which, following changes
were did with the earlier successful one:

1. build/conf/bblayers.conf:
BBLAYERS += " ${BSPDIR}/sources/meta-browser "

2. build/conf/local.conf:
CORE_IMAGE_EXTRA_INSTALL += "chromium"
LICENSE_FLAGS_WHITELIST="commercial"

3. .repo/manifest.xml
<remote fetch="git://github.com/OSSystems" name="OSSystems"/>
<project remote="OSSystems"
revision="fc3969f63bda343c38c40a23f746c560c4735f3e"
name="meta-browser" path="sources/meta-browser" />

After repo sync, fsl-image-gui was built. But while after parsing
recipes, it throws error as below:

------------------------------------------------------------------------------
benuvelj@benuvelj-OptiPlex-GX520:~/BRAND_IMAGING/fsl-community-bsp_dora/build$
bitbake fsl-image-gui
WARNING: Unable to get checksum for linux-boundary SRC_URI entry
defconfig: file could not be found
| ETA:  00:15:21
Parsing recipes: 100%
|################################################################################################################|
Time: 01:58:38
Parsing of 1434 .bb files complete (0 cached, 1434 parsed). 1828
targets, 62 skipped, 0 masked, 0 errors.
ERROR: No recipes available for:

/home/benuvelj/BRAND_IMAGING/fsl-community-bsp_dora/sources/meta-browser/recipes-gnome/gnome-settings-daemon/gnome-settings-daemon_2.32.1.bbappend
ERROR: Command execution failed: Exited with 1

Summary: There was 1 WARNING message shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit
code.
------------------------------------------------------------------------------

content of
/home/benuvelj/BRAND_IMAGING/fsl-community-bsp_dora/sources/meta-browser/recipes-gnome/gnome-settings-daemon/gnome-settings-daemon_2.32.1.bbappend:

-----------------------------------------------------------------------------
DEPENDS += "nss"

CFLAGS += "-I${STAGING_INCDIR}/mozilla/nss"
-----------------------------------------------------------------------------

could you help us to resolve the issue?

--
Thanks & Regards,
Benuvel Jv 



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Error: Adding chromium browser + fsl-image-gui (Yocto - Dora)
  2014-05-06 10:38 ` Somashekar
@ 2014-05-09 20:11   ` Lauren Post
  2014-05-09 20:20   ` Carlos Rafael Giani
  1 sibling, 0 replies; 6+ messages in thread
From: Lauren Post @ 2014-05-09 20:11 UTC (permalink / raw)
  To: Somashekar, Otavio Salvador, meta-freescale@yoctoproject.org
  Cc: immanuel@iwavesystems.com, Benuvel J, saliya@iwavesystems.com

CHromiums is using ffmpeg which is not hardware accelerated with our VPU so video played in youtube on chromium will not be hardware accelerated.

We do not support adobe flash player any more so this is not supported on this platform.

Lauren

-----Original Message-----
From: Somashekar [mailto:jsomash@iwavesystems.com] 
Sent: Tuesday, May 06, 2014 5:39 AM
To: Otavio Salvador; Post Lauren-RAA013; meta-freescale@yoctoproject.org
Cc: immanuel@iwavesystems.com; saliya@iwavesystems.com; Benuvel J
Subject: Re: Error: Adding chromium browser + fsl-image-gui (Yocto - Dora)

Hi All,

We are able to integrate and build yocto(dora) with chromium browser, but hardware acceleration seems to be not working.

Could not play video from youtube.com, following procedure was referred to export WebGL libraries;  which we assume is required for enabling hardware acceleration.

- To enable rendering of WebGL do the following steps after boot.  Add the following lines to  /etc/profile or /usr/bin/google-chrome export LD_PRELOAD=/usr/lib/libGAL.so:/usr/lib/libEGL.so:/usr/lib/libGLSLC.so:/usr/lib/libCLC.so:/usr/lib/libGLESv2.so

- Start the Chromium browser
$google-chrome --use-gl=egl

(http://git.freescale.com/git/cgit.cgi/imx/meta-fsl-bsp-release.git/tree/imx/README?h=dora_3.10.17-1.0.0_beta)

After loading youtube.com browser shows an option to install adobe flash player, since it is for X86 machines we were not able to use it.

Please provide your suggestion on how to enable browser(chromium) to use hardware acceleration.

In the same project we have to change the screen mode from landscape to portrait.  Please let us know is there any configuration file or settings through which we can change the mode ?


Regards,
Somashekar




-----Original Message-----
From: Benuvel GnanaKirubakaran, Jv.
Sent: Sunday, May 04, 2014 1:56 PM
To: Otavio Salvador ; Lauren Post ; meta-freescale@yoctoproject.org
Cc: jsomash@iwavesystems.com ; immanuel@iwavesystems.com ; saliya@iwavesystems.com
Subject: Error: Adding chromium browser + fsl-image-gui (Yocto - Dora)

Hi All,

Bitbaking fsl-image-gui of Yocto-dora was successfully built and desktop appeared at HDMI also we can utilize all the privileges which are available in it.

Now we desired to add chromium browser, for which, following changes were did with the earlier successful one:

1. build/conf/bblayers.conf:
BBLAYERS += " ${BSPDIR}/sources/meta-browser "

2. build/conf/local.conf:
CORE_IMAGE_EXTRA_INSTALL += "chromium"
LICENSE_FLAGS_WHITELIST="commercial"

3. .repo/manifest.xml
<remote fetch="git://github.com/OSSystems" name="OSSystems"/> <project remote="OSSystems"
revision="fc3969f63bda343c38c40a23f746c560c4735f3e"
name="meta-browser" path="sources/meta-browser" />

After repo sync, fsl-image-gui was built. But while after parsing recipes, it throws error as below:

------------------------------------------------------------------------------
benuvelj@benuvelj-OptiPlex-GX520:~/BRAND_IMAGING/fsl-community-bsp_dora/build$
bitbake fsl-image-gui
WARNING: Unable to get checksum for linux-boundary SRC_URI entry
defconfig: file could not be found
| ETA:  00:15:21
Parsing recipes: 100%
|#######################################################################
|#########################################|
Time: 01:58:38
Parsing of 1434 .bb files complete (0 cached, 1434 parsed). 1828 targets, 62 skipped, 0 masked, 0 errors.
ERROR: No recipes available for:

/home/benuvelj/BRAND_IMAGING/fsl-community-bsp_dora/sources/meta-browser/recipes-gnome/gnome-settings-daemon/gnome-settings-daemon_2.32.1.bbappend
ERROR: Command execution failed: Exited with 1

Summary: There was 1 WARNING message shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
------------------------------------------------------------------------------

content of
/home/benuvelj/BRAND_IMAGING/fsl-community-bsp_dora/sources/meta-browser/recipes-gnome/gnome-settings-daemon/gnome-settings-daemon_2.32.1.bbappend:

-----------------------------------------------------------------------------
DEPENDS += "nss"

CFLAGS += "-I${STAGING_INCDIR}/mozilla/nss"
-----------------------------------------------------------------------------

could you help us to resolve the issue?

--
Thanks & Regards,
Benuvel Jv 



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Error: Adding chromium browser + fsl-image-gui (Yocto - Dora)
  2014-05-04 13:35 ` Dmitriy B.
@ 2014-05-09 20:18   ` Carlos Rafael Giani
  0 siblings, 0 replies; 6+ messages in thread
From: Carlos Rafael Giani @ 2014-05-09 20:18 UTC (permalink / raw)
  To: meta-freescale

[-- Attachment #1: Type: text/plain, Size: 916 bytes --]

On 2014-05-04 15:35, Dmitriy B. wrote:
> 2014-05-04 12:26 GMT+04:00 Benuvel GnanaKirubakaran, Jv. 
> <benuvelj@iwavesystems.com <mailto:benuvelj@iwavesystems.com>>:
>
>
>     could you help us to resolve the issue?
>
>
> Add meta-gnome and meta-ruby layers. Then add LICENSE_FLAGS_WHITELIST 
> to have x264/libav enabled, chromium depends on them.
>
> Also be sure to have at least 32GB of RAM on your build machine, I 
> already tried to build chromium on 8GB+4GB swap and on 16GB+8GB swap 
> machines without success, it fails at LINK stage with oom-killer being 
> invoked.
>
>     --
>     Thanks & Regards,
>     Benuvel Jv
>
>
> Best Regards,
> Dmitriy Beykun
>
>

I submitted patches to meta-browser that add a packageconfig for 
component builds. With them, it becomes possible to build even with 8 GB 
RAM (though swap will be used, and the disk cache will not work optimally).

[-- Attachment #2: Type: text/html, Size: 2359 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Error: Adding chromium browser + fsl-image-gui (Yocto - Dora)
  2014-05-06 10:38 ` Somashekar
  2014-05-09 20:11   ` Lauren Post
@ 2014-05-09 20:20   ` Carlos Rafael Giani
  1 sibling, 0 replies; 6+ messages in thread
From: Carlos Rafael Giani @ 2014-05-09 20:20 UTC (permalink / raw)
  To: meta-freescale

On 2014-05-06 12:38, Somashekar wrote:
> Hi All,
>
> We are able to integrate and build yocto(dora) with chromium browser, 
> but hardware acceleration seems to be not working.
>
> Could not play video from youtube.com, following procedure was 
> referred to export WebGL libraries;  which we assume is required for 
> enabling hardware acceleration.
>
> - To enable rendering of WebGL do the following steps after boot. Add 
> the following lines to  /etc/profile or /usr/bin/google-chrome
> export 
> LD_PRELOAD=/usr/lib/libGAL.so:/usr/lib/libEGL.so:/usr/lib/libGLSLC.so:/usr/lib/libCLC.so:/usr/lib/libGLESv2.so
>
> - Start the Chromium browser
> $google-chrome --use-gl=egl

Note that the recipes in meta-browser now contain packageconfigs to 
enable EGL support. You don't need to pass this parameter then.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-05-09 20:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-04  8:26 Error: Adding chromium browser + fsl-image-gui (Yocto - Dora) Benuvel GnanaKirubakaran, Jv.
2014-05-04 13:35 ` Dmitriy B.
2014-05-09 20:18   ` Carlos Rafael Giani
2014-05-06 10:38 ` Somashekar
2014-05-09 20:11   ` Lauren Post
2014-05-09 20:20   ` Carlos Rafael Giani

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.