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

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>131036</bug_id>
          
          <creation_ts>2014-04-01 08:17:28 -0700</creation_ts>
          <short_desc>[EFL] Make XVFBDriver optional</short_desc>
          <delta_ts>2014-05-14 05:44:55 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKit EFL</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Zsolt Borbely">zsborbely.u-szeged</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>clopez</cc>
    
    <cc>commit-queue</cc>
    
    <cc>glenn</cc>
    
    <cc>gyuyoung.kim</cc>
    
    <cc>lucas.de.marchi</cc>
    
    <cc>ossy</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>996273</commentid>
    <comment_count>0</comment_count>
    <who name="Zsolt Borbely">zsborbely.u-szeged</who>
    <bug_when>2014-04-01 08:17:28 -0700</bug_when>
    <thetext>Performance tests fail inside xvfb with the following error:

$ Tools/Scripts/run-perf-tests --platform=efl -2
Running 128 tests
Running Animation/balls.html (1 of 128)
error: Animation/balls.html
ERR&lt;32384&gt;:evas-gl_common evas_gl_shader.c:1039 _evas_gl_common_shader_program_source_init() Abort compile of shader vert (rect): #ifdef GL_ES
precision highp float;
#endif
attribute vec4 vertex;
attribute vec4 color;
uniform mat4 mvp;
varying vec4 col;
void main()
{
gl_Position = mvp * vertex;
col = color;
}
 
ERR&lt;32384&gt;:ecore_evas ecore_evas_x.c:254 _ecore_evas_x_gl_window_new() evas_engine_info_set() for engine &apos;opengl_x11&apos; failed.
ERR&lt;32384&gt;:ecore_evas ecore_evas_x.c:3571 ecore_evas_gl_x11_options_new() evas_engine_info_set() init engine &apos;opengl_x11&apos; failed.
ERR&lt;32384&gt;:evas_main evas_gl.c:42 evas_gl_new() Evas GL engine not available.
ERR&lt;32398&gt;: efreet_ini.c:336 efreet_ini_string_get() safety check failed: ini-&gt;section == NULL
ERR&lt;32398&gt;: efreet_ini.c:336 efreet_ini_string_get() safety check failed: ini-&gt;section == NULL
ERR&lt;32398&gt;: efreet_ini.c:359 efreet_ini_int_get() safety check failed: ini-&gt;section == NULL
ERR&lt;32398&gt;: efreet_ini.c:359 efreet_ini_int_get() safety check failed: ini-&gt;section == NULL
ERR&lt;32398&gt;: efreet_ini.c:336 efreet_ini_string_get() safety check failed: ini-&gt;section == NULL
ERR&lt;32398&gt;: efreet_ini.c:336 efreet_ini_string_get() safety check failed: ini-&gt;section == NULL
ERR&lt;32398&gt;: efreet_ini.c:359 efreet_ini_int_get() safety check failed: ini-&gt;section == NULL
ERR&lt;32398&gt;: efreet_ini.c:359 efreet_ini_int_get() safety check failed: ini-&gt;section == NULL
ERR&lt;32398&gt;: efreet_ini.c:336 efreet_ini_string_get() safety check failed: ini-&gt;section == NULL
ERR&lt;32398&gt;: efreet_ini.c:336 efreet_ini_string_get() safety check failed: ini-&gt;section == NULL
ERR&lt;32398&gt;: efreet_ini.c:359 efreet_ini_int_get() safety check failed: ini-&gt;section == NULL
ERR&lt;32398&gt;: efreet_ini.c:359 efreet_ini_int_get() safety check failed: ini-&gt;section == NULL
 
FAILED
Finished: 9.698913 s</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>996276</commentid>
    <comment_count>1</comment_count>
    <who name="Zsolt Borbely">zsborbely.u-szeged</who>
    <bug_when>2014-04-01 08:21:57 -0700</bug_when>
    <thetext>Tools/Scripts/webkitpy/port/efl.py
    def _driver_class(self):
        return XvfbDriver

