← Back to team overview

tiomap-dev team mailing list archive

Re: [Bug 690821] Re: Calling eglInitialize() takes too long

 

On Thu, Apr 14, 2011 at 1:54 PM, Rogelio Garcia
<690821@xxxxxxxxxxxxxxxxxx> wrote:
> Hello all,
> I think this issue is finally fixed. Using Panda board 2.0 and DDK 1.7.5.0 (4403). The average time taken to call eglInitialize is 109.9 ms with maximum time of 115 ms. This measured using the provided eglinit app
>
> rogelio@rogelio-panda:~$ time ./eglinit
>
> real    0m0.106s
> user    0m0.008s
> sys     0m0.055s

Cool, good to know. Should be uploading a new SGX driver version
(probably based on this revision) until the end of this week.

-- 
You received this bug notification because you are a member of TI OMAP
Developers, which is subscribed to ubuntu-omap4-extras-graphics.
https://bugs.launchpad.net/bugs/690821

Title:
  Calling eglInitialize() takes too long

Status in Ubuntu OMAP4 graphics addons:
  New

Bug description:
  With the latest drivers on an SDP 4430 board calling eglInitialize
  takes extremely long. Running the example program (attached) on an
  completely idle system produces the following results:

  # time ./eglinit       
  real	0m5.797s
  user	0m0.008s
  sys	0m1.055s

  # time ./eglinit
  real	0m10.523s
  user	0m0.008s
  sys	0m1.047s

  # time ./eglinit
  real	0m30.459s
  user	0m0.008s
  sys	0m1.055s

  # time ./eglinit
  real	0m5.638s
  user	0m0.008s
  sys	0m1.055s

  # time ./eglinit
  real	0m10.088s
  user	0m0.008s
  sys	0m1.047s

  I have attached an strace capture of a sample run that shows that the
  delay is happening in an ioctl() around line 10000.

  The trace also shows that the driver wastes a lot of time trying out
  /dev/dri/* devices, but that is another subject :)



References