[Libva] Implementations supporting X pixmap in vaPutSurface()?

Yuan, Shengquan shengquan.yuan at gmail.com
Tue Jul 21 01:21:35 PDT 2009


On Tue, Jul 21, 2009 at 4:02 PM, Gwenole
Beauchesne<gbeauchesne at splitted-desktop.com> wrote:
> Hi,
>
> I would like to know if there is any native libva driver supporting an X
> pixmap to vaPutSurface().
>
> I tried my hwdecode-demos (e.g. ./vaapi_h264 --readback pixmap) but Intel
> GMA500 5.0.1.0046 is failing as follows on my Jaunty.
>
There is, but I am not sure how you can get it in a short time.  Intel
Moorestown platform video driver supports this feature, and there is
some effort in Intel to back-port Moorestown graphics and video driver
to Pousbo chipset, and I think there isn't external release so far.

> X Error of failed request:  BadValue (integer parameter out of range for operation)
>   Major opcode of failed request:  136 (XFree86-DRI)
>   Minor opcode of failed request:  9 ()
>   Value in failed request:  0x3000005
>   Serial number of failed request:  35
>   Current serial number in output stream:  35
>
> Breakpoint 2, 0xb7e1ccb6 in _XError () from /usr/lib/libX11.so.6
> (gdb) bt
> #0  0xb7e1ccb6 in _XError () from /usr/lib/libX11.so.6
> #1  0xb7e24d76 in _XReply () from /usr/lib/libX11.so.6
> #2  0xb8040ccf in VA_DRIGetDrawableInfo (dpy=0x961e008, screen=0, drawable=50331653, index=0x962f6b0, stamp=0x962f6ac, X=0x962f6bc,
>     Y=0x962f6c0, W=0x962f6c4, H=0x962f6c8, numClipRects=0x962f6d4, pClipRects=0xbfd71990, backX=0x962f6cc, backY=0x962f6d0,
>     numBackClipRects=0x962f6d8, pBackClipRects=0xbfd7198c) at va_dri.c:474
> #3  0xb7d7ca7d in ?? () from /usr/lib/va/drivers/psb_drv_video.so
> #4  0xb7d83205 in ?? () from /usr/lib/va/drivers/psb_drv_video.so
> #5  0xb7d78b1c in ?? () from /usr/lib/va/drivers/psb_drv_video.so
>
> The very same program works on NVIDIA platforms though.
I believe psb driver you are trying doesn't support it.

Austin
>
> Regards,
> Gwenole.
> _______________________________________________
> Libva mailing list
> Libva at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/libva
>


More information about the Libva mailing list