Summary: | [BXT / BSW] igt/gem_evict_alignment subtests are fail | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | DRI | Reporter: | Rami <ramix.ben.hassine> | ||||||
Component: | DRM/Intel | Assignee: | Humberto Israel Perez Rodriguez <humberto.i.perez.rodriguez> | ||||||
Status: | CLOSED FIXED | QA Contact: | Intel GFX Bugs mailing list <intel-gfx-bugs> | ||||||
Severity: | normal | ||||||||
Priority: | medium | CC: | intel-gfx-bugs | ||||||
Version: | DRI git | ||||||||
Hardware: | Other | ||||||||
OS: | Linux (All) | ||||||||
Whiteboard: | |||||||||
i915 platform: | BSW/CHT, BXT | i915 features: | GEM/Other | ||||||
Attachments: |
|
Description
Rami
2016-01-25 13:48:14 UTC
commit 0e2071411a4d4e1488a821daf522dffde2809e03 Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Mon Jan 25 13:51:00 2016 +0000 Promote eviction memory sizes and buffer counts to uint64_t References: https://bugs.freedesktop.org/show_bug.cgi?id=93849 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> *** Bug 93853 has been marked as a duplicate of this bug. *** Bug scrub: ---------- Hi Rami, could you check it. Reproduced on BXT with last setup Setup: ====== Platform: Broxton P A0 Platform CPU Name : Intel(R) @ 1.2 GHz (family: 6, model: 92, stepping: 8) – 4 cores SoC : BROXTON-P A0 CRB : Apollo Lake LPDDR3 RVP2B Reworks : R17, R18, PNP3 Software: ========= BIOS (IFWI Version): APLK_IFWI_X64_R_2015_44_3_00 KSC : 1.05 Linux distribution: Ubuntu 15.10 64 bits Kernel: drm-intel-nightly 4.4.0 8fe9e785 from http://cgit.freedesktop.org/drm-intel/ drm: tag libdrm-2.4.66 e342c0f from http://cgit.freedesktop.org/mesa/drm/ mesa: tag mesa-11.0.8 261daab from http://cgit.freedesktop.org/mesa/mesa/ cairo: tag 1.15.2 db8a7f1 from http://cgit.freedesktop.org/cairo waffle: master bb29b2a from https://github.com/waffle-gl/waffle xorg-server-macros: master d7acec2 from git://git.freedesktop.org/git/xorg/util/macros libva: tag libva-1.6.1 cb418f6 from http://cgit.freedesktop.org/libva/ vaapi-intel-driver: tag 1.6.1 2110b3a from http://cgit.freedesktop.org/vaapi/intel-driver Tools ====== intel-gpu-tools: (HEAD) 0e2071411a4d4e1488a821daf522dffde2809e03 from git://git.freedesktop.org/git/xorg/app/intel-gpu-tools Bxt has aperture of size 256 terabytes (48bit vaddress space). We need a mechanism to limit the aperture in these platforms to allow eviction testing. As it would need machine with bigger physical memory size than the 48bit aperture, for eviction to kick in. (In reply to Rami from comment #4) > Reproduced on BXT with last setup Reproduced what? You didn't even copy the test output to indicate if you are still seeing the test bug. In my understanding the tests are now are failing because we don’t have that 256 terabytes of memory on the device. The test outputs would most probably show that. The only way to really test this today is to have a machine with more than 256 terabytes of memory. Only then you would be hitting the eviction mechanism. So this test would require some changes in order to work with our 48bit vaddress space. Created attachment 121589 [details] [review] Use uint64_t in eviction memory subtest parameters Attached patch will make the tests not filling the memory requirements skip and not fail. Eviction testing with 48bit address spaces is not possible yet Bug scrub ---------- We apply the IGT patch and relaunch the test Hello Mika Kuoppala, i just applied your patch and it seems that "intel_os.c" needs to be modified as well. Output: ./gem_evict_alignment [sudo] password for gfx: IGT-Version: 1.13-gbabcf40 (x86_64) (Linux: 4.5.0-rc5-nightly+ x86_64) Test requirement not met in function intel_require_memory, file intel_os.c:260: Test requirement: !(!__intel_check_memory(count, size, mode, &required, &total)) Estimated that we need 402 849 792 MiB for the test, but only have 7 650 MiB available (RAM) Subtest minor-normal: SKIP (0.059s) Test requirement not met in function intel_require_memory, file intel_os.c:260: Test requirement: !(!__intel_check_memory(count, size, mode, &required, &total)) Estimated that we need 805 306 369 MiB for the test, but only have 7 650 MiB available (RAM) Subtest major-normal: SKIP (0.005s) Test requirement not met in function intel_require_memory, file intel_os.c:260: Test requirement: !(!__intel_check_memory(count, size, mode, &required, &total)) Estimated that we need 402 849 792 MiB for the test, but only have 7 650 MiB available (RAM) Subtest minor-interruptible: SKIP (0.005s) Test requirement not met in function intel_require_memory, file intel_os.c:260: Test requirement: !(!__intel_check_memory(count, size, mode, &required, &total)) Estimated that we need 805 306 369 MiB for the test, but only have 7 650 MiB available (RAM) Subtest major-interruptible: SKIP (0.005s) Test requirement not met in function intel_require_memory, file intel_os.c:260: Test requirement: !(!__intel_check_memory(count, size, mode, &required, &total)) Estimated that we need 402 849 792 MiB for the test, but only have 7 650 MiB available (RAM) Subtest minor-hang: SKIP (0.006s) Test requirement not met in function intel_require_memory, file intel_os.c:260: Test requirement: !(!__intel_check_memory(count, size, mode, &required, &total)) Estimated that we need 805 306 369 MiB for the test, but only have 7 650 MiB available (RAM) Subtest major-hang: SKIP (0.006s) Configuration: Linux distribution: Ubuntu 15.10 64 bits Kernel drm-intel-nightly 4.5.0-rc5_1a139ea from http://cgit.freedesktop.org/drm-intel/ commit 1a139ead792d8e912aa13d413b9cf59811fde676 Author: Jani Nikula <jani.nikula@intel.com> Date: Mon Feb 22 10:48:46 2016 +0200 drm-intel-nightly: 2016y-02m-22d-08h-48m-06s UTC integration manifest drm: tag libdrm-2.4.66 9b77443 from http://cgit.freedesktop.org/mesa/drm/ mesa: tag mesa-11.1.1 330aa44from http://cgit.freedesktop.org/mesa/mesa/ cairo: tag 1.15.2 db8a7f1 from http://cgit.freedesktop.org/cairo waffle: master bb29b2a from https://github.com/waffle-gl/waffle xorg-server-macros: master d7acec2 from git://git.freedesktop.org/git/xorg/util/macros libva: tag libva-1.6.1 1f026de from http://cgit.freedesktop.org/libva/ vaapi-intel-driver: tag 1.6.1 f6fe842 from http://cgit.freedesktop.org/vaapi/intel-driverFirmware Firmware (APL)DMC 1.06 from https://01.org/linuxgraphics/downloads/broxton-dmc-1.06 Applied the above patch as well on KBL, and got the following output ( looks pretty much the same as what Elio got) Output ------------------------------------------------------------------------------ tests# ./gem_evict_alignment IGT-Version: 1.13-gbabcf40 (x86_64) (Linux: 4.5.0-rc5-nightly+ x86_64) Test requirement not met in function intel_require_memory, file intel_os.c:260: Test requirement: !(!__intel_check_memory(count, size, mode, &required, &total)) Estimated that we need 402,849,792 MiB for the test, but only have 2,932 MiB available (RAM) Subtest minor-normal: SKIP (0.027s) Test requirement not met in function intel_require_memory, file intel_os.c:260: Test requirement: !(!__intel_check_memory(count, size, mode, &required, &total)) Estimated that we need 805,306,369 MiB for the test, but only have 2,932 MiB available (RAM) Subtest major-normal: SKIP (0.008s) Test requirement not met in function intel_require_memory, file intel_os.c:260: Test requirement: !(!__intel_check_memory(count, size, mode, &required, &total)) Estimated that we need 402,849,792 MiB for the test, but only have 2,932 MiB available (RAM) Subtest minor-interruptible: SKIP (0.007s) Test requirement not met in function intel_require_memory, file intel_os.c:260: Test requirement: !(!__intel_check_memory(count, size, mode, &required, &total)) Estimated that we need 805,306,369 MiB for the test, but only have 2,932 MiB available (RAM) Subtest major-interruptible: SKIP (0.007s) Test requirement not met in function intel_require_memory, file intel_os.c:260: Test requirement: !(!__intel_check_memory(count, size, mode, &required, &total)) Estimated that we need 402,849,792 MiB for the test, but only have 2,932 MiB available (RAM) Subtest minor-hang: SKIP (0.008s) Test requirement not met in function intel_require_memory, file intel_os.c:260: Test requirement: !(!__intel_check_memory(count, size, mode, &required, &total)) Estimated that we need 805,306,369 MiB for the test, but only have 2,932 MiB available (RAM) Subtest major-hang: SKIP (0.007s) ----------------------------------------------------------------------------- Find below the configuration I used Linux distribution: Ubuntu 15.10 64 bits Kernel drm-intel-nightly 4.5.0-rc5_1a139ea from http://cgit.freedesktop.org/drm-intel/ commit 1a139ead792d8e912aa13d413b9cf59811fde676 Author: Jani Nikula <jani.nikula@intel.com> Date: Mon Feb 22 10:48:46 2016 +0200 drm-intel-nightly: 2016y-02m-22d-08h-48m-06s UTC integration manifest drm: tag libdrm-2.4.66 9b77443 from http://cgit.freedesktop.org/mesa/drm/ mesa: tag mesa-11.1.1 330aa44from http://cgit.freedesktop.org/mesa/mesa/ cairo: tag 1.15.2 db8a7f1 from http://cgit.freedesktop.org/cairo waffle: master bb29b2a from https://github.com/waffle-gl/waffle xorg-server-macros: master d7acec2 from git://git.freedesktop.org/git/xorg/util/macros libva: tag libva-1.6.1 1f026de from http://cgit.freedesktop.org/libva/ vaapi-intel-driver: tag 1.6.1 f6fe842 from http://cgit.freedesktop.org/vaapi/intel-driverFirmware We skip the test as we don't have enough ram to test. So it is expected outcome. Also reproduced 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 mainline 4.4.0 from https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git commit afd2ff9b7e1b367172f18ba7f693dfb62bdcb2dc Author: Linus Torvalds <torvalds@linux-foundation.org> Date: Sun Jan 10 15:01:32 2016 -0800 Linux 4.4 drm: libdrm-2.4.67-5 ea07de9 from git://anongit.freedesktop.org/mesa/drm mesa: tag mesa-11.1.2 7bcd827 from git://anongit.freedesktop.org/mesa/mesa cairo: tag 1.15.2 db8a7f1 from git://anongit.freedesktop.org/cairo waffle: master bb29b2a from git://github.com/waffle-gl/waffle xorg-server-macros: tag: util-macros-1.19.0-2 d7acec2 from git://git.freedesktop.org/git/xorg/util/macros xserver: tag: xorg-server-1.18.1 23e60f9 from git://git.freedesktop.org/git/xorg/xserver xf86-video-intel: tag 2.99.917-560 d167280 from git://anongit.freedesktop.org/xorg/driver/xf86-video-intel libva: tag libva-1.7.0.pre1 35f1447 from git://git.freedesktop.org/git/vaapi/libva vaapi-intel-driver: tag 1.7.0.pre1 ab8e4e3 from git://anongit.freedesktop.org/vaapi/intel-driver IGT 1.14 364d378 from http://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools.git One external screen connected to HDMI Please confirm when the patch will be merged. commit 431f6c49189470763c34f82cc4f688a967310f52 Author: Mika Kuoppala <mika.kuoppala@linux.intel.com> Date: Thu Feb 11 12:32:40 2016 +0200 tests/gem_evict_alignment: use uint64_t in eviction memory parameters Following subcases are now skip on KBL-U: igt@gem_evict_alignment@minor-hang igt@gem_evict_alignment@minor-normal igt@gem_evict_alignment@major-hang igt@gem_evict_alignment@major-normal igt@gem_evict_alignment@major-interruptible igt@gem_evict_alignment@minor-interruptible 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 16.04 64 bits kernel drm-intel-nightly 4.6.0-rc7 61f856f from http://cgit.freedesktop.org/drm-intel/ commit 61f856faa1e6ff9dddad214be1e372e8aacfc0f4 Author: Ville Syrjälä <ville.syrjala@linux.intel.com> Date: Mon May 9 19:24:21 2016 +0300 drm-intel-nightly: 2016y-05m-09d-16h-24m-01s UTC integration manifest libdrm-2.4.68 fc09c5a from git://anongit.freedesktop.org/mesa/drm cairo: 1.15.2 db8a7f1 from git://anongit.freedesktop.org/cairo IGT 1.14 cc24755 from http://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools.git Let's confirm on the others platforms before closing it. Subtests are also skip on APL. Platform: Broxton P A0 Platform CPU Name : Intel(R) @ 1.2 GHz (family: 6, model: 92, stepping: 8) – 4 cores SoC : BROXTON-P A0 QDF : QYE2 CRB : Apollo Lake RVPC1 Fab1 Software Bios: APLKRVPA.X64.0116.R20.1512211905 KSC: 1.05 Linux distribution: Ubuntu 15.10 64 bits Kernel: drm-intel-nightly 4.6.0 d381724 from http://cgit.freedesktop.org/drm-intel/ commit d3817246ca053dd3e7ea8017db4a74707f8195a2 Author: Jani Nikula <jani.nikula@intel.com> Date: Mon May 16 15:14:24 2016 +0300 drm-intel-nightly: 2016y-05m-16d-12h-14m-04s UTC integration manifest drm: libdrm-2.4.68 7aab852 from git://anongit.freedesktop.org/mesa/drm mesa: mesa-11.1.2 7bcd827 from git://anongit.freedesktop.org/mesa/mesa cairo: 1.15.2 db8a7f1 from git://anongit.freedesktop.org/cairo DMC 1.07 intel-gpu-tools 1.14 b88bce4 from http://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools.git |
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.