[mythtv-users] XvMC and the OSD

Jeremy McDermond mcdermj at xenotropic.com
Sun Feb 26 11:48:50 UTC 2006


I hope this isn't information that's already out there, because I  
just spent a few hours pounding my head against the wall and sorting  
through the mplayer and mythtv code after looking for enlightenment  
on google, the wiki, and gmane.

The Greyscale OSD in XvMC hack on the Wiki (http://www.mythtv.org/ 
wiki/index.php/XvMC) also fixes a problem where the X server will  
simply refuse to use XvMC.  This is with an NVidia FX5200 on both the  
7676 and 8178 NVidia drivers.  I'm using mythtv SVN revision 9154.   
Here are the errors that pop out of mythfrontend:

2006-02-26 03:24:44.878 XvMCOSD::CreateBuffer() failed on  
XvShmCreateImage
2006-02-26 03:24:44.931
XError type: 0
     display: 0x840a848
   serial no: 35
    err code: (BadMatch (invalid parameter attributes))
    req code: ?
minor code:
resource id: 281
2006-02-26 03:24:44.931
XError type: 0
     display: 0x840a848
   serial no: 35
    err code: (BadMatch (invalid parameter attributes))
    req code: ?
minor code:
resource id: 281
2006-02-26 03:24:44.932 VideoOutputXv Error: Failed to create XvMC  
Buffers.

Note that mplayer also has issues when it calls XvShmCreateImage, but  
I haven't explored how to fix it yet.  I hope this may help someone  
who encounters the same problem.

--
Jeremy McDermond
Xenotropic Systems
mcdermj at xenotropic.com


More information about the mythtv-users mailing list