[Libva] vaGetImage blocking

Xiang, Haihao haihao.xiang at intel.com
Wed Jul 31 01:23:31 PDT 2013


On Tue, 2013-07-30 at 23:48 +0200, Ulrich von Zadow wrote: 
> On Jul 30, 2013, at 6:00 , Timo Rothenpieler <timo at rothenpieler.org> wrote:
> 
> >> Rendering directly to texture would require some refactoring in libavg which I'd like to postpone (it's not guaranteed to be supported either, right?).
> > 
> > No, as far as i know it will always work.
> > Internaly it uses the X api to get an X11 Drawable from the surface, and
> > then uses a GLX extension to convert that into a Texture.
> 
> 
> Thanks for all the help - really appreciated.
> 
> I've tried vaCopySurfaceGLX() as well. On NVidia, everything is perfect. On AMD, I can see the video, but there is a regular framerate spike of about 100 ms every 400 ms or so, and it seems I'm getting old frames in the same regular intervals as well - almost as if old buffers were being reused. Any ideas where this could be coming from?

Maybe an issue in your OpenGL driver. Years ago we had a similar issue
on Intel platform which was fixed in Mesa.

http://lists.freedesktop.org/archives/libva/2010-November/000376.html

Thanks
Haihao

> 
> --
> Any technology distinguishable from magic is insufficiently advanced.
> 
> Ulrich von Zadow | +49-172-7872715
> Jabber: coder at c-base.org
> Skype: uzadow
> 
> 
> 
> _______________________________________________
> Libva mailing list
> Libva at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/libva




More information about the Libva mailing list