Summary: | [SNB] vaapi playback causes drm stuck on render ring w/RC6 enabled | ||
---|---|---|---|
Product: | libva | Reporter: | Joe Konno <joe.konno> |
Component: | intel | Assignee: | ykzhao <yakui.zhao> |
Status: | RESOLVED INVALID | QA Contact: | Sean V Kelley <seanvk> |
Severity: | critical | ||
Priority: | medium | CC: | gb.devel, haihao.xiang, intel-gfx-bugs, rodrigo.vivi, wayland-bugs |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Joe Konno
2013-09-23 21:43:35 UTC
This is the last known good stack that works for me on sandybridge: wayland (HEAD) 1.2.91-0-g4125367 drm (HEAD) libdrm-2.4.46-0-gc6d73cf mesa (9.2) heads/9.2-0-gab93225 libva (HEAD) libva-1.1.1-0-g8cf7d80 intel-driver (HEAD) 1.0.20-0-g4ae55f8 weston (HEAD) 1.2.91-0-g7799385 gstreamer (HEAD) 1.0.9-0-gf3c4f74 gst-plugins-base (HEAD) 1.0.9-0-gffc5262 gst-plugins-good (HEAD) 1.0.9-0-gff2598f gst-plugins-bad (HEAD) 1.0.9-0-g7ba6694 gst-ffmpeg (HEAD) 1.0.9-0-gd1c488b gstreamer-vaapi (HEAD) tags/0.5.3-0-gaf9202b (In reply to comment #0) > <snip> > > wayland (HEAD) 1.2.91-0-g4125367 > mesa (HEAD) mesa-9.2-0-g46273ba > cairo (HEAD) 1.12.16-0-g8e11a42 > weston (HEAD) 1.2.91-0-g7799385 > libva (HEAD) libva-1.2.1-0-g88ed1eb > intel-driver (HEAD) 1.2.1-0-g8f306e3 > gstreamer (HEAD) 1.0.9-0-gf3c4f74 > gst-plugins-base (HEAD) 1.0.9-0-gffc5262 > gst-plugins-good (HEAD) 1.0.9-0-gff2598f > gst-plugins-bad (HEAD) 1.0.9-0-g7ba6694 > gst-ffmpeg (HEAD) 1.0.9-0-gd1c488b > gstreamer (HEAD) 1.0.9-0-gf3c4f74 > gst-plugins-base (HEAD) 1.0.9-0-gffc5262 > gst-plugins-good (HEAD) 1.0.9-0-gff2598f > gst-plugins-bad (HEAD) 1.0.9-0-g7ba6694 > gst-ffmpeg (HEAD) 1.0.9-0-gd1c488b > gstreamer-vaapi (HEAD) tags/0.5.6-0-g0687224 > > #Related Bugs > > Perhaps bug #69330 ? Ok, so I rolled back gstreamer-vaapi to 0.5.3 and kept all else equal (in your above stack) and the problem went away for me. So this bug needs to be filed in gstreamer-vaapi's database Result of bisect. Troubles begin here: commit 976d27841a19cf37e2742cae5770c8a7555f72db Author: Sreerenj Balachandran <sreerenj.balachandran@intel.com> Date: Fri Feb 15 18:50:26 2013 +0200 h264: add support for video cropping. If the encoded stream has the frame_cropping_flag set, then associate the cropping rectangle to GstVaapiPicture. Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com> As of the aforementioned commit, the gst-vaapi application crashes and burns with (thanks uartie for this), but that is not the issue reported in this bug. So, that means a successful bisect is impeded by the introduction of, at least, one more regression. 0:00:01.070853827 6822 0x117cb20 DEBUG vaapisink gstvaapisink.c:968:gst_vaapisink_put_surface: could not render VA surface Will need to partner up in order to continue root-causing. I don't have sufficient time to test every commit since 976d278. Hi, this looks totally independent from gst-vaapi. I could not reproduce it on SNB (32-bit though), with an older kernel 3.8.0-31. The fact that this could be workarounded by disabling RC6 tends to confirm that. Note: since that aforementioned change, we also use a video processing pipeline. Needs to be checked internally. Kernel & libva driver may need changs. Here was an i915 kernel driver commit that was brought to my attention: http://cgit.freedesktop.org/~danvet/drm-intel/commit/?h=drm-intel-next&id=351aa5666d02062b52329bcfe4bcf9d1f882fba9 I'll see if this has any impact. This uncovers an additional work-around. If the stated patch is cherry-picked atop a vanilla v3.11.1 kernel, the reported issue is no longer seen with gst-vaapi 0.5.6. (In reply to comment #5) > Here was an i915 kernel driver commit that was brought to my attention: > > http://cgit.freedesktop.org/~danvet/drm-intel/commit/?h=drm-intel- > next&id=351aa5666d02062b52329bcfe4bcf9d1f882fba9 > > I'll see if this has any impact. Any updates? Should this be assigned to the DRI DRM/Intel team since it appears to be a drm kernel driver bug? According to comment #7, change component to DRM/intel. Considering the numerous reports of SNB libva gpu hangs, and the numerous known bugs in libva, it is in all likely a libva bug. Please do due diligence first. Hi, Artie Is the issue still reproduced by using the latest intel-driver? If the issue can be reproduced, is it helpful to disable the PPGTT? (It can be disabled by adding the kernel option of "i915.enable_ppgtt=0"). Thanks. Since there is no update, this bug will be closed. If the issue still exists and can be reproduced, please reopen it or file one new bug. Of course it will be better that the mentioned boot option of "i915.enable_ppgtt=0" can be tried. Thanks. |
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.