All of lore.kernel.org
 help / color / mirror / Atom feed
* Error during webkit compilation for rasberry pi3
@ 2016-12-10 15:52 Mont3z Claros
  2016-12-10 21:02 ` Khem Raj
  0 siblings, 1 reply; 10+ messages in thread
From: Mont3z Claros @ 2016-12-10 15:52 UTC (permalink / raw)
  To: yocto

Hi all,

I don't know what I'm doing wrong but I'm getting an error during
compilation of webkit for raspberry pi3. Please see below the error
and my configurations,

Thanks,
Mont3z

local.conf:
MACHINE = "raspberrypi3"
DISTRO_FEATURES_append = " x11 gles2"
IMAGE_INSTALL_append = " webkitgtk-bin"

Error:
| ERROR: oe_runmake failed
| In file included from
/home/mont3z/yocto/poky/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/webkitgtk/2.14.2-r0/webkitgtk-2.14.2/Source/WebCore/platform/graphics/cairo/GraphicsContext3DCairo.cpp:51:0:
| /home/mont3z/yocto/poky/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/webkitgtk/2.14.2-r0/webkitgtk-2.14.2/Source/WebCore/platform/graphics/opengl/Extensions3DOpenGLES.h:109:5:
error: 'PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC' does not name a
type
|      PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC
m_glFramebufferTexture2DMultisampleIMG;
|      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

command:
bitbake core-image-sato

bblayes.conf:
BBLAYERS ?= " \
  /home/mont3z/yocto/poky/meta \
  /home/mont3z/yocto/poky/meta-poky \
  /home/mont3z/yocto/poky/meta-yocto-bsp \
  /home/mont3z/yocto/meta-openembedded/meta-oe \
  /home/mont3z/yocto/meta-webkit \
  /home/mont3z/yocto/meta-raspberrypi \
  "


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

* Re: Error during webkit compilation for rasberry pi3
  2016-12-10 15:52 Error during webkit compilation for rasberry pi3 Mont3z Claros
@ 2016-12-10 21:02 ` Khem Raj
  2016-12-11 15:49   ` Mont3z Claros
  0 siblings, 1 reply; 10+ messages in thread
From: Khem Raj @ 2016-12-10 21:02 UTC (permalink / raw)
  To: Mont3z Claros; +Cc: yocto

On Sat, Dec 10, 2016 at 7:52 AM, Mont3z Claros <mont3z.claro5@gmail.com> wrote:
> Hi all,
>
> I don't know what I'm doing wrong but I'm getting an error during
> compilation of webkit for raspberry pi3. Please see below the error
> and my configurations,
>
> Thanks,
> Mont3z
>
> local.conf:
> MACHINE = "raspberrypi3"
> DISTRO_FEATURES_append = " x11 gles2"
> IMAGE_INSTALL_append = " webkitgtk-bin"
>
> Error:
> | ERROR: oe_runmake failed
> | In file included from
> /home/mont3z/yocto/poky/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/webkitgtk/2.14.2-r0/webkitgtk-2.14.2/Source/WebCore/platform/graphics/cairo/GraphicsContext3DCairo.cpp:51:0:
> | /home/mont3z/yocto/poky/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/webkitgtk/2.14.2-r0/webkitgtk-2.14.2/Source/WebCore/platform/graphics/opengl/Extensions3DOpenGLES.h:109:5:
> error: 'PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC' does not name a
> type
> |      PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC
> m_glFramebufferTexture2DMultisampleIMG;
> |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> command:
> bitbake core-image-sato
>
> bblayes.conf:
> BBLAYERS ?= " \
>   /home/mont3z/yocto/poky/meta \
>   /home/mont3z/yocto/poky/meta-poky \
>   /home/mont3z/yocto/poky/meta-yocto-bsp \
>   /home/mont3z/yocto/meta-openembedded/meta-oe \
>   /home/mont3z/yocto/meta-webkit \


what does this layer do ?

>   /home/mont3z/yocto/meta-raspberrypi \
>   "


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

* Re: Error during webkit compilation for rasberry pi3
  2016-12-10 21:02 ` Khem Raj
