On Mon, 24 Sep 2001, Miguel Freitas wrote:

> Hi folks,
> 
> I'm trying to fix a problem playing mpegs under XFree86 with Xv extension, I'd 
>appreciate any hints to help me with this...
> 
> After using Xine player for some time he exits reporting BadAtom error from 
>XvShmPutImage (or XvPutImage):
> 
> X Error of failed request:  BadAtom (invalid Atom parameter)
>   Major opcode of failed request:  141 (XVideo)
>   Minor opcode of failed request:  19 ()
>   Atom id in failed request:  0x2a0000b
>   Serial number of failed request:  5227
>   Current serial number in output stream:  5227

   BadAtom isn't an option for XvShmPutImage according to the spec
and such an error wouldn't be coming from the DIX layer, though
the DDX (the hardware drivers themselves) could return such
an error.

   
> 
> The only way to get rid of that is restarting the X server. I'm currently running 
>4.1.0 but I had the same problems with 4.0.3. The driver is glint on a Permedia2 
>(firegl 1000 pro).
> 

   Looking at the glint driver, there is a bug where it doesn't
report allocation errors correctly.  It tries to return XvBadAlloc which
isn't correct unless you add the extension's error base to it.  
The driver should have just returned BadAlloc in that case but
instead it returns the error code for BadAtom.  Don't know
why that driver is failing but the BadAlloc error would imply it ran 
out of resources.  Maybe it has a memory leak. 


                                Mark.

_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to