Xserver doesn't support XvPutImage to Pixmap?

Matthew Fincham matthewf at cat.co.za
Tue Feb 16 04:17:35 PST 2010


On 16-02-10 11:29, Michel Dänzer wrote:
> On Tue, 2010-02-16 at 10:39 +0200, Matthew Fincham wrote:
>    
>> Currently I am using XvPutImage to display a video stream. The video
>> needs to be overlayed with various items (pixmaps, text, custom
>> drawing). As it stands there is a lot of flickering of the overlayed
>> items. When this is double-buffered (using standard pixmaps) the
>> flickering, obviously, goes away.
>>
>> I see that XVPutImage does not support writing to pixmaps, only to
>> windows (xf86XVEnlistPortInWindow seems to be the start of the
>> problem...). The system is running version 1.3.0. I have checked 1.7.1
>> and seen that it too doesn't support XVPutImage to pixmaps.
>>
>> I have a few questions:
>>
>>   - has any progress been made in supporting XVPutImage with pixmaps?
>>      
> Somewhat:
>
> http://bugs.freedesktop.org/show_bug.cgi?id=2114
Hi Michel

Thanks for the link. I have applied the patch (from Kusanagi Kouichi) 
but only managed to crash the X server when writing to a pixmap. I 
recompiled Xorg, the (Intel) drivers and the app using drawing the Xv image.

Afetr applying the patch should I expect to be able to write to pixmaps, 
or have I done something wrong (left out a recompile or something else)!

Many thanks.
Matthew



More information about the xorg mailing list