<font size=2 face="sans-serif">Hello All,</font>
<br>
<br><font size=2 face="sans-serif">Can anyone in this list help me with
the issues described in the mails below?</font>
<br><font size=2 face="sans-serif"><br>
Thanks & Regards<br>
Arun S L</font>
<br>
<br>
<br>
<table width=100% style="border-collapse:collapse;">
<tr valign=top height=8>
<td width=96 style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><font size=1 color=#5f5f5f face="sans-serif">From:</font>
<td style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><font size=1 face="sans-serif">Juha-Pekka
Heikkilä <juha-pekka.heikkila@linux.intel.com></font>
<tr valign=top height=8>
<td width=96 style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><font size=1 color=#5f5f5f face="sans-serif">To:</font>
<td style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><font size=1 face="sans-serif">"Arun
Sl" <arun.sl@tcs.com></font>
<tr valign=top height=8>
<td width=96 style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><font size=1 color=#5f5f5f face="sans-serif">Date:</font>
<td style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><font size=1 face="sans-serif">11/28/2013
05:21 PM</font>
<tr valign=top height=8>
<td width=96 style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><font size=1 color=#5f5f5f face="sans-serif">Subject:</font>
<td style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><font size=1 face="sans-serif">Re:
[apitrace] Regarding egl retrace</font></table>
<br>
<hr noshade>
<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>
<br><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>