Bug 94314 - [BXT/BSW] [IGT] gem_mmap_gtt/coherency fail
Summary: [BXT/BSW] [IGT] gem_mmap_gtt/coherency fail
Status: CLOSED WONTFIX
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-26 22:31 UTC by Humberto Israel Perez Rodriguez
Modified: 2017-07-24 22:42 UTC (History)
1 user (show)

See Also:
i915 platform: BSW/CHT, BXT
i915 features: GEM/PPGTT


Attachments
dmesg.log (213.64 KB, text/plain)
2016-02-26 22:31 UTC, Humberto Israel Perez Rodriguez
no flags Details
BSW-gem_mmap_gtt-coherency_kern.log (159.18 KB, text/plain)
2016-03-25 13:49 UTC, cprigent
no flags Details
BSW__4.10.0-rc1--847638b__gem_mmap_gtt--coherency__dmesg (235.31 KB, text/plain)
2017-01-06 10:22 UTC, cprigent
no flags Details

Description Humberto Israel Perez Rodriguez 2016-02-26 22:31:41 UTC
Created attachment 121992 [details]
dmesg.log

==Description==
--------------------------------------------------
gem_mmap_gtt/coherency fail

==Attachments==
--------------------------------------------------
dmesg.log

==Steps to reproduce==
--------------------------------------------------
run the following test 

./gem_mmap_gtt --run-subtest coherency

IGT-Version: 1.13-gbabcf40 (x86_64) (Linux: 4.5.0-rc5-nightly+ x86_64)
(gem_mmap_gtt:1104) CRITICAL: Test assertion failure function test_coherency, file gem_mmap_gtt.c:275:
(gem_mmap_gtt:1104) CRITICAL: Failed assertion: cpu[x] == i
(gem_mmap_gtt:1104) CRITICAL: error: 0 != 16
Stack trace:
  #0 [__igt_fail_assert+0xf1]
  #1 [__real_main563+0xc90]
  #2 [<unknown>+0xc90]
Subtest coherency failed.
**** DEBUG ****
(gem_mmap_gtt:1104) DEBUG: Test requirement passed: igt_setup_clflush()
(gem_mmap_gtt:1104) CRITICAL: Test assertion failure function test_coherency, file gem_mmap_gtt.c:275:
(gem_mmap_gtt:1104) CRITICAL: Failed assertion: cpu[x] == i
(gem_mmap_gtt:1104) CRITICAL: error: 0 != 16
****  END  ****
Subtest coherency: FAIL (0.018s)

real    0m2.139s
user    0m0.006s
sys     0m0.008s



==Actual results==
--------------------------------------------------
gem_mmap_gtt/coherency fail


==Expected results==
--------------------------------------------------
the test must be run and finish without any issues


==Hardware configuration==
--------------------------------------------------
Kernel version                      : 4.5.0-rc5-nightly+
Linux distribution                  : Ubuntu 15.10
Architecture                        : 64-bit
Mesa version                        : 11.1.1 (git-330aa44
xf86-video-intel version            : 2.99.917
Xorg-Xserver version                : 1.18.1
DRM version                         : 2.4.66
VAAPI version                       : Intel i965 driver for Intel(R) Broxton - 1.6.3.pre1 (1.6.1-92-gf6fe842)
Cairo version                       : 1.15.2
Bios revision                       : 119.10
KSC revision                        : 1.6
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])


IGT 1.13
=========
Commit : babcf40f29d9e9cce5d0739b1784eb94fe91bd26


kernel
=======

commit 1a139ead792d8e912aa13d413b9cf59811fde676
Author: Jani Nikula <jani.nikula@intel.com>
Date:   Mon Feb 22 10:48:46 2016 +0200

    drm-intel-nightly: 2016y-02m-22d-08h-48m-06s UTC integration manifest
Comment 1 cprigent 2016-03-25 13:49:47 UTC
Created attachment 122541 [details]
BSW-gem_mmap_gtt-coherency_kern.log
Comment 2 cprigent 2016-03-25 13:50:37 UTC
Also fail on BSW

./gem_mmap_gtt --run-subtest coherency
IGT-Version: 1.14-NOT-GIT (x86_64) (Linux: 4.5.0-nightly+ x86_64)
(gem_mmap_gtt:1525) CRITICAL: Test assertion failure function test_coherency, file gem_mmap_gtt.c:275:
(gem_mmap_gtt:1525) CRITICAL: Failed assertion: cpu[x] == i
(gem_mmap_gtt:1525) CRITICAL: error: 0 != 1
Stack trace:
  #0 [__igt_fail_assert+0xf1]
  #1 [__real_main563+0xd34]
  #2 [main+0x29]
  #3 [__libc_start_main+0xf5]
  #4 [_start+0x29]
  #5 [<unknown>+0x29]
