Summary: -------------- The two MPEG2 files are twilight_zone_mei_MEI2.stream17 and twilight_zone_mei_MEI2.stream17.long, both of which are pieced together by two different frame W & H. It's a regression, since it passed in the nightly testing before Oct. Environment: -------------- libva(staging): 29f6de2e1cf1e08f85d6a3040478acd82cc458a8 intel_driver(staging): 1cee858036a87837deddc87586701ed869f96261 mplayer(hwaccel-vaapi): 1923fa10ed77bbf8408f2ce312d85a97dab1f0f3 Reproduce steps: -------------- mplayer -nosound -fps 30 -vo vaapi -va vaapi bitstreams/twilight_zone_mei_MEI2.stream17 Log info: -------------- Playing bitstreams/twilight_zone_mei_MEI2.stream17. libavformat version 55.7.100 (internal) MPEG-ES file format detected. VIDEO: MPEG2 704x480 (aspect 2) 30.000 fps 4000.0 kbps (500.0 kbyte/s) Load subtitles in bitstreams/ libva info: VA-API version 0.34.0 libva info: va_getDriverName() returns 0 libva info: Trying to open /opt/X11R7/lib/dri/i965_drv_video.so libva info: Found init function __vaDriverInit_0_34 libva info: va_openDriver() returns 0 ========================================================================== Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family libavcodec version 55.9.100 (internal) Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2) ========================================================================== Audio: no sound FPS forced to be 30.000 (ftime: 0.033). Starting playback... [VD_FFMPEG] Trying pixfmt=0. [VD_FFMPEG] XVMC-accelerated MPEG-2. Movie-Aspect is 1.33:1 - prescaling to correct movie aspect. VO: [vaapi] 704x480 => 704x528 MPEG-2 VA-API Acceleration [VD_FFMPEG] XVMC-accelerated MPEG-2. V: 0.1 4/ 4 ??% ??% ??,?% 0 0 [VD_FFMPEG] Trying pixfmt=0. [VD_FFMPEG] XVMC-accelerated MPEG-2. Movie-Aspect is 1.33:1 - prescaling to correct movie aspect. VO: [vaapi] 256x256 => 342x256 MPEG-2 VA-API Acceleration [VD_FFMPEG] XVMC-accelerated MPEG-2. mplayer: libvo/vo_vaapi.c:2523: get_surface: Assertion `!va_free_surfaces[va_free_surfaces_tail_index]' failed. MPlayer interrupted by signal 6 in module: decode_video - MPlayer crashed. This shouldn't happen.
Created attachment 87713 [details] The file was produced by mplayer Produced by executing the cmd "mplayer -nosound -fps 30 -vo vaapi -va vaapi twilight_zone_mei_MEI2.stream17.long 2>decoder.2 >decoder.1" the file twilight_zone_mei_MEI2.stream17.long has 122 frames and mplayer interrupted at the 60th frame
Could you help to bisect the code to find the culprit ?
I tried the following commits but it still reproduced the problem. libva(staging): c61d986851140a6d1e3f9a6d788bcb7a9407dffc intel-driver(staging): bd5d588c730e1e436b09805ffd039855ad3f6a52 these commits were applied before Sep.10 but the test results on nightly test page were passed, so we doubt whether this problem existed before or not and it may not a regression.
It can be played with gst0.10 && gst1.0
Created attachment 89451 [details] [review] the test patch for the mplayer crash issue during playing back the mentioned mpeg2 video The attached is the workaround patch for mplayer that is to fix the crash issue
After a lot of debugs it seems that this is the mplayer issue instead of the driver issue. The attached patch in comment #5 can workaround the crash issue. So this bug will be regarded as "NOTOURBUG" and marked as resolved.
Created attachment 89453 [details] [review] the test patch for the mplayer crash issue during playing back the mentioned mpeg2 video
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.