@ 2016-12-11 15:49   ` Mont3z Claros
  2016-12-11 17:49     ` Khem Raj
  2016-12-12  5:55     ` Gary Thomas
  0 siblings, 2 replies; 10+ messages in thread
From: Mont3z Claros @ 2016-12-11 15:49 UTC (permalink / raw)
  To: Khem Raj; +Cc: yocto

Hi Khem,

this layer is:
https://layers.openembedded.org/layerindex/branch/master/layer/meta-webkit/

I've also tried to use the webkit recipe from poky but I've got the
same error. In this case I used a different configuration because poky
doesn't have webkitgtk-bin (mini browser). To test that I've tried to
build a modified version of meta-web-kiosk
 (https://github.com/mont3z/meta-web-kiosk). This is still a work in
progress but basically it replaces midori by epiphany.

local.conf:
MACHINE = "raspberrypi3"
DISTRO_FEATURES_append = " x11 gles2"

command:
bitbake core-image-web-kiosk

bblayes.conf:
BBLAYERS ?= " \
  /home/mont3z/yocto/poky/meta \
  /home/mont3z/yocto/poky/meta-poky \
  /home/mont3z/yocto/poky/meta-yocto-bsp \
  /home/mont3z/yocto/meta-openembedded/meta-oe \
  /home/mont3z/yocto/meta-raspberrypi \
  /home/mont3z/yocto/meta-web-kiosk \
"

I also found this discussion about rpi2. I'll try to run some of those
configurations:
https://github.com/Igalia/meta-webkit/issues/1

On Sat, Dec 10, 2016 at 1:02 PM, Khem Raj <raj.khem@gmail.com> wrote:
> On Sat, Dec 10, 2016 at 7:52 AM, Mont3z Claros <mont3z.claro5@gmail.com> wrote:
>> Hi all,
>>
>> I don't know what I'm doing wrong but I'm getting an error during
>> compilation of webkit for raspberry pi3. Please see below the error
>> and my configurations,
>>
>> Thanks,
>> Mont3z
>>
>> local.conf:
>> MACHINE = "raspberrypi3"
>> DISTRO_FEATURES_append = " x11 gles2"
>> IMAGE_INSTALL_append = " webkitgtk-bin"
>>
>> Error:
>> | ERROR: oe_runmake failed
>> | In file included from
>> /home/mont3z/yocto/poky/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/webkitgtk/2.14.2-r0/webkitgtk-2.14.2/Source/WebCore/platform/graphics/cairo/GraphicsContext3DCairo.cpp:51:0:
>> | /home/mont3z/yocto/poky/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/webkitgtk/2.14.2-r0/webkitgtk-2.14.2/Source/WebCore/platform/graphics/opengl/Extensions3DOpenGLES.h:109:5:
>> error: 'PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC' does not name a
>> type
>> |      PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC
>> m_glFramebufferTexture2DMultisampleIMG;
>> |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>
>> command:
>> bitbake core-image-sato
>>
>> bblayes.conf:
>> BBLAYERS ?= " \
>>   /home/mont3z/yocto/poky/meta \
>>   /home/mont3z/yocto/poky/meta-poky \
>>   /home/mont3z/yocto/poky/meta-yocto-bsp \
>>   /home/mont3z/yocto/meta-openembedded/meta-oe \
>>   /home/mont3z/yocto/meta-webkit \
>
>
> what does this layer do ?
>
>>   /home/mont3z/yocto/meta-raspberrypi \
>>   "


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

* Re: Error during webkit compilation for rasberry pi3
  2016-12-11 15:49   ` Mont3z Claros
@ 2016-12-11 17:49     ` Khem Raj
  2016-12-12  5:55     ` Gary Thomas
  1 sibling, 0 replies; 10+ messages in thread
From: Khem Raj @ 2016-12-11 17:49 UTC (permalink / raw)
  To: Mont3z Claros; +Cc: yocto

userland graphics drivers dont have gles1 support, that might be one
reason for it. You might try our vc4graphics driver by adding
'vc4graphics' to MACHINE_FEATURES and then it will use mesa.

