Bug 22103 - [945GM XvMC/MC] mplayer cannot play with -vo xvmc after xvmc-vld merged
Summary: [945GM XvMC/MC] mplayer cannot play with -vo xvmc after xvmc-vld merged
Status: VERIFIED NOTABUG
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: high major
Assignee: Zou Nan hai
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2009-06-05 00:35 UTC by Yifei Chen
Modified: 2009-07-12 19:01 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
screenshot of mplayer (866.06 KB, image/png)
2009-06-05 00:36 UTC, Yifei Chen
no flags Details

Description Yifei Chen 2009-06-05 00:35:25 UTC
mplayer cannot play video files with 40 Mbps and 80 Mbps bit rate, but can play DVD quality files but with messed screen, see attachment for screenshot.

tested on:
Libdrm:         (master)2cb4c64d7310904b354365c2cbc263211e9eb4a1
Mesa:           (master)9f6ec50f8c79283583eeebdebd16bf7dcd134816
Xserver:           (master)b6c16fc7dad5a4ffcaaab647c0e3fabed372efd5
Xf86_video_intel:               (master)66ceedc0cc123e5c9f85f708b2e56d943f00e4b9
Comment 1 Yifei Chen 2009-06-05 00:36:18 UTC
Created attachment 26453 [details]
screenshot of mplayer
Comment 2 Zou Nan hai 2009-06-22 20:35:34 UTC
fixed in master
Comment 3 Yifei Chen 2009-06-24 19:05:46 UTC
It's not been fixed completely, In our test machine, mplayer can play DVD quality(720x576) videos now, but still could not play videos with higher quality(like 720p or 1080p). The output of mplayer is:

[root@x-945gm HDTV]# mplayer -vo xvmc -vc ffmpeg12mc abc.mpg
MPlayer 1.0rc2-4.3.0 (C) 2000-2007 MPlayer Team
CPU: Genuine Intel(R) CPU           T1300  @ 1.66GHz (Family: 6, Model: 14, Stepping: 8)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

Playing abc.mpg.
TS file format detected.
VIDEO MPEG2(pid=33) AUDIO MPA(pid=36) NO SUBS (yet)!  PROGRAM N. 2
VIDEO:  MPEG2  1280x720  (aspect 3)  59.940 fps  45000.0 kbps (5625.0 kbyte/s)
vo_xvmc: X-Video extension 2.2
vo_xvmc: X-Video MotionCompensation Extension version 1.1
==========================================================================
Forced video codec: ffmpeg12mc
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
[VD_FFMPEG] XVMC accelerated codec.
Selected video codec: [ffmpeg12mc] vfm: ffmpeg (FFmpeg MPEG-1/2 (XvMC))
==========================================================================
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
[VD_FFMPEG] XVMC-accelerated MPEG-2.
[VD_FFMPEG] Trying pixfmt=0.
VDec: vo config request - 1280 x 720 (preferred colorspace: MPEG1/2 Motion Compensation and IDCT)
VDec: using MPEG1/2 Motion Compensation as output csp (no 2)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [xvmc] 1280x720 => 1280x720 MPEG1/2 Motion Compensation 
vo_xvmc: Could not find free matching surface. Sorry.
FATAL: Cannot initialize video driver.
[VD_FFMPEG] Trying pixfmt=1.
VDec: vo config request - 1280 x 720 (preferred colorspace: MPEG1/2 Motion Compensation)
VDec: using MPEG1/2 Motion Compensation as output csp (no 2)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [xvmc] 1280x720 => 1280x720 MPEG1/2 Motion Compensation 
vo_xvmc: Could not find free matching surface. Sorry.
FATAL: Cannot initialize video driver.
VDec: vo config request - 1280 x 720 (preferred colorspace: MPEG1/2 Motion Compensation and IDCT)
VDec: using MPEG1/2 Motion Compensation as output csp (no 2)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [xvmc] 1280x720 => 1280x720 MPEG1/2 Motion Compensation 
vo_xvmc: Could not find free matching surface. Sorry.
FATAL: Cannot initialize video driver.
[VD_FFMPEG] Unexpected init_vo error.
Comment 4 Zou Nan hai 2009-06-24 19:08:53 UTC
XvMC play is limited to DVD quality since it is first implemented on i915.
It is not a regression. 


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.