Bug 94001 - [APL/KBL/BSW/BDW/SKL/IVB/BYT/GLK] igt/gem_exec_reloc subtests fail
Summary: [APL/KBL/BSW/BDW/SKL/IVB/BYT/GLK] igt/gem_exec_reloc subtests fail
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: DRI git
Hardware: Other Linux (All)
: highest critical
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard: PatchSubmitted
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-04 10:58 UTC by Rami
Modified: 2017-07-20 17:40 UTC (History)
6 users (show)

See Also:
i915 platform: BDW, BSW/CHT, BXT, BYT, GLK, IVB, KBL, SKL
i915 features: GEM/Other


Attachments
dmesg (358.10 KB, text/plain)
2016-02-04 10:58 UTC, Rami
no flags Details
dmesg-bsw-gem_exec_reloc (130.75 KB, text/plain)
2016-03-14 19:45 UTC, cprigent
no flags Details
attachment-29548-0.html (2.80 KB, text/html)
2016-06-02 11:10 UTC, Harmanpreet Singh
no flags Details
All family results (33.67 KB, text/plain)
2016-06-02 15:00 UTC, Elio
no flags Details
One by one latest results (33.63 KB, text/plain)
2016-06-02 15:00 UTC, Elio
no flags Details
Dmesg log (244.86 KB, text/plain)
2016-06-02 15:01 UTC, Elio
no flags Details
attachment-20560-0.html (3.18 KB, text/html)
2016-06-03 20:41 UTC, Harmanpreet Singh
no flags Details
gem-exec-reloc (72.29 KB, text/plain)
2016-08-22 22:42 UTC, maria guadalupe
no flags Details
dmesgapl (338.39 KB, text/plain)
2016-08-22 22:42 UTC, maria guadalupe
no flags Details
attachment-32354-0.html (5.81 KB, text/html)
2016-10-13 18:38 UTC, Harmanpreet Singh
no flags Details
BDW__gem_exec_reloc__gtt-32__series_21377_applied__kern.log (624.56 KB, text/plain)
2017-03-22 10:38 UTC, cprigent
no flags Details
SKL__gem_exec_reloc__gtt-32__applied__kern.log (445.16 KB, text/plain)
2017-03-22 12:13 UTC, cprigent
no flags Details
SKL__gem_exec_reloc__gtt-32__without_CONFIG_TRANSPARENT_HUGEPAGE__kern.log (605.43 KB, text/plain)
2017-03-22 16:46 UTC, cprigent
no flags Details

Description Rami 2016-02-04 10:58:41 UTC
Created attachment 121515 [details]
dmesg

Subtests are fail 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.5 rc1 6b1049b
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.9  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
deqp: tag android-cts-6.0_r2 cf44075 from https://android.googlesource.com/platform/external/deqp
ogles1conform master from https://git-amr-2.devtools.intel.com/gerrit/gitweb?p=otc_gen_graphics-khronos-glconform.git
ogles2-3conform branch gles3-new-skylake f64cf0f from https://git-amr-2.devtools.intel.com/gerrit/gitweb?p=otc_gen_graphics-khronos-glconform.git
intel-gpu-tool: (HEAD, origin/master, origin/HEAD) d63e72f0ad281f295b058a572741b995a5a0f64a from git://git.freedesktop.org/git/xorg/app/intel-gpu-tools 

Steps:
======
./gem_exec_reloc --run-subtest cpu-31
./gem_exec_reloc --run-subtest gtt-28
./gem_exec_reloc --run-subtest gtt-29
./gem_exec_reloc --run-subtest gtt-30
./gem_exec_reloc --run-subtest gtt-31

Actual result:
==============
./gem_exec_reloc --run-subtest cpu-31
IGT-Version: 1.13-gd63e72f (x86_64) (Linux: 4.5.0-rc1-no-suspend-ww06+ x86_64)
(gem_exec_reloc:1265) ioctl-wrappers-CRITICAL: Test assertion failure function gem_execbuf, file ioctl_wrappers.c:531:
(gem_exec_reloc:1265) ioctl-wrappers-CRITICAL: Failed assertion: __gem_execbuf(fd, execbuf) == 0
(gem_exec_reloc:1265) ioctl-wrappers-CRITICAL: Last errno: 14, Bad address
(gem_exec_reloc:1265) ioctl-wrappers-CRITICAL: error: -14 != 0
Stack trace:
  #0 [__igt_fail_assert+0x101]
  #1 [gem_execbuf+0x4f]
  #2 [from_mmap+0x1a5]
  #3 [__real_main208+0x12a]
  #4 [main+0x23]
  #5 [__libc_start_main+0xf0]
  #6 [_start+0x29]
  #7 [<unknown>+0x29]
Subtest cpu-31 failed.
**** DEBUG ****
(gem_exec_reloc:1265) intel-os-DEBUG: Checking 1 surfaces of size 2,147,483,648 bytes (total 2,147,487,744) against RAM
(gem_exec_reloc:1265) intel-os-DEBUG: Test requirement passed: !(!__intel_check_memory(count, size, mode, &required, &total))
(gem_exec_reloc:1265) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation()
(gem_exec_reloc:1265) ioctl-wrappers-CRITICAL: Test assertion failure function gem_execbuf, file ioctl_wrappers.c:531:
(gem_exec_reloc:1265) ioctl-wrappers-CRITICAL: Failed assertion: __gem_execbuf(fd, execbuf) == 0
(gem_exec_reloc:1265) ioctl-wrappers-CRITICAL: Last errno: 14, Bad address
(gem_exec_reloc:1265) ioctl-wrappers-CRITICAL: error: -14 != 0
****  END  ****
Subtest cpu-31: FAIL (1.725s)

./gem_exec_reloc --run-subtest gtt-28
IGT-Version: 1.13-gd63e72f (x86_64) (Linux: 4.5.0-rc1-no-suspend-ww06+ x86_64)
(gem_exec_reloc:1286) CRITICAL: Test assertion failure function from_mmap, file gem_exec_reloc.c:148:
(gem_exec_reloc:1286) CRITICAL: Failed assertion: value == obj.offset + max - 1
(gem_exec_reloc:1286) CRITICAL: error: 0x1007b5fff != 0x1007fdfff
Stack trace:
  #0 [__igt_fail_assert+0x101]
  #1 [from_mmap+0x209]
  #2 [<unknown>+0x209]
  #3 [<unknown>+0x209]
Subtest gtt-28 failed.
**** DEBUG ****
(gem_exec_reloc:1286) intel-os-DEBUG: Checking 1 surfaces of size 268,435,456 bytes (total 268,439,552) against RAM
(gem_exec_reloc:1286) intel-os-DEBUG: Test requirement passed: !(!__intel_check_memory(count, size, mode, &required, &total))
(gem_exec_reloc:1286) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation()
(gem_exec_reloc:1286) CRITICAL: Test assertion failure function from_mmap, file gem_exec_reloc.c:148:
(gem_exec_reloc:1286) CRITICAL: Failed assertion: value == obj.offset + max - 1
(gem_exec_reloc:1286) CRITICAL: error: 0x1007b5fff != 0x1007fdfff
****  END  ****
Subtest gtt-28: FAIL (7.833s)

./gem_exec_reloc --run-subtest gtt-29
IGT-Version: 1.13-gd63e72f (x86_64) (Linux: 4.5.0-rc1-no-suspend-ww06+ x86_64)
(gem_exec_reloc:1287) CRITICAL: Test assertion failure function from_mmap, file gem_exec_reloc.c:148:
(gem_exec_reloc:1287) CRITICAL: Failed assertion: value == obj.offset + max - 1
(gem_exec_reloc:1287) CRITICAL: error: 0x100f6dfff != 0x100ffdfff
Stack trace:
  #0 [__igt_fail_assert+0x101]
  #1 [from_mmap+0x209]
  #2 [<unknown>+0x209]
  #3 [<unknown>+0x209]
Subtest gtt-29 failed.
**** DEBUG ****
(gem_exec_reloc:1287) intel-os-DEBUG: Checking 1 surfaces of size 536,870,912 bytes (total 536,875,008) against RAM
(gem_exec_reloc:1287) intel-os-DEBUG: Test requirement passed: !(!__intel_check_memory(count, size, mode, &required, &total))
(gem_exec_reloc:1287) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation()
(gem_exec_reloc:1287) CRITICAL: Test assertion failure function from_mmap, file gem_exec_reloc.c:148:
(gem_exec_reloc:1287) CRITICAL: Failed assertion: value == obj.offset + max - 1
(gem_exec_reloc:1287) CRITICAL: error: 0x100f6dfff != 0x100ffdfff
****  END  ****
Subtest gtt-29: FAIL (15.261s)

./gem_exec_reloc --run-subtest gtt-30
IGT-Version: 1.13-gd63e72f (x86_64) (Linux: 4.5.0-rc1-no-suspend-ww06+ x86_64)
(gem_exec_reloc:1288) CRITICAL: Test assertion failure function from_mmap, file gem_exec_reloc.c:148:
(gem_exec_reloc:1288) CRITICAL: Failed assertion: value == obj.offset + max - 1
(gem_exec_reloc:1288) CRITICAL: error: 0x101eddfff != 0x101ffdfff
Stack trace:
  #0 [__igt_fail_assert+0x101]
  #1 [from_mmap+0x209]
  #2 [<unknown>+0x209]
  #3 [<unknown>+0x209]
Subtest gtt-30 failed.
**** DEBUG ****
(gem_exec_reloc:1288) intel-os-DEBUG: Checking 1 surfaces of size 1,073,741,824 bytes (total 1,073,745,920) against RAM
(gem_exec_reloc:1288) intel-os-DEBUG: Test requirement passed: !(!__intel_check_memory(count, size, mode, &required, &total))
(gem_exec_reloc:1288) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation()
(gem_exec_reloc:1288) CRITICAL: Test assertion failure function from_mmap, file gem_exec_reloc.c:148:
(gem_exec_reloc:1288) CRITICAL: Failed assertion: value == obj.offset + max - 1
(gem_exec_reloc:1288) CRITICAL: error: 0x101eddfff != 0x101ffdfff
****  END  ****
Subtest gtt-30: FAIL (30.672s)

./gem_exec_reloc --run-subtest gtt-31
IGT-Version: 1.13-gd63e72f (x86_64) (Linux: 4.5.0-rc1-no-suspend-ww06+ x86_64)
(gem_exec_reloc:1299) ioctl-wrappers-CRITICAL: Test assertion failure function gem_execbuf, file ioctl_wrappers.c:531:
(gem_exec_reloc:1299) ioctl-wrappers-CRITICAL: Failed assertion: __gem_execbuf(fd, execbuf) == 0
(gem_exec_reloc:1299) ioctl-wrappers-CRITICAL: Last errno: 14, Bad address
(gem_exec_reloc:1299) ioctl-wrappers-CRITICAL: error: -14 != 0
Stack trace:
  #0 [__igt_fail_assert+0x101]
  #1 [gem_execbuf+0x4f]
  #2 [from_mmap+0x1a5]
  #3 [__real_main208+0x202]
  #4 [main+0x23]
  #5 [__libc_start_main+0xf0]
  #6 [_start+0x29]
  #7 [<unknown>+0x29]
Subtest gtt-31 failed.
**** DEBUG ****
(gem_exec_reloc:1299) intel-os-DEBUG: Checking 1 surfaces of size 2,147,483,648 bytes (total 2,147,487,744) against RAM
(gem_exec_reloc:1299) intel-os-DEBUG: Test requirement passed: !(!__intel_check_memory(count, size, mode, &required, &total))
(gem_exec_reloc:1299) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation()
(gem_exec_reloc:1299) ioctl-wrappers-CRITICAL: Test assertion failure function gem_execbuf, file ioctl_wrappers.c:531:
(gem_exec_reloc:1299) ioctl-wrappers-CRITICAL: Failed assertion: __gem_execbuf(fd, execbuf) == 0
(gem_exec_reloc:1299) ioctl-wrappers-CRITICAL: Last errno: 14, Bad address
(gem_exec_reloc:1299) ioctl-wrappers-CRITICAL: error: -14 != 0
****  END  ****
Subtest gtt-31: FAIL (9.684s)

Expected result:
================
tests are pass
Comment 1 Olivier Berthier 2016-02-12 16:28:22 UTC
Reproduced on KabyLake with the latest kernel drm-intel-nightly 4.5.0-rc3_d9bd337.

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-rc3_d9bd337 from http://cgit.freedesktop.org/drm-intel/
commit d9bd337b4b2d46f73005fcdf0e7049e7f8ed5c04
Author: Jani Nikula <jani.nikula@intel.com>
Date:   Tue Feb 9 17:43:10 2016 +0200

    drm-intel-nightly: 2016y-02m-09d-15h-42m-46s UTC integration manifest