Subtest coherency failed.
**** DEBUG ****
(gem_mmap_gtt:1525) DEBUG: Test requirement passed: igt_setup_clflush()
(gem_mmap_gtt:1525) CRITICAL: Test assertion failure function test_coherency, file gem_mmap_gtt.c:275:
(gem_mmap_gtt:1525) CRITICAL: Failed assertion: cpu[x] == i
(gem_mmap_gtt:1525) CRITICAL: error: 0 != 1
****  END  ****
Subtest coherency: FAIL (0.039s)

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 nightly 4.5 10e913a  from https://cgit.freedesktop.org/cgit/?url=drm-intel/
  commit 10e913a48ca36790da9b58bed8729598ea79ebdb
  Author: Imre Deak <imre.deak@intel.com>
  Date:   Thu Mar 17 15:23:17 2016 +0200
  drm-intel-nightly: 2016y-03m-17d-13h-22m-41s UTC integration manifest
cairo 1.15.2 db8a7f1 from git://anongit.freedesktop.org/cairo
libdrm-2.4.67-7 49041c3 from git://anongit.freedesktop.org/mesa/drm
IGT 1.14 8f6ed9e from http://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools.git
Comment 3 Humberto Israel Perez Rodriguez 2016-06-19 17:20:14 UTC
The following test fail with the next configuration :


test cases
=================
igt@gem_mmap_gtt@coherency
igt@gem_mmap_gtt@big-copy



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 4 Humberto Israel Perez Rodriguez 2016-06-29 17:50:13 UTC
same issue with the following configuration :

tests cases 
==================
igt@gem_mmap_gtt@big-copy
igt@gem_mmap_gtt@coherency



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 5 Chris Wilson 2016-06-29 20:03:59 UTC
(In reply to Humberto Israel Perez Rodriguez from comment #4)
> same issue with the following configuration :
> 
> tests cases 
> ==================
> igt@gem_mmap_gtt@big-copy
> igt@gem_mmap_gtt@coherency

These are two completely different bugs. This bug is for tracking @coherency.
Comment 6 Humberto Israel Perez Rodriguez 2016-07-08 16:15:27 UTC
The following tests fails on APL :

Tests cases
=============================================
igt@gem_mmap_gtt@coherency


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 7 Chris Wilson 2016-10-22 09:47:23 UTC
"Known feature".

commit 93437cba7fc87755dd27b4acdc021107301fbe8c
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Sat Oct 22 10:46:41 2016 +0100

    igt/gem_mmap_gtt: Document the "expected" behaviour
Comment 8 cprigent 2017-01-06 10:14:28 UTC
Here it is: https://git.collabora.com/cgit/user/padovan/intel-gpu-tools.git/commit/?id=93437cba7fc87755dd27b4acdc021107301fbe8c

Hi Chris,
I still see it failing on BSW with 4.10.0-rc1 847638b branch drm-tip from https://cgit.freedesktop.org/drm-tip
So does the test return expected fail?
Comment 9 cprigent 2017-01-06 10:22:50 UTC
Created attachment 128790 [details]
BSW__4.10.0-rc1--847638b__gem_mmap_gtt--coherency__dmesg
Comment 10 cprigent 2017-01-06 10:24:11 UTC
IGT Logs:
# ./gem_mmap_gtt --r coherency
IGT-Version: 1.17-gcdee645 (x86_64) (Linux: 4.10.0-rc2-nightly+ x86_64)
(gem_mmap_gtt:3941) CRITICAL: Test assertion failure function test_coherency, file gem_mmap_gtt.c:336:
(gem_mmap_gtt:3941) CRITICAL: Failed assertion: cpu[x] == i
(gem_mmap_gtt:3941) CRITICAL: error: 0 != 1
Stack trace:
  #0 [__igt_fail_assert+0xf1]
  #1 [__real_main712+0x14e3]
  #2 [main+0x35]
  #3 [__libc_start_main+0xf0]
  #4 [_start+0x29]
  #5 [<unknown>+0x29]
Subtest coherency failed.
**** DEBUG ****
(gem_mmap_gtt:3941) DEBUG: Test requirement passed: igt_setup_clflush()
(gem_mmap_gtt:3941) CRITICAL: Test assertion failure function test_coherency, file gem_mmap_gtt.c:336:
(gem_mmap_gtt:3941) CRITICAL: Failed assertion: cpu[x] == i
(gem_mmap_gtt:3941) CRITICAL: error: 0 != 1
****  END  ****
Subtest coherency: FAIL (0.041s)


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.