<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>9474</bug_id>
          
          <creation_ts>2016-04-18 12:34:47 +0000</creation_ts>
          <short_desc>epiphany doesn&apos;t work on ARM</short_desc>
          <delta_ts>2016-11-14 13:57:39 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>graphics</component>
          <version>unspecified</version>
          <rep_platform>Beagleboard</rep_platform>
          <op_sys>arm</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.2 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Gary Thomas">gary</reporter>
          <assigned_to name="Gary Thomas">gary</assigned_to>
          <cc>alex.kanavin</cc>
    
    <cc>bill.randle</cc>
    
    <cc>clopez</cc>
    
    <cc>jku</cc>
    
    <cc>jose.perez.carranza</cc>
    
    <cc>liezhi.yang</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>ross.burton</cc>
    
    <cc>shiftee</cc>
    
    <cc>yi.zhao</cc>
          
          <qa_contact name="Yi Zhao">yi.zhao</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>61331</commentid>
    <comment_count>0</comment_count>
    <who name="Gary Thomas">gary</who>
    <bug_when>2016-04-18 12:34:47 +0000</bug_when>
    <thetext>Running ephiphany from OE-core (poky 20a0121b558b32179220e394a66cb90dc6ff3879)
doesn&apos;t work on most any ARM based target.  On qemuarm, it will hang displaying
most any page, on beagle* (and i.MX6) targets, accessing any page will give
a message &quot;problem displaying XXX&quot; in the window title bar with no other
information.

As is, the only &quot;official&quot; web browser for OE-core based systems does not work
on ARM.

I tested this on the BeagleBoneBlack, using the default meta-yocto-bsp setup.
Add &apos;epiphany&apos; to the package set, e.g.
  CORE_IMAGE_EXTRA_INSTALL = &apos;epiphany&apos;
Then run core-image-sato on the board.

I also tested using x11vnc (from meta-oe), as well as using &apos;ssh -X&apos; with similar
results.

Note: epiphany seems to work fine on x86 targets.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61367</commentid>
    <comment_count>1</comment_count>
    <who name="Bill Randle">bill.randle</who>
    <bug_when>2016-04-18 23:34:04 +0000</bug_when>
    <thetext>Have you tried starting ephiphany from the command line (vs. GUI menu or icon) to see if any useful messages are printed?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61369</commentid>
    <comment_count>2</comment_count>
    <who name="Gary Thomas">gary</who>
    <bug_when>2016-04-19 01:51:54 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; Have you tried starting ephiphany from the command line (vs. GUI menu or
&gt; icon) to see if any useful messages are printed?

I&apos;ve done this - no informational messages are printed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61393</commentid>
    <comment_count>3</comment_count>
    <who name="Jussi Kukkonen">jku</who>
    <bug_when>2016-04-19 12:45:55 +0000</bug_when>
    <thetext>&quot;Problem displaying ...&quot; is the &quot;web process crashed&quot; message FWIW. It&apos;s been a while since I worked with WebKit but if you&apos;re interested in debugging further, info below should still apply. 
 
debugging the web process is tricky if it crashes right out of the gate: You can do
    export WEB_PROCESS_CMD_PREFIX=&apos;/usr/bin/gdbserver localhost:8080&apos;
to start web processes in gdb but that only works with a debug build (which the oe-core one isn&apos;t).
  Alternatively you could let the web process crash at startup, and check if the UI process has started a new web process &quot;WebKitWebProcess&quot; which might not have crashed yet because it hasn&apos;t loaded a page... It should be possible to attach gdb to that one and then try load a new page in Epiphany to reproduce the crash.

The backtrace _might_ not be very useful since we don&apos;t currently build webkit with symbols -- probably because even the release build is such a beast.

more info http://trac.webkit.org/wiki/WebKitGTK/Debugging</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61553</commentid>
    <comment_count>4</comment_count>
    <who name="Alexander Kanavin">alex.kanavin</who>
    <bug_when>2016-04-22 10:11:53 +0000</bug_when>
    <thetext>A few notes from me:

1) webkit itself includes a &apos;minibrowser&apos;, so you can try that instead of epiphany for testing.

2) upstream tests ARM support only on the very latest versions of the architecture, ARMv5 and 6 in particular are not tested:
https://build.webkit.org/builders
And even on the ARM versions that are tested, there is a lot of red :(

3) try disabling JIT like is done for older ARM targets?