It is good for a workaround. If we remove these two lines the tests will run.
But unfortunatelly we can&apos;t decide the tests are runned as layout or as performation by the driver. That&apos;s why we should search a possible solution.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1001909</commentid>
    <comment_count>2</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2014-04-18 06:57:16 -0700</bug_when>
    <thetext>You can use an environment variable.


For example, on the GTK port we have:

    def _driver_class(self):
        if os.environ.get(&quot;WAYLAND_DISPLAY&quot;):
            return WestonDriver
        return XvfbDriver</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1008906</commentid>
    <comment_count>3</comment_count>
      <attachid>231366</attachid>
    <who name="Zsolt Borbely">zsborbely.u-szeged</who>
    <bug_when>2014-05-13 03:46:21 -0700</bug_when>
    <thetext>Created attachment 231366
Patch

I want to commit this manually, because first I have to revert a local workaround in the perf-bot.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1009162</commentid>
    <comment_count>4</comment_count>
      <attachid>231366</attachid>
    <who name="Gyuyoung Kim">gyuyoung.kim</who>
    <bug_when>2014-05-13 20:09:23 -0700</bug_when>
    <thetext>Comment on attachment 231366
Patch

rs=me.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1009231</commentid>
    <comment_count>5</comment_count>
      <attachid>231366</attachid>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2014-05-14 05:44:46 -0700</bug_when>
    <thetext>Comment on attachment 231366
Patch

Clearing flags on attachment: 231366

Committed r168833: &lt;http://trac.webkit.org/changeset/168833&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1009232</commentid>
    <comment_count>6</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2014-05-14 05:44:55 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>231366</attachid>
            <date>2014-05-13 03:46:21 -0700</date>
            <delta_ts>2014-05-14 05:44:46 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>xvfb.patch</filename>
            <type>text/plain</type>
            <size>1136</size>
            <attacher name="Zsolt Borbely">zsborbely.u-szeged</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1Rvb2xzL0NoYW5nZUxvZyBiL1Rvb2xzL0NoYW5nZUxvZwppbmRleCA3ZTNl
YzEyLi40MzU2YjIzIDEwMDY0NAotLS0gYS9Ub29scy9DaGFuZ2VMb2cKKysrIGIvVG9vbHMvQ2hh
bmdlTG9nCkBAIC0xLDMgKzEsMTMgQEAKKzIwMTQtMDUtMTMgIFpzb2x0IEJvcmJlbHkgIDx6c2Jv
cmJlbHkudS1zemVnZWRAcGFydG5lci5zYW1zdW5nLmNvbT4KKworICAgICAgICBbRUZMXSBNYWtl
IFhWRkJEcml2ZXIgb3B0aW9uYWwKKyAgICAgICAgaHR0cHM6Ly9idWdzLndlYmtpdC5vcmcvc2hv
d19idWcuY2dpP2lkPTEzMTAzNgorCisgICAgICAgIFJldmlld2VkIGJ5IE5PQk9EWSAoT09QUyEp
LgorCisgICAgICAgICogU2NyaXB0cy93ZWJraXRweS9wb3J0L2VmbC5weToKKyAgICAgICAgKEVm
bFBvcnQuX2RyaXZlcl9jbGFzcyk6CisKIDIwMTQtMDUtMTEgIEFuZGVycyBDYXJsc3NvbiAgPGFu
ZGVyc2NhQGFwcGxlLmNvbT4KIAogICAgICAgICBSZXBsYWNlIFdLQ29udGV4dFNldExvY2FsU3Rv
cmFnZURpcmVjdG9yeSB3aXRoIGEgY29udGV4dCBjb25maWd1cmF0aW9uIGdldHRlci9zZXR0ZXIK
ZGlmZiAtLWdpdCBhL1Rvb2x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