<?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>4950</bug_id>
          
          <creation_ts>2013-07-29 14:51:47 +0000</creation_ts>
          <short_desc>Black rendering of windowed Open GLES applications on iMX6 Vivante under X11</short_desc>
          <delta_ts>2013-09-04 19:44:54 +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>BSPs</product>
          <component>bsps-meta-fsl-arm</component>
          <version>1.4</version>
          <rep_platform>Other</rep_platform>
          <op_sys>arm</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.5</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Diego">diego.ml</reporter>
          <assigned_to name="Otavio Salvador">otavio</assigned_to>
          <cc>angolini</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>New (Never tested)</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>35115</commentid>
    <comment_count>0</comment_count>
    <who name="Diego">diego.ml</who>
    <bug_when>2013-07-29 14:51:47 +0000</bug_when>
    <thetext>Board: Boundary Devices Nitrogen6x

Description: windowed OpenGL ES applications rendering is wrong as only a black window appears.
Tested with: mesa-demos&apos; es2gears_x11; glmark2&apos;s glmark2-es2 and, on softfp builds, vivante-gpu-sdk samples.

On the contrary fullscreen rendering is ok.
Tested with: glmark2&apos;s &quot;glmark2-es2 --fullscreen&quot;

This seems related in a weird way to unity-2d-launcher; see:
https://community.freescale.com/thread/309990</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35117</commentid>
    <comment_count>1</comment_count>
    <who name="Diego">diego.ml</who>
    <bug_when>2013-07-29 14:57:12 +0000</bug_when>
    <thetext>By the way, problem has been verified on all the following BSPs:
3.0.35-1.1.0; 3.0.35-4.0.0; 3.5.7-1.0.0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35122</commentid>
    <comment_count>2</comment_count>
    <who name="Otavio Salvador">otavio</who>
    <bug_when>2013-07-29 16:34:09 +0000</bug_when>
    <thetext>In 3.5.7-1.0.0 can you give a try to run the glmark app using:

$: VIV_DESKTOP=0 glmark-es2

and see if it helps?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35123</commentid>
    <comment_count>3</comment_count>
    <who name="Diego">diego.ml</who>
    <bug_when>2013-07-29 17:37:43 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; In 3.5.7-1.0.0 can you give a try to run the glmark app using:
&gt; 
&gt; $: VIV_DESKTOP=0 glmark-es2
&gt; 
&gt; and see if it helps?

It works, but with horrible performances:


# export VIV_DESKTOP=0
# glmark2-es2 
=======================================================
    glmark2 2012.12
=======================================================
    OpenGL Information
    GL_VENDOR:     Vivante Corporation
    GL_RENDERER:   GC2000 core
    GL_VERSION:    OpenGL ES 2.0
=======================================================
[build] use-vbo=false: FPS: 33 FrameTime: 30.303 ms
[build] use-vbo=true: FPS: 34 FrameTime: 29.412 ms
[texture] texture-filter=nearest: FPS: 33 FrameTime: 30.303 ms
[texture] texture-filter=linear:^C
# es2gears_x11 
EGL_VERSION = 1.4
vertex shader info: 
fragment shader info: 
info: 
3 frames in 5.1 seconds =  0.590 FPS
2 frames in 5.1 seconds =  0.393 FPS
2 frames in 5.1 seconds =  0.393 FPS
2 frames in 5.1 seconds =  0.393 FPS
^C


How did you get that magic variable?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35124</commentid>
    <comment_count>4</comment_count>
    <who name="Otavio Salvador">otavio</who>
    <bug_when>2013-07-29 17:40:54 +0000</bug_when>
    <thetext>Someone told me ;-) but I wanted to confirm you get same horrible performance too.

For now we cannot do much. I am setting  this as &apos;WaitForUpstream&apos; as this need to be fixed by Freescale/Vivante.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>36290</commentid>
    <comment_count>5</comment_count>
    <who name="Otavio Salvador">otavio</who>
    <bug_when>2013-09-04 19:44:54 +0000</bug_when>
    <thetext>This has been fixed in 3.5.7-1.0.0-alpha.2 release; I am closing this one.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>