Summary: | [bisected] frames dropped during video replay due to "add hardware_planes_only to list of affected planes" | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | DRI | Reporter: | dwagner <jb5sgc1n.nya> | ||||||
Component: | DRM/AMDgpu | Assignee: | Default DRI bug account <dri-devel> | ||||||
Status: | RESOLVED FIXED | QA Contact: | |||||||
Severity: | normal | ||||||||
Priority: | medium | CC: | harry.wentland, jordan.lazare | ||||||
Version: | DRI git | ||||||||
Hardware: | x86-64 (AMD64) | ||||||||
OS: | Linux (All) | ||||||||
Whiteboard: | |||||||||
i915 platform: | i915 features: | ||||||||
Attachments: |
|
Description
dwagner
2017-10-22 23:22:48 UTC
Created attachment 135018 [details]
1-minute test video, smooth horizontal pan in 3840x2160 23.976 fps
For more convenient reproducability, I created and attached a one-minute sample video file, which just contains a smooth horizontal pan over big letters.
When I replay this file with the defect, about 7 frames are dropped, easily spottable as harsh temporary stops in the normally smooth scrolling.
I can reproduce this on R9 285 with a different setup. Made a 60fps 1920x1080 from the vid here, lengthened by repeating 4x + added time counter, removed audio. Monitor is 60Hz 1920x1080 DVI-D. CPU and GPU on perf. No TearFree, but same results if on (I don't need tearfree due to not using a compositing desktop). mpv vo=vdpau/opengl/vaapi = mostly 10 sec glitches some 20. kodi = every 5 seconds. mplayer = 30 seconds. With the commit reverted all are glitch free. Also notice that wayland/weston (composited full screen) doesn't have the issue. Created attachment 135062 [details] [review] check if modeset is required before adding plane I have tested the bisected patch: drm/amd/display: add hardware_planes_only to list of affected planes in ChromeOS on Stoney platform and did not find any regression during rendering or video p/b, also may be the reason why Andy Furniss did not see the issue on composited full screen. I have attached a patch in anticipation to the description of bug, please try it and let me know if it works. Patch is good for me, thanks. Yes, the patch fixes this issue for me, too. Thank! Cool, will get the patch reviewed and merged. |
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.