[MPlayer-users] Mplayer XvMC failure with Unichrome

Lincoln Stein lstein at cshl.edu
Tue Jun 8 02:28:48 CEST 2004


Hi Everyone,

I was hoping to use the CLE266 mpeg-2 decoder on the VIA M10000 board 
running off Linux, but so far no success.  I don't know whether this is an 
mplayer or a Unichrome issue, so I'm cross-posting.

I successfully compiled and installed the Unichrome project's release-19 
modification of XFree86, as well as libviaXvMC.  Launching X gives:

	(II) VIA(0): [XvMC] Initialized XvMC extension.

so I believe the XvMC extension is running.

I compiled mplayer from CVS source as of 7 June 2004, and tried to play 
a DVD using the following command:

	mplayer -vo xvmc -vc ffmpeg12mc -v -v -v dvd://

It eventually dies with the error: 
	Only buffers allocated by vo_xvmc allowed
	mplayer: vd_ffmpeg.c:934: mc_get_buffer: Assertion `0' failed.

Here is the output of mplayer -v

(~) 58% mplayer -v
MPlayer dev-CVS-040607-17:41-3.2.3 (C) 2000-2004 MPlayer Team

CPU: IDT/Centaur/VIA C3 Nehemiah (Family: 6, Stepping: 5)
Detected cache-line size is 32 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE

And here is the full trace from video output initialization:

vd_ffmpeg: XVMC accelerated MPEG2
trying pixfmt=0
[ffmpeg] aspect_ratio: 1.333333
VDec: vo config request - 720 x 480 (preferred csp: MPEG1/2 Motion Compensation and IDCT)
Trying filter chain: vo
vo_xvmc: query_format=1DC70082
vo_xvmc: Querying 5 adaptors
vo_xvmc: Quering adaptor #0
vo_xvmc: probing port #56
vo_xvmc: XvMC list have 2 surfaces
vo_xvmc: Quering adaptor #1
vo_xvmc: probing port #57
vo_xvmc: No XvMC supported. 
vo_xvmc: Quering adaptor #2
vo_xvmc: probing port #58
vo_xvmc: No XvMC supported. 
vo_xvmc: Quering adaptor #3
vo_xvmc: probing port #59
vo_xvmc: No XvMC supported. 
vo_xvmc: Quering adaptor #4
vo_xvmc: probing port #60
vo_xvmc: No XvMC supported. 
vo_debug: query(MPEG1/2 Motion Compensation and IDCT) returned 0x0 (i=0) 
vo_xvmc: query_format=1DC70002
vo_xvmc: Querying 5 adaptors
vo_xvmc: Quering adaptor #0
vo_xvmc: probing port #56
vo_xvmc: XvMC list have 2 surfaces
vo_xvmc: Quering adaptor #1
vo_xvmc: probing port #57
vo_xvmc: No XvMC supported. 
vo_xvmc: Quering adaptor #2
vo_xvmc: probing port #58
vo_xvmc: No XvMC supported. 
vo_xvmc: Quering adaptor #3
vo_xvmc: probing port #59
vo_xvmc: No XvMC supported. 
vo_xvmc: Quering adaptor #4
vo_xvmc: probing port #60
vo_xvmc: No XvMC supported. 
vo_debug: query(MPEG1/2 Motion Compensation) returned 0x0 (i=1) 
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
Trying filter chain: scale vo
vo_debug: query(MPEG1/2 Motion Compensation and IDCT) returned 0x0 (i=0) 
vo_debug: query(MPEG1/2 Motion Compensation) returned 0x0 (i=1) 
vo_xvmc: query_format=4D504553
The selected video_out device is incompatible with this codec.
trying pixfmt=1
vd_ffmpeg::mc_get_buffer
*** [vo] Allocating (slices) mp_image_t, 720x480x0bpp RGB packed, 0 bytes
(imgfmt: 1dc70082, planes: 8632540,0,0 strides: 0,0,0, chroma: 0x0, shift: h:0,v:0)
Only buffers allocated by vo_xvmc allowed
mplayer: vd_ffmpeg.c:934: mc_get_buffer: Assertion `0' failed.

Any help would be greatly appreciated.  I can do software decoding on the M10000,
but I really want to play DVDs on the fanless M6000, and that just doesn't work.

Lincoln

-- 
Lincoln D. Stein
Cold Spring Harbor Laboratory
1 Bungtown Road
Cold Spring Harbor, NY 11724




More information about the MPlayer-users mailing list