Bug 90413 - [all]igt/gem_mmap_gtt/medium-copy takes more than 10 minutes
Summary: [all]igt/gem_mmap_gtt/medium-copy takes more than 10 minutes
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-12 08:43 UTC by lu hua
Modified: 2017-07-24 22:47 UTC (History)
3 users (show)

See Also:
i915 platform: ALL
i915 features: GEM/Other


Attachments
dmesg (109.25 KB, text/plain)
2015-05-12 08:43 UTC, lu hua
no flags Details
HSW-ULT_dmesg.txt (123.36 KB, text/plain)
2015-08-12 04:08 UTC, Humberto Israel Perez Rodriguez
no flags Details

Description lu hua 2015-05-12 08:43:07 UTC
Created attachment 115711 [details]
dmesg

==System Environment==
--------------------------
Regression: not sure, new case

Non-working platforms: i965

==kernel==
--------------------------
drm-intel-nightly/7dcedb8e7bbf49f1342df21851d9b36786ff67ce
commit 7dcedb8e7bbf49f1342df21851d9b36786ff67ce
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Mon May 11 18:51:58 2015 +0200

    drm-intel-nightly: 2015y-05m-11d-16h-51m-26s UTC integration manifest

==Bug detailed description==
-----------------------------
It takes more than 10 minutes.gem_mmap_gtt@medium-copy-xy also has this issue.

output:
IGT-Version: 1.10-g9b0a32d (x86_64) (Linux: 4.1.0-rc3_drm-intel-nightly_7dcedb_20150512+ x86_64)
^C
real    14m19.279s
user    0m0.043s
sys     14m19.968s

==Reproduce steps==
---------------------------- 
1. time ./gem_mmap_gtt --run-subtest medium-copy
Comment 1 Ander Conselvan de Oliveira 2015-05-12 11:05:50 UTC
(In reply to lu hua from comment #0)
[...]
> Non-working platforms: i965

The attached dmesg indicates the machine has pciid=0x0412, which would be a HSW GT2 desktop. Is that the right dmesg?
Comment 2 Chris Wilson 2015-05-12 11:17:00 UTC
The platform is irrelevant, the test exposes the pagefault-of-doom scenario in the current i915_gem_fault() implementation for all platforms.
Comment 3 lu hua 2015-05-13 01:46:19 UTC
Test on PNV, it also has this issue. It happens on all platforms.
IGT-Version: 1.10-g9b0a32d (x86_64) (Linux: 4.1.0-rc3_drm-intel-fixes_364aec_20150512+ x86_64)
^C
real    26m15.992s
user    0m0.127s
sys     26m14.844s


(In reply to Ander Conselvan de Oliveira from comment #1)
> (In reply to lu hua from comment #0)
> [...]
> > Non-working platforms: i965
> 
> The attached dmesg indicates the machine has pciid=0x0412, which would be a
> HSW GT2 desktop. Is that the right dmesg?

i965 platforms include HSW.
Comment 4 Humberto Israel Perez Rodriguez 2015-08-12 04:07:57 UTC
The test keeps failing with the following configuration on HSW-ULT:

-- Hardware --
Platform: Intel NUC D54250WYK
Processo: Intel(R) Core(TM) i5-4250U CPU @ 1.30GHz
-- Software --
Linux distribution: Ubuntu 14.04.02 LTS 64Bits
BIOS: WYLPT10H.86A.0021.2013.1017.1606



Test Environment:
````````````````````````````````````
Kernel: tag drm-intel-testing-2015-07-31 (4.2-rc4) from git://anongit.freedesktop.org/drm-intel
Mesa: mesa-10.6.3 from http://cgit.freedesktop.org/mesa/mesa/
Xf86_video_intel: 2.99.917 from http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/
Libdrm: libdrm-2.4.62 from http://cgit.freedesktop.org/mesa/drm/
Cairo: 1.14.2 from http://cgit.freedesktop.org/cairo
libva: libva-1.6.0 from http://cgit.freedesktop.org/libva/
intel-driver: 1.6.0. from http://cgit.freedesktop.org/vaapi/intel-driver
xorg: 1.17.99 installed with script git_xorg.sh
Xserver: xorg-server-1.17.2 from http://cgit.freedesktop.org/xorg/xserver
Intel-gpu-tools: 1.11 from http://cgit.freedesktop.org/xorg/app/intel-gpu-tools/

Attached HW-ULT_dmesg.txt

If needed more information do not hesitate to contact me
Comment 5 Humberto Israel Perez Rodriguez 2015-08-12 04:08:43 UTC
Created attachment 117635 [details]
HSW-ULT_dmesg.txt
Comment 6 Luis Botello 2016-05-27 21:26:47 UTC
This isuue is also seen on KBL with the following 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 2ec823981d62c56d1511bda42b8295e31ece800f
Comment 7 Chris Wilson 2016-08-19 09:25:52 UTC
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


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.