4) Ultimately, we don&apos;t have hardware or expertise to get to the root cause of this, so you have to take it upstream unfortunately.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61554</commentid>
    <comment_count>5</comment_count>
    <who name="Gary Thomas">gary</who>
    <bug_when>2016-04-22 10:39:06 +0000</bug_when>
    <thetext>(In reply to comment #4)
&gt; A few notes from me:
&gt; 
&gt; 1) webkit itself includes a &apos;minibrowser&apos;, so you can try that instead of
&gt; epiphany for testing.
&gt; 

MiniBrowser looks like it works, but I can see anything other than the WebKitGTK home page :-(  All others just show blank...

&gt; 2) upstream tests ARM support only on the very latest versions of the
&gt; architecture, ARMv5 and 6 in particular are not tested:
&gt; https://build.webkit.org/builders
&gt; And even on the ARM versions that are tested, there is a lot of red :(

I&apos;m using ARMv7a (cortex-a9), so this should not be an issue.

&gt; 
&gt; 3) try disabling JIT like is done for older ARM targets?

Doesn&apos;t that only apply to JAVA/JS stuff?

&gt; 
&gt; 4) Ultimately, we don&apos;t have hardware or expertise to get to the root cause
&gt; of this, so you have to take it upstream unfortunately.

This is sad indeed that the only browser &quot;blessed&quot; to be in OE-core doesn&apos;t run on a large set of targets that use it :-(  [There are a lot of (embedded) ARM boards out in the world!]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61559</commentid>
    <comment_count>6</comment_count>
    <who name="Alexander Kanavin">alex.kanavin</who>
    <bug_when>2016-04-22 13:35:28 +0000</bug_when>
    <thetext>&gt; &gt; 4) Ultimately, we don&apos;t have hardware or expertise to get to the root cause
