Bug 91454 - [KBL/BDW] igt/ gem_render_linear_blits@swap-thrash test is timing out
Summary: [KBL/BDW] igt/ gem_render_linear_blits@swap-thrash test is timing out
Status: CLOSED NOTABUG
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium minor
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard: ReadyForDev
Keywords:
: 89498 103084 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-07-24 17:29 UTC by Elio
Modified: 2018-02-13 16:27 UTC (History)
3 users (show)

See Also:
i915 platform: BDW, CFL, KBL
i915 features: GEM/Other


Attachments
Kernel Messages (51.24 KB, text/plain)
2015-07-24 17:29 UTC, Elio
no flags Details
Json result file (998 bytes, text/plain)
2015-07-24 17:30 UTC, Elio
no flags Details
2nd dmesg log (50.45 KB, text/plain)
2015-07-24 20:54 UTC, Elio
no flags Details
drm debug flags enabled (117.30 KB, text/plain)
2015-07-27 20:15 UTC, Elio
no flags Details
dmesg (485 bytes, text/plain)
2016-05-26 20:30 UTC, Humberto Israel Perez Rodriguez
no flags Details
kernel log (271.33 KB, text/plain)
2017-12-14 22:21 UTC, Hector Velazquez
no flags Details

Description Elio 2015-07-24 17:29:12 UTC
Created attachment 117354 [details]
Kernel Messages

Regression
-----------
No regression.

Test Environment:
````````````````````````````````````
Kernel 4.2from git://anongit.freedesktop.org/drm-intel tag
drm-intel-testing-2015-07-17
Mesa: mesa-10.6.2 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.pre1 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/

Hardware

Haswell-ULT
Hardware
Platform: Intel NUC D54250WYK
Processor: Intel Core I5-425OU 1.30 GHz
Software
Linux distribution: Ubuntu 14.04 LTS 64Bits BIOS Version: WTLPT10H.86A.0021.2013.1.017.1606

Steps:
----------------------
1. Launch igt with command (as root):
${IGT_DIRNAME}/scripts/run-tests.sh -t gem_render_linear_blits@swap-thrash
2. wait until test pass

Actual result:

The test is hanging showing a timeout:

Expected result:

The test should exit without issues
Comment 1 Elio 2015-07-24 17:30:15 UTC
Created attachment 117355 [details]
Json result file
Comment 2 Chris Wilson 2015-07-24 17:45:31 UTC
Does it ever finish? Where is the debug output? Is the cpu usage during this time anomalous?
Comment 3 Elio 2015-07-24 18:02:04 UTC
(In reply to Chris Wilson from comment #2)
> Does it ever finish? Where is the debug output? Is the cpu usage during this
> time anomalous?
It finish after a few minutes. the debug output is attached, measuring cpu during test is about 30%
Comment 4 Chris Wilson 2015-07-24 18:06:59 UTC
You'll notice that there aren't any debug messages in the output.
Comment 5 Elio 2015-07-24 20:54:46 UTC
Created attachment 117360 [details]
2nd dmesg log
Comment 6 Elio 2015-07-27 20:15:56 UTC
Created attachment 117406 [details]
drm debug flags enabled
Comment 7 Elio 2015-10-01 18:10:42 UTC
This is happening with latest configuration:

Kernel 4.3.0-rc8-drm-intel-testing-2015-08-28
Mesa: mesa-10.6.7 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.64 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.1. 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.12 from http://cgit.freedesktop.org/xorg/app/intel-gpu
Comment 8 Jairo Miramontes 2015-10-16 16:39:05 UTC
Still happening on BDW with latest configurations

Kernel:4.3.0-rc4 drm-intel-testing-2015-10-10
Mesa: mesa-11.0.2 
Xf86_video_intel: 2.99.917 
Libdrm: libdrm-2.4.65
Cairo: 1.14.2 
libva: libva-1.6.1 
intel-driver: 1.6.1
xorg: 1.17.99 installed with script git_xorg.sh
Xserver: xorg-server-1.17.2 
Intel-gpu-tools: 1.12
Comment 9 maria guadalupe 2016-04-01 18:55:38 UTC
This bug was also reproduced on BXT under the following configuration


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


Software configuration
=======================
 --> Component : drm 
       url : http://cgit.freedesktop.org/mesa/drm 
       tag : libdrm-2.4.67-11-gea78c17 
       commit : ea78c17 
       author : Emil Velikov <emil.l.velikov@gmail.com> 
       age : 20 hours 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 : 7 weeks ago 
 --> Component : xf86-video-intel 
       url : http://cgit.freedesktop.org/xorg/driver/xf86-video-intel 
       tag : 2.99.917-590-g094924f 
       commit : 094924f 
       author : Chris Wilson <chris@chris-wilson.co.uk> 
       age : 4 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 : 13 days ago 
 --> Component : vaapi (intel-driver) 
       url : http://cgit.freedesktop.org/vaapi/intel-driver 
       tag : 1.7.0-5-g759e44d 
       commit : 759e44d 
       author : peng.chen <peng.c.chen@intel.com> 
       age : 13 days ago 
 --> Component : cairo 
       url : http://cgit.freedesktop.org/cairo 
       tag : 1.15.2 
       commit : db8a7f1 
       author : Bryce Harrington <bryce@osg.samsung.com> 
       age : 4 months ago 
 --> Component : xserver 
       url :  http://cgit.freedesktop.org/xorg/xserver 
       tag : xorg-server-1.18.0-254-g44e1c97 
       commit : 44e1c97 
       author : Olivier Fourdan <ofourdan@redhat.com> 
       age : 8 days ago 
 --> Component : intel-gpu-tools 
       url : http://cgit.freedesktop.org/xorg/app/intel-gpu-tools 
       tag : intel-gpu-tools-1.14-129-g41a26b5 
       commit : 41a26b5 
       author : Chris Wilson <chris@chris-wilson.co.uk> 
       age : 26 hours ago  


kernel configuration
=====================
Branch : drm-intel-nightly
commit f5d413cccefa1f93d64c34f357151d42add63a84
Author: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Date:   Thu Mar 24 14:35:16 2016 +0000

    drm-intel-nightly: 2016y-03m-24d-14h-34m-29s UTC integration manifest
Kernel version : 4.5.0
Architecture : source amd64 all
Comment 10 Humberto Israel Perez Rodriguez 2016-05-26 20:30:25 UTC
the same issue occurs on BXT and piglit, but when run the test by separatly this fail

output
=================================
(gem_render_linear_blits:1802) drmtest-DEBUG: Test requirement passed: fd >= 0
(gem_render_linear_blits:1802) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation()
(gem_render_linear_blits:1802) igt-core-DEBUG: Starting subtest: swap-thrash
(gem_render_linear_blits:1802) DEBUG: Test requirement passed: swap_mb > 0
(gem_render_linear_blits:1802) intel-os-DEBUG: Checking 9,428 surfaces of size 1,048,576 bytes (total 9,890,803,712) against RAM + swap
(gem_render_linear_blits:1802) intel-os-DEBUG: Test requirement passed: __intel_check_memory(count, size, mode, &required, &total)
(gem_render_linear_blits:1802) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation()
(gem_render_linear_blits:1802) DEBUG: Test requirement passed: render_copy
Verifying initialisation - 9428 buffers of 1048576 bytes
Cyclic blits, forward...
gem_render_linear_blits: rendercopy_gen9.c:178: gen6_render_flush: Assertion `ret == 0' failed.


attachments
=============================
dmesg


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-rc7-drm-intel-nightly-ww20-commit-5528ede+
Linux distribution                  : Ubuntu 15.10
Architecture                        : 64-bit
Bios revision                       : 138.22
KSC revision                        : 1.12
DMC revision                        : 1.07
GUC revision                        : 8.7


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 2ec823981d62c56d1511bda42b8295e31ece800f
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Sun May 22 18:23:13 2016 +0200

    drm-intel-nightly: 2016y-05m-22d-16h-22m-45s UTC integration manifest
Comment 11 Humberto Israel Perez Rodriguez 2016-05-26 20:30:42 UTC
Created attachment 124113 [details]
dmesg
Comment 12 Humberto Israel Perez Rodriguez 2016-06-03 21:22:12 UTC
The issue is present with the following configuration :


Tests cases
===============================================
igt@gem_render_linear_blits@swap-thrash


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 13 cprigent 2016-07-06 13:04:32 UTC
Test is Pass on APL after 30 minutes.
I remove it from summary and "i915 platform" field.

 ./gem_render_linear_blits --r swap-thrash
IGT-Version: 1.15-g88c1f7c (x86_64) (Linux: 4.7.0-rc5-nightly+ x86_64)
Verifying initialisation - 9821 buffers of 1048576 bytes
Cyclic blits, forward...
Cyclic blits, backward...
Random blits...
Subtest swap-thrash: SUCCESS (1776.592s)

Platform: APL system
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 FAB2
Reworks : R19, R20

Software 
Bios: 144_B10 - APLK_B0_IFWI_X64_R_2016_06_27_0956_SPI_RVP1 from \\gar\ec\proj\ba\CCG\APL BIOS\External\BIOS_Release\Daily\v144_10_2016_WW27.1\IFWI\IFWI_RVP1_Release\IFWI
KSC: 1.15
Linux distribution: Ubuntu 16.04 64 bits
Kernel: drm-intel-nightly 4.7.0-rc4 5c244f4 from http://cgit.freedesktop.org/drm-intel/
                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
drm: libdrm-2.4.68-9 625d181 from git://anongit.freedesktop.org/mesa/drm
mesa: mesa-11.2.2 56cd706 from git://anongit.freedesktop.org/mesa/mesa
cairo: 1.15.2 db8a7f1 from git://anongit.freedesktop.org/cairo
server: xorg-server-1.18.0-419 7397a21 from git://git.freedesktop.org/git/xorg/xserver
xf86-video-intel: 2.99.917-670 cac7c8d from git://git.freedesktop.org/git/xorg/driver/xf86-video-intel
libva: libva-1.7.0-26 c36971c from git://git.freedesktop.org/git/vaapi/libva
vaapi-intel-driver: 1.7.0-52 f47e513 from git://git.freedesktop.org/git/vaapi/intel-driver
DMC 1.07
GuC 8.7

Please check on the other platforms
Comment 14 maria guadalupe 2017-01-13 21:53:01 UTC
Still happening on KBL with latest configurations

igt@gem_render_linear_blits@swap-thrash

Software information
============================================
Kernel version                  : 4.10.0-rc2-drm-tip-qa-ww3-commit-eb5c556+
Linux distribution              : Ubuntu 16.10
Architecture                    : 64-bit
Gfx stack code                  : 979449066
Xorg-Xserver version            : 1.18.4
DRM version                     : 2.4.74
Cairo version                   : 1.15.5
Intel GPU Tools version         : Tag [intel-gpu-tools-1.17-109-ge2eefcc] / Commit [e2eefcc]
Kernel driver in use            : i915
Bios revision                   : 5.12
Bios release date               : 09/12/2016

 Hardware information
============================================
Platform                        : KBL-Nuc
Motherboard model               : MS-B142
Motherboard type                : MS-B1421 Desktop
Motherboard manufacturer        : Micro-StarInternationalCo.,Ltd.
CPU family                      : Core i7
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                      : 16 GB
Maximum memory ram allowed      : 64 GB
CPU thread                      : 4
CPU core                        : 2
Comment 15 Chris Wilson 2017-01-13 22:00:03 UTC
(It's a swap test, it's going to time out! That it doesn't crash or fail before it times out is a good sign!)
Comment 16 Jari Tahvanainen 2017-05-23 10:13:03 UTC
Still incomplete/timeout with 4.11.0-drm-tip-ww18-commit-fb550f8+ (KBL-2-MS-B1421). 
With 4.12.0-rc1-drm-tip-ww20-commit-9b25870+ (BSW-1-BRASWELL) and 4.12.0-rc1-drm-tip-ww20-commit-9b25870+ (BDW-1-NUC5i5MYBE) and 4.11.0-rc8-drm-tip-ww18-commit-7f02755+ (HSW-1-D54250WYK) result is fail, tracked on bug 100667, removing BSW, BDW and HSW from here.
Comment 17 maria guadalupe 2017-07-12 16:16:05 UTC
issue is still present over BDW with the following configuration 

test
=====================================
igt@gem_render_linear_blits@swap-thrash

 Software
======================================
kernel version              : 4.12.0-drm-tip-ww28-commit-f1619bb+
architecture                : x86_64
os version                  : Ubuntu 16.10
os codename                 : yakkety
kernel driver               : i915
bios revision               : 5.6
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.70
libva                       : 1.7.1-2
vaapi (intel-driver)        : 1.7.1
cairo                       : 1.14.6-1build1
intel-gpu-tools             : 1.16-1

======================================
             Hardware
======================================
platform                   : Broadwell
motherboard id             : NUC5i5MYBE
form factor                : Desktop
cpu family                 : Core i5
cpu information            : Intel(R) Core(TM) i5-5300U CPU @ 2.30GHz
gpu card                   : Intel Corporation HD Graphics 5500 (rev 09) (prog-if 00 [VGA controller])
memory ram                 : 11.62 GB
max memory ram             : 16 GB
signature                  : Type 0, Family 6, Model 61, Stepping 4
hard drive                 : 111GiB (120GB)
current cd clock frequency : 337500 kHz
maximum cd clock frequency : 540000 kHz
displays connected         : DP-1 DP-2

======================================
             kernel parameters
======================================
quiet drm.debug=0x1e resume=/dev/sda3 fastboot
Comment 18 Hector Velazquez 2017-10-02 16:09:50 UTC
This test are failing on CFL-S-1 QA

Tests List:

igt@gem_render_linear_blits@swap-thrash


This is my configuration:

======================================
        Graphic stack
======================================
Component: drm
    tag: libdrm-2.4.81-57-g1dd84e0
    commit: 1dd84e01a972b1759839a7326009be24ab3e6de2

Component: cairo
    tag: 1.15.6-42-gdccbed7
    commit: dccbed7d78d32bd3b912e8810379451dd94e6a1f

Component: intel-gpu-tools
    tag: intel-gpu-tools-1.19-357-g1e99f8b
    commit: 1e99f8b8d2563d7f5c4e82932bab15abc5eacaef

Component: piglit
    tag: piglit-v1
    commit: 5aa6eea37f44f818632a3dad4c1a7478085bd56d

	
======================================
             Software
======================================
kernel version              : 4.14.0-rc3-drm-tip-ww40-commit-2f14e31+
hostname                    : CFL-S-1
architecture                : x86_64
os version                  : Ubuntu 16.10
os codename                 : yakkety
kernel driver               : i915
bios revision               : 104.3
bios release date           : 09/14/2017
ksc                         : 1.5
hardware acceleration       : disabled
swap partition              : enabled on (/dev/nvme0n1p3
/dev/sda3)

======================================
        Graphic drivers
======================================
grep: /opt/X11R7/var/log/Xorg.0.log: No such file or directory
libdrm                      : 2.4.83
cairo                       : 1.15.9
intel-gpu-tools (tag)       : intel-gpu-tools-1.19-357-g1e99f8b
intel-gpu-tools (commit)    : 1e99f8b

======================================
             Hardware
======================================
motherboard model          : CoffeeLakeClientPlatform
motherboard id             : CoffeeLakeSUDIMMRVP
form factor                : Desktop
manufacturer               : IntelCorporation
cpu family                 : Other
cpu family id              : 6
cpu information            : Genuine Intel(R) CPU 0000 @ 3.60GHz
gpu card                   : Intel Corporation Device 3e92 (prog-if 00 [VGA controller])
memory ram                 : 15.59 GB
max memory ram             : 32 GB
cpu thread                 : 12
cpu core                   : 6
cpu model                  : 158
cpu stepping               : 10
socket                     : Other
hard drive                 : 111GiB (120GB)
current cd clock frequency : 337500 kHz
maximum cd clock frequency : 675000 kHz
displays connected         : eDP-1 DP-1

======================================
             Firmware
======================================
dmc fw loaded             : yes
dmc version               : 1.1
guc fw loaded             : SUCCESS
guc version wanted        : 9.14
guc version found         : 9.14
huc fw loaded             : yes

======================================
             kernel parameters
======================================
quiet drm.debug=0x1e i915.enable_guc_loading=2 i915.enable_guc_submission=2 i915.alpha_support=1 auto panic=1 nmi_watchdog=panic intel_iommu=igfx_off resume=/dev/sda3 fastboot
Comment 19 Chris Wilson 2017-10-06 20:17:16 UTC
*** Bug 103084 has been marked as a duplicate of this bug. ***
Comment 20 Hector Velazquez 2017-12-14 22:20:23 UTC
 This test continue on BDW/KBL/CFL QA

igt@gem_render_linear_blits@swap-thrash

kernel_branch: drm-intel-qa
    kernel_commit: bb55ba9
    gfx_stack_code: '121708630'
	
The test not end after (20 mins, in manual run...)
Kernel log was added...
Comment 21 Hector Velazquez 2017-12-14 22:21:02 UTC
Created attachment 136183 [details]
kernel log
Comment 22 Elizabeth 2018-02-09 23:25:45 UTC
Tested on KBL:

(02:29 PM) [gfx@gfx-desktop] [tests]$ : time sudo -E ./gem_render_linear_blits --r swap-thrash
IGT-Version: 1.21-g94bd67c (x86_64) (Linux: 4.15.0-drm-tip-ww6-commit-8970187+ x86_64)
Verifying initialisation - 23698 buffers of 1048576 bytes
Cyclic blits, forward...
Cyclic blits, backward...
Random blits...
Subtest swap-thrash: SUCCESS (2781.372s)

real    46m22.036s
user    1m10.112s
sys     8m37.435s

The test is success, it takes ~40 min to finish.
Comment 23 Octavio 2018-02-09 23:35:10 UTC
This test was SUCCESS on CFL in ~1h30m  

IGT-Version: 1.21-g94bd67c (x86_64) (Linux: 4.15.0-drm-intel-qa-ww6-commit-6c10ba2+ x86_64)
(gem_render_linear_blits:1703) drmtest-DEBUG: Test requirement passed: !(fd<0)
(gem_render_linear_blits:1703) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0'
(gem_render_linear_blits:1703) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd)
(gem_render_linear_blits:1703) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0'
(gem_render_linear_blits:1703) ioctl-wrappers-DEBUG: Test requirement passed: err == 0
(gem_render_linear_blits:1703) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation()
(gem_render_linear_blits:1703) igt-core-DEBUG: Starting subtest: swap-thrash
(gem_render_linear_blits:1703) DEBUG: Test requirement passed: swap_mb > 0
(gem_render_linear_blits:1703) drmtest-DEBUG: Test requirement passed: !(fd<0)
(gem_render_linear_blits:1703) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0'
(gem_render_linear_blits:1703) intel-os-DEBUG: Checking 23,713 surfaces of size 1,048,576 bytes (total 24,877,027,328) against RAM + swap
(gem_render_linear_blits:1703) drmtest-DEBUG: Test requirement passed: !(fd<0)
(gem_render_linear_blits:1703) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0'
(gem_render_linear_blits:1703) intel-os-DEBUG: Test requirement passed: __intel_check_memory(count, size, mode, &required, &total)
(gem_render_linear_blits:1703) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation()
(gem_render_linear_blits:1703) DEBUG: Test requirement passed: render_copy
Verifying initialisation - 23713 buffers of 1048576 bytes
Cyclic blits, forward...
Cyclic blits, backward...
Random blits...
Subtest swap-thrash: SUCCESS (4697.876s)
(gem_render_linear_blits:1703) igt-core-DEBUG: Exiting with status code 0
(gem_render_linear_blits:1703) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0'
Comment 24 Elizabeth 2018-02-12 18:17:44 UTC
Tested on BDW

(01:06 AM) [gfx@BDW-2-NUC5i5MYBE] [tests]$ : time sudo -E ./gem_render_linear_blits --r swap-thrash
IGT-Version: 1.21-g37bd27f (x86_64) (Linux: 4.16.0-rc1-drm-intel-qa-ww7-commit-28dc2a5+ x86_64)
Verifying initialisation - 19344 buffers of 1048576 bytes
Cyclic blits, forward...
Cyclic blits, backward...
Random blits...
Subtest swap-thrash: SUCCESS (3160.373s)

real    52m41.024s
user    0m29.534s
sys     6m7.938s

Closing bug since test is expected to take around 1 hr and is not failing.
Comment 25 Elizabeth 2018-02-12 21:24:47 UTC
*** Bug 89498 has been marked as a duplicate of this bug. ***


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.