drm: tag libdrm-2.4.66-33-gf884af9
intel-gpu-tool: intel-gpu-tools-1.13-195-g8d441ee
Comment 2 cprigent 2016-03-14 19:45:21 UTC
Created attachment 122290 [details]
dmesg-bsw-gem_exec_reloc

Reproduced on BSW:

# ./gem_exec_reloc --run-subtest cpu-31
IGT-Version: 1.14-NOT-GIT (x86_64) (Linux: 4.4.0-nightly x86_64)
(gem_exec_reloc:1628) ioctl-wrappers-CRITICAL: Test assertion failure function gem_execbuf, file ioctl_wrappers.c:557:
(gem_exec_reloc:1628) ioctl-wrappers-CRITICAL: Failed assertion: __gem_execbuf(fd, execbuf) == 0
(gem_exec_reloc:1628) ioctl-wrappers-CRITICAL: Last errno: 14, Bad address
(gem_exec_reloc:1628) ioctl-wrappers-CRITICAL: error: -14 != 0
Stack trace:
  #0 [__igt_fail_assert+0xf1]
  #1 [gem_execbuf+0x57]
  #2 [from_mmap+0x153]
  #3 [__real_main218+0x44a]
  #4 [main+0x29]
  #5 [__libc_start_main+0xf5]
  #6 [_start+0x29]
  #7 [<unknown>+0x29]
Subtest cpu-31 failed.
**** DEBUG ****
(gem_exec_reloc:1628) intel-os-DEBUG: Checking 1 surfaces of size 2,147,483,648 bytes (total 2,147,487,744) against RAM
(gem_exec_reloc:1628) intel-os-DEBUG: Test requirement passed: !(!__intel_check_memory(count, size, mode, &required, &total))
(gem_exec_reloc:1628) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation()
(gem_exec_reloc:1628) ioctl-wrappers-CRITICAL: Test assertion failure function gem_execbuf, file ioctl_wrappers.c:557:
(gem_exec_reloc:1628) ioctl-wrappers-CRITICAL: Failed assertion: __gem_execbuf(fd, execbuf) == 0
(gem_exec_reloc:1628) ioctl-wrappers-CRITICAL: Last errno: 14, Bad address
(gem_exec_reloc:1628) ioctl-wrappers-CRITICAL: error: -14 != 0
****  END  ****
Subtest cpu-31: FAIL (2.357s)
#
#
# ./gem_exec_reloc --run-subtest gtt-28
IGT-Version: 1.14-NOT-GIT (x86_64) (Linux: 4.4.0-nightly x86_64)
(gem_exec_reloc:1982) CRITICAL: Test assertion failure function from_mmap, file gem_exec_reloc.c:159:
(gem_exec_reloc:1982) CRITICAL: Failed assertion: value == obj.offset + max - 1
(gem_exec_reloc:1982) CRITICAL: error: 0x1007b6fff != 0x1007fefff
Stack trace:
  #0 [__igt_fail_assert+0xf1]
  #1 [from_mmap+0x30f]
  #2 [__real_main218+0x3da]
  #3 [main+0x29]
  #4 [__libc_start_main+0xf5]
  #5 [_start+0x29]
  #6 [<unknown>+0x29]
Subtest gtt-28 failed.
**** DEBUG ****
(gem_exec_reloc:1982) intel-os-DEBUG: Checking 1 surfaces of size 268,435,456 bytes (total 268,439,552) against RAM
(gem_exec_reloc:1982) intel-os-DEBUG: Test requirement passed: !(!__intel_check_memory(count, size, mode, &required, &total))
(gem_exec_reloc:1982) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation()
(gem_exec_reloc:1982) CRITICAL: Test assertion failure function from_mmap, file gem_exec_reloc.c:159:
(gem_exec_reloc:1982) CRITICAL: Failed assertion: value == obj.offset + max - 1
(gem_exec_reloc:1982) CRITICAL: error: 0x1007b6fff != 0x1007fefff
****  END  ****
Subtest gtt-28: FAIL (8.646s)
#
#
# ./gem_exec_reloc --run-subtest gtt-29
IGT-Version: 1.14-NOT-GIT (x86_64) (Linux: 4.4.0-nightly x86_64)
(gem_exec_reloc:2068) CRITICAL: Test assertion failure function from_mmap, file gem_exec_reloc.c:159:
(gem_exec_reloc:2068) CRITICAL: Failed assertion: value == obj.offset + max - 1
(gem_exec_reloc:2068) CRITICAL: error: 0x100f6efff != 0x100ffefff
Stack trace:
  #0 [__igt_fail_assert+0xf1]
  #1 [from_mmap+0x30f]
  #2 [__real_main218+0x3da]
  #3 [main+0x29]
  #4 [__libc_start_main+0xf5]
  #5 [_start+0x29]
  #6 [<unknown>+0x29]
Subtest gtt-29 failed.
**** DEBUG ****
(gem_exec_reloc:2068) intel-os-DEBUG: Checking 1 surfaces of size 536,870,912 bytes (total 536,875,008) against RAM
(gem_exec_reloc:2068) intel-os-DEBUG: Test requirement passed: !(!__intel_check_memory(count, size, mode, &required, &total))
(gem_exec_reloc:2068) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation()
(gem_exec_reloc:2068) CRITICAL: Test assertion failure function from_mmap, file gem_exec_reloc.c:159:
(gem_exec_reloc:2068) CRITICAL: Failed assertion: value == obj.offset + max - 1
(gem_exec_reloc:2068) CRITICAL: error: 0x100f6efff != 0x100ffefff
****  END  ****
Subtest gtt-29: FAIL (17.215s)
#
#
# ./gem_exec_reloc --run-subtest gtt-30
IGT-Version: 1.14-NOT-GIT (x86_64) (Linux: 4.4.0-nightly x86_64)
(gem_exec_reloc:2165) CRITICAL: Test assertion failure function from_mmap, file gem_exec_reloc.c:159:
(gem_exec_reloc:2165) CRITICAL: Failed assertion: value == obj.offset + max - 1
(gem_exec_reloc:2165) CRITICAL: error: 0x101edefff != 0x101ffefff
Stack trace:
  #0 [__igt_fail_assert+0xf1]
  #1 [from_mmap+0x30f]
  #2 [__real_main218+0x3da]
  #3 [main+0x29]
  #4 [__libc_start_main+0xf5]
  #5 [_start+0x29]
  #6 [<unknown>+0x29]
Subtest gtt-30 failed.
**** DEBUG ****
(gem_exec_reloc:2165) intel-os-DEBUG: Checking 1 surfaces of size 1,073,741,824 bytes (total 1,073,745,920) against RAM
(gem_exec_reloc:2165) intel-os-DEBUG: Test requirement passed: !(!__intel_check_memory(count, size, mode, &required, &total))
(gem_exec_reloc:2165) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation()
(gem_exec_reloc:2165) CRITICAL: Test assertion failure function from_mmap, file gem_exec_reloc.c:159:
(gem_exec_reloc:2165) CRITICAL: Failed assertion: value == obj.offset + max - 1
(gem_exec_reloc:2165) CRITICAL: error: 0x101edefff != 0x101ffefff
****  END  ****
Subtest gtt-30: FAIL (34.718s)
#
#
# ./gem_exec_reloc --run-subtest gtt-31
IGT-Version: 1.14-NOT-GIT (x86_64) (Linux: 4.4.0-nightly x86_64)
(gem_exec_reloc:2355) ioctl-wrappers-CRITICAL: Test assertion failure function gem_execbuf, file ioctl_wrappers.c:557:
(gem_exec_reloc:2355) ioctl-wrappers-CRITICAL: Failed assertion: __gem_execbuf(fd, execbuf) == 0
(gem_exec_reloc:2355) ioctl-wrappers-CRITICAL: Last errno: 14, Bad address
(gem_exec_reloc:2355) ioctl-wrappers-CRITICAL: error: -14 != 0
Stack trace:
  #0 [__igt_fail_assert+0xf1]
  #1 [gem_execbuf+0x57]
  #2 [from_mmap+0x153]
  #3 [__real_main218+0x3da]
  #4 [main+0x29]
  #5 [__libc_start_main+0xf5]
  #6 [_start+0x29]
  #7 [<unknown>+0x29]
Subtest gtt-31 failed.
**** DEBUG ****
(gem_exec_reloc:2355) intel-os-DEBUG: Checking 1 surfaces of size 2,147,483,648 bytes (total 2,147,487,744) against RAM
(gem_exec_reloc:2355) intel-os-DEBUG: Test requirement passed: !(!__intel_check_memory(count, size, mode, &required, &total))
(gem_exec_reloc:2355) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation()
(gem_exec_reloc:2355) ioctl-wrappers-CRITICAL: Test assertion failure function gem_execbuf, file ioctl_wrappers.c:557:
(gem_exec_reloc:2355) ioctl-wrappers-CRITICAL: Failed assertion: __gem_execbuf(fd, execbuf) == 0
(gem_exec_reloc:2355) ioctl-wrappers-CRITICAL: Last errno: 14, Bad address
(gem_exec_reloc:2355) ioctl-wrappers-CRITICAL: error: -14 != 0
****  END  ****
Subtest gtt-31: FAIL (6.998s)
#
#
# ./gem_exec_reloc --run-subtest mmap-31
IGT-Version: 1.14-NOT-GIT (x86_64) (Linux: 4.4.0-nightly x86_64)
(gem_exec_reloc:2531) ioctl-wrappers-CRITICAL: Test assertion failure function gem_execbuf, file ioctl_wrappers.c:557:
(gem_exec_reloc:2531) ioctl-wrappers-CRITICAL: Failed assertion: __gem_execbuf(fd, execbuf) == 0
(gem_exec_reloc:2531) ioctl-wrappers-CRITICAL: Last errno: 14, Bad address
(gem_exec_reloc:2531) ioctl-wrappers-CRITICAL: error: -14 != 0
Stack trace:
  #0 [__igt_fail_assert+0xf1]
  #1 [gem_execbuf+0x57]
  #2 [from_mmap+0x153]
  #3 [__real_main218+0x47f]
  #4 [main+0x29]
  #5 [__libc_start_main+0xf5]
  #6 [_start+0x29]
  #7 [<unknown>+0x29]
Subtest mmap-31 failed.
**** DEBUG ****
(gem_exec_reloc:2531) intel-os-DEBUG: Checking 1 surfaces of size 2,147,483,648 bytes (total 2,147,487,744) against RAM
(gem_exec_reloc:2531) intel-os-DEBUG: Test requirement passed: !(!__intel_check_memory(count, size, mode, &required, &total))
(gem_exec_reloc:2531) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation()
(gem_exec_reloc:2531) ioctl-wrappers-CRITICAL: Test assertion failure function gem_execbuf, file ioctl_wrappers.c:557:
(gem_exec_reloc:2531) ioctl-wrappers-CRITICAL: Failed assertion: __gem_execbuf(fd, execbuf) == 0
(gem_exec_reloc:2531) ioctl-wrappers-CRITICAL: Last errno: 14, Bad address
(gem_exec_reloc:2531) ioctl-wrappers-CRITICAL: error: -14 != 0
****  END  ****
Subtest mmap-31: FAIL (1.485s)
#
#
# ./gem_exec_reloc --run-subtest wc-31
IGT-Version: 1.14-NOT-GIT (x86_64) (Linux: 4.4.0-nightly x86_64)
(gem_exec_reloc:2579) ioctl-wrappers-CRITICAL: Test assertion failure function gem_execbuf, file ioctl_wrappers.c:557:
(gem_exec_reloc:2579) ioctl-wrappers-CRITICAL: Failed assertion: __gem_execbuf(fd, execbuf) == 0
(gem_exec_reloc:2579) ioctl-wrappers-CRITICAL: Last errno: 14, Bad address
(gem_exec_reloc:2579) ioctl-wrappers-CRITICAL: error: -14 != 0
Stack trace:
  #0 [__igt_fail_assert+0xf1]
  #1 [gem_execbuf+0x57]
  #2 [from_mmap+0x153]
  #3 [__real_main218+0x412]
  #4 [main+0x29]
  #5 [__libc_start_main+0xf5]
  #6 [_start+0x29]
  #7 [<unknown>+0x29]
Subtest wc-31 failed.
**** DEBUG ****
(gem_exec_reloc:2579) intel-os-DEBUG: Checking 1 surfaces of size 2,147,483,648 bytes (total 2,147,487,744) against RAM
(gem_exec_reloc:2579) intel-os-DEBUG: Test requirement passed: !(!__intel_check_memory(count, size, mode, &required, &total))
(gem_exec_reloc:2579) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation()
(gem_exec_reloc:2579) ioctl-wrappers-CRITICAL: Test assertion failure function gem_execbuf, file ioctl_wrappers.c:557:
(gem_exec_reloc:2579) ioctl-wrappers-CRITICAL: Failed assertion: __gem_execbuf(fd, execbuf) == 0
(gem_exec_reloc:2579) ioctl-wrappers-CRITICAL: Last errno: 14, Bad address
(gem_exec_reloc:2579) ioctl-wrappers-CRITICAL: error: -14 != 0
****  END  ****
Subtest wc-31: FAIL (3.063s)

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
Comment 3 Humberto Israel Perez Rodriguez 2016-03-17 16:55:57 UTC
The following test case fail on BXT-P with the following configuration

