[vlc] Re: vlc 0.8.1 doesn't do XV on VIA CLE266 boxes

Dermot McGahon dermot at dspsrv.com
Fri Nov 19 11:52:19 CET 2004


Copying the unichrome list on this.

Unichrome devs: at some point vlc xv output stopped working with
the unichrome driver on CLE266 h/w. I'm not at all sure if the
fault lies within the vlc xv code or whether it might be something
related to the unichrome driver.




On Thu, 18 Nov 2004 15:58:51 +0100, Bernhard Rosenkraenzer  
<bero at arklinux.org> wrote:

> On Thursday 18 November 2004 12:08, Bernhard Rosenkraenzer wrote:
>> vlc --intf dummy -vvv --vout xv video.avi
>> results in:
>> X Error of failed request:  BadMatch (invalid parameter attributes)
>>   Major opcode of failed request:  143 (XVideo)
>>   Minor opcode of failed request:  17 ()
>>   Serial number of failed request:  56
>>   Current serial number in output stream:  56
>
> Adding some debug info shows:
> The error is generated by the XvShmCreateImage() call in  
> CreateShmImage(). It
> seems to crash reproducably on the second frame being put into
> XvShmCreateImage().
>
> I don't know anything about Xv internals, but this might indicate a race
> condition somewhere (Can you write to the Xv buffer while it's still
> displaying a different image?).
>
> I've come up with a fairly evil patch that works around the problem  
> (attached)
> -- maybe this can give someone who knows Xv/Xlib a hint what's going on?
>
> LLaP
> bero


-- 
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html



More information about the vlc mailing list