Summary: | [ILK/PNV/IVB/HSW Regression]igt/kms_fbc_crc some subcases skip | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | DRI | Reporter: | Guo Jinxian <jinxianx.guo> | ||||||||||||
Component: | DRM/Intel | Assignee: | Daniel Vetter <daniel> | ||||||||||||
Status: | CLOSED DUPLICATE | QA Contact: | Intel GFX Bugs mailing list <intel-gfx-bugs> | ||||||||||||
Severity: | normal | ||||||||||||||
Priority: | highest | CC: | intel-gfx-bugs, wendy.wang, yi.sun | ||||||||||||
Version: | unspecified | ||||||||||||||
Hardware: | Other | ||||||||||||||
OS: | All | ||||||||||||||
Whiteboard: | |||||||||||||||
i915 platform: | i915 features: | ||||||||||||||
Attachments: |
|
Do the kms_pipe_crc_basic tests work reliably on this machine? Created attachment 101139 [details] dmesg (In reply to comment #1) > Do the kms_pipe_crc_basic tests work reliably on this machine? There is kms_pipe_crc_basic tests result below: [root@x-pk1 tests]# ./kms_pipe_crc_basic IGT-Version: 1.7-g8c1566e (x86_64) (Linux: 3.15.0-rc8_drm-intel-nightly_b438e8_20140616+ x86_64) Subtest bad-pipe: SUCCESS Subtest bad-source: SUCCESS Subtest bad-nb-words-1: SUCCESS Subtest bad-nb-words-3: SUCCESS read-crc-pipe-A: Testing connector VGA-1 using pipe A Test assertion failure function igt_output_commit, file igt_kms.c:886: Last errno: 13, Permission denied Failed assertion: ret == 0 Subtest read-crc-pipe-A: FAIL read-crc-pipe-A-frame-sequence: Testing connector VGA-1 using pipe A Test assertion failure function igt_output_commit, file igt_kms.c:886: Last errno: 13, Permission denied Failed assertion: ret == 0 Subtest read-crc-pipe-A-frame-sequence: FAIL rtcwake: wakeup from "mem" using /dev/rtc0 at Mon Jun 16 05:29:18 2014 suspend-read-crc-pipe-A: Testing connector VGA-1 using pipe A Test assertion failure function igt_output_commit, file igt_kms.c:886: Last errno: 13, Permission denied Failed assertion: ret == 0 Subtest suspend-read-crc-pipe-A: FAIL hang-read-crc-pipe-A: Testing connector VGA-1 using pipe A Test assertion failure function igt_output_commit, file igt_kms.c:886: Last errno: 13, Permission denied Failed assertion: ret == 0 Subtest hang-read-crc-pipe-A: FAIL read-crc-pipe-B: Testing connector VGA-1 using pipe B Test assertion failure function igt_output_commit, file igt_kms.c:886: Last errno: 13, Permission denied Failed assertion: ret == 0 Subtest read-crc-pipe-B: FAIL read-crc-pipe-B-frame-sequence: Testing connector VGA-1 using pipe B Test assertion failure function igt_output_commit, file igt_kms.c:886: Last errno: 13, Permission denied Failed assertion: ret == 0 Subtest read-crc-pipe-B-frame-sequence: FAIL rtcwake: wakeup from "mem" using /dev/rtc0 at Mon Jun 16 05:29:58 2014 suspend-read-crc-pipe-B: Testing connector VGA-1 using pipe B Test assertion failure function igt_output_commit, file igt_kms.c:886: Last errno: 13, Permission denied Failed assertion: ret == 0 Subtest suspend-read-crc-pipe-B: FAIL hang-read-crc-pipe-B: Testing connector VGA-1 using pipe B Test assertion failure function igt_output_commit, file igt_kms.c:886: Last errno: 13, Permission denied Failed assertion: ret == 0 Subtest hang-read-crc-pipe-B: FAIL Test requirement not met in function test_read_crc, file kms_pipe_crc_basic.c:116: Last errno: 13, Permission denied Test requirement: (pipe >= data->display.n_pipes) Subtest read-crc-pipe-C: SKIP Test requirement not met in function test_read_crc, file kms_pipe_crc_basic.c:116: Last errno: 13, Permission denied Test requirement: (pipe >= data->display.n_pipes) Subtest read-crc-pipe-C-frame-sequence: SKIP rtcwake: wakeup from "mem" using /dev/rtc0 at Mon Jun 16 05:30:37 2014 Test requirement not met in function test_read_crc, file kms_pipe_crc_basic.c:116: Last errno: 13, Permission denied Test requirement: (pipe >= data->display.n_pipes) Subtest suspend-read-crc-pipe-C: SKIP Test requirement not met in function test_read_crc, file kms_pipe_crc_basic.c:116: Last errno: 0, Success Test requirement: (pipe >= data->display.n_pipes) Subtest hang-read-crc-pipe-C: SKIP This bug can be reproduce on hsw on latest -fixes(8525a235c96a548873c6c5644f50df32b31f04c6) too [root@x-hsw27 tests]# ./kms_cursor_crc --run-subtest cursor-256-sliding IGT-Version: 1.7-g7ef5372 (x86_64) (Linux: 3.16.0-rc2_drm-intel-fixes_8525a2_20140626+ x86_64) Test assertion failure function igt_output_commit, file igt_kms.c:888: Last errno: 13, Permission denied Failed assertion: ret == 0 Subtest cursor-256-sliding: FAIL Test still failed on latest -nihgtly(ddbc288690cd888dd6f5629ccba9a2691a70b7b0) [root@x-pk5 tests]# ./kms_fbc_crc --run-subtest blt IGT-Version: 1.7-gde1e877 (x86_64) (Linux: 3.16.0-rc6_drm-intel-nightly_ddbc28_20140801+ x86_64) Test assertion failure function igt_primary_plane_commit_legacy, file igt_kms.c:1193: Failed assertion: ret == 0 Last errno: 13, Permission denied Subtest blt: FAIL On latest igt(de1e877be5fe9ac83477a8ca416708f3d078b731), the result was skipped. [root@x-pk5 tests]# ./kms_fbc_crc --run-subtest blt IGT-Version: 1.7-gde1e877 (x86_64) (Linux: 3.16.0-rc6_drm-intel-nightly_ddbc28_20140801+ x86_64) Beginning blt on pipe A, connector VGA-1 FBC not enabled blt on pipe A, connector VGA-1: SKIPPED Beginning blt on pipe B, connector VGA-1 FBC not enabled blt on pipe B, connector VGA-1: SKIPPED Test requirement not met in function run_test, file kms_fbc_crc.c:484: Test requirement: !(valid_tests) no valid crtc/connector combinations found Subtest blt: SKIP After my bisect, I find the first bad commit: commit 1618d6cfa63e31ebaedadf575dcbdf5b07451bde Author: Chris Wilson <chris@chris-wilson.co.uk> AuthorDate: Fri May 30 12:14:40 2014 +0100 when run "X &" then "glxgears &"=> the glxgears show normal, when run "X &" then "gnome-session & "then "glxgears &"=> the glxgears show black. Here is its good parents commit: commit bb49222a514b1d6041f3d9530a22f5701377118b Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Mon Jun 2 08:25:52 2014 +0100 when run "X &" then "glxgears &"=> the glxgears show normal, when run "X &" then "gnome-session & "then "glxgears &"=> the glxgears show normal. All my testing results based on the default Xserver setting(SNA on). Created attachment 103961 [details]
dmesg
Created attachment 103962 [details]
Xorg.0.log
Created attachment 103963 [details]
glxinfo
(In reply to comment #6) > After my bisect, I find the first bad commit: > commit 1618d6cfa63e31ebaedadf575dcbdf5b07451bde > Author: Chris Wilson <chris@chris-wilson.co.uk> > AuthorDate: Fri May 30 12:14:40 2014 +0100 > > when run "X &" then "glxgears &"=> the glxgears show normal, > when run "X &" then "gnome-session & "then "glxgears &"=> the glxgears show > black. > > Here is its good parents commit: > commit bb49222a514b1d6041f3d9530a22f5701377118b > Author: Chris Wilson <chris@chris-wilson.co.uk> > Date: Mon Jun 2 08:25:52 2014 +0100 > > when run "X &" then "glxgears &"=> the glxgears show normal, > when run "X &" then "gnome-session & "then "glxgears &"=> the glxgears show > normal. > > All my testing results based on the default Xserver setting(SNA on). I'm sorry, please ignore this comment, it's a comment about anther bug, I pasted it the wrong place. The result is skip on latest -nightly(ddbc288690cd888dd6f5629ccba9a2691a70b7b0) [root@x-pk5 tests]# ./kms_fbc_crc --run-subtest blt IGT-Version: 1.7-gde1e877 (x86_64) (Linux: 3.16.0-rc6_drm-intel-nightly_ddbc28_20140804+ x86_64) Beginning blt on pipe A, connector VGA-1 FBC not enabled blt on pipe A, connector VGA-1: SKIPPED Beginning blt on pipe B, connector VGA-1 FBC not enabled blt on pipe B, connector VGA-1: SKIPPED Test requirement not met in function run_test, file kms_fbc_crc.c:484: Test requirement: !(valid_tests) no valid crtc/connector combinations found Subtest blt: SKIP Daniel, is it because FBC disabled during this time? If so we can close this. The bug still able to reproduce on latest -nightly(5a299a5a794999ddcc44578c0cfd58da83bac62b) on PNV [root@x-pnv2 tests]# ./kms_pipe_crc_basic --run-subtest hang-read-crc-pipe-A IGT-Version: 1.7-gac31f19 (i686) (Linux: 3.16.0_drm-intel-nightly_5a299a_20140807+ i686) hang-read-crc-pipe-A: Testing connector LVDS-1 using pipe A Test assertion failure function igt_primary_plane_commit_legacy, file igt_kms.c:1193: Failed assertion: ret == 0 Last errno: 13, Permission denied Subtest hang-read-crc-pipe-A: FAIL kms_pipe_crc_basic issue is able to reproduce on IVB on latest -nightly(5a299a5a794999ddcc44578c0cfd58da83bac62b) [root@x-ivb9 tests]# ./kms_pipe_crc_basic IGT-Version: 1.7-g17d63e4 (x86_64) (Linux: 3.16.0_drm-intel-nightly_5a299a_20140807_debug+ x86_64) Subtest bad-pipe: SUCCESS Subtest bad-source: SUCCESS Subtest bad-nb-words-1: SUCCESS Subtest bad-nb-words-3: SUCCESS read-crc-pipe-A: Testing connector VGA-1 using pipe A Test assertion failure function igt_primary_plane_commit_legacy, file igt_kms.c:1193: Failed assertion: ret == 0 Last errno: 13, Permission denied Subtest read-crc-pipe-A: FAIL read-crc-pipe-A-frame-sequence: Testing connector VGA-1 using pipe A Test assertion failure function igt_primary_plane_commit_legacy, file igt_kms.c:1193: Failed assertion: ret == 0 Last errno: 13, Permission denied Subtest read-crc-pipe-A-frame-sequence: FAIL rtcwake: wakeup from "mem" using /dev/rtc0 at Fri Aug 8 14:53:27 2014 suspend-read-crc-pipe-A: Testing connector VGA-1 using pipe A Test assertion failure function igt_primary_plane_commit_legacy, file igt_kms.c:1193: Failed assertion: ret == 0 Last errno: 13, Permission denied Subtest suspend-read-crc-pipe-A: FAIL hang-read-crc-pipe-A: Testing connector VGA-1 using pipe A Test assertion failure function igt_primary_plane_commit_legacy, file igt_kms.c:1193: Failed assertion: ret == 0 Last errno: 13, Permission denied Subtest hang-read-crc-pipe-A: FAIL read-crc-pipe-B: Testing connector VGA-1 using pipe B Test assertion failure function igt_primary_plane_commit_legacy, file igt_kms.c:1193: Failed assertion: ret == 0 Last errno: 13, Permission denied Subtest read-crc-pipe-B: FAIL read-crc-pipe-B-frame-sequence: Testing connector VGA-1 using pipe B Test assertion failure function igt_primary_plane_commit_legacy, file igt_kms.c:1193: Failed assertion: ret == 0 Last errno: 13, Permission denied Subtest read-crc-pipe-B-frame-sequence: FAIL rtcwake: wakeup from "mem" using /dev/rtc0 at Fri Aug 8 14:54:06 2014 suspend-read-crc-pipe-B: Testing connector VGA-1 using pipe B Test assertion failure function igt_primary_plane_commit_legacy, file igt_kms.c:1193: Failed assertion: ret == 0 Last errno: 13, Permission denied Subtest suspend-read-crc-pipe-B: FAIL hang-read-crc-pipe-B: Testing connector VGA-1 using pipe B Test assertion failure function igt_primary_plane_commit_legacy, file igt_kms.c:1193: Failed assertion: ret == 0 Last errno: 13, Permission denied Subtest hang-read-crc-pipe-B: FAIL read-crc-pipe-C: Testing connector VGA-1 using pipe C Test assertion failure function igt_primary_plane_commit_legacy, file igt_kms.c:1193: Failed assertion: ret == 0 Last errno: 13, Permission denied Subtest read-crc-pipe-C: FAIL read-crc-pipe-C-frame-sequence: Testing connector VGA-1 using pipe C Test assertion failure function igt_primary_plane_commit_legacy, file igt_kms.c:1193: Failed assertion: ret == 0 Last errno: 13, Permission denied Subtest read-crc-pipe-C-frame-sequence: FAIL rtcwake: wakeup from "mem" using /dev/rtc0 at Fri Aug 8 14:54:45 2014 suspend-read-crc-pipe-C: Testing connector VGA-1 using pipe C Test assertion failure function igt_primary_plane_commit_legacy, file igt_kms.c:1193: Failed assertion: ret == 0 Last errno: 13, Permission denied Subtest suspend-read-crc-pipe-C: FAIL hang-read-crc-pipe-C: Testing connector VGA-1 using pipe C Test assertion failure function igt_primary_plane_commit_legacy, file igt_kms.c:1193: Failed assertion: ret == 0 Last errno: 13, Permission denied Subtest hang-read-crc-pipe-C: FAIL igt/kms_fbc_crc test was skipped now. but kms_pipe_crc_basic test still failed. I report new Bug 82314 to track kms_pipe_crc_basic issue. [root@x-hsw24 tests]# ./kms_fbc_crc IGT-Version: 1.7-g17d63e4 (x86_64) (Linux: 3.16.0_drm-intel-nightly_5a299a_20140807+ x86_64) Test requirement not met in function __real_main487, file kms_fbc_crc.c:513: Test requirement: !(!strstr(buf, "unsupported by this chipset") && !strstr(buf, "disabled per module param") && !strstr(buf, "disabled per chip default")) FBC not supported/enabled Subtest page_flip: SKIP Subtest mmap_cpu: SKIP Subtest mmap_gtt: SKIP Subtest blt: SKIP Subtest render: SKIP Subtest context: SKIP Subtest page_flip_and_mmap_cpu: SKIP Subtest page_flip_and_mmap_gtt: SKIP Subtest page_flip_and_blt: SKIP Subtest page_flip_and_render: SKIP Subtest page_flip_and_context: SKIP *** This bug has been marked as a duplicate of bug 79108 *** Closing as duplicate of closed+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.
Created attachment 100508 [details] dmesg ==System Environment== -------------------------- Regression: Yes. I didn't find good commit, I will further investigate it. Non-working platforms: ILK ==kernel== -------------------------- origin/drm-intel-nightly: 222ccbcb9a8913cc29f83d277f5c105e2851293b(fails) drm-intel-nightly: 2014y-06m-05d-16h-11m-11s integration manifest origin/drm-intel-next-queued: 9783dd21bc2143f410a6e86ed165d4c92a9298b7(fails) drm/i915: Add #defines for short/long pulse on gmch platforms origin/drm-intel-fixes: 15d24aa5602fb87c7b1358cfabcfeb9b26db290f(fails) drm/i915: BDW: Adding missing cursor offsets. ==Bug detailed description== ----------------------------- igt/kms_fbc_crc some subcases fail Failed case list: igt/kms_fbc_crc/blt igt/kms_fbc_crc/context igt/kms_fbc_crc/mmap_cpu igt/kms_fbc_crc/mmap_gtt igt/kms_fbc_crc/page_flip igt/kms_cursor_crc/cursor-64-random igt/kms_cursor_crc/cursor-64-sliding Output: ./kms_fbc_crc --run-subtest blt IGT-Version: 1.6-g9a70e29 (x86_64) (Linux: 3.15.0-rc3_drm-intel-next-queued_9783dd_20140606+ x86_64) Test assertion failure function igt_output_commit, file igt_kms.c:886: Last errno: 13, Permission denied Failed assertion: ret == 0 Subtest blt: FAIL ==Reproduce steps== ---------------------------- 1. ./kms_fbc_crc --run-subtest blt