[MPlayer-users] XvBadPort when attempting to play 2 videos using -vo xvmc

D Richard Felker III dalias at aerifal.cx
Mon Dec 15 02:28:54 CET 2003


On Sun, Dec 14, 2003 at 04:38:58PM -0800, dave giffin wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> Today, I tried using -vo xvmc instead of xv. This
> really does seem to cut in half the number of CPU
> cycles that mplayer uses.
> 
> I've found that xvmc:xv:queue seems to work best for
> me.
> Using 'queue' seems to lower CPU cycles to 50% of
> normal. Without, its like 60-70% of normal.
> I put in 'xv' b/c I think it uses the normal 'xv'
> video output, instead of 'sdl'. 
> 
> But, regardless, when I start one mplayer instance
> using -vo xvmc, I can't start another using -vo xvmc.
> When I try, mplayer crashes and gives me the message:
> vo_xvmc: Could not find free matching surface. Sorry.
> X11 error: XvBadPort
> 
> 
> Is there a workaround I can use so that I can play
> several videos at the same time using 'xvmc'?

No, afaik the driver only provides one "port". I'm not sure whether
there's a limitation in the hardware as well, but what on earth are
you doing where you need super-low cpu usage and multiple mplayer
instances??

Rich



More information about the MPlayer-users mailing list