Case list
==============

gem_exec_reloc@gtt-28
gem_exec_reloc@gtt-32
gem_exec_reloc@gtt-29
gem_exec_reloc@gtt-30
gem_exec_reloc@wc-32
gem_exec_reloc@cpu-31
gem_exec_reloc@wc-31
gem_exec_reloc@mmap-32
gem_exec_reloc@gtt-31
gem_exec_reloc@mmap-31
gem_exec_reloc@cpu-32


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])

Software information
======================
Linux distribution : Ubuntu 15.10
Architecture       : 64-bit

 --> Component : drm 
	 url : http://cgit.freedesktop.org/mesa/drm 
	 tag : libdrm-2.4.67-5-gea07de9 
	 commit : ea07de9 
	 author : Rodrigo Vivi <rodrigo.vivi@intel.com> 
	 age : 13 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 : 5 weeks ago 
 --> Component : xf86-video-intel 
	 url : http://cgit.freedesktop.org/xorg/driver/xf86-video-intel 
	 tag : 2.99.917-560-gd167280 
	 commit : d167280 
	 author : Chris Wilson <chris@chris-wilson.co.uk> 
	 age : 3 weeks ago 
 --> Component : libva 
	 url : http://cgit.freedesktop.org/libva/ 
	 tag : libva-1.7.0.pre1 
	 commit : 35f1447 
	 author : Xiang Haihao <haihao.xiang@intel.com> 
	 age : 11 days ago 
 --> Component : vaapi (intel-driver) 
	 url : http://cgit.freedesktop.org/vaapi/intel-driver 
	 tag : 1.7.0.pre1 
	 commit : ab8e4e3 
	 author : Xiang Haihao <haihao.xiang@intel.com> 
	 age : 11 days ago 
 --> Component : cairo 
	 url : http://cgit.freedesktop.org/cairo 
	 tag : 1.15.2 
	 commit : db8a7f1 
	 author : Bryce Harrington <bryce@osg.samsung.com> 
	 age : 3 months ago 
 --> Component : xserver 
	 url :  http://cgit.freedesktop.org/xorg/xserver 
	 tag : xorg-server-1.18.1 
	 commit : 23e60f9 
	 author : Adam Jackson <ajax@redhat.com> 
	 age : 5 weeks ago 
 --> Component : intel-gpu-tools 
	 url : http://cgit.freedesktop.org/xorg/app/intel-gpu-tools 
	 tag : intel-gpu-tools-1.14-23-g364d378 
	 commit : 364d378 
	 author : Paulo Zanoni <paulo.r.zanoni@intel.com> 
	 age : 10 days ago 

kernel
=========
drm-intel-testing / commit a27657a

commit a27657a39741599ce9feef1ef39ae6654e9e6768
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Mon Feb 29 09:42:22 2016 +0100

    drm-intel-nightly: 2016y-02m-29d-08h-41m-12s UTC integration manifest

Kernel version : 4.5.0-rc5
Architecture : source amd64 all
Comment 4 Luis Botello 2016-03-23 19:39:49 UTC
This issue still happen on KBL with the following configuration


Test cases
===============
gem_exec_reloc@gtt-30
gem_exec_reloc@wc-31
gem_exec_reloc@gtt-29
gem_exec_reloc@gtt-28


Hardware configuration
=======================
Platform	KBL (RVP3)
Motherboard model	Kabylake Client platform
Motherboard type	Skylake Y LPDDR3 RVP3 Laptop
Motherboard manufacturer	Intel Corporation
CPU family	Other
CPU information	Genuine Intel(R) CPU 0000 @ 0.90GHz
GPU Card	Intel Corporation Device 591e (prog-if 00 [VGA controller])
Memory ram	4 GB

Software configuration
=======================
 --> Component : drm 
	 url : http://cgit.freedesktop.org/mesa/drm 
	 tag : libdrm-2.4.67-5-gea07de9 
	 commit : ea07de9 
	 author : Rodrigo Vivi <rodrigo.vivi@intel.com> 
	 age : 13 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 : 5 weeks ago 
 --> Component : xf86-video-intel 
	 url : http://cgit.freedesktop.org/xorg/driver/xf86-video-intel 
	 tag : 2.99.917-560-gd167280 
	 commit : d167280 
	 author : Chris Wilson <chris@chris-wilson.co.uk> 
	 age : 3 weeks ago 
 --> Component : libva 
	 url : http://cgit.freedesktop.org/libva/ 
	 tag : libva-1.7.0.pre1 
	 commit : 35f1447 
	 author : Xiang Haihao <haihao.xiang@intel.com> 
	 age : 11 days ago 
 --> Component : vaapi (intel-driver) 
	 url : http://cgit.freedesktop.org/vaapi/intel-driver 
	 tag : 1.7.0.pre1 
	 commit : ab8e4e3 
	 author : Xiang Haihao <haihao.xiang@intel.com> 
	 age : 11 days ago 
 --> Component : cairo 
	 url : http://cgit.freedesktop.org/cairo 
	 tag : 1.15.2 
	 commit : db8a7f1 
	 author : Bryce Harrington <bryce@osg.samsung.com> 
	 age : 3 months ago 
 --> Component : xserver 
	 url :  http://cgit.freedesktop.org/xorg/xserver 
	 tag : xorg-server-1.18.1 
	 commit : 23e60f9 
	 author : Adam Jackson <ajax@redhat.com> 
	 age : 5 weeks ago 
 --> Component : intel-gpu-tools 
	 url : http://cgit.freedesktop.org/xorg/app/intel-gpu-tools 
	 tag : intel-gpu-tools-1.14-23-g364d378 
	 commit : 364d378 
	 author : Paulo Zanoni <paulo.r.zanoni@intel.com> 
	 age : 10 days ago 


kernel configuration
=====================
Branch : drm-intel-testing
commit a27657a39741599ce9feef1ef39ae6654e9e6768
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Mon Feb 29 09:42:22 2016 +0100

    drm-intel-nightly: 2016y-02m-29d-08h-41m-12s UTC integration manifest
Kernel version : 4.5.0-rc5
Architecture : source amd64 all
Comment 5 Luis Botello 2016-04-28 16:43:27 UTC
The following tests fail on BXT-P with the next configuration 

test cases
================================
gem_exec_reloc@readonly-20
gem_exec_reloc@readonly-29
gem_exec_reloc@readonly-28
gem_exec_reloc@readonly-14
gem_exec_reloc@readonly-18
gem_exec_reloc@readonly-24
gem_exec_reloc@readonly-15
gem_exec_reloc@wc-31
gem_exec_reloc@readonly-26
gem_exec_reloc@gtt-28
gem_exec_reloc@cpu-32
gem_exec_reloc@readonly-12
gem_exec_reloc@readonly-31
gem_exec_reloc@mmap-31
gem_exec_reloc@wc-32
gem_exec_reloc@cpu-31
gem_exec_reloc@gtt-29
gem_exec_reloc@gtt-31
gem_exec_reloc@readonly-19
gem_exec_reloc@readonly-17
gem_exec_reloc@gtt-32
gem_exec_reloc@mmap-32
gem_exec_reloc@readonly-32
gem_exec_reloc@readonly-30
gem_exec_reloc@readonly-23
gem_exec_reloc@readonly-27
gem_exec_reloc@readonly-22
gem_exec_reloc@readonly-21
gem_exec_reloc@readonly-16
gem_exec_reloc@readonly-13
gem_exec_reloc@gtt-30
gem_exec_reloc@readonly-25



Software information
================================
Kernel version                      : 4.6.0-rc4-drm-intel-nightly-ww17-commit-1e81bac+
Linux distribution                  : Ubuntu 15.10
Architecture                        : 64-bit
Bios revision                       : 129.10
KSC revision                        : 1.6


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])
Memory ram                          : 8 GB
Maximum memory ram allowed          : 16 GB


Graphic stack information
================================
 --> Component : drm 
	 url : http://cgit.freedesktop.org/mesa/drm 
	 tag : libdrm-2.4.67-26-g739b888 
	 commit : 739b888 
	 author : Nicolas Dechesne <nicolas.dechesne@linaro.org> 
	 age : 2 weeks 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-640-gbca4e0e 
	 commit : bca4e0e 
	 author : Chris Wilson <chris@chris-wilson.co.uk> 
	 age : 2 days ago 
 --> Component : libva 
	 url : http://cgit.freedesktop.org/libva/ 
	 tag : libva-1.7.0-1-g2339d10 
	 commit : 2339d10 
	 author : Xiang Haihao <haihao.xiang@intel.com> 
	 age : 6 weeks ago 
 --> Component : vaapi (intel-driver) 
	 url : http://cgit.freedesktop.org/vaapi/intel-driver 
	 tag : 1.7.0-8-g2c1bec0 
	 commit : 2c1bec0 
	 author : peng.chen <peng.c.chen@intel.com> 
	 age : 3 weeks 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-291-g16e4bce 
	 commit : 16e4bce 
	 author : Simon Thum <simon.thum@gmx.de> 
	 age : 2 weeks ago 
 --> Component : intel-gpu-tools 
	 url : http://cgit.freedesktop.org/xorg/app/intel-gpu-tools 
	 tag : intel-gpu-tools-1.14-212-g1e9a3ac 
	 commit : 1e9a3ac 
	 author : Chris Wilson <chris@chris-wilson.co.uk> 
	 age : 3 days ago 


kernel information
================================
commit 1e81bacf1f7fdbdf83f46b55389713fa13cb1256
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Sun Apr 24 11:36:51 2016 +0100

    drm-intel-nightly: 2016y-04m-24d-10h-36m-11s UTC integration manifest


Kernel version : 4.6.0-rc4
Architecture : source amd64 all
Homepage : http://www.kernel.org/
Comment 6 yann 2016-04-29 11:01:12 UTC
Milestone criteria blocker so increasing priority
Comment 8 maria guadalupe 2016-05-13 17:03:18 UTC
(In reply to Chris Wilson from comment #7)
> For reference the fix is
> https://cgit.freedesktop.org/~ickle/linux-2.6/commit/
> ?h=tasklet&id=a1844d37e06153e712f4e22aee12a1a66da33c94

Hi Chris, i could not find this commit on drm-intel-nightly or testing branch, do you have any suggestion for this.

Thanks
Comment 9 Humberto Israel Perez Rodriguez 2016-05-18 01:21:20 UTC
The following tests cases fail under the following configuration on BXT-P

tests cases
================================================================
igt@gem_exec_reloc@cpu-31
igt@gem_exec_reloc@gtt-28
igt@gem_exec_reloc@readonly-13
igt@gem_exec_reloc@cpu-32
igt@gem_exec_reloc@readonly-14
igt@gem_exec_reloc@gtt-32
igt@gem_exec_reloc@readonly-28
igt@gem_exec_reloc@readonly-20
igt@gem_exec_reloc@readonly-12
igt@gem_exec_reloc@readonly-26
igt@gem_exec_reloc@readonly-19
igt@gem_exec_reloc@readonly-27
igt@gem_exec_reloc@mmap-31
igt@gem_exec_reloc@mmap-32
igt@gem_exec_reloc@readonly-23
igt@gem_exec_reloc@readonly-31
igt@gem_exec_reloc@wc-31
igt@gem_exec_reloc@readonly-21
igt@gem_exec_reloc@readonly-25
igt@gem_exec_reloc@gtt-29
igt@gem_exec_reloc@gtt-30
igt@gem_exec_reloc@readonly-29
igt@gem_exec_reloc@readonly-17
igt@gem_exec_reloc@readonly-22
igt@gem_exec_reloc@wc-32
igt@gem_exec_reloc@gtt-31
igt@gem_exec_reloc@readonly-24
igt@gem_exec_reloc@readonly-30
igt@gem_exec_reloc@readonly-15
igt@gem_exec_reloc@readonly-16
igt@gem_exec_reloc@readonly-32


Hardware configuration
================================================================
Platform     BXT - P (APL)
Motherboard model  Apollo Lake
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])
Memory ram   8 GB


