Summary: | [BDW] Missing VBlank interuptions on some pipes making some kms tests and subcases fail | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | DRI | Reporter: | Guo Jinxian <jinxianx.guo> | ||||||
Component: | DRM/Intel | Assignee: | Intel GFX Bugs mailing list <intel-gfx-bugs> | ||||||
Status: | CLOSED FIXED | QA Contact: | Intel GFX Bugs mailing list <intel-gfx-bugs> | ||||||
Severity: | critical | ||||||||
Priority: | high | CC: | intel-gfx-bugs, przanoni | ||||||
Version: | unspecified | Keywords: | bisect_pending | ||||||
Hardware: | Other | ||||||||
OS: | All | ||||||||
Whiteboard: | |||||||||
i915 platform: | i915 features: | ||||||||
Attachments: |
|
Description
Guo Jinxian
2014-09-09 02:31:42 UTC
This failure is able to reproduce while running tests below igt/kms_cursor_crc/cursor-128-offscreen igt/kms_cursor_crc/cursor-128-onscreen igt/kms_cursor_crc/cursor-128-random igt/kms_cursor_crc/cursor-128-sliding igt/kms_cursor_crc/cursor-256-offscreen igt/kms_cursor_crc/cursor-256-onscreen igt/kms_cursor_crc/cursor-256-random igt/kms_cursor_crc/cursor-256-sliding igt/kms_cursor_crc/cursor-64-offscreen igt/kms_cursor_crc/cursor-64-onscreen igt/kms_cursor_crc/cursor-64-random igt/kms_cursor_crc/cursor-64-sliding igt/kms_cursor_crc/cursor-size-change root@x-bdw05:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./kms_cursor_crc --run-subtest cursor-128-offscreenIGT-Version: 1.8-g137877f (x86_64) (Linux: 3.17.0-rc5_drm-intel-nightly_ab7f1a_20140917+ x86_64) Beginning cursor-128-offscreen on pipe A, connector eDP-1 .................................................... cursor-128-offscreen on pipe A, connector eDP-1: PASSED Test assertion failure function igt_wait_for_vblank, file igt_kms.c:1707: Failed assertion: drmWaitVBlank(drm_fd, &wait_vbl) == 0 Last errno: 16, Device or resource busy Subtest cursor-128-offscreen: FAIL (12.173s) It impacts about 40 cases. igt/kms_cursor_crc/cursor-128x128-offscreen igt/kms_cursor_crc/cursor-128x128-onscreen igt/kms_cursor_crc/cursor-128x128-random igt/kms_cursor_crc/cursor-128x128-sliding gt/kms_cursor_crc/cursor-256x256-offscreen igt/kms_cursor_crc/cursor-256x256-onscreen igt/kms_cursor_crc/cursor-256x256-random igt/kms_cursor_crc/cursor-256x256-sliding igt/kms_cursor_crc/cursor-64x64-offscreen igt/kms_cursor_crc/cursor-64x64-onscreen igt/kms_cursor_crc/cursor-64x64-random igt/kms_cursor_crc/cursor-64x64-sliding igt/kms_cursor_crc/cursor-size-change igt/kms_cursor_crc/cursor-128x42-offscreen igt/kms_cursor_crc/cursor-128x42-onscreen igt/kms_cursor_crc/cursor-128x42-random igt/kms_cursor_crc/cursor-128x42-sliding igt/kms_cursor_crc/cursor-256x85-offscreen igt/kms_cursor_crc/cursor-256x85-onscreen igt/kms_cursor_crc/cursor-256x85-random igt/kms_cursor_crc/cursor-256x85-sliding igt/kms_cursor_crc/cursor-64x21-offscreen igt/kms_cursor_crc/cursor-64x21-onscreen igt/kms_cursor_crc/cursor-64x21-random igt/kms_cursor_crc/cursor-64x21-sliding igt/kms_plane/plane-panning-bottom-right-pipe-B-plane-1 igt/kms_plane/plane-panning-bottom-right-pipe-B-plane-2 igt/kms_plane/plane-panning-bottom-right-pipe-C-plane-1 igt/kms_plane/plane-panning-bottom-right-pipe-C-plane-2 igt/kms_plane/plane-panning-top-left-pipe-B-plane-1 igt/kms_plane/plane-panning-top-left-pipe-B-plane-2 igt/kms_plane/plane-panning-top-left-pipe-C-plane-1 igt/kms_plane/plane-panning-top-left-pipe-C-plane-2 igt/kms_plane/plane-position-covered-pipe-B-plane-1 igt/kms_plane/plane-position-covered-pipe-B-plane-2 igt/kms_plane/plane-position-covered-pipe-C-plane-1 igt/kms_plane/plane-position-covered-pipe-C-plane-2 igt/kms_plane/plane-position-hole-pipe-B-plane-1 igt/kms_plane/plane-position-hole-pipe-B-plane-2 igt/kms_plane/plane-position-hole-pipe-C-plane-1 igt/kms_plane/plane-position-hole-pipe-C-plane-2 Hi Guo, Could you please revert this patch to validate the bisect? I don't believe this bisect result is valid and tested here and still face the issue with the revert. So if you face the same could you please bisect a little further to find the proper ofending commit? (In reply to comment #4) > Hi Guo, > > Could you please revert this patch to validate the bisect? > > I don't believe this bisect result is valid and tested here and still face > the issue with the revert. > > So if you face the same could you please bisect a little further to find the > proper ofending commit? Yes, The bisect result is invalid. I tried on both kernel and igt, and doesn't find good commit. I tried rollback igt to commit(c12f292b1d8bbc61b65f1dfc3fd4a9e1e286dbee), and found the failure is same as bug 81377. This bug should be duplicated with bug 81377. root@x-bdw05:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./kms_plane --run-subtest plane-position-covered-pipe-C-plane-1 IGT-Version: 1.7-gc12f292 (x86_64) (Linux: 3.17.0-rc6_drm-intel-nightly_7101d8_20140928+ x86_64) Testing connector eDP-1 using pipe C plane 1 Test assertion failure function igt_wait_for_vblank, file igt_kms.c:1589: Failed assertion: drmWaitVBlank(drm_fd, &wait_vbl) == 0 Last errno: 16, Device or resource busy Subtest plane-position-covered-pipe-C-plane-1: FAIL VBlank interruption aren't coming on Pipe C on BDW. This is making many different kms test cases to fail. Created attachment 107489 [details] [review] Possible fix Hi Can you please test this patch? It fixes some problems I can reproduce. Thanks, Paulo This patch fix the issues I was facing. (In reply to Paulo Zanoni from comment #7) > Created attachment 107489 [details] [review] [review] > Possible fix > > Hi > > Can you please test this patch? It fixes some problems I can reproduce. > > Thanks, > Paulo The failure unable to reproduce with this patch. root@x-bdw05:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./kms_plane --run-subtest plane-position-covered-pipe-C-plane-1 IGT-Version: 1.8-g6a8d33c (x86_64) (Linux: 3.17.0-rc5_kcloud_89363e_20141008+ x86_64) Test requirement not met in function drm_open_any_master, file drmtest.c:341: Test requirement: drmSetMaster(fd) == 0 Can't become DRM master, please check if no other DRM client is running. Last errno: 22, Invalid argument Subtest plane-position-covered-pipe-C-plane-1: SKIP root@x-bdw05:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./kms_plane --run-subtest plane-panning-bottom-right-pipe-B-plane-1 IGT-Version: 1.8-g6a8d33c (x86_64) (Linux: 3.17.0-rc5_kcloud_89363e_20141008+ x86_64) Test requirement not met in function drm_open_any_master, file drmtest.c:341: Test requirement: drmSetMaster(fd) == 0 Can't become DRM master, please check if no other DRM client is running. Last errno: 22, Invalid argument Subtest plane-panning-bottom-right-pipe-B-plane-1: SKIP root@x-bdw05:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./kms_plane --run-subtest plane-position-hole-pipe-B-plane-1 IGT-Version: 1.8-g6a8d33c (x86_64) (Linux: 3.17.0-rc5_kcloud_89363e_20141008+ x86_64) Testing connector eDP-1 using pipe B plane 1 Subtest plane-position-hole-pipe-B-plane-1: SUCCESS (2.296s) (In reply to Guo Jinxian from comment #9) > (In reply to Paulo Zanoni from comment #7) > > Created attachment 107489 [details] [review] [review] [review] > > Possible fix > > > > Hi > > > > Can you please test this patch? It fixes some problems I can reproduce. > > > > Thanks, > > Paulo > > The failure unable to reproduce with this patch. > > root@x-bdw05:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./kms_plane > --run-subtest plane-position-covered-pipe-C-plane-1 > IGT-Version: 1.8-g6a8d33c (x86_64) (Linux: > 3.17.0-rc5_kcloud_89363e_20141008+ x86_64) > Test requirement not met in function drm_open_any_master, file drmtest.c:341: > Test requirement: drmSetMaster(fd) == 0 > Can't become DRM master, please check if no other DRM client is running. Please retest. This error message suggests you had another DRM master application running. > Last errno: 22, Invalid argument > Subtest plane-position-covered-pipe-C-plane-1: SKIP > root@x-bdw05:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./kms_plane > --run-subtest plane-panning-bottom-right-pipe-B-plane-1 > IGT-Version: 1.8-g6a8d33c (x86_64) (Linux: > 3.17.0-rc5_kcloud_89363e_20141008+ x86_64) > Test requirement not met in function drm_open_any_master, file drmtest.c:341: > Test requirement: drmSetMaster(fd) == 0 > Can't become DRM master, please check if no other DRM client is running. Same here. > Last errno: 22, Invalid argument > Subtest plane-panning-bottom-right-pipe-B-plane-1: SKIP > root@x-bdw05:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./kms_plane > --run-subtest plane-position-hole-pipe-B-plane-1 > IGT-Version: 1.8-g6a8d33c (x86_64) (Linux: > 3.17.0-rc5_kcloud_89363e_20141008+ x86_64) > Testing connector eDP-1 using pipe B plane 1 > Subtest plane-position-hole-pipe-B-plane-1: SUCCESS (2.296s) Fixed pushed to drm-intel-next-fixes as commit 1180e20606fd7c5d76dc5b2a1594fa51ba5a0f31 Author: Paulo Zanoni <paulo.r.zanoni@intel.com> Date: Tue Oct 7 18:02:52 2014 -0300 drm/i915: properly reenable gen8 pipe IRQs Please retest with nightly. Verified on latest -nightly(ea4bec8e96ea8b33b49a7892c1c7f20041a56da6) root@x-bdw05:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./kms_plane --run-subtest plane-position-covered-pipe-C-plane-1 IGT-Version: 1.8-gb7d80d1 (x86_64) (Linux: 3.17.0_drm-intel-nightly_ea4bec_20141010+ x86_64) Testing connector eDP-1 using pipe C plane 1 Subtest plane-position-covered-pipe-C-plane-1: SUCCESS (2.235s) Closing old verified+fixed. |
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.