Created attachment 94401 [details] dmesg System Environment: -------------------------- Platform: Baytrail/Broadwell Kernel(drm-intel-nightly)1be8f2b4dd6d3db00af24d4891c82d2650bd282d Bug detailed description: ------------------------- New case kms_plane/plane-position-covered-pipe-A-plane-1 fails on Baytrail and Broadwell with -nightly and -queued kernel. Subcase plane-position-covered-pipe-A-plane-1 and plane-position-covered-pipe-C-plane-1 also fail. output: IGT-Version: 1.5-g9597836 (x86_64) (Linux: 3.13.0_drm-intel-next-queued_4c0e55_20140220+ x86_64) Testing connector eDP-1 using pipe B plane 1 Test assertion failure function test_plane_position_with_output, file kms_plane.c:178: Last errno: 0, Success Failed assertion: igt_crc_equal(&test.reference_crc, &crc) Subtest plane-position-covered-pipe-B-plane-1: FAIL Reproduce steps: ------------------------- 1. ./kms_plane --run-subtest plane-position-covered-pipe-B-plane-1
Do you see anything on the the eDP panel at all?
(In reply to comment #1) > Do you see anything on the the eDP panel at all? Green screen flash by.
This is working for me on a recent nightly. Can you please retest? bwidawsk@momoa ~/intel-gfx/intel-gpu-tools (master)$ sudo ./tests/kms_plane --run-subtest plane-position-covered-pipe-B-plane-1 IGT-Version: 1.6-g9019fed (x86_64) (Linux: 3.15.0-rc7-BEN+ x86_64) Testing connector eDP-1 using pipe B plane 1 Testing connector DP-1 using pipe B plane 1 Subtest plane-position-covered-pipe-B-plane-1: SUCCESS
This was run on BDW btw. Please confirm if it's still an issue for both BYT and BDW. Thanks.
Test on latest -nightly kernel. It works well on BDW. subcase plane-position-covered-pipe-A-plane-1 still fails on BYT. # ./kms_plane --run-subtest plane-position-covered-pipe-A-plane-1 IGT-Version: 1.6-g1451df1 (x86_64) (Linux: 3.15.0-rc7_drm-intel-nightly_0a37b5_20140604+ x86_64) Testing connector eDP-1 using pipe A plane 1 Test assertion failure function test_plane_position_with_output, file kms_plane.c:174: Last errno: 0, Success Failed assertion: igt_crc_equal(&test.reference_crc, &crc) Subtest plane-position-covered-pipe-A-plane-1: FAIL
Created attachment 100436 [details] dmesg(BYT)
This bug is able to reproduce on HSW too. Kernel: drm-intel-nightly(969b3c5a312e849fa7a3dc0937a6acf34cdd7e25) Output: ./kms_plane --run-subtest plane-position-covered-pipe-C-plane-1 IGT-Version: 1.6-g18d2130 (x86_64) (Linux: 3.15.0-rc8_drm-intel-nightly_969b3c_20140609+ x86_64) Testing connector VGA-1 using pipe C plane 1 Test assertion failure function test_plane_position_with_output, file kms_plane.c:174: Last errno: 0, Success Failed assertion: igt_crc_equal(&test.reference_crc, &crc) Subtest plane-position-covered-pipe-C-plane-1: FAIL
Test failed on latest -next-queued(2789339044fb6dfbee0c8cd77e26438b80e333ee) on BSW [root@x-bsw01 tests]# ./kms_plane --run-subtest plane-position-covered-pipe-B-plane-3 IGT-Version: 1.7-g0818875 (x86_64) (Linux: 3.17.0-rc2_drm-intel-next-queued_278933_20140905+ x86_64) Testing connector eDP-1 using pipe B plane 3 Test assertion failure function test_plane_position_with_output, file kms_plane.c:197: Failed assertion: igt_crc_equal(&test.reference_crc, &crc) Subtest plane-position-covered-pipe-B-plane-3: FAIL
Test on latest -nightly kernel, It's sporadical fail. Fail rate:2/3. output: IGT-Version: 1.8-gb7d80d1 (x86_64) (Linux: 3.17.0_drm-intel-nightly_ea4bec_20141010+ x86_64) Testing connector eDP-1 using pipe A plane 1 Test assertion failure function test_plane_position_with_output, file kms_plane.c:197: Failed assertion: igt_crc_equal(&test.reference_crc, &crc) Subtest plane-position-covered-pipe-A-plane-1: FAIL (5.024s) root@x-byt06:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./kms_plane --run-subtest plane-position-covered-pipe-A-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 A plane 1 Test assertion failure function test_plane_position_with_output, file kms_plane.c:197: Failed assertion: igt_crc_equal(&test.reference_crc, &crc) Subtest plane-position-covered-pipe-A-plane-1: FAIL (4.180s) root@x-byt06:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./kms_plane --run-subtest plane-position-covered-pipe-A-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 A plane 1 Subtest plane-position-covered-pipe-A-plane-1: SUCCESS (4.179s)
I'm running it reliably here on both BSW and BDW with latest nightly. Could you please retest?
Test on BYT and the latest -nightly kernel. I don't see the unstable fail. run ./kms_plane, Following subcases fail(Bug 86763) Test assertion failure function test_plane_position_with_output, file kms_plane.c:197: Failed assertion: igt_crc_equal(&test.reference_crc, &crc) Subtest plane-position-covered-pipe-B-plane-2: FAIL (1.009s) Testing connector DP-1 using pipe B plane 2 Test assertion failure function igt_pipe_crc_new, file igt_debugfs.c:387: Failed assertion: pipe_crc->crc_fd != -1 Last errno: 16, Device or resource busy Subtest plane-position-hole-pipe-B-plane-2: FAIL (0.000s) Testing connector DP-1 using pipe B plane 2 Test assertion failure function igt_pipe_crc_new, file igt_debugfs.c:387: Failed assertion: pipe_crc->crc_fd != -1 Last errno: 16, Device or resource busy Subtest plane-panning-top-left-pipe-B-plane-2: FAIL (0.000s) Testing connector DP-1 using pipe B plane 2 Test assertion failure function igt_pipe_crc_new, file igt_debugfs.c:387: Failed assertion: pipe_crc->crc_fd != -1 Last errno: 16, Device or resource busy Subtest plane-panning-bottom-right-pipe-B-plane-2: FAIL (0.000s)
These seem to pass now on BYT.
Tested it on the latest nightly kernel and igt. This issue does not exists on BSW, but it still exists on BYT. output: ------------------- root@x-byt06:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# for i in `seq 1 10`; do ./kms_plane --run-subtest plane-position-covered-pipe-B-plane-1 ; done IGT-Version: 1.10-ge8457ed (x86_64) (Linux: 4.0.0-rc6_drm-intel-nightly_333cf6_20150403+ x86_64) Testing connector eDP-1 using pipe B plane 1 Test assertion failure function igt_assert_crc_equal, file igt_debugfs.c:207: Failed assertion: a->crc[i] == b->crc[i] error: 0x1b6b6a != 0x289cb3 Stack trace: #0 [__igt_fail_assert+0xfc] #1 [igt_assert_crc_equal+0x82] #2 [test_plane_position.constprop.9+0x2dc] #3 [run_tests_for_pipe_plane.constprop.6+0x20c] #4 [__real_main407+0x55] #5 [main+0x21] #6 [__libc_start_main+0xf5] #7 [_start+0x29] #8 [<unknown>+0x29] Subtest plane-position-covered-pipe-B-plane-1 failed. **** DEBUG **** Test requirement passed: !(pipe >= data->display.n_pipes) Test requirement passed: !(plane >= data->display.pipes[pipe].n_planes) Testing connector eDP-1 using pipe B plane 1 display: eDP-1: set_pipe(B) igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258 [bpp=32], tiling=0x0, size=0 igt_create_fb_with_bo_size(handle=1, pitch=7680) display: B.0: plane_set_fb(44) display: commit { display: eDP-1: Selecting pipe B display: eDP-1: SetCrtc pipe B, fb 44, panning (0, 0), mode 1920x1080 display: } display: B.0: plane_set_fb(0) display: commit { display: eDP-1: Selecting pipe B display: eDP-1: SetCrtc pipe B, disabling display: } CRC for a (0.00,1.00,0.00) fb: 001b6b6a 001f30f8 00454281 00454281 00203dd9 display: eDP-1: set_pipe(B) igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258 [bpp=32], tiling=0x0, size=0 igt_create_fb_with_bo_size(handle=1, pitch=7680) display: B.0: plane_set_fb(44) igt_create_fb_with_bo_size(width=64, height=64, format=0x34325258 [bpp=32], tiling=0x0, size=0 igt_create_fb_with_bo_size(handle=2, pitch=256) display: B.1: plane_set_fb(46) display: B.1: plane_set_position(100,100) display: commit { display: eDP-1: Selecting pipe B display: eDP-1: SetCrtc pipe B, fb 44, panning (0, 0), mode 1920x1080 display: eDP-1: SetPlane B.1, fb 46, position (100, 100) display: } Test assertion failure function igt_assert_crc_equal, file igt_debugfs.c:207: Failed assertion: a->crc[i] == b->crc[i] error: 0x1b6b6a != 0x289cb3 **** END **** Subtest plane-position-covered-pipe-B-plane-1: FAIL (3.566s)
Let's dupe it to the plane failure bug. *** This bug has been marked as a duplicate of bug 84361 ***
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.