gfx user space
================================================================
 --> Component : drm 
	 url : http://cgit.freedesktop.org/mesa/drm 
	 tag : libdrm-2.4.68 
	 commit : fc09c5a 
	 author : Kenneth Graunke <kenneth@whitecape.org> 
	 age : 2 weeks 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 : 7 days ago 
 --> Component : libva 
	 url : http://cgit.freedesktop.org/libva/ 
	 tag : libva-1.7.0-2-g4cb6d78 
	 commit : 4cb6d78 
	 author : Alan Coopersmith <alan.coopersmith@oracle.com> 
	 age : 5 weeks ago 
 --> Component : vaapi (intel-driver) 
	 url : http://cgit.freedesktop.org/vaapi/intel-driver 
	 tag : 1.7.0-12-g4643f94 
	 commit : 4643f94 
	 author : peng.chen <peng.c.chen@intel.com> 
	 age : 3 weeks 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-317-g7f04946 
	 commit : 7f04946 
	 author : Dave Airlie <airlied@redhat.com> 
	 age : 9 days ago 
 --> Component : intel-gpu-tools 
	 url : http://cgit.freedesktop.org/xorg/app/intel-gpu-tools 
	 tag : intel-gpu-tools-1.14-212-g1e9a3ac 
	 commit : 1e9a3ac 
	 author : Chris Wilson <chris@chris-wilson.co.uk> 
	 age : 3 weeks ago 


kernel
====================================================================
commit 447f2438e5ee3e9bb7d5cbe88fc44cdff74cc165
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Sun May 8 18:21:27 2016 +0200

    drm-intel-nightly: 2016y-05m-08d-16h-21m-00s UTC integration manifest


Kernel version : 4.6.0-rc6
Architecture : source amd64 all
Homepage : http://www.kernel.org/
Comment 10 cprigent 2016-05-27 13:14:53 UTC
Hi Maria,
You must apply the patch https://cgit.freedesktop.org/~ickle/linux-2.6/patch/?id=a1844d37e06153e712f4e22aee12a1a66da33c94 to drm-intel-nightly.
Comment 11 maria guadalupe 2016-05-27 16:44:31 UTC
I have tested patch on drm-intel-nightly and i got the following results:

========Test cases failed =================================
igt@gem_exec_reloc@readonly-12
igt@gem_exec_reloc@readonly-27
igt@gem_exec_reloc@readonly-22
igt@gem_exec_reloc@readonly-14
igt@gem_exec_reloc@readonly-23
igt@gem_exec_reloc@gtt-28
igt@gem_exec_reloc@gtt-29
igt@gem_exec_reloc@readonly-18
igt@gem_exec_reloc@readonly-24
igt@gem_exec_reloc@readonly-13
igt@gem_exec_reloc@gtt-30
igt@gem_exec_reloc@readonly-21
igt@gem_exec_reloc@readonly-19
igt@gem_exec_reloc@readonly-26
igt@gem_exec_reloc@readonly-25
igt@gem_exec_reloc@readonly-16
igt@gem_exec_reloc@readonly-15
igt@gem_exec_reloc@readonly-17
igt@gem_exec_reloc@readonly-20
igt@gem_exec_reloc@readonly-29
igt@gem_exec_reloc@readonly-30
igt@gem_exec_reloc@readonly-28

This is my config:

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-nightly+
Linux distribution                  : Ubuntu 15.10
Architecture                        : 64-bit
Bios revision                       : 28.1
KSC revision                        : 1.15


Hardware information 
=============================

Platform                            : SKL-Y to KBL (RVP3)
Motherboard model                   : Kabylake Client platform
Motherboard manufacturer            : Intel Corporation
CPU information                     : Genuine Intel(R) CPU 0000 @ 0.90GHz
GPU Card                            : Intel Corporation Device 591e (prog-if 00 [VGA controller])


|=== kernel information ===|

