Bug 88392 - [BSW] igt/gem_exec_big fails
Summary: [BSW] igt/gem_exec_big fails
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: high normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-14 08:34 UTC by lu hua
Modified: 2017-07-24 22:49 UTC (History)
2 users (show)

See Also:
i915 platform: BSW/CHT
i915 features: GEM/execlists


Attachments
dmesg (95.72 KB, text/plain)
2015-01-14 08:34 UTC, lu hua
no flags Details
kern.log (268.18 KB, text/plain)
2016-02-25 17:43 UTC, cprigent
no flags Details
bsw-gem_exec_big-output (18.58 KB, text/plain)
2016-03-25 12:20 UTC, cprigent
no flags Details
BSW-gem_exec_big-kern.log (159.76 KB, text/plain)
2016-03-25 12:20 UTC, cprigent
no flags Details
BSW__4.8__gem_exec_big__kern.log (343.49 KB, text/plain)
2016-10-11 11:39 UTC, cprigent
no flags Details
APL__gem_ctx_thrash__threads__output (209 bytes, text/plain)
2016-10-11 11:40 UTC, cprigent
no flags Details
BSW__4.8__gem_exec_big__output (17.27 KB, text/plain)
2016-10-11 11:42 UTC, cprigent
no flags Details

Description lu hua 2015-01-14 08:34:14 UTC
Created attachment 112202 [details]
dmesg

==System Environment==
--------------------------
Regression: yes(IGT)
good commit: 25cf0551c7d210c8c085c109891dc97a2cc61e27
bad commit: 5fb26d1469f95ea93df2f047f57c0cdcf27da5d7

Non-working platforms: PNV

==kernel==
--------------------------
Latest drm-intel-nightly kernel and patch https://bugs.freedesktop.org/show_bug.cgi?id=88191#c9

==Bug detailed description==
-----------------------------
It also has bug 88191, it fixed on igt 25cf055 by  patch https://bugs.freedesktop.org/show_bug.cgi?id=88191#c9 , apply the patch and test on the latest igt, it will report following fail.

output:
IGT-Version: 1.9-g5fb26d1 (i686) (Linux: 3.19.0-rc4_kcloud_d574c4_20150113+ i686)
Test assertion failure function gem_execbuf, file ioctl_wrappers.c:437:
Failed assertion: ret == 0
Last errno: 28, No space left on device


==Reproduce steps==
---------------------------- 
1. ./gem_exec_big
Comment 1 Jani Nikula 2015-01-22 13:47:38 UTC
Please try

http://patchwork.freedesktop.org/patch/40436
http://patchwork.freedesktop.org/patch/40437

