Created attachment 113170 [details] dmesg ==System Environment== -------------------------- Regression: yes Non-working platforms: SNB ==kernel== -------------------------- drm-intel-nightly/0eafcbf6bc5917efd97c9916329c6f859cfb41ed(2015-02-04) ==Bug detailed description== ----------------------------- root@x-sgb4:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./pm_rc6_residency --run-subtest rc6pp-accuracy IGT-Version: 1.9-g87edb51 (x86_64) (Linux: 3.19.0-rc7_drm-intel-nightly_9583cb_20150205+ x86_64) (pm_rc6_residency:4089) CRITICAL: Test assertion failure function residency_accuracy, file pm_rc6_residency.c:103: (pm_rc6_residency:4089) CRITICAL: Failed assertion: diff >= (SLEEP_DURATION - RC6_FUDGE) (pm_rc6_residency:4089) CRITICAL: GPU was not in RC6 long enough. Check that the GPU is as idle as possible(ie. no X, running and running no other tests) Subtest rc6pp-accuracy: FAIL (0.000s) root@x-sgb4:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./pm_rc6_residency --run-subtest rc6p-accuracy IGT-Version: 1.9-g87edb51 (x86_64) (Linux: 3.19.0-rc7_drm-intel-nightly_9583cb_20150205+ x86_64) (pm_rc6_residency:4090) CRITICAL: Test assertion failure function residency_accuracy, file pm_rc6_residency.c:103: (pm_rc6_residency:4090) CRITICAL: Failed assertion: diff >= (SLEEP_DURATION - RC6_FUDGE) (pm_rc6_residency:4090) CRITICAL: GPU was not in RC6 long enough. Check that the GPU is as idle as possible(ie. no X, running and running no other tests) Subtest rc6p-accuracy: FAIL (0.000s) Affected cases: igt/pm_rc6_residency/rc6p-accuracy igt/pm_rc6_residency/rc6pp-accuracy ==Reproduce steps== ---------------------------- 1. ./pm_rc6_residency --run-subtest rc6p-accuracy
It still exists on the latest nightly kernel(07e5c9. ouput: ------------------ root@x-sgb4:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./pm_rc6_residency --run-subtest rc6p-a ccuracy IGT-Version: 1.10-g11291fd (x86_64) (Linux: 4.0.0-rc5_drm-intel-nightly_07e5c9_20150328+ x86_64) Test assertion failure function residency_accuracy, file pm_rc6_residency.c:104: Failed assertion: diff >= (SLEEP_DURATION - RC6_FUDGE) GPU was not in RC6 long enough. Check that the GPU is as idle as possible(ie. no X, running and running no other tests) Stack trace: #0 [__igt_fail_assert+0xfc] #1 [residency_accuracy+0x155] #2 [__real_main134+0x1cf] #3 [main+0x21] #4 [__libc_start_main+0xf5] #5 [_start+0x29] #6 [<unknown>+0x29] Subtest rc6p-accuracy failed. **** DEBUG **** Test assertion failure function residency_accuracy, file pm_rc6_residency.c:104: Failed assertion: diff >= (SLEEP_DURATION - RC6_FUDGE) GPU was not in RC6 long enough. Check that the GPU is as idle as possible(ie. no X, running and running no other tests) **** END **** Subtest rc6p-accuracy: FAIL (0.001s)
Imre made a bunch of fixes to the pm_rc6_residency test. Is this still a problem with an updated IGT?
Test it on the latest nightly and latest igt, rc6p-accuracy status from "FAIL" to "SKIP", I don't know whether has been fixed. output info: ------------------ ./pm_rc6_residency IGT-Version: 1.10-ga5a6d40 (x86_64) (Linux: 4.1.0-rc6_drm-intel-nightly_7d26f9_20150604+ x86_64) Residency in rc6 or deeper state: 3002 ms (ratio to expected duration: 0.98) Subtest rc6-accuracy: SUCCESS (0.000s) Test requirement not met in function __real_main178, file pm_rc6_residency.c:204: Test requirement: !(!((rc6_mask & RC6_ENABLED) && (IS_VALLEYVIEW(devid) || IS_CHERRYVIEW(devid)))) Subtest media-rc6-accuracy: SKIP (0.000s) Test requirement not met in function __real_main178, file pm_rc6_residency.c:209: Test requirement: !(!(rc6_mask & RC6P_ENABLED)) Subtest rc6p-accuracy: SKIP (0.000s) Test requirement not met in function __real_main178, file pm_rc6_residency.c:214: Test requirement: !(!(rc6_mask & RC6PP_ENABLED)) Subtest rc6pp-accuracy: SKIP (0.000s)
(In reply to ye.tian from comment #3) > Test it on the latest nightly and latest igt, rc6p-accuracy status from > "FAIL" to "SKIP", I don't know whether has been fixed. RC6p is disabled on SNB by default so the SKIP is expected.
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.