commit 5c0712f1840e1d1c9e6d3c2b0b982fbbebebf69c
Comment 12 Chris Wilson 2016-05-27 17:10:53 UTC
(In reply to maria guadalupe from comment #11)
> I have tested patch on drm-intel-nightly and i got the following results:

That patch wouldn't apply without fixup to -nightly. Curious.
Comment 13 maria guadalupe 2016-05-27 18:04:17 UTC
(In reply to Chris Wilson from comment #12)
> (In reply to maria guadalupe from comment #11)
> > I have tested patch on drm-intel-nightly and i got the following results:
> 
> That patch wouldn't apply without fixup to -nightly. Curious.

Hi Chris :

yes you right , it was my bad in fact i wouldn't apply the patch to the kernel, this patch is too old (Sun, 27 Dec 2015 00:19:08), so the right way to proceed here is wait for fixup to nightly ? besides that in APL the family gem_exec_reloc are fail 112/114 subtest, and i'm little worried about that, for now we can put this tests as block in our reports until know how to fix that.

thanks
Comment 14 Elio 2016-06-01 19:51:03 UTC
At least 33 subtest cases are failing with the following configuration:

++ Kernel version                      : 4.6.0-drm-intel-nightly-ww23-commit-fb023a2+
 ++ Linux distribution                  : Ubuntu 16.04 LTS
 ++ Architecture                        : 64-bit
 ++ Mesa version                        : Mesa 11.2.2
 ++ 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) CherryView - 1.7.0
 ++ Cairo version                       : 1.15.2
 ++ Intel GPU Tools version             : Tag [intel-gpu-tools-1.14-348-g303b380] / Commit [303b380]
 ++ Kernel driver in use                : i915
 ++ Hardware acceleration               :
 ++ Bios revision                       : 0.33
 ++ KSC revision                        : 0.16


 |=== Hardware information ===|

 ++ Platform                            :
 ++ Motherboard model                   : 10G9000NUS
 ++ Motherboard type                    : BRASWELL Desktop
 ++ Motherboard manufacturer            : LENOVO
 ++ CPU family                          : Pentium
 ++ CPU information                     : Intel(R) Pentium(R) CPU  N3700  @ 1.60GHz
 ++ GPU Card                            : Intel Corporation Device 22b1 (rev 21) (prog-if 00 [VGA controller])
 ++ Memory ram                          : 8 GB
 ++ Maximum memory ram allowed          : 8 GB
 ++ Display resolution                  :
 ++ CPU's number                        : 4
 ++ Hard drive capacity                 : 120 GB


Graphic stack configuration

 --> Component : drm 
	 url : http://cgit.freedesktop.org/mesa/drm 
	 tag : libdrm-2.4.68 
	 commit : fc09c5a 
	 author : Kenneth Graunke <kenneth@whitecape.org> 
	 age : 5 weeks ago 
 --> Component : mesa 
	 url : http://cgit.freedesktop.org/mesa/mesa 
	 tag : mesa-11.2.2 
	 commit : 3a9f628 
	 author : Emil Velikov <emil.velikov@collabora.com> 
	 age : 3 weeks ago 
 --> Component : xf86-video-intel 
	 url : http://cgit.freedesktop.org/xorg/driver/xf86-video-intel 
	 tag : 2.99.917 
	 commit : baec802 
	 author : Chris Wilson <chris@chris-wilson.co.uk> 
	 age : 1 year 5 months ago 
 --> Component : libva 
	 url : http://cgit.freedesktop.org/libva/ 
	 tag : libva-1.7.0 
	 commit : 85ca8a2 
	 author : Xiang Haihao <haihao.xiang@intel.com> 
	 age : 3 months ago 
 --> Component : vaapi (intel-driver) 
	 url : http://cgit.freedesktop.org/vaapi/intel-driver 
	 tag : 1.7.0 
	 commit : ee45497 
	 author : Xiang Haihao <haihao.xiang@intel.com> 
	 age : 3 months ago 
 --> Component : cairo 
	 url : http://cgit.freedesktop.org/cairo 
	 tag : 1.15.2 
	 commit : db8a7f1 
	 author : Bryce Harrington <bryce@osg.samsung.com> 
	 age : 6 months ago 
 --> Component : xserver 
	 url :  http://cgit.freedesktop.org/xorg/xserver 
	 tag : xorg-server-1.18.3 
	 commit : 9454cd5 
	 author : Adam Jackson <ajax@redhat.com> 
	 age : 8 weeks ago 
 --> Component : intel-gpu-tools 
	 url : http://cgit.freedesktop.org/xorg/app/intel-gpu-tools 
	 tag : intel-gpu-tools-1.14-348-g303b380 
	 commit : 303b380 
	 author : Matt Roper <matthew.d.roper@intel.com> 
	 age : 5 days ago
Comment 15 yann 2016-06-02 11:09:32 UTC
Elio, can you attached logs?
Comment 16 Harmanpreet Singh 2016-06-02 11:10:00 UTC
Created attachment 124260 [details]
attachment-29548-0.html

Hi,

Thank you for your mail !!

Down with High Fever. Will be out Sick today. Please expect delay in responses.

Thanks & Regards
Harmanpreet Singh
Comment 17 Elio 2016-06-02 14:59:35 UTC
Ran the test with all the family showing all failures and i ran the latest failures as well. attaching logs
Comment 18 Elio 2016-06-02 15:00:07 UTC
Created attachment 124270 [details]
All family results
Comment 19 Elio 2016-06-02 15:00:39 UTC
Created attachment 124271 [details]
One by one latest results
Comment 20 Elio 2016-06-02 15:01:00 UTC
Created attachment 124272 [details]
Dmesg log
Comment 21 Humberto Israel Perez Rodriguez 2016-06-03 20:40:43 UTC
the family gem_exec_reloc has 114 test and with the following config are fail 112 tests

The following tests cases are fail with the following configuration :


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
Comment 22 Harmanpreet Singh 2016-06-03 20:41:08 UTC
Created attachment 124311 [details]
attachment-20560-0.html

Hi,

Thank you for your mail !!

Still Down with  Fever. Will be out Sick today(WW23.5). Please expect delay in responses.

For anything very urgent , Please contact my Manager : Archana Gopalan.

Thanks & Regards
Harmanpreet Singh
Comment 23 Humberto Israel Perez Rodriguez 2016-06-03 20:43:22 UTC
should we block this test until the patch will fixup to -nightly. as said Chris wilson in "Comment #12"  ?
Comment 24 Elio 2016-06-17 20:35:23 UTC
The problem persist with the following configuration:

Configuration:


============================================ 
Kernel version              	: 4.7.0-040700rc2-generic 
Linux distribution          	: Ubuntu 16.04 LTS 
Architecture                	: 64-bit 
Mesa version                	: 11.2.2
xf86-video-intel version    	: 2.99.917 
Xorg-Xserver version        	: 1.18.3 
DRM version                 	: 2.4.67 
VAAPI version               	: Intel i965 driver for Intel(R) CherryView - 1.7.0 
Cairo version               	: [1m[1;31mNot found[0m 
Intel GPU Tools version     	: 1.15-1 <-- [1;33mThis is a generic version of IGT[0m 
Kernel driver in use        	: [1m[1;32mi915[0m 
Hardware acceleration        	:  
Bios revision               	: 4.0 
KSC revision                	: [1m[1;31mNot found[0m <-- [1;33mmaybe the DUT doesn't has this firmware[0m 


 [1m[1;34mHardware information[0m 
============================================ 
Platform                     	:  
Motherboard model            	: Inspiron 15-3552 
Motherboard type             	: 0T14MC Portable 
Motherboard manufacturer     	: Dell Inc. 
CPU family                   	: Pentium 
CPU information              	: Intel(R) Pentium(R) CPU  N3700  @ 1.60GHz 
GPU Card                     	: Intel Corporation Device 22b1 (rev 21) (prog-if 00 [VGA controller]) 
Memory ram                   	: 4 GB 
Maximum memory ram allowed   	: 8 GB 
Display resolution       	:  
CPU's number             	: 4 
Hard drive Capacity 		: 128 GB
Comment 25 Humberto Israel Perez Rodriguez 2016-06-19 15:12:08 UTC
(In reply to Chris Wilson from comment #12)
> (In reply to maria guadalupe from comment #11)
> > I have tested patch on drm-intel-nightly and i got the following results:
> 
> That patch wouldn't apply without fixup to -nightly. Curious.

Hi Chris :


with the latest configuration on APL this family keeps fail (112/114). should we block this tests until the patch will be apply to nightly branch ?

this is my latest configuration used :

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])
Comment 26 Humberto Israel Perez Rodriguez 2016-06-19 16:17:46 UTC
i have to comment the following 

in my last comment i've tested with 8GB of ram and most of the family are fail, but with 16GB of ram this are the statistics on APL


Total Memory : 16GB (each memory has 8GB)
Subtest : 114
Passed tests : 80 (70.175%)
Failed tests : 32  (28.070%)


now are only failing 32 tests of 114 and this are :

gem_exec_reloc@readonly-23
gem_exec_reloc@readonly-18
gem_exec_reloc@readonly-25
gem_exec_reloc@readonly-15
gem_exec_reloc@gtt-28
gem_exec_reloc@mmap-32
gem_exec_reloc@readonly-32
gem_exec_reloc@gtt-29
gem_exec_reloc@readonly-22
gem_exec_reloc@readonly-24
gem_exec_reloc@wc-32
gem_exec_reloc@readonly-21
gem_exec_reloc@gtt-31
gem_exec_reloc@readonly-14
gem_exec_reloc@readonly-30
gem_exec_reloc@readonly-20
gem_exec_reloc@readonly-16
gem_exec_reloc@readonly-29
gem_exec_reloc@readonly-28
gem_exec_reloc@wc-31
gem_exec_reloc@cpu-31
gem_exec_reloc@readonly-26
gem_exec_reloc@readonly-13
gem_exec_reloc@readonly-27
gem_exec_reloc@readonly-31
gem_exec_reloc@gtt-32
gem_exec_reloc@readonly-12
gem_exec_reloc@cpu-32
gem_exec_reloc@readonly-17
gem_exec_reloc@mmap-31
gem_exec_reloc@readonly-19
gem_exec_reloc@gtt-30
Comment 27 Humberto Israel Perez Rodriguez 2016-06-29 17:45:29 UTC
now with 16GB of ram on APL thw only tests that are failing are the following :

igt@gem_exec_reloc@mmap-31
igt@gem_exec_reloc@gtt-28
igt@gem_exec_reloc@readonly-17
igt@gem_exec_reloc@wc-32
igt@gem_exec_reloc@gtt-32
igt@gem_exec_reloc@readonly-32
igt@gem_exec_reloc@readonly-19
igt@gem_exec_reloc@gtt-30
igt@gem_exec_reloc@mmap-32
igt@gem_exec_reloc@readonly-30
igt@gem_exec_reloc@readonly-23
igt@gem_exec_reloc@readonly-13
igt@gem_exec_reloc@readonly-24
igt@gem_exec_reloc@readonly-27
igt@gem_exec_reloc@wc-31
igt@gem_exec_reloc@readonly-26
igt@gem_exec_reloc@cpu-32
igt@gem_exec_reloc@readonly-12
igt@gem_exec_reloc@readonly-22
igt@gem_exec_reloc@readonly-15
igt@gem_exec_reloc@readonly-20
igt@gem_exec_reloc@gtt-29
igt@gem_exec_reloc@readonly-25
igt@gem_exec_reloc@gtt-31
igt@gem_exec_reloc@readonly-28
igt@gem_exec_reloc@readonly-29
igt@gem_exec_reloc@readonly-16
igt@gem_exec_reloc@readonly-31
igt@gem_exec_reloc@readonly-14
igt@gem_exec_reloc@cpu-31
igt@gem_exec_reloc@readonly-18
igt@gem_exec_reloc@readonly-21



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
Comment 28 Humberto Israel Perez Rodriguez 2016-07-08 16:05:44 UTC
the same 32 tests keeps fail on APL 

The following tests fails on APL :

Tests cases
=============================================
igt@gem_exec_reloc@readonly-31
igt@gem_exec_reloc@readonly-16
igt@gem_exec_reloc@readonly-24
igt@gem_exec_reloc@readonly-18
igt@gem_exec_reloc@mmap-31
igt@gem_exec_reloc@gtt-28
igt@gem_exec_reloc@readonly-30
igt@gem_exec_reloc@readonly-25
igt@gem_exec_reloc@readonly-14
igt@gem_exec_reloc@readonly-27
igt@gem_exec_reloc@wc-31
igt@gem_exec_reloc@readonly-17
igt@gem_exec_reloc@gtt-30
igt@gem_exec_reloc@readonly-12
igt@gem_exec_reloc@readonly-19
igt@gem_exec_reloc@readonly-21
igt@gem_exec_reloc@readonly-29
igt@gem_exec_reloc@readonly-26
igt@gem_exec_reloc@gtt-29
igt@gem_exec_reloc@readonly-15
igt@gem_exec_reloc@gtt-32
igt@gem_exec_reloc@gtt-31
igt@gem_exec_reloc@cpu-31
igt@gem_exec_reloc@cpu-32
igt@gem_exec_reloc@readonly-32
igt@gem_exec_reloc@wc-32
igt@gem_exec_reloc@mmap-32
igt@gem_exec_reloc@readonly-13
igt@gem_exec_reloc@readonly-28
igt@gem_exec_reloc@readonly-22
igt@gem_exec_reloc@readonly-23
igt@gem_exec_reloc@readonly-20


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
Comment 29 Luis Botello 2016-07-28 17:17:52 UTC
Issue still present on KBL with the following config:

Software Configuration:
=================================================
kernel 4.7-rc7
commit 7eeb04a101316645916d4d9df058a9341797f1af
drm: libdrm-2.4.70-0caa84c from git://anongit.freedesktop.org/mesa/drm 
mesa: 11.2.2 3a9f628 from git://anongit.freedesktop.org/mesa/mesa 
cairo: 1.15.2 db8a7f1 from git://anongit.freedesktop.org/cairo   
xserver:xorg-server-1.18.0-497-g0b2f308 from git://git.freedesktop.org/git/xorg/xserver 
xf86-video-intel:2.99.917-684-g6988b87 from git://anongit.freedesktop.org/xorg/driver/xf86-video-intel 
libva: 1.7.0-26-gc36971c from git://git.freedesktop.org/git/vaapi/libva 
vaapi-intel-driver:1.7.0-58-ge554446 from git://anongit.freedesktop.org/vaapi/intel-driver

 Hardware information
============================================
Platform                        : KBL (RVP7)
Motherboard model               : Kabylake Client platform
Motherboard type                : Skylake U DDR3L RVP7 Laptop
Motherboard manufacturer        : Intel Corporation
CPU information                 : Genuine Intel(R) CPU 0000 @ 2.60GHz
GPU Card                        : Intel Corporation Device 5916 (prog-if 00 [VGA controller])
Comment 30 Chris Wilson 2016-08-19 09:26:44 UTC
In part, commit a61007a83a4671da77210790997d5c8c92ed87ea
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Thu Aug 18 17:17:02 2016 +0100

    drm/i915: Fix partial GGTT faulting
Comment 31 maria guadalupe 2016-08-22 22:41:18 UTC
these tests was executed with the following kernel commit: a61007a83a4671da77210790997d5c8c92ed87ea and the following configuration, you can see the igt-output in the file "gem-exec-reloc" and dmesgapl

Software information
============================================
Kernel version                  : 4.8.0-rc2drm-intel-nightly-ww34-commit-a61007a+
Linux distribution              : Ubuntu 16.04.1 LTS
Architecture                    : 64-bit
xf86-video-intel version        : 2.99.917
DRM version                     : 2.4.70
VAAPI version                   : Intel i965 driver for Intel(R) Broxton - 1.7.2.pre1 (1.7.0-89-gb53fad9)
Cairo version                   : 1.15.2
Intel GPU Tools version         : Tag [intel-gpu-tools-1.15-228-gb0658ce] / Commit [b0658ce]
Kernel driver in use            : i915
Bios revision                   : 147.21
KSC revision                    : 1.15


 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])
Memory ram                      : 8 GB
Maximum memory ram allowed      : 16 GB
CPU thread                      : 4
CPU core                        : 4
Hard drive capacity             : 111GiB (120GB)

 Firmwares information
============================================
DMC fw loaded                   : yes
DMC version                     : 1.7
GUC version wanted              : 8.7

test failed
============================================
igt@gem_exec_reloc@gtt-32
igt@gem_exec_reloc@readonly-16
igt@gem_exec_reloc@readonly-20
igt@gem_exec_reloc@readonly-23
igt@gem_exec_reloc@gtt-31
igt@gem_exec_reloc@mmap-31
igt@gem_exec_reloc@cpu-31
igt@gem_exec_reloc@readonly-15
igt@gem_exec_reloc@readonly-21
igt@gem_exec_reloc@readonly-29
igt@gem_exec_reloc@cpu-32
igt@gem_exec_reloc@readonly-31
igt@gem_exec_reloc@readonly-12
igt@gem_exec_reloc@readonly-24
igt@gem_exec_reloc@mmap-32
igt@gem_exec_reloc@readonly-19
igt@gem_exec_reloc@wc-32
igt@gem_exec_reloc@readonly-17
igt@gem_exec_reloc@wc-31
igt@gem_exec_reloc@readonly-18
igt@gem_exec_reloc@readonly-13
igt@gem_exec_reloc@readonly-14
igt@gem_exec_reloc@readonly-26
igt@gem_exec_reloc@readonly-28
igt@gem_exec_reloc@readonly-32
igt@gem_exec_reloc@readonly-27
igt@gem_exec_reloc@readonly-22
igt@gem_exec_reloc@readonly-25
igt@gem_exec_reloc@readonly-30
Comment 32 maria guadalupe 2016-08-22 22:42:22 UTC
Created attachment 125968 [details]
gem-exec-reloc
Comment 33 maria guadalupe 2016-08-22 22:42:45 UTC
Created attachment 125969 [details]
dmesgapl
Comment 34 Humberto Israel Perez Rodriguez 2016-09-21 15:21:45 UTC
The following tests fail on BDW

Hardware information ============================================
Platform : BDW
Processor Model Family       :  Intel(R) Core(TM) i5-5250U CPU @ 1.60GHz  Core
Memory : 7869 MB
GPU Card & Driver            : Intel Corporation Broadwell-U Integrated Graphics (rev 09), i915
BIOS & Firmware Version      : 5.6, RYBDWi35.86A.0247.2015.0415.1351
Platform Manufacturer & Type : , Desktop

 
Software information ============================================.
Kernel                       : 4.7.2-mainline
Architecture                 : 64 bits
Mesa                         : 12.0.1 (git-04277f0
xf86-video-intel             : 2.99.917
xorg-xserver                 : 1.18.3
libdrm                       : 2.4.67
libva                        : 1.7.0
vaapi (inteldriver)          : 1.7.0
cairo                        : 1.14.6-1
intel-gpu-tools              : 1.14-1


test cases
=======================
igt@gem_exec_reloc@readonly-21
igt@gem_exec_reloc@readonly-15
igt@gem_exec_reloc@readonly-23
igt@gem_exec_reloc@gtt-29
igt@gem_exec_reloc@readonly-16
igt@gem_exec_reloc@wc-31
igt@gem_exec_reloc@wc-32
igt@gem_exec_reloc@mmap-32
igt@gem_exec_reloc@readonly-12
igt@gem_exec_reloc@readonly-27
igt@gem_exec_reloc@readonly-19
igt@gem_exec_reloc@readonly-18
igt@gem_exec_reloc@readonly-25
igt@gem_exec_reloc@readonly-13
igt@gem_exec_reloc@mmap-31
igt@gem_exec_reloc@readonly-32
igt@gem_exec_reloc@readonly-31
igt@gem_exec_reloc@readonly-22
igt@gem_exec_reloc@readonly-20
igt@gem_exec_reloc@readonly-24
igt@gem_exec_reloc@readonly-28
igt@gem_exec_reloc@gtt-32
igt@gem_exec_reloc@gtt-31
igt@gem_exec_reloc@gtt-30
igt@gem_exec_reloc@cpu-32
igt@gem_exec_reloc@cpu-31
igt@gem_exec_reloc@readonly-17
igt@gem_exec_reloc@readonly-29
igt@gem_exec_reloc@readonly-14
igt@gem_exec_reloc@gtt-28
igt@gem_exec_reloc@readonly-30
igt@gem_exec_reloc@readonly-26
Comment 35 Humberto Israel Perez Rodriguez 2016-09-26 21:42:41 UTC
the following subtest fail with the following configuration :


	  
Software information
============================================
Kernel version                  : 4.8.0-rc8-nightly+ (0e34cb5b35f0)
Linux distribution              : Ubuntu 16.04.1 LTS
Architecture                    : 64-bit
DRM version                     : 2.4.70 (0659558)
Cairo version                   : 1.15.2 (db8a7f1)
Intel GPU Tools version         : intel-gpu-tools-1.16-22-g200237a
Bios revision                   : 5.6
Bios release date               : 06/06/2016

Hardware information
============================================
Platform                        : BSW
Motherboard type                : NUC5i3RYB Desktop
CPU family                      : Core i3
CPU information                 : Intel(R) Core(TM) i3-5010U CPU @ 2.10GHz
GPU Card                        : Intel Corporation Broadwell-U Integrated Graphics (rev 09) (prog-if 00 [VGA controller])
Memory ram                      : 8 GB
Maximum memory ram allowed      : 16 GB
CPU thread                      : 4
CPU core                        : 2
Socket                          : Socket BGA1168
Signature                       : Type 0, Family 6, Model 61, Stepping 4


subtest
======================================
igt@gem_exec_reloc@readonly-23
igt@gem_exec_reloc@readonly-14
igt@gem_exec_reloc@readonly-13
igt@gem_exec_reloc@readonly-31
igt@gem_exec_reloc@cpu-31
igt@gem_exec_reloc@mmap-31
igt@gem_exec_reloc@readonly-17
igt@gem_exec_reloc@readonly-12
igt@gem_exec_reloc@readonly-18
igt@gem_exec_reloc@readonly-26
igt@gem_exec_reloc@readonly-15
igt@gem_exec_reloc@readonly-24
igt@gem_exec_reloc@readonly-28
igt@gem_exec_reloc@readonly-27
igt@gem_exec_reloc@readonly-20
igt@gem_exec_reloc@readonly-22
igt@gem_exec_reloc@readonly-16
igt@gem_exec_reloc@readonly-25
igt@gem_exec_reloc@readonly-30
igt@gem_exec_reloc@gtt-31
igt@gem_exec_reloc@readonly-29
igt@gem_exec_reloc@readonly-21
igt@gem_exec_reloc@wc-31
igt@gem_exec_reloc@readonly-19
Comment 36 Luis Botello 2016-10-13 18:37:35 UTC
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])
Comment 37 Harmanpreet Singh 2016-10-13 18:38:01 UTC
Created attachment 127277 [details]
attachment-32354-0.html

Hi,

Thank you for your mail !!

Harman is on vacation starting WW40.4( 29th Sept)  to  WW42.5(14th Oct) with no access to e-mails.Below is my CPM backup coverage during this time period

1.     CORE Windows 15.45 ( SKL/APL/KBL)  : -  Archana Gopalan
2.     CORE Android BXT-P( Kernel4.4 Migration, IOTG IVI, Embedded, Grosse Tete) :- Shashidhar Hiremath
3.     CORE IOTG YOCTO IVI/Linux : Jeff Mcgee
4.     For Anything else :  Gene Pong

Thanks & Regards
Harmanpreet Singh
Comment 38 Elio 2016-11-23 21:30:31 UTC
The problem persists with the following configuration:

Platform BYT: Acer Aspire XC-603
CPU: Intel(R) Pentium(R) CPU J2900 @ 2.41GHz (family 6, model 55, stepping 8)
Motherboard: Aspire XC-603
GPU: Intel® HD Graphics - Intel Corporation Atom Processor Z36xxx/Z37xxx Series Graphics & Display (rev 0e)

Software
Bios: P11-B2
Linux distribution: Ubuntu 16.04 64 bits

Kernel: 4.9.0-rc4 91e164f branch drm-intel-nightly from http://cgit.freedesktop.org/drm-intel/ 
commit 91e164fea17d3e5366048b6eae3c6eea4e14e9fe
Author: Ville Syrjälä <ville.syrjala@linux.intel.com>
Date: Mon Nov 14 16:31:06 2016 +0200
drm-intel-nightly: 2016y-11m-14d-14h-30m-30s UTC integration manifest

libdrm-2.4.71-13 670f1e4 from git://anongit.freedesktop.org/mesa/drm
mesa: mesa-13.0.0 df1b0a5 from git://anongit.freedesktop.org/mesa/mesa
cairo 1.15.2 db8a7f1 from git://anongit.freedesktop.org/cairo
xorg-server-1.18.99.902-2 7513da4 from git://git.freedesktop.org/git/xorg/xserver
xf86-video-intel 2.99.917-731 d1d14f2 from git://git.freedesktop.org/git/xorg/driver/xf86-video-intel
libva-1.7.2-40 3a7547b from git://git.freedesktop.org/git/vaapi/libva 
vaapi-intel-driver: 1.7.2-157 55a538c from git://git.freedesktop.org/git/vaapi/intel-driver
intel-gpu-tools-1.16-132 773ac7c from http://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools.git

External screen: DELL U2312HM (VGA)

exiting, ret=99
[45867.350113] [drm:intel_atomic_check [i915]] [CONNECTOR:43:VGA-1] checking for sink bpp constrains
[45867.350158] [drm:intel_atomic_check [i915]] clamping display bpp (was 30) to default limit of 24
[45867.350204] [drm:intel_atomic_check [i915]] hw max bpp: 30, pipe bpp: 24, dithering: 0
[45867.350248] [drm:intel_dump_pipe_config [i915]] [CRTC:33:pipe A][modeset]
[45867.350292] [drm:intel_dump_pipe_config [i915]] cpu_transcoder: A, pipe bpp: 24, dithering: 0
[45867.350334] [drm:intel_dump_pipe_config [i915]] audio: 0, infoframes: 0
[45867.350377] [drm:intel_dump_pipe_config [i915]] requested mode:
[45867.350386] [drm:drm_mode_debug_printmodeline] Modeline 0:"1920x1080" 60 148500 1920 2008 2052 2200 1080 1084 1089 1125 0x48 0x5
[45867.350432] [drm:intel_dump_pipe_config [i915]] adjusted mode:
[45867.350436] [drm:drm_mode_debug_printmodeline] Modeline 0:"1920x1080" 60 148500 1920 2008 2052 2200 1080 1084 1089 1125 0x48 0x5
[45867.350467] [drm:intel_dump_pipe_config [i915]] crtc timings: 148500 1920 2008 2052 2200 1080 1084 1089 1125, type: 0x48 flags: 0x5
[45867.350497] [drm:intel_dump_pipe_config [i915]] port clock: 148500, pipe src size: 1920x1080
[45867.350527] [drm:intel_dump_pipe_config [i915]] gmch pfit: control: 0x00000000, ratios: 0x00000000, lvds border: 0x00000000
[45867.350557] [drm:intel_dump_pipe_config [i915]] ips: 0, double wide: 0
[45867.350587] [drm:intel_dump_pipe_config [i915]] dpll_hw_state: dpll: 0xf0002000, dpll_md: 0x0, fp0: 0x0, fp1: 0x0
[45867.350617] [drm:intel_dump_pipe_config [i915]] planes on this crtc
[45867.350649] [drm:intel_dump_pipe_config [i915]] [PLANE:25:primary A] FB:66, fb = 1920x1080 format = XR24 little-endian (0x34325258)
[45867.350678] [drm:intel_dump_pipe_config [i915]] [PLANE:27:sprite A] disabled, scaler_id = 0
[45867.350708] [drm:intel_dump_pipe_config [i915]] [PLANE:29:sprite B] disabled, scaler_id = 0
[45867.350738] [drm:intel_dump_pipe_config [i915]] [PLANE:31:cursor A] disabled, scaler_id = 0
[45867.350770] [drm:intel_atomic_check [i915]] New cdclk calculated to be atomic 266667, actual 266667
[45867.350835] [drm:intel_power_well_enable [i915]] enabling always-on
[45867.350863] [drm:intel_power_well_enable [i915]] enabling display
[45867.354077] [drm:intel_crt_reset [i915]] crt adpa set to 0xf40000
[45867.354134] [drm:i915_redisable_vga_power_on [i915]] Something enabled VGA plane, disabling it
[45867.354495] [drm:intel_power_well_enable [i915]] enabling dpio-common
[45867.358630] [drm:intel_update_cdclk [i915]] Current CD clock rate: 266667 kHz
[45867.358689] [drm:intel_atomic_commit_tail [i915]] [ENCODER:44:CRT]
[45867.358744] [drm:intel_atomic_commit_tail [i915]] [ENCODER:45:DP B]
[45867.358800] [drm:intel_atomic_commit_tail [i915]] [ENCODER:49:HDMI B]
[45867.359133] [drm:vlv_pipe_set_fifo_size.isra.25 [i915]] Pipe A FIFO split 511 / 511 / 511
[45867.359186] [drm:vlv_update_wm [i915]] Setting FIFO watermarks - A: plane=391, cursor=63, sprite0=0, sprite1=0, SR: plane=0, cursor=0 level=0 cxsr=0
[45867.359240] [drm:intel_enable_pipe [i915]] enabling pipe A
[45867.376406] [drm:verify_connector_state.isra.82 [i915]] [CONNECTOR:43:VGA-1]
[45867.376471] [drm:intel_atomic_commit_tail [i915]] [CRTC:33:pipe A]
[45867.376949] [drm:intel_crt_detect [i915]] [CONNECTOR:43:VGA-1] force=0
[45867.377017] [drm:intel_crt_detect [i915]] trigger hotplug detect cycle: adpa=0x80f40018
[45867.393400] [drm:intel_get_hpd_pins [i915]] hotplug event received, stat 0x00000800, dig 0x00000800, pins 0x00000002
[45867.395179] [drm:intel_crt_detect [i915]] valleyview hotplug adpa=0x83f40018, result 1
[45867.395235] [drm:intel_crt_detect [i915]] CRT detected via hotplug
[45867.395248] [drm:drm_helper_hpd_irq_event] [CONNECTOR:43:VGA-1] status updated from connected to connected
[45867.395303] [drm:intel_dp_detect [i915]] [CONNECTOR:46:DP-1]
[45867.395356] [drm:intel_power_well_enable [i915]] enabling dpio-tx-b-01
[45867.397499] [drm:intel_power_well_enable [i915]] enabling dpio-tx-b-23
[45867.399648] [drm:intel_power_well_enable [i915]] enabling dpio-tx-c-01
[45867.401254] [drm:intel_power_well_enable [i915]] enabling dpio-tx-c-23
[45867.403414] [drm:intel_power_well_disable [i915]] disabling dpio-tx-c-23
[45867.405327] [drm:intel_power_well_disable [i915]] disabling dpio-tx-c-01
[45867.407466] [drm:intel_power_well_disable [i915]] disabling dpio-tx-b-23
[45867.409300] [drm:intel_power_well_disable [i915]] disabling dpio-tx-b-01
[45867.411774] [drm:drm_helper_hpd_irq_event] [CONNECTOR:46:DP-1] status updated from disconnected to disconnected
Comment 39 Jari Tahvanainen 2017-02-09 11:31:37 UTC
priority changed to highest due to wide impact.
Comment 40 Jari Tahvanainen 2017-02-17 08:49:48 UTC
Mika - please do quick check related to possible root cause for this failure - is it in igt or in kernel or in both?
Comment 41 Chris Wilson 2017-02-17 08:59:16 UTC
It's a kernel bug, not honouring the abi.
Comment 42 Tomeu Vizoso 2017-02-21 12:56:16 UTC
Chris Wilson has fixes that he has to rebase and resend.
Comment 43 Tomeu Vizoso 2017-03-17 13:58:56 UTC
These tests should start passing once this series is merged:

https://patchwork.freedesktop.org/series/21377/
Comment 44 Dorota Czaplejewicz 2017-03-18 16:13:06 UTC
I checked on SKL - these patches fix at least igt/gem_exec_reloc/cpu-31
Comment 45 Jari Tahvanainen 2017-03-21 11:21:49 UTC
Tested-by for https://patchwork.freedesktop.org/series/21377 on my dev-SKL (i5-6600k) by taking all the gem_exec_reloc cases to testlist (151 tests).
Executing those as a full set through piglit was not successful due to out-of-memory conditions at the end of the testlist with some (varying) gtt-xx subcases causing "Command terminated by signal 9". cpu-xx did not signal any problems.
drm-tip: 2017y-03m-17d-08h-03m-19s without patch series produced:
[151/151] skip: 2, pass: 120, fail: 29
with patch series applied one gets:
[121/151] pass: 121 |
running: igt/gem_exec_reloc/gtt-28 - "Command terminated by signal 9"
Taking rest as new testlist 
[30/30] skip: 2, pass: 30, dmesg-warn: 1
having 
dmesg-warn: igt/gem_exec_reloc/readonly-32
skip: igt/gem_exec_reloc/active-bsd1
skip: igt/gem_exec_reloc/active-bsd2

When running tests gtt-xx tests individually then result for all is pass.
$ sudo ./gem_exec_reloc --run-subtest cpu-31
IGT-Version: 1.17-g3e3c1cd (x86_64) (Linux: 4.11.0-rc2-ezbench_cb106cd+ x86_64)
Subtest cpu-31: SUCCESS (3,760s)
$ sudo ./gem_exec_reloc --run-subtest gtt-31
IGT-Version: 1.17-g3e3c1cd (x86_64) (Linux: 4.11.0-rc2-ezbench_cb106cd+ x86_64)
Subtest gtt-31: SUCCESS (25,313s)
$ sudo ./gem_exec_reloc --run-subtest gtt-30
IGT-Version: 1.17-g3e3c1cd (x86_64) (Linux: 4.11.0-rc2-ezbench_cb106cd+ x86_64)
Subtest gtt-30: SUCCESS (11,196s)
$ sudo ./gem_exec_reloc --run-subtest gtt-29
IGT-Version: 1.17-g3e3c1cd (x86_64) (Linux: 4.11.0-rc2-ezbench_cb106cd+ x86_64)
Subtest gtt-29: SUCCESS (5,198s)
$ sudo ./gem_exec_reloc --run-subtest gtt-28
IGT-Version: 1.17-g3e3c1cd (x86_64) (Linux: 4.11.0-rc2-ezbench_cb106cd+ x86_64)
Subtest gtt-28: SUCCESS (2,543s)

After getting the latest tested-by data from all the platform we might want to close this and have new bugs (or identify already existing ones) for out-of-memory condition (kernel might have problems on memory management) and dmesg-warn on igt/gem_exec_reloc/readonly-32 due to "hung task notifier since we don't inject any cond_resched()"
Comment 46 cprigent 2017-03-22 10:38:34 UTC
Created attachment 130375 [details]
BDW__gem_exec_reloc__gtt-32__series_21377_applied__kern.log

I see oom-killer is invoked on BDW with the patch applied with test gem_exec_reloc --r gtt-32

Platform BDW: NUC5i3RYB
CPU: Intel(R) Core(TM) i3-5010U CPU @ 2.10GHz (family 6, model 61, stepping 4)
Motherboard version: H41000-503
GPU: Intel® HD Graphics 5500 - Intel Corporation Broadwell-U Integrated Graphics (rev 09)
Memory: two 4GB card Crucial CT51264BF160B.C16F
SSD: INTEL SSDSC2BW48 480 Go

Software
Kernel 4.11.0-rc2 drm-tip d8839e2 with https://patchwork.freedesktop.org/series/21377 applied
IGT 1.18 0aef486
Bios: RYBDWi35.86A.0358.2016.0606.1423 from https://downloadcenter.intel.com/downloads/eula/26081/BIOS-Update-RYBDWi35-86A-?httpDown=https%3A%2F%2Fdownloadmirror.intel.com%2F26081%2Feng%2FRY0358.bio
Linux distribution: Ubuntu 16.04 64 bits

External screen: DELL U2311Hb
Comment 47 cprigent 2017-03-22 12:13:30 UTC
Created attachment 130377 [details]
SKL__gem_exec_reloc__gtt-32__applied__kern.log

Same as comment 42 on SKL

Platform SKL: NUC6i3SYB
CPU: Intel(R) Core(TM) i3-6100U CPU @ 2.30GHZ (family 6, model 78, stepping 3)
Motherboard version: H81132-502
GPU: Intel® HD Graphics 520 - Intel Corporation Sky Lake Integrated Graphics (rev 07)
Memory: one 8GB card Kingston KVR21S15D8/8
SSD: Samsung 850 EVO M.2 120 Go

Software
Bios: SYSKLi35.86A.0045.2016.0527.1055 from https://downloadcenter.intel.com/downloads/eula/26097/BIOS-Update-SYSKLi35-86A-?httpDown=https%3A%2F%2Fdownloadmirror.intel.com%2F26097%2Feng%2FSY0045.bio
Linux distribution: Ubuntu 16.04 64 bits
DMC 1.26 from https://01.org/sites/default/files/downloads/intelr-graphics-linux/skldmcver126.tar_1.bz2

Software
Kernel 4.11.0-rc2 drm-tip d8839e2 with https://patchwork.freedesktop.org/series/21377 applied
IGT 1.18 0aef486

External screens: Ctl IP2152 (HDMI) and LG 23MB35PYI (DP)
Comment 48 Chris Wilson 2017-03-22 12:20:33 UTC
Hmm, 8GiB on both. That's a little more disconcerting.
Comment 49 Chris Wilson 2017-03-22 12:22:38 UTC
inactive_anon:3420820kB with  0 pages in swap cache

that's definitely a kernel issue, but not ours.
Comment 50 cprigent 2017-03-22 14:41:38 UTC
Except the failure of gem_exec_reloc@gtt-32 on SKL and BDW (comment 46 to 49), the patch serie brings good improvement.
 
gem_exec_reloc:
SLK: 1 fail (OOM killer gem_exec_reloc@gtt-32)
BDW: fail (OOM killer gem_exec_reloc@gtt-32)
HSW: 0 fail
IVB: 0 fail
SNB: 0 fail
APL: 0 fail

Also this patch serie does not cause regression on Fast-feedback results:
SKL: 0 fail
BDW: 0 fail
HSW: 0 fail
IVB: 0 fail
SNB: 0 fail

Tested with 
Kernel 4.11.0-rc2 drm-tip d8839e2 with https://patchwork.freedesktop.org/series/21377 applied
IGT 1.18 0aef486
Comment 51 Chris Wilson 2017-03-22 15:04:17 UTC
Could you disable Transparent Huge Page support (CONFIG_TRANSPARENT_HUGEPAGE) and retest? Noticed anon_thp: 3424228kB which I wonder if that is what is causing the mempressue.
Comment 52 cprigent 2017-03-22 16:46:32 UTC
Created attachment 130385 [details]
SKL__gem_exec_reloc__gtt-32__without_CONFIG_TRANSPARENT_HUGEPAGE__kern.log

(In reply to Chris Wilson from comment #51)
> Could you disable Transparent Huge Page support
> (CONFIG_TRANSPARENT_HUGEPAGE) and retest? Noticed anon_thp: 3424228kB which
> I wonder if that is what is causing the mempressue.

Tested on SKL twice, I'm reproducing it (new kernel log attached).
While checking my kernel config I saw:
$ cat /boot/config-$(uname -r) |grep TRANSPARENT_HUGEPAGE
  CONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE=y
  CONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE_PUD=y
  # CONFIG_TRANSPARENT_HUGEPAGE is not set
Should I deactivate all of them?
Comment 53 Chris Wilson 2017-03-22 16:50:00 UTC
(In reply to cprigent from comment #52)
> Created attachment 130385 [details]
> SKL__gem_exec_reloc__gtt-32__without_CONFIG_TRANSPARENT_HUGEPAGE__kern.log
> 
> (In reply to Chris Wilson from comment #51)
> > Could you disable Transparent Huge Page support
> > (CONFIG_TRANSPARENT_HUGEPAGE) and retest? Noticed anon_thp: 3424228kB which
> > I wonder if that is what is causing the mempressue.
> 
> Tested on SKL twice, I'm reproducing it (new kernel log attached).
> While checking my kernel config I saw:
> $ cat /boot/config-$(uname -r) |grep TRANSPARENT_HUGEPAGE
>   CONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE=y
>   CONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE_PUD=y
>   # CONFIG_TRANSPARENT_HUGEPAGE is not set
> Should I deactivate all of them?

No need. CONFIG_TRANSPARENT_HUGEPAGE was enough and says that the thp aren't a factor here.
Comment 54 Chris Wilson 2017-03-22 18:24:27 UTC
Oops. worst case behaviour is that the kernel does have to copy the entire reloc array, so I do need to factor that into account.
Comment 55 Chris Wilson 2017-03-22 18:32:28 UTC
commit b1fa6c81a59862510a0fbbb9af758ae60ca1f459
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Wed Mar 22 18:30:57 2017 +0000

    igt/gem_exec_reloc: Double memory requirements
    
    Worst case is that the kernel has to copy the entire incoming reloc[],
    so double the memory requirements.
Comment 56 maria guadalupe 2017-03-22 23:20:57 UTC
this issue still happen on GLK with the next configuration:

Kernel version : 4.11.0-rc2-6aefe8d
commit 6aefe8d3baa2d94246dd20ba33c77758b6de9ccc


Component         : drm
	tag       : libdrm-2.4.75-11-g19c4cfc


Component         : cairo
	tag       : 1.15.4-11-gcffa452


Component         : intel-gpu-tools
	tag       : intel-gpu-tools-1.18-16-g5635ea9


Component         : piglit
	commit    : 4ad26d8

subtest
======================================
igt@gem_exec_reloc@readonly-23
igt@gem_exec_reloc@readonly-14
igt@gem_exec_reloc@readonly-13
igt@gem_exec_reloc@readonly-31
igt@gem_exec_reloc@cpu-31
igt@gem_exec_reloc@mmap-31
igt@gem_exec_reloc@readonly-17
igt@gem_exec_reloc@readonly-12
igt@gem_exec_reloc@readonly-18
igt@gem_exec_reloc@readonly-26
igt@gem_exec_reloc@readonly-15
igt@gem_exec_reloc@readonly-24
igt@gem_exec_reloc@readonly-28
igt@gem_exec_reloc@readonly-27
igt@gem_exec_reloc@readonly-20
igt@gem_exec_reloc@readonly-22
igt@gem_exec_reloc@readonly-16
igt@gem_exec_reloc@readonly-25
igt@gem_exec_reloc@readonly-30
igt@gem_exec_reloc@readonly-29
igt@gem_exec_reloc@readonly-21
igt@gem_exec_reloc@wc-31
igt@gem_exec_reloc@readonly-19
Comment 57 cprigent 2017-03-24 14:25:43 UTC
(In reply to Chris Wilson from comment #55)
> commit b1fa6c81a59862510a0fbbb9af758ae60ca1f459
> Author: Chris Wilson <chris@chris-wilson.co.uk>
> Date:   Wed Mar 22 18:30:57 2017 +0000
> 
>     igt/gem_exec_reloc: Double memory requirements
>     
>     Worst case is that the kernel has to copy the entire incoming reloc[],
>     so double the memory requirements.

I confirm it on my SKL and BDW:
# ./gem_exec_reloc --r gtt-32
IGT-Version: 1.18-g137360f (x86_64) (Linux: 4.11.0-rc2-tip-series-without-cover-letter+ x86_64)
Test requirement not met in function intel_require_memory, file intel_os.c:293:
Test requirement: __intel_check_memory(count, size, mode, &required, &total)
Estimated that we need 2 objects and 8,193 MiB for the test, but only have 3,388 MiB available (RAM) and a maximum of 786,980 objects
Last errno: 2, No such file or directory
Subtest gtt-32: SKIP (0.222s)

# ./gem_exec_reloc --r gtt-32
IGT-Version: 1.18-g137360f (x86_64) (Linux: 4.11.0-rc3-tip-201703240159+ x86_64)
Test requirement not met in function intel_require_memory, file intel_os.c:293:
Test requirement: __intel_check_memory(count, size, mode, &required, &total)
Estimated that we need 2 objects and 8,193 MiB for the test, but only have 7,421 MiB available (RAM) and a maximum of 786,538 objects
Last errno: 2, No such file or directory
Subtest gtt-32: SKIP (0.274s)
Comment 58 cprigent 2017-03-24 14:27:11 UTC
(In reply to maria guadalupe from comment #56)
> this issue still happen on GLK with the next configuration:

Hi Maria,
It must be tested with the patch applied.
If this is fail on GLK please report another bug.
Comment 59 cprigent 2017-03-24 14:27:28 UTC
So resolved as fixed
Comment 60 cprigent 2017-03-24 14:35:31 UTC
Reassigned to Humberto to double confirm the results via automated system when patch serie is upstream.
Please close if you confirm.
Comment 61 Humberto Israel Perez Rodriguez 2017-03-24 15:52:50 UTC
(In reply to cprigent from comment #60)
> Reassigned to Humberto to double confirm the results via automated system
> when patch serie is upstream.
> Please close if you confirm.

Hi Christophe :

This are the results on the following platforms


BSW
=======================
Total test cases : 151
passed : 148
skip : 2
incomplete : 1


KBL
=======================
Total test cases : 151
passed : 150
incomplete : 1

BXT
=======================
Total test cases : 151
passed : 148
skip : 2
incomplete : 1


Software configuration
================================================
Component         : drm
	tag       : libdrm-2.4.75-11-g19c4cfc
	commit    : 19c4cfc 

Component         : cairo
	tag       : 1.15.4-11-gcffa452
	commit    : cffa452 

Component         : intel-gpu-tools
	tag       : intel-gpu-tools-1.18-16-g5635ea9
	commit    : 5635ea9 

Component         : piglit
	tag       : piglit-v1
	commit    : 4ad26d8
Comment 62 yann 2017-03-24 16:38:12 UTC
Waiting that https://patchwork.freedesktop.org/series/21377/ is merged / upstreamed before closing
Comment 63 Ricardo 2017-03-24 16:56:24 UTC
Also this should also be tested in GLK (sorry for closing it before)
Comment 64 maria guadalupe 2017-03-24 21:33:18 UTC
Tested With the following patch : https://patchwork.freedesktop.org/series/21377/, this are the results for GLK

Total test cases :
family : ./gem_exec_reloc
pass : 139
fail : 0
skip : 12

subtest skip
======================
mmap-31
readonly-31
cpu-31
wc-31
gtt-31
mmap-32
readonly-32
cpu-32
wc-32
gtt-32
active-bsd1
active-bsd2


======================================
             Software
======================================
kernel version            : 4.11.0-rc2-tip-series-without-cover-letter+
architecture              : x86_64
os version                : Ubuntu 16.10
os codename               : yakkety
kernel driver             : i915
bios revision             : 32.30
bios release date         : 01/24/2017
ksc                       : 1.9

======================================
        Graphic drivers
======================================
modesetting               : modesetting_drv.so
xorg-xserver              : 1.18.4
libdrm                    : 2.4.75
Aborted (core dumped)
cairo                     : 1.15.5
xserver                   : X.Org X Server 1.18.4
intel-gpu-tools (tag)     : intel-gpu-tools-1.18-25-gb1fa6c8
intel-gpu-tools (commit)  : b1fa6c8

======================================
             Hardware
======================================
platform                  : Geminilake
motherboard model         : Geminilake
motherboard id            : GLKRVP1DDR4(05)
form factor               : Hand Held
manufacturer              : IntelCorp.
cpu family                : Other
cpu family id             : 6
cpu information           : Genuine Intel(R) CPU @ 1.10GHz
gpu card                  : Intel Corporation Device 3184 (rev 01) (prog-if 00 [VGA controller])
max memory ram            : 16 GB
xdpyinfo:  unable to open display ":0".
cpu thread                : 4
cpu core                  : 4
cpu model                 : 122
cpu stepping              : 0
socket                    : Other
hard drive                : 74GiB (80GB)
Comment 65 Humberto Israel Perez Rodriguez 2017-05-31 16:48:27 UTC
Issue still present on BSW and latest configuration

testlists
=======================================
igt@gem_exec_reloc@readonly-29
igt@gem_exec_reloc@readonly-25
igt@gem_exec_reloc@readonly-20
igt@gem_exec_reloc@mmap-31
igt@gem_exec_reloc@wc-31
igt@gem_exec_reloc@readonly-28
igt@gem_exec_reloc@readonly-26
igt@gem_exec_reloc@readonly-27
igt@gem_exec_reloc@readonly-24
igt@gem_exec_reloc@readonly-22
igt@gem_exec_reloc@readonly-23
igt@gem_exec_reloc@readonly-21
igt@gem_exec_reloc@readonly-31
igt@gem_exec_reloc@readonly-16
igt@gem_exec_reloc@readonly-13
igt@gem_exec_reloc@readonly-18
igt@gem_exec_reloc@readonly-17
igt@gem_exec_reloc@readonly-15
igt@gem_exec_reloc@readonly-14
igt@gem_exec_reloc@readonly-12
igt@gem_exec_reloc@readonly-19
igt@gem_exec_reloc@readonly-30
igt@gem_exec_reloc@gtt-31
igt@gem_exec_reloc@cpu-31


Component: drm
    tag: libdrm-2.4.80-18-gce9e3ba
    commit: ce9e3ba6e2cc65e1e9e6e05a5f326c4dd25ab2c4

Component: cairo
    tag: 1.15.4-22-g0fd0fd0
    commit: 0fd0fd0ae9ad8cfb177bb844091de98c0235917e

Component: intel-gpu-tools
    tag: intel-gpu-tools-1.18-211-g00ce341
    commit: 00ce341b95c718611689ded8ccec45086186c5b7

Component: piglit
    tag: piglit-v1
    commit: ebbb9c5dcc6a637884d54e06eb430a8c14993413

kernel
===================================================
commit 4aa1d46d3b24bbe545cdf7cbd407c18f5cd5e43d
Author:     Daniel Vetter <daniel.vetter@ffwll.ch>
AuthorDate: Wed May 31 10:59:05 2017 +0200
Commit:     Daniel Vetter <daniel.vetter@ffwll.ch>
CommitDate: Wed May 31 10:59:05 2017 +0200

    drm-tip: 2017y-05m-31d-08h-58m-36s UTC integration manifest
Comment 66 Jani Saarinen 2017-06-12 09:50:45 UTC
I suppose patch series not yet landed.
Comment 67 Ricardo 2017-06-12 12:55:34 UTC
Please add information when the patched is merged
Comment 68 Ricardo Madrigal 2017-07-04 20:46:46 UTC
The problem persist with the following configuration on BDW, SKL, IVB, BYT, BSW.


Configuration:

======================================
             Software
======================================
architecture                : x86_64
os version                  : Ubuntu 16.10
os codename                 : yakkety
kernel driver               : i915
swap partition              : enabled on (/dev/sda3)


======================================
                 Kernel
======================================
commit df0182c2c95385492772c6e4ace76b463298b8ca
Author:     Jani Nikula <jani.nikula@intel.com>
AuthorDate: Mon Jul 3 16:20:53 2017 +0300
Commit:     Jani Nikula <jani.nikula@intel.com>
CommitDate: Mon Jul 3 16:20:53 2017 +0300

drm-tip: 2017y-07m-03d-13h-20m-24s UTC integration manifest


======================================
        Graphic drivers
======================================
Component: drm
    tag: libdrm-2.4.81-24-g3095cc8
    commit: 3095cc8eaba1aa87ad38c04ae2b1eabe30f7e16c

Component: cairo
    tag: 1.15.6-2-g57b4050
    commit: 57b40507dda3f58dfc8635548d606b86dc7bcf51

Component: intel-gpu-tools
    tag: intel-gpu-tools-1.19-57-g6fcc8e8
    commit: 6fcc8e8b247661c7950b998e0b95141ffbd6b833

Component: piglit
    tag: piglit-v1
    commit: c8f4fd9eeb298a2ef0855927f22634f794ef3eff
==========================================


testlists
=======================================
@gem_exec_reloc@-28
@gem_exec_reloc@29
@gem_exec_reloc@gtt-30
@gem_exec_reloc@gtt-31
======================================


"IGT-Version: 1.19-g6fcc8e8 (x86_64) (Linux: 4.12.0-rc7-drm-tip-ww27-commit-df0182c+ x86_64)
(gem_exec_reloc:5147) CRITICAL: Test assertion failure function from_mmap, file gem_exec_reloc.c:175:
(gem_exec_reloc:5147) CRITICAL: Failed assertion: value == obj.offset + max - 1
(gem_exec_reloc:5147) CRITICAL: error: 0x83ffff != 0x7fffff
Stack trace:
  #0 [__igt_fail_assert+0x101]
  #1 [from_mmap+0x365]
  #2 [__real_main651+0xd65]
  #3 [main+0x33]
  #4 [__libc_start_main+0xf1]
  #5 [_start+0x29]
  #6 [<unknown>+0x29]
Subtest gtt-28 failed.
**** DEBUG ****
(gem_exec_reloc:5147) intel-os-DEBUG: Checking 2 surfaces of size 268,435,456 bytes (total 536,875,008) against RAM
(gem_exec_reloc:5147) drmtest-DEBUG: Test requirement passed: !(fd<0)
(gem_exec_reloc:5147) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0'
(gem_exec_reloc:5147) intel-os-DEBUG: Test requirement passed: __intel_check_memory(count, size, mode, &required, &total)
(gem_exec_reloc:5147) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation()
(gem_exec_reloc:5147) CRITICAL: Test assertion failure function from_mmap, file gem_exec_reloc.c:175:
(gem_exec_reloc:5147) CRITICAL: Failed assertion: value == obj.offset + max - 1
(gem_exec_reloc:5147) CRITICAL: error: 0x83ffff != 0x7fffff
****  END  ****
Subtest gtt-28: FAIL (18.664s)
"
Comment 69 Chris Wilson 2017-07-04 21:33:53 UTC
(In reply to Ricardo Madrigal from comment #68)
> The problem persist with the following configuration on BDW, SKL, IVB, BYT,
> BSW.
> 
> 
> Configuration:
> 
> ======================================
>              Software
> ======================================
> architecture                : x86_64
> os version                  : Ubuntu 16.10
> os codename                 : yakkety
> kernel driver               : i915
> swap partition              : enabled on (/dev/sda3)
> 
> 
> ======================================
>                  Kernel
> ======================================
> commit df0182c2c95385492772c6e4ace76b463298b8ca
> Author:     Jani Nikula <jani.nikula@intel.com>
> AuthorDate: Mon Jul 3 16:20:53 2017 +0300
> Commit:     Jani Nikula <jani.nikula@intel.com>
> CommitDate: Mon Jul 3 16:20:53 2017 +0300
> 
> drm-tip: 2017y-07m-03d-13h-20m-24s UTC integration manifest
> 
> 
> ======================================
>         Graphic drivers
> ======================================
> Component: drm
>     tag: libdrm-2.4.81-24-g3095cc8
>     commit: 3095cc8eaba1aa87ad38c04ae2b1eabe30f7e16c
> 
> Component: cairo
>     tag: 1.15.6-2-g57b4050
>     commit: 57b40507dda3f58dfc8635548d606b86dc7bcf51
> 
> Component: intel-gpu-tools
>     tag: intel-gpu-tools-1.19-57-g6fcc8e8
>     commit: 6fcc8e8b247661c7950b998e0b95141ffbd6b833
> 
> Component: piglit
>     tag: piglit-v1
>     commit: c8f4fd9eeb298a2ef0855927f22634f794ef3eff
> ==========================================
> 
> 
> testlists
> =======================================
> @gem_exec_reloc@-28
> @gem_exec_reloc@29
> @gem_exec_reloc@gtt-30
> @gem_exec_reloc@gtt-31
> ======================================
> 
> 
> "IGT-Version: 1.19-g6fcc8e8 (x86_64) (Linux:
> 4.12.0-rc7-drm-tip-ww27-commit-df0182c+ x86_64)
> (gem_exec_reloc:5147) CRITICAL: Test assertion failure function from_mmap,
> file gem_exec_reloc.c:175:
> (gem_exec_reloc:5147) CRITICAL: Failed assertion: value == obj.offset + max
> - 1
> (gem_exec_reloc:5147) CRITICAL: error: 0x83ffff != 0x7fffff
> Stack trace:
>   #0 [__igt_fail_assert+0x101]
>   #1 [from_mmap+0x365]
>   #2 [__real_main651+0xd65]
>   #3 [main+0x33]
>   #4 [__libc_start_main+0xf1]
>   #5 [_start+0x29]
>   #6 [<unknown>+0x29]
> Subtest gtt-28 failed.
> **** DEBUG ****
> (gem_exec_reloc:5147) intel-os-DEBUG: Checking 2 surfaces of size
> 268,435,456 bytes (total 536,875,008) against RAM
> (gem_exec_reloc:5147) drmtest-DEBUG: Test requirement passed: !(fd<0)
> (gem_exec_reloc:5147) igt-debugfs-DEBUG: Opening debugfs directory
> '/sys/kernel/debug/dri/0'
> (gem_exec_reloc:5147) intel-os-DEBUG: Test requirement passed:
> __intel_check_memory(count, size, mode, &required, &total)
> (gem_exec_reloc:5147) igt-core-DEBUG: Test requirement passed:
> !igt_run_in_simulation()
> (gem_exec_reloc:5147) CRITICAL: Test assertion failure function from_mmap,
> file gem_exec_reloc.c:175:
> (gem_exec_reloc:5147) CRITICAL: Failed assertion: value == obj.offset + max
> - 1
> (gem_exec_reloc:5147) CRITICAL: error: 0x83ffff != 0x7fffff
> ****  END  ****
> Subtest gtt-28: FAIL (18.664s)
> "

Not this bug!
Comment 70 Armando Antonio 2017-07-19 16:44:56 UTC
This issue still happen on KBL with latest configuration

====================================================
Test list
====================================================
gem_exec_reloc@gtt-30
gem_exec_reloc@wc-31
gem_exec_reloc@gtt-29
gem_exec_reloc@gtt-28


======================================
             Software
======================================
kernel version              : 4.13.0-rc1-drm-tip-ww29-commit-f1c32d6+
/bin/bash: gfx-desktop: command not found
architecture                : x86_64
os version                  : Ubuntu 16.10
os codename                 : yakkety
kernel driver               : i915
bios revision               : 5.12
bios release date           : 09/12/2016
hardware acceleration       : disabled
swap partition              : enabled on (/dev/sda3)

======================================
        Graphic drivers
======================================
modesetting                 : enabled
modesetting compiled for    : 1.18.4 X.Org Video Driver
xorg-xserver                : 1.18.4
libdrm                      : 2.4.82
cairo                       : 1.15.7
intel-gpu-tools (tag)       : intel-gpu-tools-1.19-96-gfb1ddc4
intel-gpu-tools (commit)    : fb1ddc4

======================================
             Hardware
======================================
platform                   : Kabylake-Nuc
motherboard model          : MS-B142
motherboard id             : MS-B1421
form factor                : Desktop
manufacturer               : Micro-StarInternationalCo.,Ltd.
cpu family                 : Core i7
cpu family id              : 6
cpu information            : Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz
gpu card                   : Intel Corporation Device 5916 (rev 02) (prog-if 00 [VGA controller])
memory ram                 : 15.51 GB
max memory ram             : 64 GB
cpu thread                 : 4
cpu core                   : 2
cpu model                  : 142
cpu stepping               : 9
socket                     : Other
signature                  : Type 0, Family 6, Model 142, Stepping 9
hard drive                 : 111GiB (120GB)
current cd clock frequency : 337500 kHz
maximum cd clock frequency : 675000 kHz
displays connected         : DP-1
Comment 71 Chris Wilson 2017-07-19 16:50:05 UTC
If you actually looked at it you would realise that the problem is entirely different.


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.