Created attachment 122415 [details] dmesg Setup: ------ Hardware Platform: KABY LAKE-U CPU : Intel(R) Core(TM) @ 2.60GHz MCP : KBL-U G0 2+2 (ou ULT-G0) QDF : QYQ8 Chipset PCH: SPT-LP C1 CRB : KABY LAKE U DDR3L RVP7 CRB FAB1 Software BIOS : KBLSE2R1.R00.X015.B01.1511271314 ME FW : 11.5.0.1008 Ksc (EC FW): 1.20 Linux distribution: Ubuntu 15.10 64 bits Kernel drm-intel-nightly 4.5.0-fc881eb from http://cgit.freedesktop.org/drm-intel/ commit fc881ebd9c3c26919c7d1113f8bf7014e1a05563 Author: Daniel Vetter <daniel.vetter@ffwll.ch> Date: Tue Mar 15 14:11:45 2016 +0100 drm-intel-nightly: 2016y-03m-15d-13h-10m-41s UTC integration manifest drm: libdrm-2.4.67-7-g49041c3 cairo: 1.15.2 db8a7f1 intel-gpu-tool: intel-gpu-tools-1.14-62-g8f6ed9e Steps: ------ # ./gem_userptr_blits --r swapping-normal-sync Actual result: -------------- The test fail. Expected result: ---------------- The test pass or skip. Program output: --------------- IGT-Version: 1.14-NOT-GIT (x86_64) (Linux: 4.5.0-nightly+ x86_64) Aperture size is 268435456 MiB Total RAM is 5,865 MiB Not enough RAM to run test, reducing buffer count. Testing unsynchronized mappings... Testing synchronized mappings... (gem_userptr_blits:1434) CRITICAL: Test assertion failure function swapping_evictions, file eviction_common.c:226: (gem_userptr_blits:1434) CRITICAL: Failed assertion: ret == 0 (gem_userptr_blits:1434) CRITICAL: error: -28 != 0 Stack trace: #0 [__igt_fail_assert+0xf1] #1 [test_swapping_evictions+0x1b1] #2 [main+0x16e8] #3 [__libc_start_main+0xf0] #4 [_start+0x29] #5 [<unknown>+0x29] Subtest swapping-normal-sync failed. **** DEBUG **** (gem_userptr_blits:1434) ioctl-wrappers-DEBUG: Test requirement passed: !(ret == ENODEV && (flags & LOCAL_I915_USERPTR_UNSYNCHRONIZED) == 0 && !read_only) (gem_userptr_blits:1434) ioctl-wrappers-DEBUG: Test requirement passed: !(ret == ENODEV && (flags & LOCAL_I915_USERPTR_UNSYNCHRONIZED) == 0 && !read_only) (gem_userptr_blits:1434) ioctl-wrappers-DEBUG: Test requirement passed: !(ret == ENODEV && (flags & LOCAL_I915_USERPTR_UNSYNCHRONIZED) == 0 && !read_only) ... ... ... (gem_userptr_blits:1434) ioctl-wrappers-DEBUG: Test requirement passed: !(ret == ENODEV && (flags & LOCAL_I915_USERPTR_UNSYNCHRONIZED) == 0 && !read_only) (gem_userptr_blits:1434) ioctl-wrappers-DEBUG: Test requirement passed: !(ret == ENODEV && (flags & LOCAL_I915_USERPTR_UNSYNCHRONIZED) == 0 && !read_only) (gem_userptr_blits:1434) ioctl-wrappers-DEBUG: Test requirement passed: !(ret == ENODEV && (flags & LOCAL_I915_USERPTR_UNSYNCHRONIZED) == 0 && !read_only) (gem_userptr_blits:1434) CRITICAL: Test assertion failure function swapping_evictions, file eviction_common.c:226: (gem_userptr_blits:1434) CRITICAL: Failed assertion: ret == 0 (gem_userptr_blits:1434) CRITICAL: error: -28 != 0 **** END **** Subtest swapping-normal-sync: FAIL (5.077s)
ENOSPC? Hmm, that shouldn't happen. This needs a drm.debug=7 dmesg.
Olivier, Could you attach logs with drm.debug=7. Thanks
Created attachment 122822 [details] dmesg log file drm.debug=7
Created attachment 123033 [details] dmesgAPL.log dmesgAPL.log
Issue is also seen on APL with the following configuration: Hardware Configuration =========================================== Platform: BXT - P (APL) CPU : CPU family Other CPU information: 06/5c Motherboard model Apollo Lake Motherboard type NOTEBOOK Hand Held Motherboard manufacturer Intel Corp. Software Configuration ================================================ Linux distribution: Ubuntu 15.10 64 bits Kernel: drm-intel-nightly 4.6.0-rc3_d9131d6 from http://cgit.freedesktop.org/drm-intel/ commit d9131d62d18ba94fb3ca019f1156c22b5f4ce23c Author: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Date: Fri Apr 15 14:54:26 2016 +0100 drm-intel-nightly: 2016y-04m-15d-13h-53m-44s UTC integration manifestdrm: tag libdrm-2.4.66-33-gf884af9 libdrm 2.4.67-25 cc9a53f from git://git.freedesktop.org/git/mesa/drm mesa 11.1.2 7bcd827 from git://git.freedesktop.org/git/mesa/mesa cairo 1.15.2 db8a7f1 from git://git.freedesktop.org/git/cairo xorg/xserver 1.18.0-274 8437955 from git://git.freedesktop.org/git/xorg/xserver xf86-video-intel 2.99.917-634 81029be from git://git.freedesktop.org/git/xorg/driver/xf86-video-intel vaapi/libva 1.7.0-1 2339d10 from git://git.freedesktop.org/git/vaapi/libva vaapi/intel-driver 1.7.0-8 2c1bec0 from git://git.freedesktop.org/git/vaapi/intel-driver intel-gpu-tool 1.14 7bd2ac6 from http://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools.git rendercheck master 44032a7 from http://anongit.freedesktop.org/git/xorg/app/rendercheck.git
Comment on attachment 123033 [details] dmesgAPL.log Please always set the proper attachment MIME type.
Increasing priority due to current platform experience impact
The following tests cases fail on BXT-P : tests cases =========================== igt@gem_userptr_blits@mlocked-normal-sync igt@gem_userptr_blits@swapping-unsync-interruptible igt@gem_userptr_blits@swapping-unsync-normal igt@gem_userptr_blits@swapping-normal-sync igt@gem_userptr_blits@swapping-sync-interruptible igt@gem_userptr_blits@mlocked-unsync-normal Software information =========================== Linux distribution : Ubuntu 15.10 Architecture : 64-bit Bios revision : 129.10 KSC revision : 1.12 Hardware information ============================= Platform : BXT-P 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]) CPU's number : 4 Graphic stack ========================= --> Component : drm url : http://cgit.freedesktop.org/mesa/drm tag : libdrm-2.4.68-4-g7aab852 commit : 7aab852 author : Sonny Jiang <sonny.jiang@amd.com> age : 5 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 months ago --> Component : xf86-video-intel url : http://cgit.freedesktop.org/xorg/driver/xf86-video-intel tag : 2.99.917-645-g88733a7 commit : 88733a7 author : Chris Wilson <chris@chris-wilson.co.uk> age : 10 days ago --> Component : libva url : http://cgit.freedesktop.org/libva/ tag : libva-1.7.0-10-gcfed369 commit : cfed369 author : peng.chen <peng.c.chen@intel.com> age : 6 days ago --> Component : vaapi (intel-driver) url : http://cgit.freedesktop.org/vaapi/intel-driver tag : 1.7.0-23-g0be0b21 commit : 0be0b21 author : Xiang Haihao <haihao.xiang@intel.com> age : 7 days ago --> Component : cairo url : http://cgit.freedesktop.org/cairo tag : 1.15.2 commit : db8a7f1 author : Bryce Harrington <bryce@osg.samsung.com> age : 5 months ago --> Component : xserver url : http://cgit.freedesktop.org/xorg/xserver tag : xorg-server-1.18.0-324-g984be78 commit : 984be78 author : Olivier Fourdan <ofourdan@redhat.com> age : 6 days ago --> Component : intel-gpu-tools url : http://cgit.freedesktop.org/xorg/app/intel-gpu-tools tag : intel-gpu-tools-1.14-319-gb88bce4 commit : b88bce4 author : Mika Kuoppala <mika.kuoppala@intel.com> age : 4 days ago kernel ====================== commit 5528ede25a356196417ee02aa153b17fe90c1be5 Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Sat May 14 09:24:52 2016 +0100 drm-intel-nightly: 2016y-05m-14d-08h-24m-24s UTC integration manifest Kernel version : 4.6.0-rc7 Architecture : source amd64 all Homepage : http://www.kernel.org/
The following tests cases fail with the following configuration : Tests cases =============================================== igt@gem_userptr_blits@swapping-sync-interruptible igt@gem_userptr_blits@forked-sync-swapping-multifd-normal igt@gem_userptr_blits@swapping-unsync-interruptible igt@gem_userptr_blits@swapping-normal-sync igt@gem_userptr_blits@mlocked-unsync-interruptible igt@gem_userptr_blits@mlocked-sync-interruptible igt@gem_userptr_blits@mlocked-normal-sync igt@gem_userptr_blits@swapping-unsync-normal Gfx stack information =============================================== --> Component : drm tag : libdrm-2.4.68-4-g7aab852 commit : 7aab852 --> Component : mesa tag : mesa-11.1.2 commit : 7bcd827 --> Component : cairo tag : 1.15.2 commit : db8a7f1 --> Component : intel-gpu-tools tag : intel-gpu-tools-1.14-346-gcce2ff0 commit : cce2ff0 Software information =============================================== Kernel version : 4.6.0-rc7-drm-intel-nightly-ww20-commit-5528ede+ Linux distribution : Ubuntu 15.10 Architecture : 64-bit Bios revision : 138.22 KSC revision : 1.12 Hardware information =============================================== Platform : BXT-P 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 0a) (prog-if 00 [VGA controller]) kernel =============================================== commit 2ec823981d62c56d1511bda42b8295e31ece800f Author: Daniel Vetter <daniel.vetter@ffwll.ch> Date: Sun May 22 18:23:13 2016 +0200 drm-intel-nightly: 2016y-05m-22d-16h-22m-45s UTC integration manifest
Are gem_userptr_blits@mlocked-* subcases failed due to memory pre-condition not met? As in bug 95427
The following tests cases are fail with the following configuration : Tests cases =============================================== igt@gem_userptr_blits@mlocked-unsync-interruptible igt@gem_userptr_blits@swapping-normal-sync igt@gem_userptr_blits@swapping-sync-interruptible igt@gem_userptr_blits@swapping-unsync-normal igt@gem_userptr_blits@mlocked-sync-interruptible igt@gem_userptr_blits@mlocked-normal-sync igt@gem_userptr_blits@swapping-unsync-interruptible Gfx stack information =============================================== --> Component : drm tag : libdrm-2.4.68 commit : fc09c5a --> Component : cairo tag : 1.15.2 commit : db8a7f1 --> Component : intel-gpu-tools tag : intel-gpu-tools-1.14-348-g303b380 commit : 303b380 Software information =============================================== Kernel version : 4.6.0-drm-intel-nightly-ww23-commit-fb023a2+ Linux distribution : Ubuntu 16.04 Architecture : 64-bit Bios revision : 138.25 KSC revision : 1.12 DMC revision : 1.07 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]) kernel =============================================== 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
The following test fail with tne next configuration : test cases =============== igt@gem_userptr_blits@swapping-unsync-interruptible igt@gem_userptr_blits@swapping-unsync-normal igt@gem_userptr_blits@swapping-sync-interruptible igt@gem_userptr_blits@swapping-normal-sync kernel : 4.6.1 from http://www.kernel.org/ Graphic stack --> Component : drm tag : libdrm-2.4.68 commit : fc09c5a --> Component : mesa tag : mesa-11.2.2 commit : 3a9f628 --> Component : cairo tag : 1.15.2 commit : db8a7f1 --> Component : intel-gpu-tools tag : intel-gpu-tools-1.15 commit : 3ce58b6 Software information =============================================== Linux distribution : Ubuntu 16.04 Architecture : 64-bit Bios revision : 138.25 KSC revision : 1.12 DMC revision : 1.07 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])
Issue is also seen on SKL with the following config: Software information ============================================ Kernel version : 4.6.1-mainline-ww24-version-4.6.1 Linux distribution : Ubuntu 16.04 LTS Architecture : 64-bit Mesa version : 11.2.2 (git-3a9f628 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) Skylake - 1.7.1.pre1 (1.7.1.pre1) Cairo version : 1.15.2 Intel GPU Tools version : Tag [intel-gpu-tools-1.15] / Commit [3ce58b6] Kernel driver in use : i915 Hardware acceleration : Enabled Bios revision : 1.0 Hardware information ============================================ Platform : SKL Motherboard model : Inspiron 15-7568 Motherboard type : 02HK88 Laptop Motherboard manufacturer : Dell Inc. CPU family : Core i7 CPU information : Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz GPU Card : Intel Corporation Sky Lake Integrated Graphics (rev 07) (prog-if 00 [VGA controller]) Firmwares information ============================================ DMC fw loaded : yes DMC version : 1.26
Assigned to Chris Wilson to check the logs with drm.debug=7
Same issue with the following configuration Tests cases ============================================ igt@gem_userptr_blits@swapping-unsync-interruptible igt@gem_userptr_blits@swapping-normal-sync igt@gem_userptr_blits@swapping-unsync-normal igt@gem_userptr_blits@swapping-sync-interruptible 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 Kernel information ============================================ commit 5c244f4b128c6274755007e080d46e0a61b71534 Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Fri Jun 24 16:17:56 2016 +0100 drm-intel-nightly: 2016y-06m-24d-15h-17m-32s UTC integration manifest
The following tests fails on APL : Tests cases ============================================= igt@gem_userptr_blits@swapping-normal-sync igt@gem_userptr_blits@swapping-unsync-normal igt@gem_userptr_blits@swapping-unsync-interruptible Hardware Information ============================================= Platform: APL system Linux distribution: Ubuntu 16.04 64 bits CPU Name : Intel(R) Genuine Processor @ 1.1 GHz (family: 6, model: 12, stepping: 9) 4 cores QDF : Q6HE SoC : B1 CRB : Apollo Lake DDR3L RVP1A FAB1 Reworks : R19, R20 Bios : 144.10 KSC: 1.15 Software Information =============================================== drm: libdrm-2.4.68-11 7996a87 mesa: mesa-11.2.2 3a9f628 cairo: 1.15.2 db8a7f1 server: xorg-server-1.18.0-443 3762edd xf86-video-intel: 2.99.917-674 9154dff libva: libva-1.7.0-26 c36971c vaapi-intel-driver: 1.7.0-53 bcde10d Intel-Gpu-Tools 1.15-87 376b813 Firmwares information ============================================ DMC fw loaded : yes DMC version : 1.7 GUC fw loaded : SUCCESS GUC version wanted : 8.7 GUC version found : 8.7 Kernel =============================================== commit 2fe5da8adcbe5a34830b98c63878eea756e977a2 Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Sat Jul 2 19:32:50 2016 +0100 drm-intel-nightly: 2016y-07m-02d-18h-31m-39s UTC integration manifest
Created attachment 125535 [details] KBLU-gem_userptr_blits__swapping-kern.log
Created attachment 125536 [details] KBLU-gem_userptr_blits__swapping-output
Issue still present over APL with the following config: Software Config: ===================================================== Kernel: 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 drm: tag: libdrm-2.4.71 commit: a44c9c31b7b38b3eedf3d26648f9e68dcc377c4c mesa: tag: mesa-12.0.0 commit: 8b06176f310f65628ce136b90a99005278ba5e0d cairo: tag: 1.15.2 commit: db8a7f1697c49ae4942d2aa49eed52dd73dd9c7a xorg-server-macros: tag: util-macros-1.19.0-2-gd7acec2 commit: d7acec2d3a3abe79814ceb72e2c0d4d95ed31d37 xserver: tag: xorg-server-1.18.99.901-76-g97a8353 commit: 97a8353ec1192d8d3bd2ebb99e5687cb91427e09 xf86-video-intel: tag: 2.99.917-712-g696f58f commit: 696f58f69f2bac5717d19f7a1a2278fee50a083e libva: tag: libva-1.7.2-38-g3b7e499 commit: 3b7e4999950a04fabd42edbead8c2f24c6cdf3cf vaapi-intel-driver: tag: 1.7.2-133-gdd73514 commit: dd73514209d7942f2d8c8b0bbb541fe6884ea1bc Hardware Config: ======================================================== Platform : BXT-P 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 0a) (prog-if 00 [VGA controller])
Failures still valid on BDW102 having drm-tip: 2017y-03m-13d-14h-26m-27s UTC integration manifest. "IGT-Version: 1.17-g90c883c (x86_64) (Linux: 4.11.0-rc1-tip-201703131600+ x86_64) Aperture size is 268435456 MiB Total RAM is 7741 MiB Not enough RAM to run test, reducing buffer count. Stack trace: #0 [__igt_fail_assert+0xf1] #1 [test_swapping_evictions+0x1b1] #2 [main+0x23c1] #3 [__libc_start_main+0xf0] #4 [_start+0x29] #5 [<unknown>+0x29]\nSubtest swapping-normal-sync: FAIL (8.529s)" Assuming that previous dmesgs are valid and not attaching new one.
commit 2debc96208a7d433ce1a313945fe5aa1a87192c4 Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Tue Mar 21 12:10:00 2017 +0000 igt/gem_userptr_blits: Allow use of >4GiB Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=94609 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
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.