<div dir="ltr">Dear vtk users and developers,<div>I recently asked for suggestions on this problem on the ARM Mali Graphics community. You can find the post at <a href="https://community.arm.com/message/34034">https://community.arm.com/message/34034</a> </div><div><br></div><div>Two issues have been found:</div><div>1. draw calls in VTK are using type=GL_UNSIGNED_INT. However, this type is supported only for GLES30, but not for GLES20. So, I fear that current vtk master is not compatible with GLES20.</div><div>2. it is suggest that too many eglMakeCurrent are being made.</div><div><br></div><div>As concerns 1., I basically replaced all occurences of GL_UNSIGNED_INT with GL_UNSIGNED_SHORT in Rendering/OpenGL2. Of course this is probably not the correct approach, because the result is not as expected (I modified the examples to render only the sphere, but I can see less than a quarter of it), but at least now I can see some rendering on my screen.</div><div><br></div><div>Do you have any suggestion on how to proceed now? Thanks</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 5, 2016 at 2:20 PM, Francesco R <span dir="ltr"><<a href="mailto:francesco81492@gmail.com" target="_blank">francesco81492@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Ok. I posted logcat and gltrace files, is there anything else that I can do to help debug the issue? Thanks<div><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 5, 2016 at 1:57 PM, Ken Martin <span dir="ltr"><<a href="mailto:ken.martin@kitware.com" target="_blank">ken.martin@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">The system I tested on is a Mali 628 MP6 GPU running 5.0.2 (support ES 20 and 3.0). The Mali 400 is old but its specs say that it supports OpenGL ES 2.0 so it should work.<div><br></div><div>Thanks</div><span><font color="#888888"><div>Ken</div></font></span></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 5, 2016 at 7:28 AM, Francesco R <span dir="ltr"><<a href="mailto:francesco81492@gmail.com" target="_blank">francesco81492@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thanks Dr. Martin for you reply. I just recompiled the current master with API 19 (the version of android installed on the device is 4.4) and I can confirm that I have the same issues as in my first email. Do you think it can be related to my particular GPU (ARM Mali 400 MP)? What GPU do you have on your device? Thank you!<div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 4, 2016 at 4:29 PM, Ken Martin <span dir="ltr"><<a href="mailto:ken.martin@kitware.com" target="_blank">ken.martin@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I'm not sure what the issue is. I just checked and the Native app is working on my device. I just rebuilt and used API level 21 and OPENGL_ES_VERSION set to 2.0<div><br></div><div>- Ken</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Sun, Dec 20, 2015 at 3:09 PM, Francesco R <span dir="ltr"><<a href="mailto:francesco81492@gmail.com" target="_blank">francesco81492@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr"><div><br></div><div>Dear vtk users and developers,</div><div>I am currently trying to run the two android examples with OpenGL ES 2.0 backend available in vtk 7.0.0 rc1, on an ARM Mali 400 MP GPU. Unfortunately, I am not able to run neither of them on the device.</div><div><br></div><div>NativeVTK crashes at Rendering/OpenGL2/vtkShaderProgram.cxx, line 399</div><div>with "Shader object was not initialized, cannot attach it."</div><div>See also <a href="http://pastebin.com/Wvew3gen" target="_blank">http://pastebin.com/Wvew3gen</a> for the full log.<br></div><div><br></div><div>JavaVTK appears to interact correctly with the user (see <a href="http://pastebin.com/w3Sdu7CC" target="_blank">http://pastebin.com/w3Sdu7CC</a> ), but only a blue background is shown. The trace file obtained with the android device monitor is available at <a href="http://filebin.ca/2QdKao08I3lb/trace1.gltrace" target="_blank">http://filebin.ca/2QdKao08I3lb/trace1.gltrace</a></div><div><br></div><div>Do you have any suggestion on what could be the issue?</div><div><br></div><div>Thanks</div><div><br></div></div>
<br></div></div>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><span><font color="#888888"><br><br clear="all"><span><font color="#888888"><div><br></div>-- <br><div>Ken Martin PhD<div>Chairman & CFO<br>Kitware Inc.<br>28 Corporate Drive<br>Clifton Park NY 12065<br><a href="tel:518%20371%203971" value="+15183713971" target="_blank">518 371 3971</a><div><br></div><div><span style="font-size:10pt;font-family:Tahoma,sans-serif">This communication,
including all attachments, contains confidential and legally privileged
information, and it is intended only for the use of the addressee. Access to this email by anyone else is
unauthorized. If you are not the intended recipient, any disclosure, copying,
distribution or any action taken in reliance on it is prohibited and may be
unlawful. If you received this communication in error please notify us
immediately and destroy the original message.
Thank you.</span></div></div></div>
</font></span></font></span></div>
</blockquote></div><br></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div>Ken Martin PhD<div>Chairman & CFO<br>Kitware Inc.<br>28 Corporate Drive<br>Clifton Park NY 12065<br><a href="tel:518%20371%203971" value="+15183713971" target="_blank">518 371 3971</a><div><br></div><div><span style="font-size:10pt;font-family:Tahoma,sans-serif">This communication,
including all attachments, contains confidential and legally privileged
information, and it is intended only for the use of the addressee. Access to this email by anyone else is
unauthorized. If you are not the intended recipient, any disclosure, copying,
distribution or any action taken in reliance on it is prohibited and may be
unlawful. If you received this communication in error please notify us
immediately and destroy the original message.
Thank you.</span></div></div></div>
</div>
</div></div></blockquote></div><br></div></div></div></div>
</blockquote></div><br></div>