On Sun, Dec 11, 2016 at 7:49 AM, Mont3z Claros <mont3z.claro5@gmail.com> wrote:
> Hi Khem,
>
> this layer is:
> https://layers.openembedded.org/layerindex/branch/master/layer/meta-webkit/
>
> I've also tried to use the webkit recipe from poky but I've got the
> same error. In this case I used a different configuration because poky
> doesn't have webkitgtk-bin (mini browser). To test that I've tried to
> build a modified version of meta-web-kiosk
>  (https://github.com/mont3z/meta-web-kiosk). This is still a work in
> progress but basically it replaces midori by epiphany.
>
> local.conf:
> MACHINE = "raspberrypi3"
> DISTRO_FEATURES_append = " x11 gles2"
>
> command:
> bitbake core-image-web-kiosk
>
> bblayes.conf:
> BBLAYERS ?= " \
>   /home/mont3z/yocto/poky/meta \
>   /home/mont3z/yocto/poky/meta-poky \
>   /home/mont3z/yocto/poky/meta-yocto-bsp \
>   /home/mont3z/yocto/meta-openembedded/meta-oe \
>   /home/mont3z/yocto/meta-raspberrypi \
>   /home/mont3z/yocto/meta-web-kiosk \
> "
>
> I also found this discussion about rpi2. I'll try to run some of those
> configurations:
> https://github.com/Igalia/meta-webkit/issues/1
>
> On Sat, Dec 10, 2016 at 1:02 PM, Khem Raj <raj.khem@gmail.com> wrote:
>> On Sat, Dec 10, 2016 at 7:52 AM, Mont3z Claros <mont3z.claro5@gmail.com> wrote:
>>> Hi all,
>>>
>>> I don't know what I'm doing wrong but I'm getting an error during
>>> compilation of webkit for raspberry pi3. Please see below the error
>>> and my configurations,
>>>
>>> Thanks,
>>> Mont3z
>>>
>>> local.conf:
>>> MACHINE = "raspberrypi3"
>>> DISTRO_FEATURES_append = " x11 gles2"
>>> IMAGE_INSTALL_append = " webkitgtk-bin"
>>>
>>> Error:
>>> | ERROR: oe_runmake failed
>>> | In file included from
>>> /home/mont3z/yocto/poky/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/webkitgtk/2.14.2-r0/webkitgtk-2.14.2/Source/WebCore/platform/graphics/cairo/GraphicsContext3DCairo.cpp:51:0:
>>> | /home/mont3z/yocto/poky/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/webkitgtk/2.14.2-r0/webkitgtk-2.14.2/Source/WebCore/platform/graphics/opengl/Extensions3DOpenGLES.h:109:5:
>>> error: 'PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC' does not name a
>>> type
>>> |      PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC
>>> m_glFramebufferTexture2DMultisampleIMG;
>>> |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>
>>> command:
>>> bitbake core-image-sato
>>>
>>> bblayes.conf:
>>> BBLAYERS ?= " \
>>>   /home/mont3z/yocto/poky/meta \
>>>   /home/mont3z/yocto/poky/meta-poky \
>>>   /home/mont3z/yocto/poky/meta-yocto-bsp \
>>>   /home/mont3z/yocto/meta-openembedded/meta-oe \
>>>   /home/mont3z/yocto/meta-webkit \
>>
>>
>> what does this layer do ?
>>
>>>   /home/mont3z/yocto/meta-raspberrypi \
>>>   "


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

* Re: Error during webkit compilation for rasberry pi3
  2016-12-11 15:49   ` Mont3z Claros
  2016-12-11 17:49     ` Khem Raj
@ 2016-12-12  5:55     ` Gary Thomas
  2016-12-21 15:20       ` Mont3z Claros
  1 sibling, 1 reply; 10+ messages in thread
From: Gary Thomas @ 2016-12-12  5:55 UTC (permalink / raw)
  To: yocto

On 2016-12-11 16:49, Mont3z Claros wrote:
> Hi Khem,
>
> this layer is:
> https://layers.openembedded.org/layerindex/branch/master/layer/meta-webkit/
>
> I've also tried to use the webkit recipe from poky but I've got the
> same error. In this case I used a different configuration because poky
> doesn't have webkitgtk-bin (mini browser). To test that I've tried to
> build a modified version of meta-web-kiosk
>  (https://github.com/mont3z/meta-web-kiosk). This is still a work in
> progress but basically it replaces midori by epiphany.
>
> local.conf:
> MACHINE = "raspberrypi3"
> DISTRO_FEATURES_append = " x11 gles2"
>
> command:
> bitbake core-image-web-kiosk
>
> bblayes.conf:
> BBLAYERS ?= " \
>   /home/mont3z/yocto/poky/meta \
>   /home/mont3z/yocto/poky/meta-poky \
>   /home/mont3z/yocto/poky/meta-yocto-bsp \
>   /home/mont3z/yocto/meta-openembedded/meta-oe \
>   /home/mont3z/yocto/meta-raspberrypi \
>   /home/mont3z/yocto/meta-web-kiosk \
> "
>
> I also found this discussion about rpi2. I'll try to run some of those
> configurations:
> https://github.com/Igalia/meta-webkit/issues/1

I built webkit for rpi3 just fine (yesterday 2016-12-11) using just
   poky: e38775a1d82e6dc60fc96cf243ecb94be964d9b2
   meta-raspberrypi: 44d41bf3e94c4c8fe5ad5a3650572c8d17ef36c9
these were the current master as of then.

What version(s) are you trying to use?

>
> On Sat, Dec 10, 2016 at 1:02 PM, Khem Raj <raj.khem@gmail.com> wrote:
>> On Sat, Dec 10, 2016 at 7:52 AM, Mont3z Claros <mont3z.claro5@gmail.com> wrote:
>>> Hi all,
>>>
>>> I don't know what I'm doing wrong but I'm getting an error during
>>> compilation of webkit for raspberry pi3. Please see below the error
>>> and my configurations,
>>>
>>> Thanks,
>>> Mont3z
>>>
>>> local.conf:
>>> MACHINE = "raspberrypi3"
>>> DISTRO_FEATURES_append = " x11 gles2"
>>> IMAGE_INSTALL_append = " webkitgtk-bin"
>>>
>>> Error:
>>> | ERROR: oe_runmake failed
>>> | In file included from
>>> /home/mont3z/yocto/poky/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/webkitgtk/2.14.2-r0/webkitgtk-2.14.2/Source/WebCore/platform/graphics/cairo/GraphicsContext3DCairo.cpp:51:0:
>>> | /home/mont3z/yocto/poky/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/webkitgtk/2.14.2-r0/webkitgtk-2.14.2/Source/WebCore/platform/graphics/opengl/Extensions3DOpenGLES.h:109:5:
>>> error: 'PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC' does not name a
>>> type
>>> |      PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC
>>> m_glFramebufferTexture2DMultisampleIMG;
>>> |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>
>>> command:
>>> bitbake core-image-sato
>>>
>>> bblayes.conf:
>>> BBLAYERS ?= " \
>>>   /home/mont3z/yocto/poky/meta \
>>>   /home/mont3z/yocto/poky/meta-poky \
>>>   /home/mont3z/yocto/poky/meta-yocto-bsp \
>>>   /home/mont3z/yocto/meta-openembedded/meta-oe \
>>>   /home/mont3z/yocto/meta-webkit \
>>
>>
>> what does this layer do ?
>>
>>>   /home/mont3z/yocto/meta-raspberrypi \
>>>   "


-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


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

* Re: Error during webkit compilation for rasberry pi3
  2016-12-12  5:55     ` Gary Thomas
@ 2016-12-21 15:20       ` Mont3z Claros
  2016-12-21 17:19         ` Khem Raj
  0 siblings, 1 reply; 10+ messages in thread
From: Mont3z Claros @ 2016-12-21 15:20 UTC (permalink / raw)
  To: Gary Thomas; +Cc: yocto

Thanks all for the help. I was able to build webkit using:
MACHINE_FEATURES += "vc4graphics"

I'm sorry for asking those basic questions but is there a way to build
webkit without opencl for the raspberry pi3?

Thanks,
Montez

On Sun, Dec 11, 2016 at 9:55 PM, Gary Thomas <gary@mlbassoc.com> wrote:
> On 2016-12-11 16:49, Mont3z Claros wrote:
>>
>> Hi Khem,
>>
>> this layer is:
>>
>> https://layers.openembedded.org/layerindex/branch/master/layer/meta-webkit/
>>
>> I've also tried to use the webkit recipe from poky but I've got the
>> same error. In this case I used a different configuration because poky
>> doesn't have webkitgtk-bin (mini browser). To test that I've tried to
>> build a modified version of meta-web-kiosk
>>  (https://github.com/mont3z/meta-web-kiosk). This is still a work in
>> progress but basically it replaces midori by epiphany.
>>
>> local.conf:
>> MACHINE = "raspberrypi3"
>> DISTRO_FEATURES_append = " x11 gles2"
>>
>> command:
>> bitbake core-image-web-kiosk
>>
>> bblayes.conf:
>> BBLAYERS ?= " \
>>   /home/mont3z/yocto/poky/meta \
>>   /home/mont3z/yocto/poky/meta-poky \
>>   /home/mont3z/yocto/poky/meta-yocto-bsp \
>>   /home/mont3z/yocto/meta-openembedded/meta-oe \
>>   /home/mont3z/yocto/meta-raspberrypi \
>>   /home/mont3z/yocto/meta-web-kiosk \
>> "
>>
>> I also found this discussion about rpi2. I'll try to run some of those
>> configurations:
>> https://github.com/Igalia/meta-webkit/issues/1
>
>
> I built webkit for rpi3 just fine (yesterday 2016-12-11) using just
>   poky: e38775a1d82e6dc60fc96cf243ecb94be964d9b2
>   meta-raspberrypi: 44d41bf3e94c4c8fe5ad5a3650572c8d17ef36c9
> these were the current master as of then.
>
> What version(s) are you trying to use?
>
>
>>
>> On Sat, Dec 10, 2016 at 1:02 PM, Khem Raj <raj.khem@gmail.com> wrote:
>>>
>>> On Sat, Dec 10, 2016 at 7:52 AM, Mont3z Claros <mont3z.claro5@gmail.com>
>>> wrote:
>>>>
>>>> Hi all,
>>>>
>>>> I don't know what I'm doing wrong but I'm getting an error during
>>>> compilation of webkit for raspberry pi3. Please see below the error
>>>> and my configurations,
>>>>
>>>> Thanks,
>>>> Mont3z
>>>>
>>>> local.conf:
>>>> MACHINE = "raspberrypi3"
>>>> DISTRO_FEATURES_append = " x11 gles2"
>>>> IMAGE_INSTALL_append = " webkitgtk-bin"
>>>>
>>>> Error:
>>>> | ERROR: oe_runmake failed
>>>> | In file included from
>>>>
>>>> /home/mont3z/yocto/poky/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/webkitgtk/2.14.2-r0/webkitgtk-2.14.2/Source/WebCore/platform/graphics/cairo/GraphicsContext3DCairo.cpp:51:0:
>>>> |
>>>> /home/mont3z/yocto/poky/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/webkitgtk/2.14.2-r0/webkitgtk-2.14.2/Source/WebCore/platform/graphics/opengl/Extensions3DOpenGLES.h:109:5:
>>>> error: 'PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC' does not name a
>>>> type
>>>> |      PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC
>>>> m_glFramebufferTexture2DMultisampleIMG;
>>>> |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>>
>>>> command:
>>>> bitbake core-image-sato
>>>>
>>>> bblayes.conf:
>>>> BBLAYERS ?= " \
>>>>   /home/mont3z/yocto/poky/meta \
>>>>   /home/mont3z/yocto/poky/meta-poky \
>>>>   /home/mont3z/yocto/poky/meta-yocto-bsp \
>>>>   /home/mont3z/yocto/meta-openembedded/meta-oe \
>>>>   /home/mont3z/yocto/meta-webkit \
>>>
>>>
>>>
>>> what does this layer do ?
>>>
>>>>   /home/mont3z/yocto/meta-raspberrypi \
>>>>   "
>
>
>
> --
> ------------------------------------------------------------
> Gary Thomas                 |  Consulting for the
> MLB Associates              |    Embedded world
> ------------------------------------------------------------
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto


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

* Re: Error during webkit compilation for rasberry pi3
  2016-12-21 15:20       ` Mont3z Claros
@ 2016-12-21 17:19         ` Khem Raj
  2016-12-21 17:50           ` Mont3z Claros
  0 siblings, 1 reply; 10+ messages in thread
From: Khem Raj @ 2016-12-21 17:19 UTC (permalink / raw)
  To: Mont3z Claros; +Cc: yocto, Gary Thomas

Perhaps by adding -DENABLE_OPENCL=OFF to the EXTRA_OECONF

On Wed, Dec 21, 2016 at 7:20 AM, Mont3z Claros <mont3z.claro5@gmail.com> wrote:
> Thanks all for the help. I was able to build webkit using:
> MACHINE_FEATURES += "vc4graphics"
>
> I'm sorry for asking those basic questions but is there a way to build
> webkit without opencl for the raspberry pi3?
>
> Thanks,
> Montez
>
> On Sun, Dec 11, 2016 at 9:55 PM, Gary Thomas <gary@mlbassoc.com> wrote:
>> On 2016-12-11 16:49, Mont3z Claros wrote:
>>>
>>> Hi Khem,
>>>
>>> this layer is:
>>>
>>> https://layers.openembedded.org/layerindex/branch/master/layer/meta-webkit/
>>>
>>> I've also tried to use the webkit recipe from poky but I've got the
>>> same error. In this case I used a different configuration because poky
>>> doesn't have webkitgtk-bin (mini browser). To test that I've tried to
>>> build a modified version of meta-web-kiosk
>>>  (https://github.com/mont3z/meta-web-kiosk). This is still a work in
>>> progress but basically it replaces midori by epiphany.
>>>
>>> local.conf:
>>> MACHINE = "raspberrypi3"
>>> DISTRO_FEATURES_append = " x11 gles2"
>>>
>>> command:
>>> bitbake core-image-web-kiosk
>>>
>>> bblayes.conf:
>>> BBLAYERS ?= " \
>>>   /home/mont3z/yocto/poky/meta \
>>>   /home/mont3z/yocto/poky/meta-poky \
>>>   /home/mont3z/yocto/poky/meta-yocto-bsp \
>>>   /home/mont3z/yocto/meta-openembedded/meta-oe \
>>>   /home/mont3z/yocto/meta-raspberrypi \
>>>   /home/mont3z/yocto/meta-web-kiosk \
>>> "
>>>
>>> I also found this discussion about rpi2. I'll try to run some of those
>>> configurations:
>>> https://github.com/Igalia/meta-webkit/issues/1
>>
>>
>> I built webkit for rpi3 just fine (yesterday 2016-12-11) using just
>>   poky: e38775a1d82e6dc60fc96cf243ecb94be964d9b2
>>   meta-raspberrypi: 44d41bf3e94c4c8fe5ad5a3650572c8d17ef36c9
>> these were the current master as of then.
>>
>> What version(s) are you trying to use?
>>
>>
>>>
>>> On Sat, Dec 10, 2016 at 1:02 PM, Khem Raj <raj.khem@gmail.com> wrote:
>>>>
>>>> On Sat, Dec 10, 2016 at 7:52 AM, Mont3z Claros <mont3z.claro5@gmail.com>
>>>> wrote:
>>>>>
>>>>> Hi all,
>>>>>
>>>>> I don't know what I'm doing wrong but I'm getting an error during
>>>>> compilation of webkit for raspberry pi3. Please see below the error
>>>>> and my configurations,
>>>>>
>>>>> Thanks,
>>>>> Mont3z
>>>>>
>>>>> local.conf:
>>>>> MACHINE = "raspberrypi3"
>>>>> DISTRO_FEATURES_append = " x11 gles2"
>>>>> IMAGE_INSTALL_append = " webkitgtk-bin"
>>>>>
>>>>> Error:
>>>>> | ERROR: oe_runmake failed
>>>>> | In file included from
>>>>>
>>>>> /home/mont3z/yocto/poky/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/webkitgtk/2.14.2-r0/webkitgtk-2.14.2/Source/WebCore/platform/graphics/cairo/GraphicsContext3DCairo.cpp:51:0:
>>>>> |
>>>>> /home/mont3z/yocto/poky/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/webkitgtk/2.14.2-r0/webkitgtk-2.14.2/Source/WebCore/platform/graphics/opengl/Extensions3DOpenGLES.h:109:5:
>>>>> error: 'PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC' does not name a
>>>>> type
>>>>> |      PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC
>>>>> m_glFramebufferTexture2DMultisampleIMG;
>>>>> |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>>>
>>>>> command:
>>>>> bitbake core-image-sato
>>>>>
>>>>> bblayes.conf:
>>>>> BBLAYERS ?= " \
>>>>>   /home/mont3z/yocto/poky/meta \
>>>>>   /home/mont3z/yocto/poky/meta-poky \
>>>>>   /home/mont3z/yocto/poky/meta-yocto-bsp \
>>>>>   /home/mont3z/yocto/meta-openembedded/meta-oe \
>>>>>   /home/mont3z/yocto/meta-webkit \
>>>>
>>>>
>>>>
>>>> what does this layer do ?
>>>>
>>>>>   /home/mont3z/yocto/meta-raspberrypi \
>>>>>   "
>>
>>
>>
>> --
>> ------------------------------------------------------------
>> Gary Thomas                 |  Consulting for the
>> MLB Associates              |    Embedded world
>> ------------------------------------------------------------
>> --
>> _______________________________________________
>> yocto mailing list
>> yocto@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto


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

* Re: Error during webkit compilation for rasberry pi3
  2016-12-21 17:19         ` Khem Raj
@ 2016-12-21 17:50           ` Mont3z Claros
  2016-12-21 19:28             ` Khem Raj
  2016-12-22  1:47             ` Carlos Alberto Lopez Perez
  0 siblings, 2 replies; 10+ messages in thread
From: Mont3z Claros @ 2016-12-21 17:50 UTC (permalink / raw)
  To: Khem Raj; +Cc: yocto, Gary Thomas

Thanks, Khem. I'll try this.
I've just asked this because I've got a black screen on my monitor
when using VC4 driver and when I've check the UART console I see the
error:

vc4-drm soc:gpu: failed to bind 3f902000.hdmi (ops vc4_hdmi_ops): -517
vc4-drm soc:gpu: master bind failed: -517
vc4-drm soc:gpu: failed to bind 3f902000.hdmi (ops vc4_hdmi_ops): -517
vc4-drm soc:gpu: master bind failed: -517

So, I'll try building it without opencl.
Montez.



On Wed, Dec 21, 2016 at 9:19 AM, Khem Raj <raj.khem@gmail.com> wrote:
> Perhaps by adding -DENABLE_OPENCL=OFF to the EXTRA_OECONF
>
> On Wed, Dec 21, 2016 at 7:20 AM, Mont3z Claros <mont3z.claro5@gmail.com> wrote:
>> Thanks all for the help. I was able to build webkit using:
>> MACHINE_FEATURES += "vc4graphics"
>>
>> I'm sorry for asking those basic questions but is there a way to build
>> webkit without opencl for the raspberry pi3?
>>
>> Thanks,
>> Montez
>>
>> On Sun, Dec 11, 2016 at 9:55 PM, Gary Thomas <gary@mlbassoc.com> wrote:
>>> On 2016-12-11 16:49, Mont3z Claros wrote:
>>>>
>>>> Hi Khem,
>>>>
>>>> this layer is:
>>>>
>>>> https://layers.openembedded.org/layerindex/branch/master/layer/meta-webkit/
>>>>
>>>> I've also tried to use the webkit recipe from poky but I've got the
>>>> same error. In this case I used a different configuration because poky
>>>> doesn't have webkitgtk-bin (mini browser). To test that I've tried to
>>>> build a modified version of meta-web-kiosk
>>>>  (https://github.com/mont3z/meta-web-kiosk). This is still a work in
>>>> progress but basically it replaces midori by epiphany.
>>>>
>>>> local.conf:
>>>> MACHINE = "raspberrypi3"
>>>> DISTRO_FEATURES_append = " x11 gles2"
>>>>
>>>> command:
>>>> bitbake core-image-web-kiosk
>>>>
>>>> bblayes.conf:
>>>> BBLAYERS ?= " \
>>>>   /home/mont3z/yocto/poky/meta \
>>>>   /home/mont3z/yocto/poky/meta-poky \
>>>>   /home/mont3z/yocto/poky/meta-yocto-bsp \
>>>>   /home/mont3z/yocto/meta-openembedded/meta-oe \
>>>>   /home/mont3z/yocto/meta-raspberrypi \
>>>>   /home/mont3z/yocto/meta-web-kiosk \
>>>> "
>>>>
>>>> I also found this discussion about rpi2. I'll try to run some of those
>>>> configurations:
>>>> https://github.com/Igalia/meta-webkit/issues/1
>>>
>>>
>>> I built webkit for rpi3 just fine (yesterday 2016-12-11) using just
>>>   poky: e38775a1d82e6dc60fc96cf243ecb94be964d9b2
>>>   meta-raspberrypi: 44d41bf3e94c4c8fe5ad5a3650572c8d17ef36c9
>>> these were the current master as of then.
>>>
>>> What version(s) are you trying to use?
>>>
>>>
>>>>
>>>> On Sat, Dec 10, 2016 at 1:02 PM, Khem Raj <raj.khem@gmail.com> wrote:
>>>>>
>>>>> On Sat, Dec 10, 2016 at 7:52 AM, Mont3z Claros <mont3z.claro5@gmail.com>
>>>>> wrote:
>>>>>>
>>>>>> Hi all,
>>>>>>
>>>>>> I don't know what I'm doing wrong but I'm getting an error during
>>>>>> compilation of webkit for raspberry pi3. Please see below the error
>>>>>> and my configurations,
>>>>>>
>>>>>> Thanks,
>>>>>> Mont3z
>>>>>>
>>>>>> local.conf:
>>>>>> MACHINE = "raspberrypi3"
>>>>>> DISTRO_FEATURES_append = " x11 gles2"
>>>>>> IMAGE_INSTALL_append = " webkitgtk-bin"
>>>>>>
>>>>>> Error:
>>>>>> | ERROR: oe_runmake failed
>>>>>> | In file included from
>>>>>>
>>>>>> /home/mont3z/yocto/poky/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/webkitgtk/2.14.2-r0/webkitgtk-2.14.2/Source/WebCore/platform/graphics/cairo/GraphicsContext3DCairo.cpp:51:0:
>>>>>> |
>>>>>> /home/mont3z/yocto/poky/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/webkitgtk/2.14.2-r0/webkitgtk-2.14.2/Source/WebCore/platform/graphics/opengl/Extensions3DOpenGLES.h:109:5:
>>>>>> error: 'PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC' does not name a
>>>>>> type
>>>>>> |      PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC
>>>>>> m_glFramebufferTexture2DMultisampleIMG;
>>>>>> |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>>>>
>>>>>> command:
>>>>>> bitbake core-image-sato
>>>>>>
>>>>>> bblayes.conf:
>>>>>> BBLAYERS ?= " \
>>>>>>   /home/mont3z/yocto/poky/meta \
>>>>>>   /home/mont3z/yocto/poky/meta-poky \
>>>>>>   /home/mont3z/yocto/poky/meta-yocto-bsp \
>>>>>>   /home/mont3z/yocto/meta-openembedded/meta-oe \
>>>>>>   /home/mont3z/yocto/meta-webkit \
>>>>>
>>>>>
>>>>>
>>>>> what does this layer do ?
>>>>>
>>>>>>   /home/mont3z/yocto/meta-raspberrypi \
>>>>>>   "
>>>
>>>
>>>
>>> --
>>> ------------------------------------------------------------
>>> Gary Thomas                 |  Consulting for the
>>> MLB Associates              |    Embedded world
>>> ------------------------------------------------------------
>>> --
>>> _______________________________________________
>>> yocto mailing list
>>> yocto@yoctoproject.org
>>> https://lists.yoctoproject.org/listinfo/yocto
>> --
>> _______________________________________________
>> yocto mailing list
>> yocto@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto


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

* Re: Error during webkit compilation for rasberry pi3
  2016-12-21 17:50           ` Mont3z Claros
@ 2016-12-21 19:28             ` Khem Raj
  2016-12-22  1:47             ` Carlos Alberto Lopez Perez
  1 sibling, 0 replies; 10+ messages in thread
From: Khem Raj @ 2016-12-21 19:28 UTC (permalink / raw)
  To: Mont3z Claros; +Cc: yocto, Gary Thomas

On Wed, Dec 21, 2016 at 9:50 AM, Mont3z Claros <mont3z.claro5@gmail.com> wrote:
> Thanks, Khem. I'll try this.
> I've just asked this because I've got a black screen on my monitor
> when using VC4 driver and when I've check the UART console I see the
> error:
>
> vc4-drm soc:gpu: failed to bind 3f902000.hdmi (ops vc4_hdmi_ops): -517
> vc4-drm soc:gpu: master bind failed: -517
> vc4-drm soc:gpu: failed to bind 3f902000.hdmi (ops vc4_hdmi_ops): -517
> vc4-drm soc:gpu: master bind failed: -517

Dont think it has to do anything with opencl, but you need to start
some app and see if it fails to
display

>
> So, I'll try building it without opencl.
> Montez.
>
>
>
> On Wed, Dec 21, 2016 at 9:19 AM, Khem Raj <raj.khem@gmail.com> wrote:
>> Perhaps by adding -DENABLE_OPENCL=OFF to the EXTRA_OECONF
>>
>> On Wed, Dec 21, 2016 at 7:20 AM, Mont3z Claros <mont3z.claro5@gmail.com> wrote:
>>> Thanks all for the help. I was able to build webkit using:
>>> MACHINE_FEATURES += "vc4graphics"
>>>
>>> I'm sorry for asking those basic questions but is there a way to build
>>> webkit without opencl for the raspberry pi3?
>>>
>>> Thanks,
>>> Montez
>>>
>>> On Sun, Dec 11, 2016 at 9:55 PM, Gary Thomas <gary@mlbassoc.com> wrote:
>>>> On 2016-12-11 16:49, Mont3z Claros wrote:
>>>>>
>>>>> Hi Khem,
>>>>>
>>>>> this layer is:
>>>>>
>>>>> https://layers.openembedded.org/layerindex/branch/master/layer/meta-webkit/
>>>>>
>>>>> I've also tried to use the webkit recipe from poky but I've got the
>>>>> same error. In this case I used a different configuration because poky
>>>>> doesn't have webkitgtk-bin (mini browser). To test that I've tried to
>>>>> build a modified version of meta-web-kiosk
>>>>>  (https://github.com/mont3z/meta-web-kiosk). This is still a work in
>>>>> progress but basically it replaces midori by epiphany.
>>>>>
>>>>> local.conf:
>>>>> MACHINE = "raspberrypi3"
>>>>> DISTRO_FEATURES_append = " x11 gles2"
>>>>>
>>>>> command:
>>>>> bitbake core-image-web-kiosk
>>>>>
>>>>> bblayes.conf:
>>>>> BBLAYERS ?= " \
>>>>>   /home/mont3z/yocto/poky/meta \
>>>>>   /home/mont3z/yocto/poky/meta-poky \
>>>>>   /home/mont3z/yocto/poky/meta-yocto-bsp \
>>>>>   /home/mont3z/yocto/meta-openembedded/meta-oe \
>>>>>   /home/mont3z/yocto/meta-raspberrypi \
>>>>>   /home/mont3z/yocto/meta-web-kiosk \
>>>>> "
>>>>>
>>>>> I also found this discussion about rpi2. I'll try to run some of those
>>>>> configurations:
>>>>> https://github.com/Igalia/meta-webkit/issues/1
>>>>
>>>>
>>>> I built webkit for rpi3 just fine (yesterday 2016-12-11) using just
>>>>   poky: e38775a1d82e6dc60fc96cf243ecb94be964d9b2
>>>>   meta-raspberrypi: 44d41bf3e94c4c8fe5ad5a3650572c8d17ef36c9
>>>> these were the current master as of then.
>>>>
>>>> What version(s) are you trying to use?
>>>>
>>>>
>>>>>
>>>>> On Sat, Dec 10, 2016 at 1:02 PM, Khem Raj <raj.khem@gmail.com> wrote:
>>>>>>
>>>>>> On Sat, Dec 10, 2016 at 7:52 AM, Mont3z Claros <mont3z.claro5@gmail.com>
>>>>>> wrote:
>>>>>>>
>>>>>>> Hi all,
>>>>>>>
>>>>>>> I don't know what I'm doing wrong but I'm getting an error during
>>>>>>> compilation of webkit for raspberry pi3. Please see below the error
>>>>>>> and my configurations,
>>>>>>>
>>>>>>> Thanks,
>>>>>>> Mont3z
>>>>>>>
>>>>>>> local.conf:
>>>>>>> MACHINE = "raspberrypi3"
>>>>>>> DISTRO_FEATURES_append = " x11 gles2"
>>>>>>> IMAGE_INSTALL_append = " webkitgtk-bin"
>>>>>>>
>>>>>>> Error:
>>>>>>> | ERROR: oe_runmake failed
>>>>>>> | In file included from
>>>>>>>
>>>>>>> /home/mont3z/yocto/poky/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/webkitgtk/2.14.2-r0/webkitgtk-2.14.2/Source/WebCore/platform/graphics/cairo/GraphicsContext3DCairo.cpp:51:0:
>>>>>>> |
>>>>>>> /home/mont3z/yocto/poky/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/webkitgtk/2.14.2-r0/webkitgtk-2.14.2/Source/WebCore/platform/graphics/opengl/Extensions3DOpenGLES.h:109:5:
>>>>>>> error: 'PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC' does not name a
>>>>>>> type
>>>>>>> |      PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC
>>>>>>> m_glFramebufferTexture2DMultisampleIMG;
>>>>>>> |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>>>>>
>>>>>>> command:
>>>>>>> bitbake core-image-sato
>>>>>>>
>>>>>>> bblayes.conf:
>>>>>>> BBLAYERS ?= " \
>>>>>>>   /home/mont3z/yocto/poky/meta \
>>>>>>>   /home/mont3z/yocto/poky/meta-poky \
>>>>>>>   /home/mont3z/yocto/poky/meta-yocto-bsp \
>>>>>>>   /home/mont3z/yocto/meta-openembedded/meta-oe \
>>>>>>>   /home/mont3z/yocto/meta-webkit \
>>>>>>
>>>>>>
>>>>>>
>>>>>> what does this layer do ?
>>>>>>
>>>>>>>   /home/mont3z/yocto/meta-raspberrypi \
>>>>>>>   "
>>>>
>>>>
>>>>
>>>> --
>>>> ------------------------------------------------------------
>>>> Gary Thomas                 |  Consulting for the
>>>> MLB Associates              |    Embedded world
>>>> ------------------------------------------------------------
>>>> --
>>>> _______________________________________________
>>>> yocto mailing list
>>>> yocto@yoctoproject.org
>>>> https://lists.yoctoproject.org/listinfo/yocto
>>> --
>>> _______________________________________________
>>> yocto mailing list
>>> yocto@yoctoproject.org
>>> https://lists.yoctoproject.org/listinfo/yocto


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

* Re: Error during webkit compilation for rasberry pi3
  2016-12-21 17:50           ` Mont3z Claros
  2016-12-21 19:28             ` Khem Raj
@ 2016-12-22  1:47             ` Carlos Alberto Lopez Perez
  1 sibling, 0 replies; 10+ messages in thread
From: Carlos Alberto Lopez Perez @ 2016-12-22  1:47 UTC (permalink / raw)
  To: yocto; +Cc: jmcasanova, gary

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

On 21/12/16 18:50, Mont3z Claros wrote:
> Thanks, Khem. I'll try this.
> I've just asked this because I've got a black screen on my monitor
> when using VC4 driver and when I've check the UART console I see the
> error:
> 
> vc4-drm soc:gpu: failed to bind 3f902000.hdmi (ops vc4_hdmi_ops): -517
> vc4-drm soc:gpu: master bind failed: -517
> vc4-drm soc:gpu: failed to bind 3f902000.hdmi (ops vc4_hdmi_ops): -517
> vc4-drm soc:gpu: master bind failed: -517
> 
> So, I'll try building it without opencl.
> Montez.
> 

For the RPI3 there are two options for the graphics drivers:

 1) The default ones (propietary from broadcom). To get WebKit working
with that ones you have to disable OpenGL support in WebKit. This can be
achieved by not passing the corresponding PACKAGECONFIG option. For
example, using last master of poky/oe-core or meta-webkit you can set
this in local.conf:

  PACKAGECONFIG_pn-webkitgtk = "x11 webgl"

Check the webkit recipe to see if there is an opengl PACKAGECONFIG
option. Otherwise you can pass the flag manually -DENABLE_OPENGL=OFF to
EXTRA_OECMAKE

Alternatively, if you already built it, you can disable OpenGL at
runtime also by executing on the terminal:
export WEBKIT_DISABLE_COMPOSITING_MODE=1
before starting the browser from the terminal itself.

 2) With the new VC4 drivers it should work with OpenGL support.
I friend of mine tried it on the RPI3 with Wayland (core-image-weston)
and it worked as expected. Not sure about X11 (core-image-sato).

But you seem to have trouble starting the GUI with this VC4 drivers.
Maybe it helps if you use the master branch of meta-raspberry as this
VC4 drivers are relatively bleeding edge.


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 901 bytes --]

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

end of thread, other threads:[~2016-12-22  1:48 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-10 15:52 Error during webkit compilation for rasberry pi3 Mont3z Claros
2016-12-10 21:02 ` Khem Raj
2016-12-11 15:49   ` Mont3z Claros
2016-12-11 17:49     ` Khem Raj
2016-12-12  5:55     ` Gary Thomas
2016-12-21 15:20       ` Mont3z Claros
2016-12-21 17:19         ` Khem Raj
2016-12-21 17:50           ` Mont3z Claros
2016-12-21 19:28             ` Khem Raj
2016-12-22  1:47             ` Carlos Alberto Lopez Perez

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.