Bug 93926 - [APL/KBL] kms_fbc_crc some subcases result is crash
Summary: [APL/KBL] kms_fbc_crc some subcases result is crash
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: high normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-29 13:26 UTC by cprigent
Modified: 2017-02-21 08:05 UTC (History)
2 users (show)

See Also:
i915 platform: BXT, KBL
i915 features: power/runtime PM


Attachments
dmesg (687.50 KB, text/plain)
2016-01-29 13:26 UTC, cprigent
no flags Details

Description cprigent 2016-01-29 13:26:08 UTC
Created attachment 121391 [details]
dmesg

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 RVPC1 Fab1 
Reworks : R14, R06C and R16

Software:
=========
BIOS (IFWI Version): APLK_IFWI_X64_R_2015_41_5_02 
KSC : 1.02
Linux distribution: Ubuntu 15.10 64 bits
Kernel: drm-intel-nightly 4.4.0 8114b00 from http://cgit.freedesktop.org/drm-intel/
drm: tag libdrm-2.4.66 e342c0f from http://cgit.freedesktop.org/mesa/drm/
mesa: tag mesa-11.0.8 261daab from http://cgit.freedesktop.org/mesa/mesa/
cairo: tag 1.15.2 db8a7f1 from http://cgit.freedesktop.org/cairo
waffle: master bb29b2a from https://github.com/waffle-gl/waffle
xorg-server-macros: master d7acec2 from git://git.freedesktop.org/git/xorg/util/macros
libva: tag libva-1.6.1 cb418f6 from http://cgit.freedesktop.org/libva/
vaapi-intel-driver: tag 1.6.1 2110b3a from http://cgit.freedesktop.org/vaapi/intel-driver

Tool:
======
intel-gpu-tool: tag intel-gpu-tools-1.13 51e965f from http://cgit.freedesktop.org/xorg/app/intel-gpu-tools/

Pre-conditions:
---------------
Connect one monitor to HDMI port (Asus PB287Q)
Boot with kernel boot command line i915.enable_fbc=1

Steps:
------
1. Execute command:
sudo -s
cd <…>/intel-gpu-tools/tests
./kms_fbc_crc

Actual results:
---------------
1. Result is:
IGT-Version: 1.13-NOT-GIT (x86_64) (Linux: 4.4.0-nightly+ x86_64)
Beginning page_flip on pipe A, connector DP-1
page_flip on pipe A, connector DP-1: PASSED
Beginning page_flip on pipe B, connector DP-1
FBC not enabled
page_flip on pipe B, connector DP-1: SKIPPED
Beginning page_flip on pipe C, connector DP-1
FBC not enabled
page_flip on pipe C, connector DP-1: SKIPPED
Subtest page_flip: SUCCESS (13.296s)
Beginning mmap_cpu on pipe A, connector DP-1
Received signal SIGBUS.
Subtest mmap_cpu: CRASH (0.036s)
Beginning mmap_gtt on pipe A, connector DP-1
Received signal SIGBUS.
Subtest mmap_gtt: CRASH (0.036s)
Beginning blt on pipe A, connector DP-1
Received signal SIGBUS.
Subtest blt: CRASH (0.036s)
Beginning render on pipe A, connector DP-1
Received signal SIGBUS.
Subtest render: CRASH (0.035s)
Beginning context on pipe A, connector DP-1
Received signal SIGBUS.
Subtest context: CRASH (0.036s)
Beginning page_flip_and_mmap_cpu on pipe A, connector DP-1
Received signal SIGBUS.
Subtest page_flip_and_mmap_cpu: CRASH (0.035s)
Beginning page_flip_and_mmap_gtt on pipe A, connector DP-1
Received signal SIGBUS.
Subtest page_flip_and_mmap_gtt: CRASH (0.035s)
Beginning page_flip_and_blt on pipe A, connector DP-1
Received signal SIGBUS.
Subtest page_flip_and_blt: CRASH (0.035s)
Beginning page_flip_and_render on pipe A, connector DP-1
Received signal SIGBUS.
Subtest page_flip_and_render: CRASH (0.035s)
Beginning page_flip_and_context on pipe A, connector DP-1
Received signal SIGBUS.
Subtest page_flip_and_context: CRASH (0.036s)

Expected result:
-----------------
Result is Pass
Comment 1 cprigent 2016-01-29 13:26:50 UTC
Looks similar to https://bugs.freedesktop.org/show_bug.cgi?id=92355
Comment 2 cprigent 2016-01-29 16:04:50 UTC
Reproduced with all PM options activated in Bios (S0ix, Cx, PCx, Render C6, GT
PM ...)
Comment 3 yann 2016-04-29 11:02:38 UTC
Increasing priority due to current platform experience impact
Comment 4 Humberto Israel Perez Rodriguez 2016-05-18 02:44:16 UTC
The following tests cases fail under the following configuration on BXT-P

