Created attachment 124805 [details] dmesg.log Bug description ====================== prime_busy some subtests fail Regresion ====================== No, this are new sub tests Kernel used ====================== commit 8a6521c80881208ba106696e67d143ab64bb34c2 Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Wed Jun 29 17:08:50 2016 +0100 drm-intel-nightly: 2016y-06m-29d-16h-08m-16s UTC integration manifest Case list ====================== igt@prime_busy@before-blt igt@prime_busy@before-render igt@prime_busy@before-default igt@prime_busy@before-vebox igt@prime_busy@after-blt igt@prime_busy@after-vebox igt@prime_busy@after-render igt@prime_busy@after-bsd igt@prime_busy@before-bsd igt@prime_busy@after-default Test output ====================== IGT-Version: 1.15-g88c1f7c (x86_64) (Linux: 4.7.0-rc5-drm-intel-nightly-ww27-commit-8a6521c+ x86_64) (prime_busy:1612) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation() (prime_busy:1612) drmtest-DEBUG: Test requirement passed: fd >= 0 (prime_busy:1612) drmtest-DEBUG: Test requirement passed: fd >= 0 (prime_busy:1612) drmtest-DEBUG: Test requirement passed: drmSetMaster(fd) == 0 (prime_busy:1612) DEBUG: Test requirement passed: gem_mmap__has_wc(fd) (prime_busy:1612) igt-core-DEBUG: Starting subtest: before-vebox (prime_busy:1612) ioctl-wrappers-DEBUG: Test requirement passed: gem_has_ring(fd, ring) (prime_busy:1612) DEBUG: Test requirement passed: !(gen == 6 && e->exec_id == I915_EXEC_BSD) (prime_busy:1612) DEBUG: Test requirement passed: __gem_execbuf(fd, &execbuf) == 0 (prime_busy:1612) CRITICAL: Test assertion failure function one, file prime_busy.c:136: (prime_busy:1612) CRITICAL: Failed assertion: prime_busy(&pfd[SCRATCH], false) Stack trace: #0 [__igt_fail_assert+0x101] #1 [one+0x392] #2 [__real_main164+0x14b] #3 [main+0x23] #4 [__libc_start_main+0xf0] #5 [_start+0x29] #6 [<unknown>+0x29] Subtest before-vebox failed. **** DEBUG **** (prime_busy:1612) ioctl-wrappers-DEBUG: Test requirement passed: gem_has_ring(fd, ring) (prime_busy:1612) DEBUG: Test requirement passed: !(gen == 6 && e->exec_id == I915_EXEC_BSD) (prime_busy:1612) DEBUG: Test requirement passed: __gem_execbuf(fd, &execbuf) == 0 (prime_busy:1612) CRITICAL: Test assertion failure function one, file prime_busy.c:136: (prime_busy:1612) CRITICAL: Failed assertion: prime_busy(&pfd[SCRATCH], false) **** END **** Subtest before-vebox: FAIL (0.005s) (prime_busy:1612) igt-core-DEBUG: Exiting with status code 99 Software information ============================================ Kernel version : 4.7.0-rc4-drm-intel-nightly-ww26-commit-5c244f4+ Linux distribution : Ubuntu 16.04 LTS Architecture : 64-bit Hardware information ============================================ Platform : BXT-P Motherboard model : Broxton P Motherboard type : NOTEBOOK Hand Held Motherboard manufacturer : Intel Corp. CPU family : B1 CPU information : 06/5c GPU Card : Intel Corporation Device 5a84 (rev 0a) (prog-if 00 [VGA controller]) Memory ram : 16 GB Firmwares information ============================================ DMC fw loaded : yes DMC version : 1.7 GUC fw loaded : SUCCESS GUC version wanted : 8.7 GUC version found : 8.7 --> Component : drm url : http://cgit.freedesktop.org/mesa/drm tag : libdrm-2.4.68-9-g625d181 commit : 625d181 --> Component : cairo url : http://cgit.freedesktop.org/cairo tag : 1.15.2 commit : db8a7f1 --> Component : intel-gpu-tools url : http://cgit.freedesktop.org/xorg/app/intel-gpu-tools tag : intel-gpu-tools-1.15-54-g88c1f7c commit : 88c1f7c Attachments ====================== dmesg.log
Set priority to high. It has an impact on prime category.
Also reproduced on KBL-U. 5 subcases are fail: prime_busy@after-render prime_busy@after-vebox prime_busy@before-blt prime_busy@before-default prime_busy@before-render ./prime_busy --r after-render IGT-Version: 1.15-g0404de4 (x86_64) (Linux: 4.7.0-rc5-patch-enable-guc-on-kbl+ x86_64) (prime_busy:4240) CRITICAL: Test assertion failure function one, file prime_busy.c:136: (prime_busy:4240) CRITICAL: Failed assertion: prime_busy(&pfd[SCRATCH], false) Stack trace: #0 [__igt_fail_assert+0xf1] #1 [one+0x554] #2 [__real_main164+0x253] #3 [main+0x29] #4 [__libc_start_main+0xf0] #5 [_start+0x29] #6 [<unknown>+0x29] Subtest after-render failed. **** DEBUG **** (prime_busy:4240) ioctl-wrappers-DEBUG: Test requirement passed: gem_has_ring(fd, ring) (prime_busy:4240) DEBUG: Test requirement passed: !(gen == 6 && e->exec_id == I915_EXEC_BSD) (prime_busy:4240) DEBUG: Test requirement passed: __gem_execbuf(fd, &execbuf) == 0 (prime_busy:4240) CRITICAL: Test assertion failure function one, file prime_busy.c:136: (prime_busy:4240) CRITICAL: Failed assertion: prime_busy(&pfd[SCRATCH], false) **** END **** Subtest after-render: FAIL (0.002s) I will attach dmesg.
(In reply to cprigent from comment #2) > Also reproduced on KBL-U. 5 subcases are fail: > prime_busy@after-render > prime_busy@after-vebox > prime_busy@before-blt > prime_busy@before-default > prime_busy@before-render Hmm, they should all fail.
issue is still present with the following config: Software information ============================================ Kernel version : 4.7.0-rc5-nightly+ Linux distribution : Ubuntu 16.04 LTS Architecture : 64-bit xf86-video-intel version : 2.99.917 Xorg-Xserver version : 1.18.99.1 DRM version : 2.4.68 VAAPI version : Intel i965 driver for Intel(R) Broxton - 1.7.2.pre1 (1.7.0-53-gbcde10d) Cairo version : 1.15.2 Intel GPU Tools version : Kernel driver in use : i915 Bios revision : 144.10 KSC revision : 1.6 Hardware information ============================================ Platform : BXT-P Motherboard model : Broxton P Motherboard manufacturer : Intel Corp. GPU Card : Intel Corporation Device 5a84 (rev 0a) (prog-if 00 [VGA controller]) Firmwares information ============================================ DMC version : 1.7 GUC version found : 8.7
Should be fixed by https://patchwork.freedesktop.org/series/9603/
(In reply to Chris Wilson from comment #5) > Should be fixed by https://patchwork.freedesktop.org/series/9603/ Hi Chris : with the series all prime_busy family pass now kernel ====================== commit bdad748a827cef1d0605569008a6df80aed1eca3 Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Thu Jul 7 09:42:10 2016 +0100 Revert "drm/i915: Clean up associated VMAs on context destruction" This reverts commit e9f24d5fb7cf3628b195b18ff3ac4e37937ceeae. The patch was only a stop-gap measure that fixed half the problem - the leak of the fbcon when restarting X. A complete solution required releasing the VMA when the object itself was closed rather than rely on file/process exit. The previous patches add the VMA tracking necessary to do close them along with the object, context or file, and so the time has come to remove the partial fix. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
sorry for my last comment, no all tests are pass, the following tests are skopepd : before-bsd1 after-bsd1 before-bsd2 after-bsd2
(In reply to Chris Wilson from comment #5) > Should be fixed by https://patchwork.freedesktop.org/series/9603/ Chris could you tell us when the path is on nightly branch ? Thanks
*** This bug has been marked as a duplicate of bug 97076 ***
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.