Summary: | [All] igt/kms_flip subcases vblank-vs-suspend and vblank-vs-suspend-interruptible fail | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | DRI | Reporter: | Guo Jinxian <jinxianx.guo> | ||||||||||||||||||||
Component: | DRM/Intel | Assignee: | Intel GFX Bugs mailing list <intel-gfx-bugs> | ||||||||||||||||||||
Status: | CLOSED WORKSFORME | QA Contact: | Intel GFX Bugs mailing list <intel-gfx-bugs> | ||||||||||||||||||||
Severity: | normal | ||||||||||||||||||||||
Priority: | high | CC: | christophe.prigent, dorota.czaplejewicz, intel-gfx-bugs, yi.sun | ||||||||||||||||||||
Version: | unspecified | ||||||||||||||||||||||
Hardware: | Other | ||||||||||||||||||||||
OS: | All | ||||||||||||||||||||||
Whiteboard: | ReadyForDev | ||||||||||||||||||||||
i915 platform: | ALL | i915 features: | display/Other | ||||||||||||||||||||
Attachments: |
|
Description
Guo Jinxian
2014-05-22 05:34:06 UTC
Result on IVB ./kms_flip --run-subtest vblank-vs-suspend IGT-Version: 1.6-gc75dcbd (x86_64) (Linux: 3.15.0-rc5_drm-intel-fixes_4ba480_20140521_debug+ x86_64) Using monotonic timestamps Beginning vblank-vs-suspend on crtc 5, connector 16 1920x1200 60 1920 1968 2000 2080 1200 1203 1209 1235 0x9 0x48 154000 .rtcwake: wakeup from "mem" using /dev/rtc0 at Thu May 22 15:31:22 2014 .rtcwake: wakeup from "mem" using /dev/rtc0 at Thu May 22 15:31:55 2014 Test assertion failure function check_state, file kms_flip.c:557: Last errno: 0, Success Failed assertion: timercmp(&es->last_received_ts, &es->current_ts, <) vblank ts before the vblank was issued! timerdiff -900s, 242789us Subtest vblank-vs-suspend: FAIL This is a new testcase, not a regression. Also please retest on latest -nightly. Created attachment 99560 [details] dmesg (In reply to comment #2) > This is a new testcase, not a regression. Also please retest on latest > -nightly. The test was passed on latest -nightly(f5b0cca269ca3f7062f8d3441cebe6a16ce12be4). ./kms_flip --run-subtest vblank-vs-suspend IGT-Version: 1.6-gc75dcbd (i686) (Linux: 3.15.0-rc5_drm-intel-nightly_f5b0cc_20140522+ i686) Using monotonic timestamps Beginning vblank-vs-suspend on crtc 7, connector 8 1024x600 60 1024 1072 1104 1200 600 603 609 625 0xa 0x48 45000 .rtcwake: wakeup from "mem" using /dev/rtc0 at Thu May 22 19:52:28 2014 .rtcwake: wakeup from "mem" using /dev/rtc0 at Thu May 22 19:53:00 2014 vblank-vs-suspend on crtc 7, connector 8: PASSED Subtest vblank-vs-suspend: SUCCESS On pnv, it work well. But failed on IVB -------------------------------------------- [root@x-pnv tests]# ./kms_flip --run-subtest vblank-vs-suspend IGT-Version: 1.6-gff3c122 (i686) (Linux: 3.15.0-rc6_drm-intel-nightly_c37f30_20140525+ i686) Using monotonic timestamps Beginning vblank-vs-suspend on crtc 7, connector 8 1024x600 60 1024 1072 1104 1200 600 603 609 625 0xa 0x48 45000 Subtest vblank-vs-suspend: SUCCESS -------------------------------------------- [root@x-ivb opt]# ./kms_flip --run-subtest vblank-vs-suspend IGT-Version: 1.6-gff3c122 (x86_64) (Linux: 3.15.0-rc5_drm-intel-fixes_c1240b_20140525_debug+ x86_64) Using monotonic timestamps Beginning vblank-vs-suspend on crtc 5, connector 16 1920x1200 60 1920 1968 2000 2080 1200 1203 1209 1235 0x9 0x48 154000 .rtcwake: wakeup from "mem" using /dev/rtc0 at Mon May 26 20:56:10 2014 .rtcwake: wakeup from "mem" using /dev/rtc0 at Mon May 26 20:56:42 2014 Test assertion failure function check_state, file kms_flip.c:565: Last errno: 0, Success Failed assertion: es->current_seq - (es->last_seq + o->seq_step) <= 1UL << 23 unexpected vblank seq 4294962482, should be >= 43244 Subtest vblank-vs-suspend: FAIL Created attachment 99849 [details]
dmesg-05-26
Test on latest -nightly(a7665faa31dbbbae25e376508a9b3781e25d09e2), the result was passed. Output: [root@x-pnv2 tests]# ./kms_flip --run-subtest vblank-vs-suspend IGT-Version: 1.7-g67e29a3 (i686) (Linux: 3.16.0-rc2_drm-intel-nightly_a7665f_20140701+ i686) Using monotonic timestamps Beginning vblank-vs-suspend on crtc 9, connector 10 1024x600 60 1024 1072 1104 1200 600 603 609 625 0xa 0x48 45000 .rtcwake: wakeup from "mem" using /dev/rtc0 at Wed Jul 2 18:51:20 2014 .rtcwake: wakeup from "mem" using /dev/rtc0 at Wed Jul 2 18:51:52 2014 vblank-vs-suspend on crtc 9, connector 10: PASSED Subtest vblank-vs-suspend: SUCCESS Test still failed on latest -nightly(e967a525207bd40ab446e2f809907039f88e66f3) [root@x-hsw24 tests]# ./kms_flip --run-subtest vblank-vs-suspend-interruptible IGT-Version: 1.7-gfcbc502 (x86_64) (Linux: 3.16.0-rc6_drm-intel-nightly_e967a5_20140728+ x86_64) Using monotonic timestamps Beginning vblank-vs-suspend-interruptible on crtc 7, connector 17 1920x1080 60 1920 2008 2052 2200 1080 1084 1089 1125 0x5 0x48 148500 .rtcwake: wakeup from "mem" using /dev/rtc0 at Mon Jul 28 05:34:33 2014 .rtcwake: wakeup from "mem" using /dev/rtc0 at Mon Jul 28 05:35:05 2014 vblank-vs-suspend-interruptible on crtc 7, connector 17: PASSED Beginning vblank-vs-suspend-interruptible on crtc 11, connector 17 1920x1080 60 1920 2008 2052 2200 1080 1084 1089 1125 0x5 0x48 148500 .rtcwake: wakeup from "mem" using /dev/rtc0 at Mon Jul 28 05:35:37 2014 .rtcwake: wakeup from "mem" using /dev/rtc0 at Mon Jul 28 05:36:09 2014 Test assertion failure function check_state, file kms_flip.c:576: Failed assertion: es->current_seq - es->last_seq <= 100 Last errno: 4, Interrupted system call unexpected vblank seq 330, should be < 112 Subtest vblank-vs-suspend-interruptible: FAIL This fail still able to reproduce on BSW on latest -nightly(eb2af97968f0321622cf3aeb29991ad78cfdc1ca) while running test igt/kms_flip/bcs-flip-vs-dpms [root@x-bsw01 tests]# ./kms_flip --run-subtest bcs-flip-vs-dpms IGT-Version: 1.7-ge48c495 (x86_64) (Linux: 3.16.0-rc6_drm-intel-nightly_eb2af9_20140730+ x86_64) Using monotonic timestamps Beginning bcs-flip-vs-dpms on crtc 17, connector 30 1920x1080 60 1920 2008 2052 2200 1080 1084 1089 1125 0x5 0x48 148500 ..Test assertion failure function check_state, file kms_flip.c:557: Failed assertion: timercmp(&es->last_received_ts, &es->current_ts, <) flip ts before the flip was issued! timerdiff -391s, 487477us Subtest bcs-flip-vs-dpms: FAIL [root@x-bsw01 tests]# echo $? 99 Does this still happen on current kernels? I think some vblank fixes have landed since then. (In reply to Jesse Barnes from comment #9) > Does this still happen on current kernels? I think some vblank fixes have > landed since then. Test still fails on latest -nightly(bfdd01aa1825aa0068f9236b21362b550f6d630f) root@x-bsw01:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./kms_flip --run-subtest vblank-vs-suspend IGT-Version: 1.8-g819e68f (x86_64) (Linux: 3.18.0-rc7_drm-intel-nightly_bfdd01_20141208+ x86_64) Using monotonic timestamps Beginning vblank-vs-suspend on crtc 8, connector 29 1920x1080 60 1920 1966 1996 2080 1080 1082 1086 1112 0xa 0x48 138780 .rtcwake: assuming RTC uses UTC ... rtcwake: wakeup from "mem" using /dev/rtc0 at Thu Jan 4 23:55:17 2001 .rtcwake: assuming RTC uses UTC ... rtcwake: wakeup from "mem" using /dev/rtc0 at Thu Jan 4 23:55:51 2001 Test assertion failure function check_state, file kms_flip.c:572: Failed assertion: es->current_seq - es->last_seq <= 100 unexpected vblank seq 269, should be < 249 Subtest vblank-vs-suspend: FAIL (10.066s) still fail in latest nightly: 9583cb470cd82997b5f23d4acab852563f5c0047(2015-02-05) ./kms_flip --run-subtest vblank-vs-suspend-interruptible IGT-Version: 1.9-g87edb51 (x86_64) (Linux: 3.19.0-rc7_drm-intel-nightly_9583cb_20150205+ x86_64) Using monotonic timestamps Beginning vblank-vs-suspend-interruptible on crtc 20, connector 30 1024x768 60 1024 1048 1184 1344 768 771 777 806 0xa 0x48 65000 .rtcwake: wakeup from "mem" using /dev/rtc0 at Thu Feb 5 05:13:04 2015 .rtcwake: wakeup from "mem" using /dev/rtc0 at Thu Feb 5 05:13:36 2015 vblank-vs-suspend-interruptible on crtc 20, connector 30: PASSED Beginning vblank-vs-suspend-interruptible on crtc 24, connector 30 1024x768 60 1024 1048 1184 1344 768 771 777 806 0xa 0x48 65000 .rtcwake: wakeup from "mem" using /dev/rtc0 at Thu Feb 5 05:14:08 2015 .rtcwake: wakeup from "mem" using /dev/rtc0 at Thu Feb 5 05:14:40 2015 (kms_flip:5049) CRITICAL: Test assertion failure function check_state, file kms_flip.c:659: (kms_flip:5049) CRITICAL: Failed assertion: es->current_seq - es->last_seq <= 100 (kms_flip:5049) CRITICAL: Last errno: 4, Interrupted system call (kms_flip:5049) CRITICAL: unexpected vblank seq 5659, should be < 5327 Subtest vblank-vs-suspend-interruptible: FAIL (26.438s) Test on the latest nightly kernel, it still fails. output: ---------- root@x-hsw24:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./kms_flip --run-subtest vblank-vs-suspend-interruptible IGT-Version: 1.10-g007ff02 (x86_64) (Linux: 4.0.0-rc7_drm-intel-nightly_631c2f_20150411+ x86_64) Using monotonic timestamps Beginning vblank-vs-suspend-interruptible on crtc 20, connector 30 1024x768 60 1024 1048 1184 1344 768 771 777 806 0xa 0x48 65000 .rtcwake: wakeup from "mem" using /dev/rtc0 at Mon Apr 13 07:01:54 2015 .rtcwake: wakeup from "mem" using /dev/rtc0 at Mon Apr 13 07:02:26 2015 vblank-vs-suspend-interruptible on crtc 20, connector 30: PASSED Beginning vblank-vs-suspend-interruptible on crtc 24, connector 30 1024x768 60 1024 1048 1184 1344 768 771 777 806 0xa 0x48 65000 .rtcwake: wakeup from "mem" using /dev/rtc0 at Mon Apr 13 07:02:58 2015 .rtcwake: wakeup from "mem" using /dev/rtc0 at Mon Apr 13 07:03:30 2015 Test assertion failure function check_state, file kms_flip.c:659: Failed assertion: es->current_seq - es->last_seq <= 100 Last errno: 4, Interrupted system call unexpected vblank seq 513, should be < 112 Stack trace: #0 [__igt_fail_assert+0xfc] #1 [check_state+0x20d] #2 [run_test_on_crtc_set.constprop.13+0xb0c] #3 [run_test+0x25a] #4 [main+0x433] #5 [__libc_start_main+0xf5] #6 [_start+0x29] #7 [<unknown>+0x29] Subtest vblank-vs-suspend-interruptible failed. **** DEBUG **** Test requirement passed: (flags & TEST_HANG) == 0 || !is_hung(drm_fd) Test requirement passed: modes Beginning vblank-vs-suspend-interruptible on crtc 20, connector 30 igt_create_fb_with_bo_size(width=1024, height=768, format=0x34325258 [bpp=32], tiling=0x0, size=0 igt_create_fb_with_bo_size(handle=2, pitch=4096) igt_create_fb_with_bo_size(width=1024, height=768, format=0x34325258 [bpp=32], tiling=0x0, size=0 igt_create_fb_with_bo_size(handle=3, pitch=4096) igt_create_fb_with_bo_size(width=1024, height=768, format=0x34325258 [bpp=32], tiling=0x100000000000001, size=0 igt_create_fb_with_bo_size(handle=4, pitch=4096) 1024x768 60 1024 1048 1184 1344 768 771 777 806 0xa 0x48 65000 Test requirement passed: !igt_run_in_simulation() Test requirement passed: !igt_run_in_simulation() testing ts continuity: Current frame 36066, old frame 36024 vblank-vs-suspend-interruptible on crtc 20, connector 30: PASSED Beginning vblank-vs-suspend-interruptible on crtc 24, connector 30 igt_create_fb_with_bo_size(width=1024, height=768, format=0x34325258 [bpp=32], tiling=0x0, size=0 igt_create_fb_with_bo_size(handle=2, pitch=4096) igt_create_fb_with_bo_size(width=1024, height=768, format=0x34325258 [bpp=32], tiling=0x0, size=0 igt_create_fb_with_bo_size(handle=3, pitch=4096) igt_create_fb_with_bo_size(width=1024, height=768, format=0x34325258 [bpp=32], tiling=0x100000000000001, size=0 igt_create_fb_with_bo_size(handle=4, pitch=4096) 1024x768 60 1024 1048 1184 1344 768 771 777 806 0xa 0x48 65000 Test requirement passed: !igt_run_in_simulation() Test requirement passed: !igt_run_in_simulation() Test assertion failure function check_state, file kms_flip.c:659: Failed assertion: es->current_seq - es->last_seq <= 100 Last errno: 4, Interrupted system call unexpected vblank seq 513, should be < 112 **** END **** Subtest vblank-vs-suspend-interruptible: FAIL (35.334s) Paulo thinks this will likely affect BDW and SKL as well. Christophe, can you check and see if this is still an issue? The following test cases of same family are failing as well on BDW kms_flip_tiling@flip-yf-tiled vblank-vs-suspend-interruptible kms_flip@flip-vs-dpms-off-vs-modeset kms_flip@blocking-absolute-wf_vblank kms_flip@2x-wf_vblank-vs-modeset-interruptible kms_flip@absolute-wf_vblank-interruptible kms_flip@2x-plain-flip kms_flip@2x-plain-flip-interruptible Returncode 99 Time 0:00:00.015874 Stdout IGT-Version: 1.12-g1f9e055 (x86_64) (Linux: 4.3.0-rc2-drm-intel-nightly+ x86_64) Stack trace: #0 [__igt_fail_assert+0xf1] #1 [gem_quiescent_gpu+0x208] #2 [drm_open_driver+0x67] #3 [drm_open_driver_master+0x6] #4 [main+0x88] #5 [__libc_start_main+0xf5] #6 [_start+0x29] #7 [<unknown>+0x29] Subtest 2x-plain-flip: FAIL Stderr Test assertion failure function gem_quiescent_gpu, file drmtest.c:180: Failed assertion: drmIoctl((fd), ((((1U) << (((0+8)+8)+14)) | ((('d')) << (0+8)) | (((0x40 + 0x29)) << 0) | ((((sizeof(struct drm_i915_gem_execbuffer2)))) << ((0+8)+8)))), (&execbuf)) == 0 Last errno: 5, Input/output error Test kms_flip failed. **** DEBUG **** (kms_flip:4159) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation() Test requirement passed: fd >= 0 Test assertion failure function gem_quiescent_gpu, file drmtest.c:180: Failed assertion: drmIoctl((fd), ((((1U) << (((0+8)+8)+14)) | ((('d')) << (0+8)) | (((0x40 + 0x29)) << 0) | ((((sizeof(struct drm_i915_gem_execbuffer2)))) << ((0+8)+8)))), (&execbuf)) == 0 Last errno: 5, Input/output error **** END **** Configuration: Kernel 4.3.0-rc8-drm-intel-testing-2015-08-28 Mesa: mesa-10.6.7 from http://cgit.freedesktop.org/mesa/mesa/ Xf86_video_intel: 2.99.917 from http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/ Libdrm: libdrm-2.4.64 from http://cgit.freedesktop.org/mesa/drm/ Cairo: 1.14.2 from http://cgit.freedesktop.org/cairo libva: libva-1.6.0 from http://cgit.freedesktop.org/libva/ intel-driver: 1.6.1. from http://cgit.freedesktop.org/vaapi/intel-driver xorg: 1.17.99 installed with script git_xorg.sh Xserver: xorg-server-1.17.2 from http://cgit.freedesktop.org/xorg/xserver Intel-gpu-tools: 1.12 from http://cgit.freedesktop.org/xorg/app/intel-gpu kms_flip@vblank-vs-suspend-interruptible fails on HSW-ULT with tag drm-intel-testing-2015-10-23. Result was Pass with drm-intel-testing-2015-10-10. Haswell-ULT Hardware Platform: Intel NUC D54250WYK Processo: Intel Core I5-425OU 1.30 GHz Software Linux distribution: Ubuntu 14.04 LTS 64 bits BIOS: WTLPT10H.86A.0021.2013.1.017.1606 Kernel: tag drm-intel-testing-2015-10-23 87074657f22e38163e712ca417e1a398d00096b6 (4.3.0-rc6) from git://anongit.freedesktop.org/drm-intel commit 87074657f22e38163e712ca417e1a398d00096b6 Author: Daniel Vetter <daniel.vetter@ffwll.ch> Date: Fri Oct 23 11:56:52 2015 +0200 drm-intel-nightly: 2015y-10m-23d-09h-56m-09s UTC integration manifest Mesa: mesa-11.0.4 from http://cgit.freedesktop.org/mesa/mesa Xf86_video_intel: 2.99.917 from http://cgit.freedesktop.org/xorg/driver/xf86-video-intel Libdrm: libdrm-2.4.65 from http://cgit.freedesktop.org/mesa/drm Cairo: 1.14.2 from http://cgit.freedesktop.org/cairo libva: libva-1.6.0 from http://cgit.freedesktop.org/libva intel-driver: 1.6.1. from http://cgit.freedesktop.org/vaapi/intel-driver xorg: 1.17.99 installed with script git_xorg.sh Xserver: xorg-server-1.17.2 from http://cgit.freedesktop.org/xorg/xserver Intel-gpu-tools: 1.12 a2c67866fb447a5d00abb3061b0d735df30fd40c from http://cgit.freedesktop.org/xorg/app/intel-gpu Ubuntu 14.04.03 x86_64 with kernel : latest drm-intel-testing (4.3.0-rc6-testing) commit 87074657f22e38163e712ca417e1a398d00096b6 Author: Daniel Vetter <daniel.vetter@ffwll.ch> Date: Fri Oct 23 11:56:52 2015 +0200 test : kms_flip / vblank-vs-suspend HSW-U = pass BDW-U = fail test : kms_flip/vblank-vs-suspend-interruptible HSW-U = pass BDW-U = fail With kernel : latest drm-intel-nightly: 2015y-11m-06d-12h-48m-02s UTC integration manifest commit a3b0dec82fdb59c629c4fb9847245b80b0cf69dd Author: Jani Nikula <jani.nikula@intel.com> Date: Fri Nov 6 14:48:23 2015 +0200 test : kms_flip / vblank-vs-suspend HSW-U = pass BDW-U = pass test : kms_flip/vblank-vs-suspend-interruptible HSW-U = pass BDW-U = pass Hi Humberto, The fact it is Pass on BDW-U on nightly probably means it is also Pass on testing with a fresh kernel. Could you check again on BDW-U using master of intel-drm-testing. Thanks Following test case is failing in BYT-M with latest configuration : 4.4.0-rc1-nightly+ Kernel Latest graphic stack Case:.. kms_flip@2x-plain-flip-interruptible Test assertion failure function gem_execbuf, file ioctl_wrappers.c:445: Failed assertion: result == 0 Last errno: 5, Input/output error Test kms_flip failed. **** DEBUG **** (kms_flip:5255) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation() Test requirement passed: fd >= 0 Test assertion failure function gem_execbuf, file ioctl_wrappers.c:445: Failed assertion: result == 0 Last errno: 5, Input/output error The following tests keeps fail on IVB with latests graphic stack and the following kernels : ./kms_flip --run-subtest vblank-vs-suspend ./kms_flip --run-subtest vblank-vs-suspend-interruptible kernel (drm-intel-testing) -------------------------- commit 91587c722c28c4116dedbfbf08aa874377bc76f8 Author: Daniel Vetter <daniel.vetter@ffwll.ch> Date: Fri Dec 4 17:35:54 2015 +0100 drm-intel-nightly: 2015y-12m-04d-16h-35m-07s UTC integration manifest kernel version : 4.4.0-rc3 git url : git://anongit.freedesktop.org/drm-intel git branch : drm-intel-testing git describe : drm-intel-next-2015-11-20-rebased-13721-g91587c7 kernel (drm-intel-nightly) -------------------------- commit 79686f613b3955a4ed09cee936e7f70ec4e61b67 Author: Jani Nikula <jani.nikula@intel.com> Date: Wed Dec 30 14:00:24 2015 +0200 drm-intel-nightly: 2015y-12m-30d-11h-59m-54s UTC integration manifest kernel version : 4.4.0-rc6 git url : git://anongit.freedesktop.org/drm-intel git branch : drm-intel-nightly git describe : drm-intel-next-2015-12-18-1500-g79686f6 igt tools : branch : intel-gpu-tools-1.13 commit : 2db78a4995a8ee298ae0cd68879baf80407a0e5e The problem is not present in HSW platform with following configuration kernel: 4.4.0-rc6-drm-intel-nightly-2015-10-10 commit 0417da5e6f56078d87d366d5f959f8290ae9d16d IGT= intel-gpu-tools-1.13 Cairo=1.15.2 Intel-Driver= 1.6.2.pre2 xf86= 2.99.917-524-g8e98751 libva=libva-1.6.2.pre3 xorg-server=xorg-server-1.18.0 drm=libdrm-2.4.65 mesa=mesa-11.1.0 Removing HSW platform from header Fail on a SKL production device: kms_flip@vblank-vs-suspend kms_flip@vblank-vs-suspend-interruptible Dell Inspiron 15 7000 2-1 Intel Core (TM) i7 CPU @ 6500 2.5 Intel HD Graphics Linux distribution: Ubuntu 15.10 64 bits Kernel: drm-intel-nightly 4.4.0-rc8 8834392 from http://cgit.freedesktop.org/drm-intel/ libdrm-2.4.66 from http://cgit.freedesktop.org/mesa/drm/ xf86-video-intel 2.99.917 from http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/ mesa-11.0.8 from http://cgit.freedesktop.org/mesa/mesa/ libva-1.6.2 from http://cgit.freedesktop.org/libva/ intel-driver 1.6.2 from http://cgit.freedesktop.org/vaapi/intel-driver cairo 1.15.2 from http://cgit.freedesktop.org/cairo IGT 1.13 cd658a7c6bca74eb897a8ae87751029793f0c4f4 from http://cgit.freedesktop.org/xorg/app/intel-gpu-tools/ DMC and GUC firmware from https://01.org/linuxgraphics/intel-linux-graphics-firmwares the following tests fail on BXT kms_flip@vblank-vs-suspend-interruptible kms_flip@vblank-vs-suspend with the latest configuration: --> Component : drm url : http://cgit.freedesktop.org/mesa/drm tag : libdrm-2.4.67-4-g4274539 commit : 4274539 author : Chih-Wei Huang <cwhuang@android-x86.org> age : 6 days ago --> Component : mesa url : http://cgit.freedesktop.org/mesa/mesa tag : mesa-11.1.2 commit : 7bcd827 author : Emil Velikov <emil.velikov@collabora.com> age : 3 weeks ago --> Component : xf86-video-intel url : http://cgit.freedesktop.org/xorg/driver/xf86-video-intel tag : 2.99.917-560-gd167280 commit : d167280 author : Chris Wilson <chris@chris-wilson.co.uk> age : 7 days ago --> Component : libva url : http://cgit.freedesktop.org/libva/ tag : libva-1.6.1-37-g1f026de commit : 1f026de author : Julien Isorce <j.isorce@samsung.com> age : 3 months ago --> Component : vaapi (intel-driver) url : http://cgit.freedesktop.org/vaapi/intel-driver tag : 1.6.1-92-gf6fe842 commit : f6fe842 author : peng.chen <peng.c.chen@intel.com> age : 5 weeks ago --> Component : cairo url : http://cgit.freedesktop.org/cairo tag : 1.15.2 commit : db8a7f1 author : Bryce Harrington <bryce@osg.samsung.com> age : 3 months ago --> Component : xserver url : http://cgit.freedesktop.org/xorg/xserver tag : xorg-server-1.18.0-174-g6070a74 commit : 6070a74 author : Olivier Fourdan <ofourdan@redhat.com> age : 3 weeks ago --> Component : intel-gpu-tools url : http://cgit.freedesktop.org/xorg/app/intel-gpu-tools tag : intel-gpu-tools-1.14-1-gfbe92a2 commit : fbe92a2 author : Chris Wilson <chris@chris-wilson.co.uk> age : 19 hours ago The following test fail on BXT-P with latest configuration --> Component : drm url : http://cgit.freedesktop.org/mesa/drm tag : libdrm-2.4.67-4-g4274539 commit : 4274539 author : Chih-Wei Huang <cwhuang@android-x86.org> age : 6 days ago --> Component : mesa url : http://cgit.freedesktop.org/mesa/mesa tag : mesa-11.1.2 commit : 7bcd827 author : Emil Velikov <emil.velikov@collabora.com> age : 3 weeks ago --> Component : xf86-video-intel url : http://cgit.freedesktop.org/xorg/driver/xf86-video-intel tag : 2.99.917-560-gd167280 commit : d167280 author : Chris Wilson <chris@chris-wilson.co.uk> age : 7 days ago --> Component : libva url : http://cgit.freedesktop.org/libva/ tag : libva-1.6.1-37-g1f026de commit : 1f026de author : Julien Isorce <j.isorce@samsung.com> age : 3 months ago --> Component : vaapi (intel-driver) url : http://cgit.freedesktop.org/vaapi/intel-driver tag : 1.6.1-92-gf6fe842 commit : f6fe842 author : peng.chen <peng.c.chen@intel.com> age : 5 weeks ago --> Component : cairo url : http://cgit.freedesktop.org/cairo tag : 1.15.2 commit : db8a7f1 author : Bryce Harrington <bryce@osg.samsung.com> age : 3 months ago --> Component : xserver url : http://cgit.freedesktop.org/xorg/xserver tag : xorg-server-1.18.0-174-g6070a74 commit : 6070a74 author : Olivier Fourdan <ofourdan@redhat.com> age : 3 weeks ago --> Component : intel-gpu-tools url : http://cgit.freedesktop.org/xorg/app/intel-gpu-tools tag : intel-gpu-tools-1.14-1-gfbe92a2 commit : fbe92a2 author : Chris Wilson <chris@chris-wilson.co.uk> age : 19 hours ago --- Hardware information --- Platform Motherboard model Broxton P Motherboard type NOTEBOOK Hand Held Motherboard manufacturer Intel Corp. CPU family Other CPU information 06/5c GPU Card Intel Corporation Device 5a84 (rev 03) (prog-if 00 [VGA controller]) Memory ram 8 GB Maximum memory ram allowed 16 GB Hard drive capacity 80.0 GB Test case ================== kms_flip@2x-vblank-vs-suspend-interruptible kms_flip@vblank-vs-suspend-interruptible kms_flip@2x-vblank-vs-modeset-suspend IGT output =================== IGT-Version: 1.14-gfbe92a2 (x86_64) (Linux: 4.5.0-rc5-drm-intel-testing-ww10-commit-a27657a+ x86_64) Using monotonic timestamps Beginning 2x-vblank-vs-suspend-interruptible on pipe A:B, connector eDP-1:DP-1 1920x1080 60 1920 1968 2018 2052 1080 1084 1086 1122 0xa 0x48 138120 1920x1080 60 1920 2008 2052 2200 1080 1084 1089 1125 0x5 0x40 148500 .rtcwake: assuming RTC uses UTC ... rtcwake: wakeup from "mem" using /dev/rtc0 at Sun Jan 18 15:22:30 7598 rtcwake: assuming RTC uses UTC ... rtcwake: enable rtc alarm failed: Invalid argument (kms_flip:1304) igt-aux-CRITICAL: Test assertion failure function igt_system_suspend_autoresume, file igt_aux.c:381: (kms_flip:1304) igt-aux-CRITICAL: Failed assertion: ret == 0 (kms_flip:1304) igt-aux-CRITICAL: Last errno: 4, Interrupted system call (kms_flip:1304) igt-aux-CRITICAL: This failure means that something is wrong with the rtcwake tool or how your distro is set up. This is not a i915.ko or i-g-t bug. Stack trace: #0 [__igt_fail_assert+0xf1] #1 [igt_system_suspend_autoresume+0x9f] #2 [run_test_on_crtc_set.constprop.12+0x1af3] #3 [run_pair+0x33f] #4 [main+0x29f] #5 [__libc_start_main+0xf0] #6 [_start+0x29] #7 [<unknown>+0x29] Subtest 2x-vblank-vs-suspend-interruptible failed. **** DEBUG **** (kms_flip:1304) DEBUG: Test requirement passed: (flags & TEST_HANG) == 0 || !is_hung(drm_fd) (kms_flip:1304) DEBUG: Test requirement passed: modes (kms_flip:1304) INFO: Beginning 2x-vblank-vs-suspend-interruptible on pipe A:B, connector eDP-1:DP-1 (kms_flip:1304) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258 [bpp=32], tiling=0x0, size=0) (kms_flip:1304) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=2, pitch=7680) (kms_flip:1304) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258 [bpp=32], tiling=0x0, size=0) (kms_flip:1304) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=3, pitch=7680) (kms_flip:1304) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258 [bpp=32], tiling=0x100000000000001, size=0) (kms_flip:1304) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=4, pitch=7680) (kms_flip:1304) igt-kms-INFO: 1920x1080 60 1920 1968 2018 2052 1080 1084 1086 1122 0xa 0x48 138120 (kms_flip:1304) igt-kms-INFO: 1920x1080 60 1920 2008 2052 2200 1080 1084 1089 1125 0x5 0x40 148500 (kms_flip:1304) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation() (kms_flip:1304) igt-aux-DEBUG: Test requirement passed: !(system("rtcwake -n -s 30 -m mem") != 0) (kms_flip:1304) igt-aux-CRITICAL: Test assertion failure function igt_system_suspend_autoresume, file igt_aux.c:381: (kms_flip:1304) igt-aux-CRITICAL: Failed assertion: ret == 0 (kms_flip:1304) igt-aux-CRITICAL: Last errno: 4, Interrupted system call (kms_flip:1304) igt-aux-CRITICAL: This failure means that something is wrong with the rtcwake tool or how your distro is set up. This is not a i915.ko or i-g-t bug. **** END **** Subtest 2x-vblank-vs-suspend-interruptible: FAIL (1.246s) real 0m5.337s user 0m0.024s sys 0m0.020s Please see kern.log for more information Created attachment 122145 [details]
kern.log
Created attachment 122559 [details] BSW-kms_flip-vblank-vs-suspend-interruptible-kern.log Fail on BSW Hardware: Motherboard: Aspire XC-704 cpu model name : Intel(R) Pentium(R) CPU N3700 @ 1.60GHz cpu model : 76 cpu family : 6 Graphic card: Device 22b1 (rev 21) Software: Bios: R01-A2 kernel nightly 4.5 10e913a from https://cgit.freedesktop.org/cgit/?url=drm-intel/ commit 10e913a48ca36790da9b58bed8729598ea79ebdb Author: Imre Deak <imre.deak@intel.com> Date: Thu Mar 17 15:23:17 2016 +0200 drm-intel-nightly: 2016y-03m-17d-13h-22m-41s UTC integration manifest cairo 1.15.2 db8a7f1 from git://anongit.freedesktop.org/cairo libdrm-2.4.67-7 49041c3 from git://anongit.freedesktop.org/mesa/drm IGT 1.14 8f6ed9e from http://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools.git Created attachment 122560 [details]
BSW-kms_flip-vblank-vs-suspend-interruptible-output
This bug was also reproduced on BXT under the following configuration Hardware configuration ======================= Platform BXT - P (APL) Motherboard model Apollo Lake Motherboard type NOTEBOOK Hand Held Motherboard manufacturer Intel Corp. CPU family Other CPU information 06/5c GPU Card Intel Corporation Device 5a84 (rev 03) (prog-if 00 [VGA controller]) Memory ram 8 GB Software configuration ======================= --> Component : drm url : http://cgit.freedesktop.org/mesa/drm tag : libdrm-2.4.67-11-gea78c17 commit : ea78c17 author : Emil Velikov <emil.l.velikov@gmail.com> age : 20 hours ago --> Component : mesa url : http://cgit.freedesktop.org/mesa/mesa tag : mesa-11.1.2 commit : 7bcd827 author : Emil Velikov <emil.velikov@collabora.com> age : 7 weeks ago --> Component : xf86-video-intel url : http://cgit.freedesktop.org/xorg/driver/xf86-video-intel tag : 2.99.917-590-g094924f commit : 094924f author : Chris Wilson <chris@chris-wilson.co.uk> age : 4 days ago --> Component : libva url : http://cgit.freedesktop.org/libva/ tag : libva-1.7.0-1-g2339d10 commit : 2339d10 author : Xiang Haihao <haihao.xiang@intel.com> age : 13 days ago --> Component : vaapi (intel-driver) url : http://cgit.freedesktop.org/vaapi/intel-driver tag : 1.7.0-5-g759e44d commit : 759e44d author : peng.chen <peng.c.chen@intel.com> age : 13 days ago --> Component : cairo url : http://cgit.freedesktop.org/cairo tag : 1.15.2 commit : db8a7f1 author : Bryce Harrington <bryce@osg.samsung.com> age : 4 months ago --> Component : xserver url : http://cgit.freedesktop.org/xorg/xserver tag : xorg-server-1.18.0-254-g44e1c97 commit : 44e1c97 author : Olivier Fourdan <ofourdan@redhat.com> age : 8 days ago --> Component : intel-gpu-tools url : http://cgit.freedesktop.org/xorg/app/intel-gpu-tools tag : intel-gpu-tools-1.14-129-g41a26b5 commit : 41a26b5 author : Chris Wilson <chris@chris-wilson.co.uk> age : 26 hours ago kernel configuration ===================== Branch : drm-intel-nightly commit f5d413cccefa1f93d64c34f357151d42add63a84 Author: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Date: Thu Mar 24 14:35:16 2016 +0000 drm-intel-nightly: 2016y-03m-24d-14h-34m-29s UTC integration manifest Kernel version : 4.5.0 Architecture : source amd64 all This bug was also reproduced on KBL under the following configuration Software information ============================================ Kernel version : 4.6.0-drm-intel-nightly-ww23-commit-fb023a2+ Linux distribution : Ubuntu 16.04 LTS Architecture : 64-bit Mesa version : Not found << Please see the message at the bottom >> xf86-video-intel version : 2.99.917 Xorg-Xserver version : 1.18.3 DRM version : 2.4.68 VAAPI version : Intel i965 driver for Intel(R) Kabylake - 1.7.0 Cairo version : 1.15.2 Intel GPU Tools version : Tag [intel-gpu-tools-1.14-348-g303b380] / Commit [303b380] Kernel driver in use : i915 Hardware acceleration : Bios revision : 28.1 KSC revision : 1.15 Hardware information ============================================ Platform : SKL-Y to KBL (RVP3) Motherboard model : Kabylake Client platform Motherboard type : Skylake Y LPDDR3 RVP3 Laptop Motherboard manufacturer : Intel Corporation CPU family : Other CPU information : Genuine Intel(R) CPU 0000 @ 0.90GHz GPU Card : Intel Corporation Device 591e (prog-if 00 [VGA controller]) Memory ram : 4 GB Maximum memory ram allowed : 16 GB Display resolution : CPU's number : 4 Hard drive Capacity : 120 GB Firmwares information ============================================ DMC fw loaded : yes DMC version : 1.1 kernel configuration ===================== commit fb023a2062df06c9e097e1f8f2bcf252194b9413 Author: Daniel Vetter <daniel.vetter@ffwll.ch> Date: Mon May 30 10:46:14 2016 +0200 drm-intel-nightly: 2016y-05m-30d-08h-45m-53s UTC integration manifest Kernel version : 4.6.0 ========== test cases failed =============== igt@kms_flip@vblank-vs-suspend-interruptible igt@kms_flip@vblank-vs-suspend Created attachment 125456 [details]
IVB-kms_flip__vblank_vs_suspend-kern.log
Created attachment 125457 [details] IVB-kms_flip__vblank_vs_suspend-output IVB's logs attached. Platform: IVB CPU: Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz (family 6, model 58, stepping 9) Motherboard version: DH77EB GPU: IntelĀ® HD Graphics 4000 - Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller Software Bios: EBH7710H.86A.0096.2012.1012.1645 Linux distribution: Ubuntu 16.04 64 bits Kernel: 4.7.0-rc7 7eeb04a from http://cgit.freedesktop.org/drm-intel/ commit 7eeb04a101316645916d4d9df058a9341797f1af Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Sun Jul 24 11:00:31 2016 +0100 drm-intel-nightly: 2016y-07m-24d-09h-59m-54s UTC integration manifest drm: libdrm-2.4.70 0caa84c from git://anongit.freedesktop.org/mesa/drm mesa: mesa-11.2.2 3a9f628from git://anongit.freedesktop.org/mesa/mesa cairo: 1.15.2 db8a7f1 from git://anongit.freedesktop.org/cairo xserver: xorg-server-1.18.0-497 0b2f308 from git://git.freedesktop.org/git/xorg/xserver xf86-video-intel: 2.99.917-687 6988b87 from git://git.freedesktop.org/git/xorg/driver/xf86-video-intel libva: libva-1.7.0-26 c36971c from git://git.freedesktop.org/git/vaapi/libva vaapi-intel-driver: 1.7.0-58 e554446 from git://git.freedesktop.org/git/vaapi/intel-driver Intel-Gpu-Tools 1.15-140 e3abb20 from http://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools.git The following test keeps fail with latest configuration on BDW test: ========================== vblank-vs-suspend-interruptible Kernel used ==================================== Kernel version : 4.8.0-f35ed31 Architecture : source amd64 all Branch : drm-intel-nightly WW42 commit f35ed31aea66b3230c366fcba5f3456ae2cb956e Author: Jani Nikula <jani.nikula@intel.com> Date: Mon Oct 10 14:29:09 2016 +0300 drm-intel-nightly: 2016y-10m-10d-11h-28m-51s UTC integration manifest Gfx stack ==================================== Component : drm tag : libdrm-2.4.71 commit : a44c9c31b7b38b3eedf3d26648f9e68dcc377c4c Hardware information ============================================ Platform : BDW Motherboard type : NUC5i5RYB Desktop Motherboard manufacturer : CPU family : Core i5 CPU information : Intel(R) Core(TM) i5-5250U CPU @ 1.60GHz GPU Card : Intel Corporation Broadwell-U Integrated Graphics (rev 09) (prog-if 00 [VGA controller]) Memory ram : 8 GB Maximum memory ram allowed : 16 GB CPU thread : 4 CPU core : 2 Socket : Socket BGA1168 Signature : Type 0, Family 6, Model 61, Stepping 4 Hard drive capacity : 74GiB (80GB) (In reply to Humberto Israel Perez Rodriguez from comment #31) > The following test keeps fail with latest configuration on BDW > > test: > ========================== > vblank-vs-suspend-interruptible > > > Kernel used > ==================================== > Kernel version : 4.8.0-f35ed31 > Architecture : source amd64 all > Branch : drm-intel-nightly WW42 > commit f35ed31aea66b3230c366fcba5f3456ae2cb956e > Author: Jani Nikula <jani.nikula@intel.com> > Date: Mon Oct 10 14:29:09 2016 +0300 > > drm-intel-nightly: 2016y-10m-10d-11h-28m-51s UTC integration manifest > > > Gfx stack > ==================================== > Component : drm > tag : libdrm-2.4.71 > commit : a44c9c31b7b38b3eedf3d26648f9e68dcc377c4c > > > Hardware information > ============================================ > Platform : BDW > Motherboard type : NUC5i5RYB Desktop > Motherboard manufacturer : > CPU family : Core i5 > CPU information : Intel(R) Core(TM) i5-5250U CPU @ 1.60GHz > GPU Card : Intel Corporation Broadwell-U Integrated > Graphics (rev 09) (prog-if 00 [VGA controller]) > Memory ram : 8 GB > Maximum memory ram allowed : 16 GB > CPU thread : 4 > CPU core : 2 > Socket : Socket BGA1168 > Signature : Type 0, Family 6, Model 61, Stepping 4 > Hard drive capacity : 74GiB (80GB) the correct Gfx stack is : Gfx stack ==================================== Component : drm tag : libdrm-2.4.71 commit : a44c9c31b7b38b3eedf3d26648f9e68dcc377c4c Component : cairo tag : 1.15.2 commit : db8a7f1697c49ae4942d2aa49eed52dd73dd9c7a Component : intel-gpu-tools tag : intel-gpu-tools-1.16-59-g48a9e1e commit : 48a9e1e1553d37067ea2199e00aa51a356e7fa68 A regression was found on BDW, this is tracked by: bug 98289 based on the comment 20, HSW removed from the platform list. It passes for me on SKL - drm-nightly ~ 11/29/2016 csanta@labuser-NUC:~$ sudo ./kms_flip --run-subtest vblank-vs-suspend IGT-Version: 1.16-gcb214ef (x86_64) (Linux: 4.9.0-rc6+ x86_64) Using monotonic timestamps Beginning vblank-vs-suspend on pipe A, connector HDMI-A-1 1920x1080 60 1920 1968 2000 2080 1080 1083 1088 1112 0x9 0x48 138780 .rtcwake: assuming RTC uses UTC ... rtcwake: wakeup from "mem" using /dev/rtc0 at Tue Nov 29 06:59:29 2016 .rtcwake: assuming RTC uses UTC ... rtcwake: wakeup from "mem" using /dev/rtc0 at Tue Nov 29 06:59:48 2016 vblank-vs-suspend on pipe A, connector HDMI-A-1: PASSED Beginning vblank-vs-suspend on pipe B, connector HDMI-A-1 1920x1080 60 1920 1968 2000 2080 1080 1083 1088 1112 0x9 0x48 138780 .rtcwake: assuming RTC uses UTC ... rtcwake: wakeup from "mem" using /dev/rtc0 at Tue Nov 29 07:00:07 2016 .rtcwake: assuming RTC uses UTC ... rtcwake: wakeup from "mem" using /dev/rtc0 at Tue Nov 29 07:00:25 2016 vblank-vs-suspend on pipe B, connector HDMI-A-1: PASSED Beginning vblank-vs-suspend on pipe C, connector HDMI-A-1 1920x1080 60 1920 1968 2000 2080 1080 1083 1088 1112 0x9 0x48 138780 .rtcwake: assuming RTC uses UTC ... rtcwake: wakeup from "mem" using /dev/rtc0 at Tue Nov 29 07:00:44 2016 .rtcwake: assuming RTC uses UTC ... rtcwake: wakeup from "mem" using /dev/rtc0 at Tue Nov 29 07:01:02 2016 vblank-vs-suspend on pipe C, connector HDMI-A-1: PASSED Subtest vblank-vs-suspend: SUCCESS (7.171s) On BDW, it passed 3 times and failed twice, behavior appears to be sporadic. I've attached the dmesg of the last failure (read bottom first). This was on drm-nightly ~11/29/2016 csanta@csanta-bdw:~$ sudo ./kms_flip --run-subtest vblank-vs-suspend IGT-Version: 1.16-gcb214ef (x86_64) (Linux: 4.9.0-rc6+ x86_64) Using monotonic timestamps Beginning vblank-vs-suspend on pipe A, connector HDMI-A-1 1920x1080 60 1920 1968 2000 2080 1080 1083 1088 1112 0x9 0x48 138780 .rtcwake: assuming RTC uses UTC ... rtcwake: wakeup from "mem" using /dev/rtc0 at Wed Nov 30 02:07:13 2016 .rtcwake: assuming RTC uses UTC ... rtcwake: wakeup from "mem" using /dev/rtc0 at Wed Nov 30 02:07:30 2016 vblank-vs-suspend on pipe A, connector HDMI-A-1: PASSED Beginning vblank-vs-suspend on pipe B, connector HDMI-A-1 1920x1080 60 1920 1968 2000 2080 1080 1083 1088 1112 0x9 0x48 138780 .rtcwake: assuming RTC uses UTC ... rtcwake: wakeup from "mem" using /dev/rtc0 at Wed Nov 30 02:07:48 2016 .rtcwake: assuming RTC uses UTC ... rtcwake: wakeup from "mem" using /dev/rtc0 at Wed Nov 30 02:08:06 2016 vblank-vs-suspend on pipe B, connector HDMI-A-1: PASSED Beginning vblank-vs-suspend on pipe C, connector HDMI-A-1 1920x1080 60 1920 1968 2000 2080 1080 1083 1088 1112 0x9 0x48 138780 .rtcwake: assuming RTC uses UTC ... rtcwake: wakeup from "mem" using /dev/rtc0 at Wed Nov 30 02:08:23 2016 .rtcwake: assuming RTC uses UTC ... rtcwake: wakeup from "mem" using /dev/rtc0 at Wed Nov 30 02:08:41 2016 vblank-vs-suspend on pipe C, connector HDMI-A-1: PASSED Subtest vblank-vs-suspend: SUCCESS (10.980s) csanta@csanta-bdw:~$ sudo ./kms_flip --run-subtest vblank-vs-suspend IGT-Version: 1.16-gcb214ef (x86_64) (Linux: 4.9.0-rc6+ x86_64) Using monotonic timestamps Beginning vblank-vs-suspend on pipe A, connector HDMI-A-1 1920x1080 60 1920 1968 2000 2080 1080 1083 1088 1112 0x9 0x48 138780 .rtcwake: assuming RTC uses UTC ... rtcwake: wakeup from "mem" using /dev/rtc0 at Wed Nov 30 02:09:29 2016 .rtcwake: assuming RTC uses UTC ... rtcwake: wakeup from "mem" using /dev/rtc0 at Wed Nov 30 02:09:46 2016 vblank-vs-suspend on pipe A, connector HDMI-A-1: PASSED Beginning vblank-vs-suspend on pipe B, connector HDMI-A-1 1920x1080 60 1920 1968 2000 2080 1080 1083 1088 1112 0x9 0x48 138780 .rtcwake: assuming RTC uses UTC ... rtcwake: wakeup from "mem" using /dev/rtc0 at Wed Nov 30 02:10:04 2016 .rtcwake: assuming RTC uses UTC ... rtcwake: wakeup from "mem" using /dev/rtc0 at Wed Nov 30 02:10:22 2016 vblank-vs-suspend on pipe B, connector HDMI-A-1: PASSED Beginning vblank-vs-suspend on pipe C, connector HDMI-A-1 1920x1080 60 1920 1968 2000 2080 1080 1083 1088 1112 0x9 0x48 138780 .rtcwake: assuming RTC uses UTC ... rtcwake: wakeup from "mem" using /dev/rtc0 at Wed Nov 30 02:11:12 2016 .rtcwake: assuming RTC uses UTC ... rtcwake: wakeup from "mem" using /dev/rtc0 at Wed Nov 30 02:11:29 2016 (kms_flip:1764) CRITICAL: Test assertion failure function check_state, file kms_flip.c:510: (kms_flip:1764) CRITICAL: Failed assertion: es->current_seq - es->last_seq <= 150 (kms_flip:1764) CRITICAL: unexpected vblank seq 2309, should be < 487 Stack trace: #0 [__igt_fail_assert+0x101] #1 [check_state+0x331] #2 [<unknown>+0x331] Subtest vblank-vs-suspend failed. **** DEBUG **** (kms_flip:1764) DEBUG: Test requirement passed: (flags & TEST_HANG) == 0 || !is_wedged(drm_fd) (kms_flip:1764) DEBUG: Test requirement passed: modes (kms_flip:1764) INFO: Beginning vblank-vs-suspend on pipe A, connector HDMI-A-1 (kms_flip:1764) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258, tiling=0x0, size=0) (kms_flip:1764) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=2, pitch=7680) (kms_flip:1764) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258, tiling=0x0, size=0) (kms_flip:1764) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=3, pitch=7680) (kms_flip:1764) igt-kms-INFO: 1920x1080 60 1920 1968 2000 2080 1080 1083 1088 1112 0x9 0x48 138780 (kms_flip:1764) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation() (kms_flip:1764) igt-aux-DEBUG: Test requirement passed: (power_dir = open("/sys/power", O_RDONLY)) >= 0 (kms_flip:1764) igt-aux-DEBUG: Test requirement passed: get_supported_suspend_states(power_dir) & (1 << state) (kms_flip:1764) igt-aux-DEBUG: Test requirement passed: test == SUSPEND_TEST_NONE || faccessat(power_dir, "pm_test", R_OK | W_OK, 0) == 0 (kms_flip:1764) igt-aux-DEBUG: Test requirement passed: system(cmd) == 0 (kms_flip:1764) DEBUG: name = vblank last_ts = 0.000000 last_received_ts = 0.000000 last_seq = 0 current_ts = 177.945129 current_received_ts = 178.617435 current_seq = 9699 count = 0 seq_step = 10 (kms_flip:1764) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation() (kms_flip:1764) igt-aux-DEBUG: Test requirement passed: (power_dir = open("/sys/power", O_RDONLY)) >= 0 (kms_flip:1764) igt-aux-DEBUG: Test requirement passed: get_supported_suspend_states(power_dir) & (1 << state) (kms_flip:1764) igt-aux-DEBUG: Test requirement passed: test == SUSPEND_TEST_NONE || faccessat(power_dir, "pm_test", R_OK | W_OK, 0) == 0 (kms_flip:1764) igt-aux-DEBUG: Test requirement passed: system(cmd) == 0 (kms_flip:1764) DEBUG: name = vblank last_ts = 177.945129 last_received_ts = 178.617435 last_seq = 9699 current_ts = 178.783608 current_received_ts = 181.087330 current_seq = 9734 count = 1 seq_step = 10 (kms_flip:1764) DEBUG: testing ts continuity: Current frame 9734, old frame 9699 (kms_flip:1764) INFO: vblank-vs-suspend on pipe A, connector HDMI-A-1: PASSED (kms_flip:1764) INFO: Beginning vblank-vs-suspend on pipe B, connector HDMI-A-1 (kms_flip:1764) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258, tiling=0x0, size=0) (kms_flip:1764) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=2, pitch=7680) (kms_flip:1764) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258, tiling=0x0, size=0) (kms_flip:1764) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=3, pitch=7680) (kms_flip:1764) igt-kms-INFO: 1920x1080 60 1920 1968 2000 2080 1080 1083 1088 1112 0x9 0x48 138780 (kms_flip:1764) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation() (kms_flip:1764) igt-aux-DEBUG: Test requirement passed: (power_dir = open("/sys/power", O_RDONLY)) >= 0 (kms_flip:1764) igt-aux-DEBUG: Test requirement passed: get_supported_suspend_states(power_dir) & (1 << state) (kms_flip:1764) igt-aux-DEBUG: Test requirement passed: test == SUSPEND_TEST_NONE || faccessat(power_dir, "pm_test", R_OK | W_OK, 0) == 0 (kms_flip:1764) igt-aux-DEBUG: Test requirement passed: system(cmd) == 0 (kms_flip:1764) DEBUG: name = vblank last_ts = 0.000000 last_received_ts = 0.000000 last_seq = 0 current_ts = 181.332199 current_received_ts = 183.546924 current_seq = 416 count = 0 seq_step = 10 (kms_flip:1764) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation() (kms_flip:1764) igt-aux-DEBUG: Test requirement passed: (power_dir = open("/sys/power", O_RDONLY)) >= 0 (kms_flip:1764) igt-aux-DEBUG: Test requirement passed: get_supported_suspend_states(power_dir) & (1 << state) (kms_flip:1764) igt-aux-DEBUG: Test requirement passed: test == SUSPEND_TEST_NONE || faccessat(power_dir, "pm_test", R_OK | W_OK, 0) == 0 (kms_flip:1764) igt-aux-DEBUG: Test requirement passed: system(cmd) == 0 (kms_flip:1764) DEBUG: name = vblank last_ts = 181.332199 last_received_ts = 183.546924 last_seq = 416 current_ts = 183.707285 current_received_ts = 186.016916 current_seq = 543 count = 1 seq_step = 10 (kms_flip:1764) DEBUG: testing ts continuity: Current frame 543, old frame 416 (kms_flip:1764) INFO: vblank-vs-suspend on pipe B, connector HDMI-A-1: PASSED (kms_flip:1764) INFO: Beginning vblank-vs-suspend on pipe C, connector HDMI-A-1 (kms_flip:1764) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258, tiling=0x0, size=0) (kms_flip:1764) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=2, pitch=7680) (kms_flip:1764) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258, tiling=0x0, size=0) (kms_flip:1764) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=3, pitch=7680) (kms_flip:1764) igt-kms-INFO: 1920x1080 60 1920 1968 2000 2080 1080 1083 1088 1112 0x9 0x48 138780 (kms_flip:1764) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation() (kms_flip:1764) igt-aux-DEBUG: Test requirement passed: (power_dir = open("/sys/power", O_RDONLY)) >= 0 (kms_flip:1764) igt-aux-DEBUG: Test requirement passed: get_supported_suspend_states(power_dir) & (1 << state) (kms_flip:1764) igt-aux-DEBUG: Test requirement passed: test == SUSPEND_TEST_NONE || faccessat(power_dir, "pm_test", R_OK | W_OK, 0) == 0 (kms_flip:1764) igt-aux-DEBUG: Test requirement passed: system(cmd) == 0 (kms_flip:1764) DEBUG: name = vblank last_ts = 0.000000 last_received_ts = 0.000000 last_seq = 0 current_ts = 186.244780 current_received_ts = 219.213699 current_seq = 337 count = 0 seq_step = 10 (kms_flip:1764) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation() (kms_flip:1764) igt-aux-DEBUG: Test requirement passed: (power_dir = open("/sys/power", O_RDONLY)) >= 0 (kms_flip:1764) igt-aux-DEBUG: Test requirement passed: get_supported_suspend_states(power_dir) & (1 << state) (kms_flip:1764) igt-aux-DEBUG: Test requirement passed: test == SUSPEND_TEST_NONE || faccessat(power_dir, "pm_test", R_OK | W_OK, 0) == 0 (kms_flip:1764) igt-aux-DEBUG: Test requirement passed: system(cmd) == 0 (kms_flip:1764) DEBUG: name = vblank last_ts = 186.244780 last_received_ts = 219.213699 last_seq = 337 current_ts = 219.377694 current_received_ts = 220.648964 current_seq = 2309 count = 1 seq_step = 10 (kms_flip:1764) CRITICAL: Test assertion failure function check_state, file kms_flip.c:510: (kms_flip:1764) CRITICAL: Failed assertion: es->current_seq - es->last_seq <= 150 (kms_flip:1764) CRITICAL: unexpected vblank seq 2309, should be < 487 **** END **** Subtest vblank-vs-suspend: FAIL (42.825s) Created attachment 128279 [details]
BDW failure dmesg
I can confirm igt@kms_flip@vblank-vs-suspend-interruptible fails on drm-tip 396d17a6de32b4ef6cf1b531248e25ca6efe8001 drm-tip: 2017y-01m-25d-11h-07m-11s UTC integration manifest on IVB-3770. Test no longer fails on the IVB-3770 kernel ee2d731... drm-tip: 2017y-03m-13d-16h-06m-45s Adding tag into "Whiteboard" field - ReadyForDev The bug still active *Status is correct *Platform is included *Feature is included *Priority and Severity correctly set *Logs included NEW BUGS to be created since the failures are Marking this resolved+worksforme after the new ones are in db. The above is based on the latest results IVB - 4.10.0-rc7-drm-intel-testing-qa-ww16-commit-a4b2d83+ (IVB-1-0XR1GT) igt@kms_flip@vblank-vs-suspend Pass igt@kms_flip@vblank-vs-suspend-interruptible Pass HSW - 4.10.0-rc7-drm-intel-testing-qa-ww16-commit-a4b2d83+ (HSW-1-D54250WYK) igt@kms_flip@vblank-vs-suspend Pass igt@kms_flip@vblank-vs-suspend-interruptible Pass BSW/CHT - 4.12.0-rc1-drm-tip-ww20-commit-9b25870+ (BSW-1-BRASWELL) igt@kms_flip@vblank-vs-suspend Pass igt@kms_flip@vblank-vs-suspend-interruptible dmesg-fail --> NEW BUG TO BE CREATED for dmesg-fail BDW - 4.12.0-rc1-drm-tip-ww20-commit-9b25870+ (BDW-1-NUC5i5MYBE) igt@kms_flip@vblank-vs-suspend incomplete igt@kms_flip@vblank-vs-suspend-interruptible incomplete --> NEW BUG TO BE CREATED For incomplete BYT - drm-intel-qa 4.11.0-rc4 379767e BYT (BYT3) igt@kms_flip@vblank-vs-suspend incomplete igt@kms_flip@vblank-vs-suspend-interruptible incomplete --> NEW BUG TO BE CREATED For incomplete - see BDW above SKL - 4.10.0-rc7-drm-intel-testing-qa-ww16-commit-a4b2d83+ (SKL-1-NUC6i5SYB) igt@kms_flip@vblank-vs-suspend Pass igt@kms_flip@vblank-vs-suspend-interruptible Pass APL/BXT - 4.11.0-drm-tip-ww18-commit-fb550f8+ (BXT-1) igt@kms_flip@vblank-vs-suspend Pass igt@kms_flip@vblank-vs-suspend-interruptible Fail --> NEW BUG TO BE CREATED due to different failure CRITICAL: Test assertion failure function check_state, file kms_flip.c:510:(kms_flip:9555) CRITICAL: Failed assertion: es->current_seq - es->last_seq <= 150 (kms_flip:9555) CRITICAL: Last errno: 25, Inappropriate ioctl for device (kms_flip:9555) CRITICAL: unexpected vblank seq 7276, should be < 6886 KBL - 4.11.0-rc4-drm-tip-qa-ww13-commit-5c7479a+ (KBL-1) igt@kms_flip@vblank-vs-suspend Fail igt@kms_flip@vblank-vs-suspend-interruptible Fail --> NEW BUG TO BE CREATED due to different failure - see APL/BXT above (kms_flip:2391) CRITICAL: Test assertion failure function check_state, file kms_flip.c:510: (kms_flip:2391) CRITICAL: Failed assertion: es->current_seq - es->last_seq <= 150 (kms_flip:2391) CRITICAL: Last errno: 25, Inappropriate ioctl for device (kms_flip:2391) CRITICAL: unexpected vblank seq 5518, should be < 5066 Subtest vblank-vs-suspend failed. same issue with BSW and latest configuration kms_flip@vblank-vs-suspend-interruptible Graphic drivers =================================================== Component: drm tag: libdrm-2.4.80-18-gce9e3ba commit: ce9e3ba6e2cc65e1e9e6e05a5f326c4dd25ab2c4 Component: cairo tag: 1.15.4-22-g0fd0fd0 commit: 0fd0fd0ae9ad8cfb177bb844091de98c0235917e Component: intel-gpu-tools tag: intel-gpu-tools-1.18-211-g00ce341 commit: 00ce341b95c718611689ded8ccec45086186c5b7 Component: piglit tag: piglit-v1 commit: ebbb9c5dcc6a637884d54e06eb430a8c14993413 kernel =================================================== commit 4aa1d46d3b24bbe545cdf7cbd407c18f5cd5e43d Author: Daniel Vetter <daniel.vetter@ffwll.ch> AuthorDate: Wed May 31 10:59:05 2017 +0200 Commit: Daniel Vetter <daniel.vetter@ffwll.ch> CommitDate: Wed May 31 10:59:05 2017 +0200 drm-tip: 2017y-05m-31d-08h-58m-36s UTC integration manifest Hello, Seems that this bug is going to need time to fix so I'm changing to NEEDINFO. If there is any new update on this case, please mark as REOPEN. Thank you. (In reply to Jari Tahvanainen from comment #41) > NEW BUGS to be created since the failures are > Marking this resolved+worksforme after the new ones are in db. > The above is based on the latest results > IVB - 4.10.0-rc7-drm-intel-testing-qa-ww16-commit-a4b2d83+ (IVB-1-0XR1GT) > igt@kms_flip@vblank-vs-suspend Pass > igt@kms_flip@vblank-vs-suspend-interruptible Pass > HSW - 4.10.0-rc7-drm-intel-testing-qa-ww16-commit-a4b2d83+ (HSW-1-D54250WYK) > igt@kms_flip@vblank-vs-suspend Pass > igt@kms_flip@vblank-vs-suspend-interruptible Pass > BSW/CHT - 4.12.0-rc1-drm-tip-ww20-commit-9b25870+ (BSW-1-BRASWELL) > igt@kms_flip@vblank-vs-suspend Pass > igt@kms_flip@vblank-vs-suspend-interruptible dmesg-fail > --> NEW BUG TO BE CREATED for dmesg-fail > BDW - 4.12.0-rc1-drm-tip-ww20-commit-9b25870+ (BDW-1-NUC5i5MYBE) > igt@kms_flip@vblank-vs-suspend incomplete > igt@kms_flip@vblank-vs-suspend-interruptible incomplete > --> NEW BUG TO BE CREATED For incomplete > BYT - drm-intel-qa 4.11.0-rc4 379767e BYT (BYT3) > igt@kms_flip@vblank-vs-suspend incomplete > igt@kms_flip@vblank-vs-suspend-interruptible incomplete > --> NEW BUG TO BE CREATED For incomplete - see BDW above > SKL - 4.10.0-rc7-drm-intel-testing-qa-ww16-commit-a4b2d83+ (SKL-1-NUC6i5SYB) > igt@kms_flip@vblank-vs-suspend Pass > igt@kms_flip@vblank-vs-suspend-interruptible Pass > APL/BXT - 4.11.0-drm-tip-ww18-commit-fb550f8+ (BXT-1) > igt@kms_flip@vblank-vs-suspend Pass > igt@kms_flip@vblank-vs-suspend-interruptible Fail > --> NEW BUG TO BE CREATED due to different failure > CRITICAL: Test assertion failure function check_state, file > kms_flip.c:510:(kms_flip:9555) CRITICAL: Failed assertion: es->current_seq - > es->last_seq <= 150 > (kms_flip:9555) CRITICAL: Last errno: 25, Inappropriate ioctl for device > (kms_flip:9555) CRITICAL: unexpected vblank seq 7276, should be < 6886 > KBL - 4.11.0-rc4-drm-tip-qa-ww13-commit-5c7479a+ (KBL-1) > igt@kms_flip@vblank-vs-suspend Fail > igt@kms_flip@vblank-vs-suspend-interruptible Fail > --> NEW BUG TO BE CREATED due to different failure - see APL/BXT above > (kms_flip:2391) CRITICAL: Test assertion failure function check_state, file > kms_flip.c:510: > (kms_flip:2391) CRITICAL: Failed assertion: es->current_seq - es->last_seq > <= 150 > (kms_flip:2391) CRITICAL: Last errno: 25, Inappropriate ioctl for device > (kms_flip:2391) CRITICAL: unexpected vblank seq 5518, should be < 5066 > Subtest vblank-vs-suspend failed. Closing bug. To follow up problem on BSW, BDW, KBL, BSW please refer to bug 96226. Thank you. |
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.