Summary: | [SNB/HSW/BSW]igt/kms_flip some subcases fail | ||||||
---|---|---|---|---|---|---|---|
Product: | DRI | Reporter: | Guo Jinxian <jinxianx.guo> | ||||
Component: | DRM/Intel | Assignee: | Ville Syrjala <ville.syrjala> | ||||
Status: | CLOSED FIXED | QA Contact: | Intel GFX Bugs mailing list <intel-gfx-bugs> | ||||
Severity: | normal | ||||||
Priority: | medium | CC: | intel-gfx-bugs, przanoni, yi.sun | ||||
Version: | unspecified | ||||||
Hardware: | Other | ||||||
OS: | All | ||||||
Whiteboard: | |||||||
i915 platform: | i915 features: | ||||||
Attachments: |
|
Description
Guo Jinxian
2014-05-22 06:18:58 UTC
The dpms subtests are a dupe of bug 78687 So lets only track vblank-vs-modeset-dpms(-interruptible) here. Can you please attach the output from that testcase? (In reply to comment #1) > The dpms subtests are a dupe of bug 78687 > > So lets only track vblank-vs-modeset-dpms(-interruptible) here. Can you > please attach the output from that testcase? ./kms_flip --run-subtest vblank-vs-modeset-rpm IGT-Version: 1.6-gc75dcbd (x86_64) (Linux: 3.15.0-rc5_drm-intel-nightly_367653_20140521+ x86_64) Using monotonic timestamps Beginning vblank-vs-modeset-rpm on crtc 5, connector 13 1024x768 60 1024 1048 1184 1344 768 771 777 806 0xa 0x40 65000 .Test assertion failure function run_test_step, file kms_flip.c:941: Last errno: 0, Success Failed assertion: igt_wait_for_pm_status(IGT_RUNTIME_PM_STATUS_SUSPENDED) Subtest vblank-vs-modeset-rpm: FAIL ./kms_flip --run-subtest vblank-vs-modeset-rpm-interruptible IGT-Version: 1.6-gc75dcbd (x86_64) (Linux: 3.15.0-rc5_drm-intel-nightly_367653_20140521+ x86_64) Using monotonic timestamps Beginning vblank-vs-modeset-rpm-interruptible on crtc 5, connector 13 1024x768 60 1024 1048 1184 1344 768 771 777 806 0xa 0x40 65000 .Test assertion failure function run_test_step, file kms_flip.c:941: Last errno: 4, Interrupted system call Failed assertion: igt_wait_for_pm_status(IGT_RUNTIME_PM_STATUS_SUSPENDED) Subtest vblank-vs-modeset-rpm-interruptible: FAIL I see this on my MBA. Looks like the device never autosuspends as it should, so the test fails. The dpms rpm tests fail as expected, vblank-vs-modeset-rpm passes on pipe a but fails on pipe b: [root@jbarnes-mba tests]$ ./kms_flip --run-subtest vblank-vs-modeset-rpm IGT-Version: 1.7-g7ef5372 (x86_64) (Linux: 3.16.0-rc2+ x86_64) Using monotonic timestamps Beginning vblank-vs-modeset-rpm on crtc 6, connector 17 1440x900 60 1440 1504 1546 1652 900 903 909 926 0xa 0x48 91540 ... vblank-vs-modeset-rpm on crtc 6, connector 17: PASSED Beginning vblank-vs-modeset-rpm on crtc 10, connector 17 1440x900 60 1440 1504 1546 1652 900 903 909 926 0xa 0x48 91540 ..Test assertion failure function check_state, file kms_flip.c:576: Last errno: 0, Success Failed assertion: es->current_seq - es->last_seq <= 100 unexpected vblank seq 11, should be < 115 Subtest vblank-vs-modeset-rpm: FAIL Guo, note you need to enable runtime suspend by enabling it first: echo auto > /sys/devices/pci0000\:00/0000\:00\:02.0/power/control Some distros enable it, some don't. Ville says his vblank series ought to address this, so I'll let him close this when it lands. This bug still able to reproduce on latest -nightly(77820625217fa547586f00be7cae56e5c5e255bf) ./kms_flip --run-subtest vblank-vs-dpms-rpm IGT-Version: 1.7-g8d60b82 (x86_64) (Linux: 3.16.0-rc5_drm-intel-nightly_778206_20140716+ x86_64) Using monotonic timestamps Beginning vblank-vs-dpms-rpm on crtc 7, connector 18 1920x1080 60 1920 1966 1996 2080 1080 1082 1086 1112 0xa 0x48 138780 .Test assertion failure function run_test_step, file kms_flip.c:951: Last errno: 0, Success Failed assertion: igt_wait_for_pm_status(IGT_RUNTIME_PM_STATUS_SUSPENDED) Subtest vblank-vs-dpms-rpm: FAIL The bug still able to reproduce on latest -nightly(d62845db2ec40e15a76e5d5ebfe1a039ea2538c4) [root@x-hsw24 tests]# ./kms_flip --run-subtest vblank-vs-dpms-rpm IGT-Version: 1.7-g70e6ed9 (x86_64) (Linux: 3.16.0-rc6_drm-intel-nightly_d62845_20140723+ x86_64) Using monotonic timestamps Beginning vblank-vs-dpms-rpm on crtc 7, connector 17 1920x1080 60 1920 2008 2052 2200 1080 1084 1089 1125 0x5 0x48 148500 .Test assertion failure function run_test_step, file kms_flip.c:951: Failed assertion: igt_wait_for_pm_status(IGT_RUNTIME_PM_STATUS_SUSPENDED) Subtest vblank-vs-dpms-rpm: FAIL Please retest with current drm-intel-nightly. (In reply to comment #9) > Please retest with current drm-intel-nightly. Test still failed on latest -nihglty(c30b73ce7c138b5fd671ed3a7e1301bd273fd661) [root@x-hsw24 tests]# ./kms_flip --run-subtest vblank-vs-dpms-rpm IGT-Version: 1.7-g50166d2 (x86_64) (Linux: 3.17.0-rc2_drm-intel-nightly_c30b73_20140827+ x86_64) Using monotonic timestamps Beginning vblank-vs-dpms-rpm on crtc 8, connector 18 1024x768 60 1024 1048 1184 1344 768 771 777 806 0xa 0x40 65000 .Test assertion failure function run_test_step, file kms_flip.c:951: Failed assertion: igt_wait_for_pm_status(IGT_RUNTIME_PM_STATUS_SUSPENDED) Subtest vblank-vs-dpms-rpm: FAIL The failure is able to reproduce on latest -nihglty(72faa6a63351879b381bd9e4013f38bc94f11999) on BSW [root@x-bsw01 tests]# ./kms_flip --run-subtest vblank-vs-dpms-rpm-interruptible IGT-Version: 1.8-gd9d3f4b (x86_64) (Linux: 3.17.0-rc4_drm-intel-nightly_72faa6_20140911+ x86_64) Using monotonic timestamps Beginning vblank-vs-dpms-rpm-interruptible on crtc 8, connector 31 1920x1080 60 1920 1966 1996 2080 1080 1082 1086 1112 0xa 0x48 138780 ...Test assertion failure function run_test_step, file kms_flip.c:949: Failed assertion: igt_wait_for_pm_status(IGT_RUNTIME_PM_STATUS_SUSPENDED) Last errno: 4, Interrupted system call Subtest vblank-vs-dpms-rpm-interruptible: FAIL (6.423s) The failure is able to reproduce on SNB on latest -nightly(c5660b4ad395f1e34eacc22cf81c687edfc9c83c) [root@x-sgb4 tests]# ./kms_flip --run-subtest vblank-vs-dpms-rpm-interruptible IGT-Version: 1.8-g25c55d3 (i686) (Linux: 3.17.0-rc5_drm-intel-nightly_c5660b_20140922+ i686) Using monotonic timestamps Beginning vblank-vs-dpms-rpm-interruptible on crtc 8, connector 14 1024x768 60 1024 1048 1184 1344 768 771 777 806 0xa 0x40 65000 ..Test assertion failure function run_test_step, file kms_flip.c:949: Failed assertion: igt_wait_for_pm_status(IGT_RUNTIME_PM_STATUS_SUSPENDED) Last errno: 4, Interrupted system call Subtest vblank-vs-dpms-rpm-interruptible: FAIL (0.405s) [root@x-sgb4 tests]# ./kms_flip --run-subtest vblank-vs-modeset-rpm-interruptible IGT-Version: 1.8-g25c55d3 (i686) (Linux: 3.17.0-rc5_drm-intel-nightly_c5660b_20140922+ i686) Using monotonic timestamps Beginning vblank-vs-modeset-rpm-interruptible on crtc 8, connector 14 1024x768 60 1024 1048 1184 1344 768 771 777 806 0xa 0x40 65000 .Test assertion failure function run_test_step, file kms_flip.c:949: Failed assertion: igt_wait_for_pm_status(IGT_RUNTIME_PM_STATUS_SUSPENDED) Last errno: 4, Interrupted system call Subtest vblank-vs-modeset-rpm-interruptible: FAIL (0.317s) We recently fixed some related kms_flip code, I believe this bug is fixed. Please retest this bug. Test skips on latest fixes(6be1e3d3ea29354d7c834a3936e796e185d5c73b) [root@x-hsw27 tests]# ./kms_flip --run-subtest vblank-vs-dpms-rpm IGT-Version: 1.8-g15972aa (x86_64) (Linux: 3.18.0-rc2_drm-intel-fixes_6be1e3_20141028+ 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 vblank-vs-dpms-rpm: SKIP [root@x-hsw27 tests]# ./kms_flip --run-subtest vblank-vs-dpms-rpm-interruptible IGT-Version: 1.8-g15972aa (x86_64) (Linux: 3.18.0-rc2_drm-intel-fixes_6be1e3_20141028+ 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 vblank-vs-dpms-rpm-interruptible: SKIP [root@x-hsw27 tests]# ./kms_flip --run-subtest vblank-vs-modeset-rpm-interruptible IGT-Version: 1.8-g15972aa (x86_64) (Linux: 3.18.0-rc2_drm-intel-fixes_6be1e3_20141028+ 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 vblank-vs-modeset-rpm-interruptible: SKIP [root@x-hsw27 tests]# ./kms_flip --run-subtest vblank-vs-modeset-rpm IGT-Version: 1.8-g15972aa (x86_64) (Linux: 3.18.0-rc2_drm-intel-fixes_6be1e3_20141028+ 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 vblank-vs-modeset-rpm: SKIP Closing old verified. |
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.