All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Zanussi <tom.zanussi@intel.com>
To: Autif Khan <autif.mlist@gmail.com>
Cc: yocto@yoctoproject.org
Subject: Re: Graphics Acceleration on crownbay - 1.2M3 + meta-intel tip
Date: Wed, 21 Mar 2012 16:59:54 -0500	[thread overview]
Message-ID: <1332367194.2322.231.camel@elmorro> (raw)
In-Reply-To: <CADzUK1JtSDOp=3U3R14o_roY4scPc+EqV9P54aTiD695u8Faww@mail.gmail.com>

On Wed, 2012-03-21 at 17:28 -0400, Autif Khan wrote:
> >> >> Minor correction to the subject - I am using 1.2M3, not 1.2M2
> >> >>
> >> >> On Wed, Mar 21, 2012 at 4:14 PM, Autif Khan <autif.mlist@gmail.com> wrote:
> >> >> > I am trying to get hardware accelerated graphics (video in particular)
> >> >> > to work on my crownbay based hardware. I have EMGD 1.10 driver
> >> >> > integrated and working. The evidence for this is that when I use
> >> >> > glxgears (form mesa-demos) I get 115 fps instead of 4-5 fps.
> >> >> >
> >> >> > This is good, however, when I go over to the web2 browser (enabled by
> >> >> > defining WEB = "web-webkit" for recipe task-core-apps-x11-pimlico) - I
> >> >> > do not get graphics acceleration for javascript graphics. I also do
> >> >> > not get graphics acceleration when I watch an MP4 movie. I get 2-3 fps
> >> >> > instead of the standard 25 or 29 fps.
> >> >> >
> >> >> > This was not the case when Yocto used EMGD 1.8 driver - video worked
> >> >> > fine - I am not sure about accelerated javascript based graphics in
> >> >> > browser as I was not as far ahead in the project.
> >> >> >
> >> >> > Is this a known issue?
> >> >> >
> >> >
> >> > When I tested video using gst-launch, I saw the same thing, which was
> >> > due to a missing libva-tpi.  The latest commit in meta-intel added that
> >> > and fixed the problem for me.
> >> >
> >> > commit 162f3d1d3c538d7582a5e81205a9cdab74125b2b
> >> > Author: Tom Zanussi <tom.zanussi@intel.com>
> >> > Date:   Mon Mar 12 19:57:29 2012 -0500
> >> >
> >> >    ia32-base: add libva display dependencies to emgd xserver
> >> >
> >>
> >> I did a build today with tip - I have confirmed that I have this in the source.
> >>
> >> What files should have been added to the root filesystem image as a
> >> reult of adding libva-tpi, libva-glx and libva-egl?
> >>
> >
> > You should see those shared libraries in /usr/lib
> 
> I think that I do:
> 
> root@crownbay:/usr/lib# ls -l *libva*
> lrwxrwxrwx    1 root     root            19 Mar 21 17:38
> libva-egl.so.1 -> libva-egl.so.1.0.12
> -rwxr-xr-x    1 root     root          3040 Mar 21 17:07 libva-egl.so.1.0.12
> lrwxrwxrwx    1 root     root            19 Mar 21 17:38
> libva-glx.so.1 -> libva-glx.so.1.0.12
> -rwxr-xr-x    1 root     root         14868 Mar 21 17:07 libva-glx.so.1.0.12
> lrwxrwxrwx    1 root     root            19 Mar 21 17:38
> libva-tpi.so.1 -> libva-tpi.so.1.0.12
> -rwxr-xr-x    1 root     root          3856 Mar 21 17:07 libva-tpi.so.1.0.12
> lrwxrwxrwx    1 root     root            19 Mar 21 17:38
> libva-x11.so.1 -> libva-x11.so.1.0.12
> -rwxr-xr-x    1 root     root         28476 Mar 21 17:07 libva-x11.so.1.0.12
> lrwxrwxrwx    1 root     root            15 Mar 21 17:38 libva.so.1 ->
> libva.so.1.0.12
> -rwxr-xr-x    1 root     root         68816 Mar 21 17:07 libva.so.1.0.12
> 
> The older image did not have egl, glx and tpi
> 
> However, when I execute gst-launch -v playbin2 uri=file:///media/hdd/BBB.ogv
> 
> I get a lot of "There may be a timestamping problem, or this computer
> is too slow." warnings.
> 
> Attached are the logs created by the above command.
> 
> Is there something else that needs to be done?

Hmm, looks like the acceleration isn't kicking in.  Is that a supported
format for emgd accelaration? - I've been testing with 1080p .h264
videos, http://www.bigbuckbunny.org/index.php/download/, maybe if you
could try that so we know we're on the same page.

Tom



  reply	other threads:[~2012-03-21 21:59 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-21 20:15 Graphics Acceleration on crownbay - 1.2M3 + meta-intel tip Autif Khan
2012-03-21 20:23 ` Tom Zanussi
2012-03-21 20:29   ` Autif Khan
2012-03-21 20:42     ` Tom Zanussi
2012-03-21 21:28       ` Autif Khan
2012-03-21 21:59         ` Tom Zanussi [this message]
2012-03-21 23:07           ` Autif Khan
2012-03-22 14:50             ` Tom Zanussi
2012-03-23  0:34               ` Autif Khan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1332367194.2322.231.camel@elmorro \
    --to=tom.zanussi@intel.com \
    --cc=autif.mlist@gmail.com \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.