&gt; &gt; of this, so you have to take it upstream unfortunately.
&gt; 
&gt; This is sad indeed that the only browser &quot;blessed&quot; to be in OE-core doesn&apos;t
&gt; run on a large set of targets that use it :-(  [There are a lot of
&gt; (embedded) ARM boards out in the world!]

If you can suggest realistic alternatives, I&apos;m all ears. There is simply no other suitable web engine out there than webkitgtk, from what I can see.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61590</commentid>
    <comment_count>7</comment_count>
    <who name="Gary Thomas">gary</who>
    <bug_when>2016-04-23 05:40:53 +0000</bug_when>
    <thetext>Rebuilding webkitgtk with JIT disabled allows epiphany to work much better.  Not sure of the potential performance hit, but working &amp; slower beats broken &amp; fast.

Should I send a patch to just disable JIT for all ARM until it is proven to work?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61591</commentid>
    <comment_count>8</comment_count>
    <who name="Bill Randle">bill.randle</who>
    <bug_when>2016-04-23 14:22:06 +0000</bug_when>
    <thetext>Thanks, Gary. I just added Robert Yang as a CC on this bug, because I believe he already has a patch to disable JIT for webkitgtk for most arm arches. If not, then yes, please submit a patch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61593</commentid>
    <comment_count>9</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2016-04-25 01:08:13 +0000</bug_when>
    <thetext>(In reply to comment #8)
&gt; Thanks, Gary. I just added Robert Yang as a CC on this bug, because I
&gt; believe he already has a patch to disable JIT for webkitgtk for most arm
&gt; arches. If not, then yes, please submit a patch.

The patch only disables JIT for armv4, plus with previous v5, and v6, not disable for all arm:

EXTRA_OECMAKE_append_armv5 = &quot; -DENABLE_JIT=OFF &quot;
EXTRA_OECMAKE_append_armv6 = &quot; -DENABLE_JIT=OFF &quot;
EXTRA_OECMAKE_append_armv4 = &quot; -DENABLE_JIT=OFF &quot;

http://cgit.openembedded.org/openembedded-core-contrib/commit/?h=rbt/arm&amp;id=9c4cdf30a34d41ebafad827631d92d7402ee3d1f</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61594</commentid>
    <comment_count>10</comment_count>
    <who name="Bill Randle">bill.randle</who>
    <bug_when>2016-04-25 02:48:08 +0000</bug_when>
    <thetext>Which, if sufficient, would be better than disabling for all ARM. Gary, what arch are you building for and will Robert&apos;s patch work for you?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61596</commentid>
    <comment_count>11</comment_count>
    <who name="Gary Thomas">gary</who>
    <bug_when>2016-04-25 05:20:25 +0000</bug_when>
    <thetext>(In reply to comment #10)
&gt; Which, if sufficient, would be better than disabling for all ARM. Gary, what
&gt; arch are you building for and will Robert&apos;s patch work for you?

I get failures on armv7a (i.MX6 = cortexa7, begalgbone = cortexa8) so it would be

EXTRA_OECMAKE_append_armv7a = &quot; -DENABLE_JIT=OFF &quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61672</commentid>
    <comment_count>12</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2016-04-26 00:45:56 +0000</bug_when>
    <thetext>*** Bug 8521 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61673</commentid>
    <comment_count>13</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2016-04-26 00:48:00 +0000</bug_when>
    <thetext>(In reply to comment #11)
&gt; (In reply to comment #10)
&gt; &gt; Which, if sufficient, would be better than disabling for all ARM. Gary, what
&gt; &gt; arch are you building for and will Robert&apos;s patch work for you?
&gt; 
&gt; I get failures on armv7a (i.MX6 = cortexa7, begalgbone = cortexa8) so it
&gt; would be
&gt; 
&gt; EXTRA_OECMAKE_append_armv7a = &quot; -DENABLE_JIT=OFF &quot;

Hi, do you mind I take the bug update and my patches, or will you send a new patch to the mailing list, please ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61680</commentid>
    <comment_count>14</comment_count>
    <who name="Gary Thomas">gary</who>
    <bug_when>2016-04-26 05:55:23 +0000</bug_when>
    <thetext>(In reply to comment #13)
&gt; (In reply to comment #11)
&gt; &gt; (In reply to comment #10)
&gt; &gt; &gt; Which, if sufficient, would be better than disabling for all ARM. Gary, what
&gt; &gt; &gt; arch are you building for and will Robert&apos;s patch work for you?
&gt; &gt; 
&gt; &gt; I get failures on armv7a (i.MX6 = cortexa7, begalgbone = cortexa8) so it
&gt; &gt; would be
&gt; &gt; 
&gt; &gt; EXTRA_OECMAKE_append_armv7a = &quot; -DENABLE_JIT=OFF &quot;
&gt; 
&gt; Hi, do you mind I take the bug update and my patches, or will you send a new
&gt; patch to the mailing list, please ?

Please feel free to take over</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61685</commentid>
    <comment_count>15</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2016-04-26 09:45:44 +0000</bug_when>
    <thetext>Patch sent:

http://cgit.openembedded.org/openembedded-core-contrib/commit/?h=rbt/arm&amp;id=f9cac7c5ef750bd87551e0d56531e53afeb7f18d</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61693</commentid>
    <comment_count>16</comment_count>
    <who name="Bill Randle">bill.randle</who>
    <bug_when>2016-04-26 16:08:49 +0000</bug_when>
    <thetext>Thanks, Robert! Looks good to me, however should it also include armv7ve in the list to turn off JIT? I just read it&apos;s basically the same as an armv7a with some virtual extensions, so will likely have the same problem.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61706</commentid>
    <comment_count>17</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2016-04-27 03:02:11 +0000</bug_when>
    <thetext>(In reply to comment #16)
&gt; Thanks, Robert! Looks good to me, however should it also include armv7ve in
&gt; the list to turn off JIT? I just read it&apos;s basically the same as an armv7a
&gt; with some virtual extensions, so will likely have the same problem.

Hi,

I had planed to test armv7e, but it didnt&apos; work in my build, so I can&apos;t confirm that. my local.conf:
MACHINE = &quot;qemuarm64&quot;
require conf/multilib.conf
MULTILIBS = &quot;multilib:lib32&quot;
DEFAULTTUNE_virtclass-multilib-lib32 = &quot;armv7ve&quot;

$ bitbake -p

ERROR:  OE-core&apos;s config sanity checker detected a potential misconfiguration.
    Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
    Following is the list of potential problems / advisories:

    Toolchain tunings invalid:
Tuning &apos;armv7ve&apos; has no defined features, and cannot be used.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62296</commentid>
    <comment_count>18</comment_count>
    <who name="Bill Randle">bill.randle</who>
    <bug_when>2016-05-18 15:53:43 +0000</bug_when>
    <thetext>Maybe it didn&apos;t work because you started off with an arm64 base arch and the arm7ve is still a 32-bit arch. For testing purposes, I was able to get it to build by creating a qemuarm7 machine containing:

#@TYPE: Machine 
#@NAME: generic armv7ve machine 
#@DESCRIPTION: Machine configuration for running a generic armv7ve 

require conf/machine/include/arm/arch-armv7ve.inc
require conf/machine/include/qemu.inc

KERNEL_IMAGETYPE = &quot;zImage&quot;

SERIAL_CONSOLES = &quot;115200;ttyAMA0 115200;hvc0&quot;

The resulting qemu image didn&apos;t run (probably because qemu doesn&apos;t know about arm7ve), but at least webkitgtk and epiphany both built cleanly. I still think the JIT=OFF should be included for arm7ve in your patch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62520</commentid>
    <comment_count>19</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2016-05-30 11:57:08 +0000</bug_when>
    <thetext>Hi,

I&apos;m a developer working on WebKitGTK+ upstream and we intend to support JSC JIT on ARMv7. If it is not working it is a bug and should be fixed.

That&apos;s said, the cause of a blank page is usually caused because the WebKitWebProcess has crashed. This can be sometimes because of a broken JSC JIT. But can also be caused by another problems like broken (or not working as expected) GPU drivers and AC (Accelerated Compositing) mode. Or any other kind of crash on the webprocess)

To help testing this there are a number of environment variables that you can play with at runtime without needing to recompile WebKitGTK+.

http://trac.webkit.org/wiki/EnvironmentVariables

For example, to disable the JSC JIT you can do:

$ export JavaScriptCoreUseJIT=0
$ pkill -9 epiphany
$ epiphany

And to disable the AC (Accelerated Compositing) you can do:

$ export WEBKIT_DISABLE_COMPOSITING_MODE=1
$ pkill -9 epiphany
$ epiphany

Test running epiphany (or MiniBrowser) with both this variables on the environment to check if any of it make a difference.

If it continues to crash (you get a blank page), then it will be helpful for us if you can generate a backtrace with symbols and report it in https://bugs.webkit.org/ (CC&apos;ing the user &lt;bugs-noreply@webkitgtk.org&gt;)

This is usually achieved as follows:

# install the webkit*-dbg packages
$ ulimit -c unlimited
$ pkill -9 epiphany
$ epiphany
# make it crash
$ gdb -ex &quot;thread apply all bt&quot; --batch /full/path/to/WebKitWebProcess core</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63186</commentid>
    <comment_count>20</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2016-06-21 11:18:16 +0000</bug_when>
    <thetext>The JIT disabling was merged in oe-core 8d397781665ac71615e9e0a240a76272b6b63216.

I&apos;ll leave this open for now in case anyone wants to revert that locally and get debugging information for Carlos.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64137</commentid>
    <comment_count>21</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2016-07-18 21:05:04 +0000</bug_when>
    <thetext>I have been checking this issue. The problem is triggered because Yocto/OE is building by default with -marm (ARM traditional) instead of with -mthumb (Thumb2 instructions) for ARMv7.

And it seems that the WebKitGTK+ JIT is currently broken with ARM traditional. I have forwarded this issue to upstream https://bugs.webkit.org/show_bug.cgi?id=159880

In any case I think we should to build with -mthumb by default, mainly because is what upstream tests and has a greater chance of working as expected. Its also the default option on Debian armhf. So I&apos;m going to send a patch to the oe-core mailing list that enables -mthumb on ARMv7 for the webkitgtk build and turns back on the JSC JIT on ARMv7.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64496</commentid>
    <comment_count>22</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2016-07-26 16:32:37 +0000</bug_when>
    <thetext>Fixed in oe-core bb7bc6061b70648635d969e66c6ed333ca5f427e.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65183</commentid>
    <comment_count>23</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2016-08-15 08:54:43 +0000</bug_when>
    <thetext>Verified with poky master: e274a5167ea2e495355bd1382b1388d047b845d7
Tested on qemuarm and beaglebone.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68107</commentid>
    <comment_count>24</comment_count>
    <who name="Gary Thomas">gary</who>
    <bug_when>2016-11-08 17:23:18 +0000</bug_when>
    <thetext>Still doesn&apos;t work, neither on beaglebone nor my i.MX6 :-(

It either shows a totally blank window or gives errors on the console such as:

(WebKitWebProcess:1315): Gdk-ERROR **: The program &apos;WebKitWebProcess&apos; received an X Window System error.
This probably reflects a bug in the program.
The error was &apos;BadValue (integer parameter out of range for operation)&apos;.
  (Details: serial 154 error_code 2 request_code 0 (core protocol) minor_code 3)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the GDK_SYNCHRONIZE environment
   variable to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
GLib-GIO-Message: Using the &apos;memory&apos; GSettings backend.  Your settings will not be saved or shared with other applications.
libEGL warning: DRI2: failed to authenticate
Xlib: sequence lost (0x1009a &gt; 0x9b) in reply type 0x0!


Built using Poky/Yocto rev 43e652f3d1fee5ce7fad67e6400315eab1b34270</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68119</commentid>
    <comment_count>25</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2016-11-08 17:32:03 +0000</bug_when>
    <thetext>(In reply to comment #24)
&gt; Still doesn&apos;t work, neither on beaglebone nor my i.MX6 :-(
&gt; 
&gt; It either shows a totally blank window or gives errors on the console such
&gt; as:
&gt; 
&gt; (WebKitWebProcess:1315): Gdk-ERROR **: The program &apos;WebKitWebProcess&apos;
&gt; received an X Window System error.
&gt; This probably reflects a bug in the program.
&gt; The error was &apos;BadValue (integer parameter out of range for operation)&apos;.
&gt;   (Details: serial 154 error_code 2 request_code 0 (core protocol)
&gt; minor_code 3)
&gt;   (Note to programmers: normally, X errors are reported asynchronously;
&gt;    that is, you will receive the error a while after causing it.
&gt;    To debug your program, run it with the GDK_SYNCHRONIZE environment
&gt;    variable to change this behavior. You can then get a meaningful
&gt;    backtrace from your debugger if you break on the gdk_x_error() function.)
&gt; GLib-GIO-Message: Using the &apos;memory&apos; GSettings backend.  Your settings will
&gt; not be saved or shared with other applications.
&gt; libEGL warning: DRI2: failed to authenticate
&gt; Xlib: sequence lost (0x1009a &gt; 0x9b) in reply type 0x0!
&gt; 
&gt; 
&gt; Built using Poky/Yocto rev 43e652f3d1fee5ce7fad67e6400315eab1b34270

That is a different problem.
You are getting here an X error, probably related with your OpenGL drivers.

Try this:

export WEBKIT_DISABLE_COMPOSITING_MODE=1
epiphany


With that environment variable, you are telling WebKit to avoid using the accelerated compositing mode at runtime.

If you are using EGL with X11, in the last release of WebKitGTK+ (2.14.2) we added some patches that workaround some issues we detected with the Vivante GPU drivers from Freescale on an i.MX6 board.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68123</commentid>
    <comment_count>26</comment_count>
    <who name="Gary Thomas">gary</who>
    <bug_when>2016-11-08 17:35:55 +0000</bug_when>
    <thetext>(In reply to comment #25)
&gt; (In reply to comment #24)
&gt; &gt; Still doesn&apos;t work, neither on beaglebone nor my i.MX6 :-(
&gt; &gt; 
&gt; &gt; It either shows a totally blank window or gives errors on the console such
&gt; &gt; as:
&gt; &gt; 
&gt; &gt; (WebKitWebProcess:1315): Gdk-ERROR **: The program &apos;WebKitWebProcess&apos;
&gt; &gt; received an X Window System error.
&gt; &gt; This probably reflects a bug in the program.
&gt; &gt; The error was &apos;BadValue (integer parameter out of range for operation)&apos;.
&gt; &gt;   (Details: serial 154 error_code 2 request_code 0 (core protocol)
&gt; &gt; minor_code 3)
&gt; &gt;   (Note to programmers: normally, X errors are reported asynchronously;
&gt; &gt;    that is, you will receive the error a while after causing it.
&gt; &gt;    To debug your program, run it with the GDK_SYNCHRONIZE environment
&gt; &gt;    variable to change this behavior. You can then get a meaningful
&gt; &gt;    backtrace from your debugger if you break on the gdk_x_error() function.)
&gt; &gt; GLib-GIO-Message: Using the &apos;memory&apos; GSettings backend.  Your settings will
&gt; &gt; not be saved or shared with other applications.
&gt; &gt; libEGL warning: DRI2: failed to authenticate
&gt; &gt; Xlib: sequence lost (0x1009a &gt; 0x9b) in reply type 0x0!
&gt; &gt; 
&gt; &gt; 
&gt; &gt; Built using Poky/Yocto rev 43e652f3d1fee5ce7fad67e6400315eab1b34270
&gt; 
&gt; That is a different problem.
&gt; You are getting here an X error, probably related with your OpenGL drivers.
&gt; 
&gt; Try this:
&gt; 
&gt; export WEBKIT_DISABLE_COMPOSITING_MODE=1
&gt; epiphany
&gt; 
&gt; 
&gt; With that environment variable, you are telling WebKit to avoid using the
&gt; accelerated compositing mode at runtime.
&gt; 
&gt; If you are using EGL with X11, in the last release of WebKitGTK+ (2.14.2) we
&gt; added some patches that workaround some issues we detected with the Vivante
&gt; GPU drivers from Freescale on an i.MX6 board.

Note: with the latest version, even the minibrowser (/usr/libexec/webkit2gtk-4.0/MiniBrowser) doesn&apos;t work on this hardware.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68125</commentid>
    <comment_count>27</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2016-11-08 17:40:29 +0000</bug_when>
    <thetext>(In reply to comment #26)
&gt; (In reply to comment #25)
&gt; &gt; (In reply to comment #24)
&gt; &gt; &gt; Still doesn&apos;t work, neither on beaglebone nor my i.MX6 :-(
&gt; &gt; &gt; 
&gt; &gt; &gt; It either shows a totally blank window or gives errors on the console such
&gt; &gt; &gt; as:
&gt; &gt; &gt; 
&gt; &gt; &gt; (WebKitWebProcess:1315): Gdk-ERROR **: The program &apos;WebKitWebProcess&apos;
&gt; &gt; &gt; received an X Window System error.
&gt; &gt; &gt; This probably reflects a bug in the program.
&gt; &gt; &gt; The error was &apos;BadValue (integer parameter out of range for operation)&apos;.
&gt; &gt; &gt;   (Details: serial 154 error_code 2 request_code 0 (core protocol)
&gt; &gt; &gt; minor_code 3)
&gt; &gt; &gt;   (Note to programmers: normally, X errors are reported asynchronously;
&gt; &gt; &gt;    that is, you will receive the error a while after causing it.
&gt; &gt; &gt;    To debug your program, run it with the GDK_SYNCHRONIZE environment
&gt; &gt; &gt;    variable to change this behavior. You can then get a meaningful
&gt; &gt; &gt;    backtrace from your debugger if you break on the gdk_x_error() function.)
&gt; &gt; &gt; GLib-GIO-Message: Using the &apos;memory&apos; GSettings backend.  Your settings will
&gt; &gt; &gt; not be saved or shared with other applications.
&gt; &gt; &gt; libEGL warning: DRI2: failed to authenticate
&gt; &gt; &gt; Xlib: sequence lost (0x1009a &gt; 0x9b) in reply type 0x0!
&gt; &gt; &gt; 
&gt; &gt; &gt; 
&gt; &gt; &gt; Built using Poky/Yocto rev 43e652f3d1fee5ce7fad67e6400315eab1b34270
&gt; &gt; 
&gt; &gt; That is a different problem.
&gt; &gt; You are getting here an X error, probably related with your OpenGL drivers.
&gt; &gt; 
&gt; &gt; Try this:
&gt; &gt; 
&gt; &gt; export WEBKIT_DISABLE_COMPOSITING_MODE=1
&gt; &gt; epiphany
&gt; &gt; 
&gt; &gt; 
&gt; &gt; With that environment variable, you are telling WebKit to avoid using the
&gt; &gt; accelerated compositing mode at runtime.
&gt; &gt; 
&gt; &gt; If you are using EGL with X11, in the last release of WebKitGTK+ (2.14.2) we
&gt; &gt; added some patches that workaround some issues we detected with the Vivante
&gt; &gt; GPU drivers from Freescale on an i.MX6 board.
&gt; 
&gt; Note: with the latest version, even the minibrowser
&gt; (/usr/libexec/webkit2gtk-4.0/MiniBrowser) doesn&apos;t work on this hardware.

Have you tried to export that variable first?

Also, the last version of Yocto is not the same that the last version upstream (webkitgtk.org project). I see oe-core master right now is still using 2.14.1.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68127</commentid>
    <comment_count>28</comment_count>
    <who name="Gary Thomas">gary</who>
    <bug_when>2016-11-08 17:42:59 +0000</bug_when>
    <thetext>(In reply to comment #25)
&gt; (In reply to comment #24)
&gt; &gt; Still doesn&apos;t work, neither on beaglebone nor my i.MX6 :-(
&gt; &gt; 
&gt; &gt; It either shows a totally blank window or gives errors on the console such
&gt; &gt; as:
&gt; &gt; 
&gt; &gt; (WebKitWebProcess:1315): Gdk-ERROR **: The program &apos;WebKitWebProcess&apos;
&gt; &gt; received an X Window System error.
&gt; &gt; This probably reflects a bug in the program.
&gt; &gt; The error was &apos;BadValue (integer parameter out of range for operation)&apos;.
&gt; &gt;   (Details: serial 154 error_code 2 request_code 0 (core protocol)
&gt; &gt; minor_code 3)
&gt; &gt;   (Note to programmers: normally, X errors are reported asynchronously;
&gt; &gt;    that is, you will receive the error a while after causing it.
&gt; &gt;    To debug your program, run it with the GDK_SYNCHRONIZE environment
&gt; &gt;    variable to change this behavior. You can then get a meaningful
&gt; &gt;    backtrace from your debugger if you break on the gdk_x_error() function.)
&gt; &gt; GLib-GIO-Message: Using the &apos;memory&apos; GSettings backend.  Your settings will
&gt; &gt; not be saved or shared with other applications.
&gt; &gt; libEGL warning: DRI2: failed to authenticate
&gt; &gt; Xlib: sequence lost (0x1009a &gt; 0x9b) in reply type 0x0!
&gt; &gt; 
&gt; &gt; 
&gt; &gt; Built using Poky/Yocto rev 43e652f3d1fee5ce7fad67e6400315eab1b34270
&gt; 
&gt; That is a different problem.
&gt; You are getting here an X error, probably related with your OpenGL drivers.
&gt; 
&gt; Try this:
&gt; 
&gt; export WEBKIT_DISABLE_COMPOSITING_MODE=1
&gt; epiphany
&gt; 
&gt; 
&gt; With that environment variable, you are telling WebKit to avoid using the
&gt; accelerated compositing mode at runtime.
&gt; 
&gt; If you are using EGL with X11, in the last release of WebKitGTK+ (2.14.2) we
&gt; added some patches that workaround some issues we detected with the Vivante
&gt; GPU drivers from Freescale on an i.MX6 board.

But this is happening on a BeagleBoneBlack which is not i.MX6+Vivante</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68129</commentid>
    <comment_count>29</comment_count>
    <who name="Gary Thomas">gary</who>
    <bug_when>2016-11-08 17:44:56 +0000</bug_when>
    <thetext>The real point of this bug is that I am not getting an &quot;it works out of the box&quot; experience for this program on any of these programs (and it is _the_ example web browser for Yocto)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68135</commentid>
    <comment_count>30</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2016-11-08 17:58:01 +0000</bug_when>
    <thetext>(In reply to comment #29)
&gt; The real point of this bug is that I am not getting an &quot;it works out of the
&gt; box&quot; experience for this program on any of these programs (and it is _the_
&gt; example web browser for Yocto)

Sorry, the purpose of a bug report is not complaining, but helping developers to find and fix the bug.

If you are interested in helping to fix the bug, then try what I suggested and report back.

Also, this issue you are reporting is completely unrelated with the previous one of the JSC JIT that was already fixed. I think you should open a new bug instead of reopening this one.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68185</commentid>
    <comment_count>31</comment_count>
    <who name="Alexander Kanavin">alex.kanavin</who>
    <bug_when>2016-11-09 13:37:22 +0000</bug_when>
    <thetext>Reality check: we don&apos;t test epiphany on ARM, and have no means to do so. So there is no &quot;works out of the box&quot; promise, and you should drop the assumption.

Don&apos;t reopen the bug with an unrelated issue please; I&apos;ll put up with it this time, but next time you&apos;ll get a RESOLVED/INVALID and a request to file a new bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68187</commentid>
    <comment_count>32</comment_count>
    <who name="Gary Thomas">gary</who>
    <bug_when>2016-11-09 14:03:45 +0000</bug_when>
    <thetext>(In reply to comment #31)
&gt; Reality check: we don&apos;t test epiphany on ARM, and have no means to do so. So
&gt; there is no &quot;works out of the box&quot; promise, and you should drop the
&gt; assumption.

So is there no implied assurance that feature X works on all OE-core items?
If no, I don&apos;t see how it can be considered &quot;core&quot;.

&gt; 
&gt; Don&apos;t reopen the bug with an unrelated issue please; I&apos;ll put up with it
&gt; this time, but next time you&apos;ll get a RESOLVED/INVALID and a request to file
&gt; a new bug.

Sorry about that, my impression WAS that this was a regression which this bug covered.  I can see now that it is not, but that does not really answer the issue of a working web browser on ARM hardware (arguably one of the largest segments of embedded devices if not THE largest)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68188</commentid>
    <comment_count>33</comment_count>
    <who name="Alexander Kanavin">alex.kanavin</who>
    <bug_when>2016-11-09 14:05:42 +0000</bug_when>
    <thetext>Bugzilla is not the right place for this discussion. Please take it to oe-core list.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68189</commentid>
    <comment_count>34</comment_count>
    <who name="Gary Thomas">gary</who>
    <bug_when>2016-11-09 14:11:17 +0000</bug_when>
    <thetext>(In reply to comment #30)
&gt; (In reply to comment #29)
&gt; &gt; The real point of this bug is that I am not getting an &quot;it works out of the
&gt; &gt; box&quot; experience for this program on any of these programs (and it is _the_
&gt; &gt; example web browser for Yocto)
&gt; 
&gt; Sorry, the purpose of a bug report is not complaining, but helping
&gt; developers to find and fix the bug.

IMHO, the purpose of bug reports is to report bugs, which is what I have done.  I&apos;m sorry if it sounded like whining...

&gt; 
&gt; If you are interested in helping to fix the bug, then try what I suggested
&gt; and report back.

I have tried your suggestion and got varying results.  For the most part, this did allow epiphany to [mostly] render pages correctly, both on the i.MX6 and Beagle*.  I tested both with SSH X11 tunneling as well as local [hardware] displays, with the same results.

That said, it did still fail on the BeagleBone when I tried to access a simple WordPress site (my http://www.mlbassoc.com/ is an empty WP page).  This page works correctly on the i.MX6

&gt; 
&gt; Also, this issue you are reporting is completely unrelated with the previous
&gt; one of the JSC JIT that was already fixed. I think you should open a new bug
&gt; instead of reopening this one.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68249</commentid>
    <comment_count>35</comment_count>
    <who name="Alexander Kanavin">alex.kanavin</who>
    <bug_when>2016-11-11 13:31:05 +0000</bug_when>
    <thetext>Is there anything for Yocto project to do then? If most websites work, and there&apos;s one that does not, it looks like an upstream webkit issue, and should be filed there.

And once again, when filing a bug, you absolutely have to be an active partner in developing a solution, and not just report that something doesn&apos;t work in very general terms and then act entitled to getting your problem solved. 

Specifically:

- did you try latest upstream webkit as suggested? Updating the recipe and rebuilding is trivial.

- when you say you have a webpage that fails, you need to be *specific*. How did it fail? Did you get error messages? Did the browser crash? Is it a totally blank page, or something that is incomplete or incorrectly rendered? What happened?

Do consider these things in the future please; you must do your utmost to make us want to help you.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68270</commentid>
    <comment_count>36</comment_count>
    <who name="Gary Thomas">gary</who>
    <bug_when>2016-11-14 13:57:39 +0000</bug_when>
    <thetext>(In reply to comment #25)
&gt; (In reply to comment #24)
&gt; &gt; Still doesn&apos;t work, neither on beaglebone nor my i.MX6 :-(
&gt; &gt; 
&gt; &gt; It either shows a totally blank window or gives errors on the console such
&gt; &gt; as:
&gt; &gt; 
&gt; &gt; (WebKitWebProcess:1315): Gdk-ERROR **: The program &apos;WebKitWebProcess&apos;
&gt; &gt; received an X Window System error.
&gt; &gt; This probably reflects a bug in the program.
&gt; &gt; The error was &apos;BadValue (integer parameter out of range for operation)&apos;.
&gt; &gt;   (Details: serial 154 error_code 2 request_code 0 (core protocol)
&gt; &gt; minor_code 3)
&gt; &gt;   (Note to programmers: normally, X errors are reported asynchronously;
&gt; &gt;    that is, you will receive the error a while after causing it.
&gt; &gt;    To debug your program, run it with the GDK_SYNCHRONIZE environment
&gt; &gt;    variable to change this behavior. You can then get a meaningful
&gt; &gt;    backtrace from your debugger if you break on the gdk_x_error() function.)
&gt; &gt; GLib-GIO-Message: Using the &apos;memory&apos; GSettings backend.  Your settings will
&gt; &gt; not be saved or shared with other applications.
&gt; &gt; libEGL warning: DRI2: failed to authenticate
&gt; &gt; Xlib: sequence lost (0x1009a &gt; 0x9b) in reply type 0x0!
&gt; &gt; 
&gt; &gt; 
&gt; &gt; Built using Poky/Yocto rev 43e652f3d1fee5ce7fad67e6400315eab1b34270
&gt; 
&gt; That is a different problem.
&gt; You are getting here an X error, probably related with your OpenGL drivers.
&gt; 
&gt; Try this:
&gt; 
&gt; export WEBKIT_DISABLE_COMPOSITING_MODE=1
&gt; epiphany
&gt; 
&gt; 
&gt; With that environment variable, you are telling WebKit to avoid using the
&gt; accelerated compositing mode at runtime.
&gt; 
&gt; If you are using EGL with X11, in the last release of WebKitGTK+ (2.14.2) we
&gt; added some patches that workaround some issues we detected with the Vivante
&gt; GPU drivers from Freescale on an i.MX6 board.

I have now tried 2.14.2 with the exact same results.

I also tried to build for qemuarm (armv5) and webkitgtk no longer builds at all.  What&apos;s the best place to report these results - directly to webkit or Yocto?</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>