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

Gwenole Beauchesne gbeauchesne at splitted-desktop.com
Tue Jul 21 01:02:46 PDT 2009


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.

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.

Regards,
Gwenole.


More information about the Libva mailing list