on top of current nightly.
Comment 2 lu hua 2015-01-23 08:19:12 UTC
(In reply to Jani Nikula from comment #1)
> Please try
> 
> http://patchwork.freedesktop.org/patch/40436
> http://patchwork.freedesktop.org/patch/40437
> 
> on top of current nightly.

Fixed by these 2 patch.
Comment 3 Jani Nikula 2015-02-10 12:37:15 UTC
commit 983d308cb8f602d1920a8c40196eb2ab6cc07bd2
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Mon Jan 26 10:47:10 2015 +0000

    agp/intel: Serialise after GTT updates

was merged, the other patch not. Please retest with current nightly and see if that works without the other patch.
Comment 4 Chris Wilson 2015-02-10 12:41:12 UTC
(In reply to Jani Nikula from comment #3)
> commit 983d308cb8f602d1920a8c40196eb2ab6cc07bd2
> Author: Chris Wilson <chris@chris-wilson.co.uk>
> Date:   Mon Jan 26 10:47:10 2015 +0000
> 
>     agp/intel: Serialise after GTT updates
> 
> was merged, the other patch not. Please retest with current nightly and see
> if that works without the other patch.

That was tracked in bug 88191.
Comment 5 Daniel Vetter 2015-03-18 11:16:31 UTC
commit fe245132197a7edf28a9426a31c29a764326f3e3
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Wed Jan 14 11:20:56 2015 +0000

    drm/i915: Fallback to using CPU relocations for large batch buffers
Comment 6 lu hua 2015-03-20 05:39:52 UTC
Verified.Fixed.
output:
IGT-Version: 1.10-gea4aa70 (i686) (Linux: 4.0.0-rc4_drm-intel-nightly_ce08f8_20150320+ i686)
SUCCESS (13.097s)
Comment 7 Rami 2015-11-20 17:21:42 UTC
Reproduced on BSW with last setup:

Hardware:
Platform: Braswell M 
CPU : Intel(R) Celeron N3060 1.60GHz @ 1.6 GHz (family: 6, model: 76 stepping: 4)
SoC : BSW C0
QDF : K6XC
CRB : BRASWELL RVP Fab2
Mandatory Reworks : All Feature Reworks: F28, F32, F33, F35, F37
Optional reworks : O-01a; O-02, O-03 

Software:
Linux distribution: Ubuntu 15.04 LTS 64 bits 
BIOS : BRAS.X64.B084.R00.1508310642
TXE FW : 2.0.0.2073
Ksc : 1.08
kernel  drm-intel-nightly: 2015y-11m-12d-15h-35m-53s UTC integration manifest
commit 4c2531304c0a2f36f6b2cce2add5b5b2bd3fd893
Author: Jani Nikula <jani.nikula@intel.com>
Date:   Thu Nov 12 17:36:12 2015 +0200
cairo: (HEAD, tag: 1.14.2) 93422b3cb5e0ef8104b8194c8873124ce2f5ea2d from git://git.freedesktop.org/git/cairo
drm: (HEAD, tag: libdrm-2.4.65, tag: 2.4.65) c3496167637e35cf8a52d5e7e53a412e79d80db0 from git://git.freedesktop.org/git/mesa/drm
intel-driver: (HEAD, tag: 1.6.1, origin/v1.6-branch) 35858c69166b845c59ca32e19a3dbb0b758df209 from git://git.freedesktop.org/git/vaapi/intel-driver
libva: (HEAD, tag: libva-1.6.1, origin/v1.6-branch) 613eb962b45fbbd1526d751e88e0d8897af6c0e0 from git://git.freedesktop.org/git/vaapi/libva
mesa: (HEAD, tag: mesa-11.0.5) ee57c22141c42d9b511a7dfa5971c4428cd1c6e7 from git://git.freedesktop.org/git/mesa/mesa
xf86-video-intel: (HEAD, tag: 2.99.917) baec802b21387d04aebb10ac29e719a1800c5aa0 from git://git.freedesktop.org/git/xorg/driver/xf86-video-intel
xserver: (HEAD, tag: xorg-server-1.17.2) 2123f7682d522619f101b05fb75efa75dabbe371 from git://git.freedesktop.org/git/xorg/xserver

* Tools *
intel-gpu-tools: (HEAD, origin/master, origin/HEAD, master) b718f50f92cf7ed825c90ff54940cb155d110a2c from git://git.freedesktop.org/git/xorg/app/intel-gpu-tools
Comment 8 Chris Wilson 2016-01-08 15:52:59 UTC
This bug (and bug 90064 before it) still lacks the crucial debug information about what actually failed in your test.
Comment 9 cprigent 2016-02-25 17:43:03 UTC
Created attachment 121966 [details]
kern.log

Reproduced on BSW with fresh setup.

Output:
IGT-Version: 1.13-NOT-GIT (x86_64) (Linux: 4.5.0-rc5-patch-color+ x86_64)
(gem_exec_big:1447) ioctl-wrappers-CRITICAL: Test assertion failure function gem_execbuf, file ioctl_wrappers.c:533:
(gem_exec_big:1447) ioctl-wrappers-CRITICAL: Failed assertion: __gem_execbuf(fd, execbuf) == 0
(gem_exec_big:1447) ioctl-wrappers-CRITICAL: Last errno: 28, No space left on device
(gem_exec_big:1447) ioctl-wrappers-CRITICAL: error: -28 != 0
Test gem_exec_big failed.
**** DEBUG ****
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1072721920
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1072726016
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1072730112
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1072734208
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1072738304
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1072742400
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1072746496
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1072750592
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1072754688
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1072758784
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1072762880
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1072766976
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1072771072
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1072775168
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1072779264
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1072783360
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1072787456
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1072791552
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1072795648
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1072799744
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1072803840
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1072807936
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1072812032
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1072816128
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1072820224
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1072824320
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1072828416
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1072832512
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1072836608
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1072840704
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1072844800
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1072848896
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1072852992
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1072857088
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1072861184
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1072865280
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1072869376
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1072873472
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1072877568
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1072881664
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1072885760
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1072889856
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1072893952
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1072898048
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1072902144
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1072906240
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1072910336
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1072914432
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1072918528
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1072922624
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1072926720
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1072930816
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1072934912
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1072939008
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1072943104
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1072947200
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1072951296
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1072955392
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1072959488
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1072963584
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1072967680
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1072971776
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1072975872
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1072979968
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1072984064
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1072988160
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1072992256
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1072996352
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073000448
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073004544
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073008640
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073012736
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073016832
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073020928
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073025024
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073029120
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073033216
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073037312
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073041408
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073045504
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073049600
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073053696
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073057792
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073061888
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073065984
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073070080
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073074176
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073078272
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073082368
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073086464
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073090560
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073094656
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073098752
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073102848
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073106944
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073111040
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073115136
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073119232
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073123328
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073127424
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073131520
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073135616
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073139712
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073143808
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073147904
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073152000
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073156096
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073160192
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073164288
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073168384
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073172480
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073176576
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073180672
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073184768
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073188864
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073192960
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073197056
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073201152
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073205248
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073209344
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073213440
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073217536
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073221632
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073225728
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073229824
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073233920
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073238016
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073242112
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073246208
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073250304
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073254400
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073258496
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073262592
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073266688
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073270784
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073274880
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073278976
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073283072
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073287168
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073291264
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073295360
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073299456
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073303552
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073307648
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073311744
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073315840
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073319936
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073324032
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073328128
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073332224
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073336320
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073340416
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073344512
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073348608
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073352704
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073356800
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073360896
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073364992
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073369088
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073373184
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073377280
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073381376
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073385472
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073389568
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073393664
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073397760
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073401856
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073405952
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073410048
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073414144
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073418240
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073422336
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073426432
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073430528
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073434624
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073438720
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073442816
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073446912
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073451008
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073455104
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073459200
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073463296
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073467392
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073471488
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073475584
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073479680
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073483776
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073487872
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073491968
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073496064
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073500160
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073504256
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073508352
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073512448
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073516544
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073520640
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073524736
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073528832
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073532928
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073537024
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073541120
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073545216
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073549312
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073553408
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073557504
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073561600
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073565696
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073569792
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073573888
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073577984
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073582080
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073586176
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073590272
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073594368
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073598464
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073602560
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073606656
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073610752
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073614848
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073618944
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073623040
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073627136
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073631232
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073635328
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073639424
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073643520
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073647616
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073651712
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073655808
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073659904
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073664000
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073668096
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073672192
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073676288
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073680384
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073684480
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073688576
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073692672
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073696768
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073700864
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073704960
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073709056
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073713152
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073717248
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073721344
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073725440
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073729536
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073733632
(gem_exec_big:1447) DEBUG: batch_size 1073741824, reloc_ofs 1073737728
(gem_exec_big:1447) DEBUG: batch_size 1073741824, all 262144 relocs
(gem_exec_big:1447) DEBUG: batch_size 2147483648, reloc_ofs 4096
(gem_exec_big:1447) ioctl-wrappers-CRITICAL: Test assertion failure function gem_execbuf, file ioctl_wrappers.c:533:
(gem_exec_big:1447) ioctl-wrappers-CRITICAL: Failed assertion: __gem_execbuf(fd, execbuf) == 0
(gem_exec_big:1447) ioctl-wrappers-CRITICAL: Last errno: 28, No space left on device
(gem_exec_big:1447) ioctl-wrappers-CRITICAL: error: -28 != 0
****  END  ****
Stack trace:
  #0 [__igt_fail_assert+0xf1]
  #1 [gem_execbuf+0x57]
  #2 [exec1+0x115]
  #3 [main+0x146]
  #4 [__libc_start_main+0xf0]
  #5 [_start+0x29]
  #6 [<unknown>+0x29]
FAIL (74.710s)

/var/log/kern.log attached


Platform: Braswell M
CPU : Intel(R) Celeron N3060 1.60GHz @ 1.6 GHz (family: 6, model: 76 stepping: 4)
SoC : BSW D0
QDF : K6XC
CRB : BRASWELL RVP Fab2
Software
Linux OS: Ubuntu 15.04 64 bits
BIOS : BRAS.X64.B088.R00.1510270350
TXE FW : 2.0.0.2093
Ksc : 1.08
  kernel 4.5.0-rc5 08fc1b1 from from http://cgit.freedesktop.org/drm-intel
  commit 08fc1b101049694778bff7559e1d05250d2e7072
  Author: Ville Syrjälä <ville.syrjala@linux.intel.com>
  Date: Mon Feb 22 19:31:15 2016 +0200
  drm-intel-nightly: 2016y-02m-22d-17h-30m-27s UTC integration manifest
drm: tag libdrm-2.4.66 9b77443 from http://cgit.freedesktop.org/mesa/drm/
IGT 1.13 babcf40 from https://cgit.freedesktop.org/xorg/app/intel-gpu-tools/
One eDP connected
Comment 10 cprigent 2016-02-25 17:48:41 UTC
*** Bug 90064 has been marked as a duplicate of this bug. ***
Comment 11 cprigent 2016-03-25 12:20:20 UTC
Created attachment 122536 [details]
bsw-gem_exec_big-output

Reproduced on BSW production device

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 12 cprigent 2016-03-25 12:20:41 UTC
Created attachment 122537 [details]
BSW-gem_exec_big-kern.log
Comment 13 Chris Wilson 2016-08-19 09:28:23 UTC
commit e8cb909ac3abbcac5184825638903a2b9a225725
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Thu Aug 18 17:16:53 2016 +0100

    drm/i915: Fallback to single page GTT mmappings for relocations
Comment 14 cprigent 2016-10-11 10:47:30 UTC
Not reproduced on BDW. I remove it from title and "i915 platform" field.

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

Kernel: 4.8.0 f35ed31 from http://cgit.freedesktop.org/drm-intel/
  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
libdrm-2.4.71 a44c9c3 from git://anongit.freedesktop.org/mesa/drm
mesa: mesa-12.0.0 8b06176 from git://anongit.freedesktop.org/mesa/mesa
cairo 1.15.2 db8a7f1 from git://anongit.freedesktop.org/cairo
xorg-server-1.18.99.901-76 97a8353 from git://git.freedesktop.org/git/xorg/xserver
xf86-video-intel 2.99.917-712 696f58f from git://git.freedesktop.org/git/xorg/driver/xf86-video-intel
libva-1.7.2-38 3b7e499 from git://git.freedesktop.org/git/vaapi/libva 
vaapi-intel-driver: 1.7.2-133 dd73514 from git://git.freedesktop.org/git/vaapi/intel-driver
IGT: intel-gpu-tools-1.16-59 48a9e1e from http://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools.git
Comment 15 cprigent 2016-10-11 11:39:38 UTC
Created attachment 127206 [details]
BSW__4.8__gem_exec_big__kern.log

Still reproduced on BSW

Hardware BSW: Acer Desktop
Motherboard: Aspire XC-704
CPU: Intel(R) Pentium(R) CPU N3700 @ 1.60GHz (Family 6, Model 76, Stepping 3)
GPU:  Intel® HD Graphics - Intel Corporation Device 22b1 (rev 21)
Memory card: 1 card 4GB Hynix HMT451S6BFR8APB
HDD: Western Digital WDC WD10EZEX-21M (1TB)

Software:
Bios: R01-A2
Linux distribution: Ubuntu 16.04 64 bits
Kernel: 4.8.0 f35ed31 from http://cgit.freedesktop.org/drm-intel/
  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
libdrm-2.4.71 a44c9c3 from git://anongit.freedesktop.org/mesa/drm
mesa: mesa-12.0.0 8b06176 from git://anongit.freedesktop.org/mesa/mesa
cairo 1.15.2 db8a7f1 from git://anongit.freedesktop.org/cairo
xorg-server-1.18.99.901-76 97a8353 from git://git.freedesktop.org/git/xorg/xserver
xf86-video-intel 2.99.917-712 696f58f from git://git.freedesktop.org/git/xorg/driver/xf86-video-intel
libva-1.7.2-38 3b7e499 from git://git.freedesktop.org/git/vaapi/libva 
vaapi-intel-driver: 1.7.2-133 dd73514 from git://git.freedesktop.org/git/vaapi/intel-driver
IGT: intel-gpu-tools-1.16-59 48a9e1e from http://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools.git
Comment 16 cprigent 2016-10-11 11:40:01 UTC
Created attachment 127207 [details]
APL__gem_ctx_thrash__threads__output
Comment 17 cprigent 2016-10-11 11:42:03 UTC
Created attachment 127208 [details]
BSW__4.8__gem_exec_big__output
Comment 18 Chris Wilson 2016-10-13 08:40:41 UTC
commit 48c028a9477eec84eb67a9469b5b9bf18ebf5a48
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Thu Oct 13 09:29:31 2016 +0100

    igt/gem_exec_big: Secure dispatch is run through the GGTT, limit it such
    
    An interesting complication arises using machines with different
    aperture sizes and special execbuf modes like secure dispatch which uses
    the smaller global aperture. In order to avoid false positives from the
    test, we need to make sure that the secure dispatch is capable of being
    run before submitting.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=88392
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>


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.