Summary: | [HSW regression] Upgrading from kernel 3.13.x to 3.14.x causes FPS drops during video playback in XBMC | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | DRI | Reporter: | bugzilla1 | ||||||||||||||
Component: | DRM/Intel | Assignee: | Ville Syrjala <ville.syrjala> | ||||||||||||||
Status: | CLOSED FIXED | QA Contact: | Intel GFX Bugs mailing list <intel-gfx-bugs> | ||||||||||||||
Severity: | critical | ||||||||||||||||
Priority: | medium | CC: | intel-gfx-bugs | ||||||||||||||
Version: | XOrg git | ||||||||||||||||
Hardware: | x86-64 (AMD64) | ||||||||||||||||
OS: | Linux (All) | ||||||||||||||||
Whiteboard: | |||||||||||||||||
i915 platform: | i915 features: | ||||||||||||||||
Attachments: |
|
Created attachment 95056 [details]
dpkg -l |grep mesa
dpkg -l |grep mesa
Created attachment 95057 [details]
Xorg.0.log
Xorg.0.log
(In reply to comment #0) > Created attachment 95055 [details] > dmesg > > XBMC is an OpenGL application which can use VAAPI to decode videos. > > Since upgrading to a kernel of the 3.14.x-family (from 3.14-rc1), I > experience significant FPS drops in video playback. > > Reverting back to a kernel of the 3.13.x-family resolves that issue. > Watching videos under 3.14.x is therefore at the moment impossible. > > Turning VSync off or on doesn't solve the problem. > > Required information: > Chipset: HSW > uname -m: x86_64 > uname -r: 3.14.0-031400rc5-generic > Distribution: Ubuntu 13.10 > Machine or mobo model: Fujitsu ESPRIMO Q920 > Display connector: DisplayPort (conncted to the TV via a HDMI adapter) > > Please find attached: > dmesg Exact model is: Core i5-4570T Created attachment 95058 [details]
dmesg (drm.debug=0xe)
dmesg output with drm.debug=0xe
This smells funny. I bisection to the offending commit would be awesome, see e.g. https://wiki.ubuntu.com/Kernel/KernelBisection (In reply to comment #5) > This smells funny. I bisection to the offending commit would be awesome, see > e.g. > > https://wiki.ubuntu.com/Kernel/KernelBisection Done. :-) Bisecting: 0 revisions left to test after this (roughly 0 steps) [8072bfa6045a264d3913102a35fab125b06603a2] drm/radeon: Move the early vblank IRQ fixup to radeon_get_crtc_scanoutpos() Also commit 095163bad59bfeed294a81e0d873fa8943e4fa01 maybe causing it... Created attachment 95108 [details]
git bisect log
git bisect log
Ville scored one! I pushed something here: git://gitorious.org/vsyrjala/linux.git atomic_plane_14 It's not the final patch since there are still some unanswered questions on how the hardware actually behaves. I can't be really sure it will fix the problem, but it should fix _a_ problem. In any case, please give it a try and report back if it helps, or if I'm barking up the wrong tree with this. (In reply to comment #10) > I pushed something here: > git://gitorious.org/vsyrjala/linux.git atomic_plane_14 > > It's not the final patch since there are still some unanswered questions on > how the hardware actually behaves. I can't be really sure it will fix the > problem, but it should fix _a_ problem. In any case, please give it a try > and report back if it helps, or if I'm barking up the wrong tree with this. FPS drops are gone for me. Created attachment 95234 [details] [review] [PATCH] drm/i915: Add a workaround for HSW scanline counter weirdness This patch should fix it for 3.14. I also pushed this on top of the latest drm-intel-fixes tree to: git://gitorious.org/vsyrjala/linux.git hsw_vblank (In reply to comment #12) > Created attachment 95234 [details] [review] [review] > [PATCH] drm/i915: Add a workaround for HSW scanline counter weirdness Reporter, please try the final patch so we can add a Tested-by on it. Thanks. Thank you very much. Works fine. :-) Fix pushed, thanks for the report. commit fcb818231f81e22b2c3a76d7ef416237fa0c7609 Author: Ville Syrjälä <ville.syrjala@linux.intel.com> Date: Tue Mar 11 12:58:45 2014 +0200 drm/i915: Add a workaround for HSW scanline counter weirdness |
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.
Created attachment 95055 [details] dmesg XBMC is an OpenGL application which can use VAAPI to decode videos. Since upgrading to a kernel of the 3.14.x-family (from 3.14-rc1), I experience significant FPS drops in video playback. Reverting back to a kernel of the 3.13.x-family resolves that issue. Watching videos under 3.14.x is therefore at the moment impossible. Turning VSync off or on doesn't solve the problem. Required information: Chipset: HSW uname -m: x86_64 uname -r: 3.14.0-031400rc5-generic Distribution: Ubuntu 13.10 Machine or mobo model: Fujitsu ESPRIMO Q920 Display connector: DisplayPort (conncted to the TV via a HDMI adapter) Please find attached: dmesg