* Webkit2gtk opengl issue
@ 2015-09-23 11:53 Mark O'Donovan
2015-09-23 12:05 ` Burton, Ross
2015-09-25 21:01 ` Trevor Woerner
0 siblings, 2 replies; 5+ messages in thread
From: Mark O'Donovan @ 2015-09-23 11:53 UTC (permalink / raw)
To: yocto@yoctoproject.org
I am working on an am335x based project, with a webkitgtk
program on the screen, displaying a simple webpage.
I want to use a standard yocto kernel, which I believe
means I must do without the SGX hardware acceleration
until an open-source driver is available.
Thus in fido I had added opengl to DISTRO_FEATURES_remove
This worked with webkitgtk 1.x
The webkitgtk 2.x recipe also specifies opengl as optional.
However it depends on gtk+3 which depends on libepoxy
which requires virtual/egl.
Is this an oversight??
Is it possible to build webkit 2.x without opengl??
Thanks
Mark
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Webkit2gtk opengl issue
2015-09-23 11:53 Webkit2gtk opengl issue Mark O'Donovan
@ 2015-09-23 12:05 ` Burton, Ross
2015-09-25 21:01 ` Trevor Woerner
1 sibling, 0 replies; 5+ messages in thread
From: Burton, Ross @ 2015-09-23 12:05 UTC (permalink / raw)
To: Mark O'Donovan; +Cc: yocto@yoctoproject.org
[-- Attachment #1: Type: text/plain, Size: 995 bytes --]
On 23 September 2015 at 12:53, Mark O'Donovan <shiftee@eircom.net> wrote:
> I am working on an am335x based project, with a webkitgtk
> program on the screen, displaying a simple webpage.
>
> I want to use a standard yocto kernel, which I believe
> means I must do without the SGX hardware acceleration
> until an open-source driver is available.
>
> Thus in fido I had added opengl to DISTRO_FEATURES_remove
> This worked with webkitgtk 1.x
>
> The webkitgtk 2.x recipe also specifies opengl as optional.
> However it depends on gtk+3 which depends on libepoxy
> which requires virtual/egl.
>
> Is this an oversight??
>
> Is it possible to build webkit 2.x without opengl??
>
You can't builf GTK+3 without OpenGL right now, so you'll have to add
opengl to DISTRO_FEATURES and live with having mesa installed.
I'm hoping that someone contributes a "null" backend to libepoxy so we can
build GTK+3 without OpenGL in the future, but nobody has done that yet.
Ross
[-- Attachment #2: Type: text/html, Size: 1520 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Webkit2gtk opengl issue
2015-09-23 11:53 Webkit2gtk opengl issue Mark O'Donovan
2015-09-23 12:05 ` Burton, Ross
@ 2015-09-25 21:01 ` Trevor Woerner
2015-09-28 10:51 ` Mark O'Donovan
1 sibling, 1 reply; 5+ messages in thread
From: Trevor Woerner @ 2015-09-25 21:01 UTC (permalink / raw)
To: Mark O'Donovan, yocto@yoctoproject.org
On 09/23/15 07:53, Mark O'Donovan wrote:
> I am working on an am335x based project, with a webkitgtk
> program on the screen, displaying a simple webpage.
>
> I want to use a standard yocto kernel, which I believe
> means I must do without the SGX hardware acceleration
> until an open-source driver is available.
You need to use whatever kernel the accelerated drivers were written
against. Sometimes that can be fairly recent, other times: not so much.
> Thus in fido I had added opengl to DISTRO_FEATURES_remove
> This worked with webkitgtk 1.x
>
> The webkitgtk 2.x recipe also specifies opengl as optional.
> However it depends on gtk+3 which depends on libepoxy
> which requires virtual/egl.
For ARM SoCs/boards that have mali (which isn't your case, but is mine),
the user-space binary-only mali drivers PROVIDE egl, so it is possible
for me to build libepoxy with DISTRO_FEATURES_remove = "opengl" and the
mali test app and x11 server both build and run correctly.
> Is this an oversight??
>
> Is it possible to build webkit 2.x without opengl??
I don't know. But in the mali case it is possible to have mali provide
egl/gles1/gles2 and have mesa-gl provide an opengl-only solution as a
fall-back for any non-egl/gles1/2 apps (or at least theoretically it is).
Hope this helps.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Webkit2gtk opengl issue
2015-09-25 21:01 ` Trevor Woerner
@ 2015-09-28 10:51 ` Mark O'Donovan
2015-10-12 16:03 ` Mark O'Donovan
0 siblings, 1 reply; 5+ messages in thread
From: Mark O'Donovan @ 2015-09-28 10:51 UTC (permalink / raw)
To: Trevor Woerner; +Cc: yocto@yoctoproject.org
On Fri, Sep 25, 2015 at 10:01 PM, Trevor Woerner <twoerner@gmail.com> wrote:
> On 09/23/15 07:53, Mark O'Donovan wrote:
>> I am working on an am335x based project, with a webkitgtk
>> program on the screen, displaying a simple webpage.
>>
>> I want to use a standard yocto kernel, which I believe
>> means I must do without the SGX hardware acceleration
>> until an open-source driver is available.
>
> You need to use whatever kernel the accelerated drivers were written
> against. Sometimes that can be fairly recent, other times: not so much.
>
>> Thus in fido I had added opengl to DISTRO_FEATURES_remove
>> This worked with webkitgtk 1.x
>>
>> The webkitgtk 2.x recipe also specifies opengl as optional.
>> However it depends on gtk+3 which depends on libepoxy
>> which requires virtual/egl.
>
> For ARM SoCs/boards that have mali (which isn't your case, but is mine),
> the user-space binary-only mali drivers PROVIDE egl, so it is possible
> for me to build libepoxy with DISTRO_FEATURES_remove = "opengl" and the
> mali test app and x11 server both build and run correctly.
>
>> Is this an oversight??
>>
>> Is it possible to build webkit 2.x without opengl??
>
> I don't know. But in the mali case it is possible to have mali provide
> egl/gles1/gles2 and have mesa-gl provide an opengl-only solution as a
> fall-back for any non-egl/gles1/2 apps (or at least theoretically it is).
>
> Hope this helps.
Thanks Ross, Trevor,
With webkitgtk 1.8 I was having issues with opengl present.
It seems not to be the case here.
My screen is completely blank.
I have discovered that the page fails to render due to
javascript.
Disabling JIT solves this issue.
The example below fails to render if JIT is enabled.
It will however render if I uncomment the 'alert' statement.
<!DOCTYPE html>
<html>
<head>
<title>Test</title>
</head>
<body>
<p>Page Rendered</p>
<script>
//alert("JavaScript works")
</script>
</body>
</html>
Is there anything you would like me to test??
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: Webkit2gtk opengl issue
2015-09-28 10:51 ` Mark O'Donovan
@ 2015-10-12 16:03 ` Mark O'Donovan
0 siblings, 0 replies; 5+ messages in thread
From: Mark O'Donovan @ 2015-10-12 16:03 UTC (permalink / raw)
To: Trevor Woerner; +Cc: yocto@yoctoproject.org
On Mon, Sep 28, 2015 at 11:51 AM, Mark O'Donovan <shiftee@eircom.net> wrote:
> On Fri, Sep 25, 2015 at 10:01 PM, Trevor Woerner <twoerner@gmail.com> wrote:
>> On 09/23/15 07:53, Mark O'Donovan wrote:
>>> I am working on an am335x based project, with a webkitgtk
>>> program on the screen, displaying a simple webpage.
>>>
>>> I want to use a standard yocto kernel, which I believe
>>> means I must do without the SGX hardware acceleration
>>> until an open-source driver is available.
>>
>> You need to use whatever kernel the accelerated drivers were written
>> against. Sometimes that can be fairly recent, other times: not so much.
>>
>>> Thus in fido I had added opengl to DISTRO_FEATURES_remove
>>> This worked with webkitgtk 1.x
>>>
>>> The webkitgtk 2.x recipe also specifies opengl as optional.
>>> However it depends on gtk+3 which depends on libepoxy
>>> which requires virtual/egl.
>>
>> For ARM SoCs/boards that have mali (which isn't your case, but is mine),
>> the user-space binary-only mali drivers PROVIDE egl, so it is possible
>> for me to build libepoxy with DISTRO_FEATURES_remove = "opengl" and the
>> mali test app and x11 server both build and run correctly.
>>
>>> Is this an oversight??
>>>
>>> Is it possible to build webkit 2.x without opengl??
>>
>> I don't know. But in the mali case it is possible to have mali provide
>> egl/gles1/gles2 and have mesa-gl provide an opengl-only solution as a
>> fall-back for any non-egl/gles1/2 apps (or at least theoretically it is).
>>
>> Hope this helps.
>
>
>
> Thanks Ross, Trevor,
>
> With webkitgtk 1.8 I was having issues with opengl present.
> It seems not to be the case here.
> My screen is completely blank.
> I have discovered that the page fails to render due to
> javascript.
> Disabling JIT solves this issue.
> The example below fails to render if JIT is enabled.
> It will however render if I uncomment the 'alert' statement.
>
> <!DOCTYPE html>
> <html>
> <head>
> <title>Test</title>
> </head>
> <body>
> <p>Page Rendered</p>
> <script>
> //alert("JavaScript works")
> </script>
> </body>
> </html>
>
> Is there anything you would like me to test??
So has anyone else come across this??
If not then I will file a bug for JIT in webkitgtk on arm7.
Mark
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-10-12 16:03 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-23 11:53 Webkit2gtk opengl issue Mark O'Donovan
2015-09-23 12:05 ` Burton, Ross
2015-09-25 21:01 ` Trevor Woerner
2015-09-28 10:51 ` Mark O'Donovan
2015-10-12 16:03 ` Mark O'Donovan
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.