tests cases
================================================================
igt@kms_fbc_crc@page_flip

the result for this test was only fail


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 5 maria guadalupe 2016-05-27 17:06:45 UTC
This is also reproduced on KBL with the next configuration

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


|=== kernel information ===|

commit 2ec823981d62c56d1511bda42b8295e31ece800f
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Sun May 22 18:23:13 2016 +0200


========== test cases failed ===============
igt@kms_fbc_crc@context
igt@kms_fbc_crc@page_flip_and_context
igt@kms_fbc_crc@blt
igt@kms_fbc_crc@render
igt@kms_fbc_crc@page_flip_and_blt
igt@kms_fbc_crc@page_flip
igt@kms_fbc_crc@page_flip_and_mmap_gtt
igt@kms_fbc_crc@page_flip_and_mmap_cpu
igt@kms_fbc_crc@mmap_cpu
igt@kms_fbc_crc@page_flip_and_render
igt@kms_fbc_crc@mmap_gtt
Comment 6 maria guadalupe 2016-06-06 21:57:52 UTC
This bug was also reproduced on KBL under the following configuration

Software information
============================================
Kernel version                  : 4.6.0-drm-intel-nightly-ww23-commit-fb023a2+
Linux distribution              : Ubuntu 16.04 LTS
Architecture                    : 64-bit
Mesa version                    : Not found << Please see the message at the bottom >>
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) Kabylake - 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                   : 28.1
KSC revision                    : 1.15


 Hardware information
============================================
Platform                        : SKL-Y to 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
Maximum memory ram allowed      : 16 GB
Display resolution              :
CPU's number                    : 4
Hard drive Capacity             : 120 GB

 Firmwares information
============================================
DMC fw loaded                   : yes
DMC version                     : 1.1

kernel configuration
=====================
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


Kernel version : 4.6.0

========== test cases failed ===============

igt@kms_fbc_crc@render
igt@kms_fbc_crc@context
igt@kms_fbc_crc@page_flip_and_context
igt@kms_fbc_crc@page_flip_and_blt
igt@kms_fbc_crc@mmap_gtt
igt@kms_fbc_crc@page_flip_and_mmap_gtt
igt@kms_fbc_crc@page_flip
igt@kms_fbc_crc@page_flip_and_render
igt@kms_fbc_crc@mmap_cpu
igt@kms_fbc_crc@page_flip_and_mmap_cpu
igt@kms_fbc_crc@blt
Comment 7 Mika Kuoppala 2016-08-11 09:18:59 UTC
No crashes with

Linux kbly-2 4.8.0-rc1-gfxbench+ #91 SMP PREEMPT Wed Aug 10 16:47:51 EEST 2016 x86_64 x86_64 x86_64 GNU/Linux
Comment 8 Humberto Israel Perez Rodriguez 2016-08-29 15:58:22 UTC
The following tests cases fail on KBL RVP7 :

Test cases
============================================
igt@kms_fbc_crc@mmap_cpu
igt@kms_fbc_crc@page_flip_and_render
igt@kms_fbc_crc@page_flip_and_blt
igt@kms_fbc_crc@context
igt@kms_fbc_crc@page_flip_and_context
igt@kms_fbc_crc@page_flip
igt@kms_fbc_crc@page_flip_and_mmap_gtt
igt@kms_fbc_crc@render
igt@kms_fbc_crc@mmap_gtt
igt@kms_fbc_crc@page_flip_and_mmap_cpu
igt@kms_fbc_crc@blt


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])
Memory ram                      : 4 GB
CPU thread                      : 4
CPU core                        : 2

Software information
========================================================
Component         : drm
	tag       : libdrm-2.4.70-2-gb214b05
	commit    : b214b05ccd433c484a6a65e491a1a51b19e4811d 

Component         : cairo
	tag       : 1.15.2
	commit    : db8a7f1697c49ae4942d2aa49eed52dd73dd9c7a 

Component         : intel-gpu-tools
	tag       : intel-gpu-tools-1.15-228-gb0658ce
	commit    : b0658ce76557d4ce00be7252aa60d1b59d8980f6 

Kernel
========================================================
commit f53a8d1853e8a97ad4a6308ffa8a2011fbd80467
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Fri Aug 19 17:24:52 2016 +0100

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


grub parameters : i915.enable_fbc=1
Comment 9 Paulo Zanoni 2016-12-23 11:37:21 UTC
Hi

Is this still a problem? Can you please retest against the latest drm-tip?

Thanks,
Paulo
Comment 10 Ricardo 2017-02-21 00:56:02 UTC
Looking at the results from ww07 on KBL the test reported here are now passing - 
(6317) [auto] IGT 4.10.0-rc8-drm-tip-qa-ww7-commit-e80b772+


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.