<font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size="2"><font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size="2"> Hello Juha,<br><br>Got my hands on a Google Nexus with Android 4.2.1 still I am getting the following error while running the trace I took from an emulator.<br><br>--pcpu works fine and I get the replay display properly.<br><br>D:\>adb shell LD_LIBRARY_PATH=/data/local/tmp/1:LD_LIBRARY_PATH /data/local/tmp/1/eglretrace --pcpu --pgpu /data/local/tmp/1/t1.trace<br># call no gpu_start gpu_dura cpu_start cpu_dura vsize_start vsize_dura rss_start rss_dura pixels program name<br>Error: Cannot run profile, GL_EXT_timer_query extension is not supported.<br><br>Thought it was only a problem with Mesa Libraries in desktop, why same error is shown while running on Nexus as well?<br><br>One more doubt I have, while doing replay, I get the trace cut as the game runs in landscape mode but in emulator the replay plays it in portrait mode.<br><span><font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size="2"><p style="MARGIN: 0px"><em><font size="2"><font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif"><span style="FONT-SIZE: small">------------------------------------------------------------------------------------------</span><span style="FONT-SIZE: large"></span></font></font></em></p><div id="SIGNATURE"><div style="FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif"><div style="MARGIN: 0px 0px 8px"><div dir="ltr"><span style="FONT-FAMILY: 'courier new', courier"><font color="#808080"><div style="FONT-SIZE: x-small"><br><em><font size="2"><span style="FONT-SIZE: small">Thanks and Regards,</span><br><br><span style="FONT-SIZE: small">Arun S L<br></span></font></em></div></font></span></div></div></div></div></font></span><br><font color="#990099">-----Arun Sl/HYD/TCS wrote: -----</font><div><blockquote style="padding-right:0px;padding-left:5px;margin-left:5px;border-left:solid black 2px;margin-right:0px">To: apitrace@lists.freedesktop.org<br>From: Arun Sl/HYD/TCS<br>Date: 12/03/2013 11:16AM<br>cc: juha-pekka.heikkila@linux.intel.com<br>Subject: Re: [apitrace] Regarding egl retrace<br><br><font size="2">Hello All,</font><br><br><font size="2">Can anyone in this list help me with the issues described in the mails below?</font><br><font size="2"><br>Thanks & Regards<br>Arun S L</font><br><br><img src="/icons/graycol.gif" alt="Inactive hide details for Juha-Pekka Heikkilä ---11/28/2013 05:21:56 PM---Hei Arun, This problem is a bit beyond me without dig" border="0" height="16" width="16"><font color="#424282" size="2">Juha-Pekka Heikkilä ---11/28/2013 05:21:56 PM---Hei Arun, This problem is a bit beyond me without digging deeper with a debugger. I</font><br><br><table border="0" cellpadding="0" cellspacing="0" width="100%"><tbody><tr valign="top"><td width="1%"><img src="/icons/ecblank.gif" alt="" border="0" height="1" width="96"><br><ul style="padding-left: 4pt"><font color="#5F5F5F" size="2">From:</font></ul></td><td width="100%"><img src="/icons/ecblank.gif" alt="" border="0" height="1" width="1"><br><font size="2">Juha-Pekka Heikkilä <juha-pekka.heikkila@linux.intel.com></font></td></tr><tr valign="top"><td width="1%"><img src="/icons/ecblank.gif" alt="" border="0" height="1" width="96"><br><ul style="padding-left: 4pt"><font color="#5F5F5F" size="2">To:</font></ul></td><td width="100%"><img src="/icons/ecblank.gif" alt="" border="0" height="1" width="1"><br><font size="2">"Arun Sl" <arun.sl@tcs.com></font></td></tr><tr valign="top"><td width="1%"><img src="/icons/ecblank.gif" alt="" border="0" height="1" width="96"><br><ul style="padding-left: 4pt"><font color="#5F5F5F" size="2">Date:</font></ul></td><td width="100%"><img src="/icons/ecblank.gif" alt="" border="0" height="1" width="1"><br><font size="2">11/28/2013 05:21 PM</font></td></tr><tr valign="top"><td width="1%"><img src="/icons/ecblank.gif" alt="" border="0" height="1" width="96"><br><ul style="padding-left: 4pt"><font color="#5F5F5F" size="2">Subject:</font></ul></td><td width="100%"><img src="/icons/ecblank.gif" alt="" border="0" height="1" width="1"><br><font size="2">Re: [apitrace] Regarding egl retrace</font></td></tr></tbody></table><hr style="color:#8091A5; " align="left" size="2" width="100%"><br><br><br><tt><font size="2">Hei Arun,<br><br>This problem is a bit beyond me without digging deeper with a debugger. I<br>think you would get good answers for this problem from the Apitrace list.<br>I can see where the error is emitted from inside Mesa but don't really<br>know what is causing it here.<br><br>/Juha-Pekka<br><br>On Thu, November 28, 2013 1:08 pm, Arun Sl wrote:<br>> Hello Juha,<br>><br>> I got the following error now:<br>><br>> $ glretrace --pgpu app_process.trace<br>> # call no gpu_start gpu_dura cpu_start cpu_dura vsize_start vsize_dura<br>> rss_start rss_dura pixels program name<br>> X Error of failed request:  GLXBadProfileARB<br>>   Major opcode of failed request:  153 (GLX)<br>>   Minor opcode of failed request:  34 ()<br>>   Serial number of failed request:  22<br>>   Current serial number in output stream:  20<br>><br>> PS: changed the subject line as we are now discussing a different topic :)<br>><br>> Thanks & Regards<br>> Arun S L<br>><br>><br>><br>> From:<br>> Juha-Pekka Heikkilä <juha-pekka.heikkila@linux.intel.com><br>> To:<br>> "Arun Sl" <arun.sl@tcs.com><br>> Date:<br>> 11/28/2013 02:58 PM<br>> Subject:<br>> Re: [waffle] Compiling waffle against latest Android source tree<br>><br>><br>><br>> Hi Arun,<br>><br>> GL_EXT_timer_query is GL extension. You could try if glretracer works for<br>> you on the desktop for profiling, the code that will be executed is anyhow<br>> the same inside Mesa. I don't know how other's use this in Apitrace but<br>> you could ask on the Apitrace list, I am actually now also interested to<br>> know. :)<br>><br>> Of course you have to remember the numbers you get from profiling on<br>> desktop are not comparable to numbers you get from your embedded device<br>> unless you are working with Intel GenX graphics also on the embedded<br>> device. Different HW accelerators and different drivers even for the same<br>> accelerator behave very differently.<br>><br>> /Juha-Pekka<br>><br>><br>> On Thu, November 28, 2013 10:26 am, Arun Sl wrote:<br>>> Hello Juha,<br>>><br>>> I do not have a device with me to test right away, we are in process of<br>>> procuring.<br>>><br>>> I am not able to do gpu profiling for the traces taken on emulator on<br>>> emulator or on desktop.<br>>><br>>> My display hardware details are as follows:<br>>><br>>> *-display<br>>>              description: VGA compatible controller<br>>>              product: 2nd Generation Core Processor Family Integrated<br>>> Graphics Controller<br>>>              vendor: Intel Corporation<br>>>              physical id: 2<br>>>              bus info: pci@0000:00:02.0<br>>>              version: 09<br>>>              width: 64 bits<br>>>              clock: 33MHz<br>>>              capabilities: msi pm vga_controller bus_master cap_list rom<br>>>              configuration: driver=i915 latency=0<br>>>              resources: irq:42 memory:fe000000-fe3fffff<br>>> memory:d0000000-dfffffff ioport:f000(size=64)<br>>><br>>> My desktop version when run for gpu profiling, it gives the following<br>>> error (error is same when the binary is run for gpu profiling within<br>>> amdroid emulator):<br>>><br>>> ~$ eglretrace --pgpu app_process.trace<br>>> libEGL warning: failed to create a pipe screen for i965<br>>> # call no gpu_start gpu_dura cpu_start cpu_dura vsize_start vsize_dura<br>>> rss_start rss_dura pixels program name<br>>> Error: Cannot run profile, GL_EXT_timer_query extension is not<br>> supported.<br>>><br>>> I guess this means that the Mesa libraries for libEGL does not have the<br>>> GL_EXT_timer_query extention implemented. And since the same library is<br>>> used in emulator also (as we are making use of host gpu capabilities on<br>>> emulator) there also this fails. So to profile I will have to have a<br>> real<br>>> device. Is there any update you may know which will help get gpu<br>> profiling<br>>> info on desktop?<br>>><br>>> PS: if I run native openGL applications (I guess they make use of libGL<br>>> library), the GPU profiling works on desktop.<br>>><br>>> Thanks & Regards<br>>> Arun S L</font></tt></blockquote></div></font><div></div></font><p>=====-----=====-----=====<br>
Notice: The information contained in this e-mail<br>
message and/or attachments to it may contain <br>
confidential or privileged information. If you are <br>
not the intended recipient, any dissemination, use, <br>
review, distribution, printing or copying of the <br>
information contained in this e-mail message <br>
and/or attachments to it are strictly prohibited. If <br>
you have received this communication in error, <br>
please notify us by reply e-mail or telephone and <br>
immediately and permanently delete the message <br>
and any attachments. Thank you</p>

<p></p>