Bug 72507 - [IVB/HSW]igt/gem_ctx_exec/eviction fails
Summary: [IVB/HSW]igt/gem_ctx_exec/eviction fails
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: medium normal
Assignee: Chris Wilson
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-09 07:20 UTC by lu hua
Modified: 2017-10-06 14:41 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
dmesg (103.23 KB, text/plain)
2013-12-09 07:20 UTC, lu hua
no flags Details

Description lu hua 2013-12-09 07:20:29 UTC
Created attachment 90491 [details]
dmesg

System Environment:
--------------------------
Arch:             x86_64
Platform:         ivybridge 
Kernel:      (drm-intel-nightly)ddd0a9e2da6087c7aac74aca34fcdc90645cbdb4

Bug detailed description:
---------------------------
It fails on ivybridge with -fixes kernel, has OOM killer Bug 72506 on -queued and -nightly kernel.
It's a new case.

output:
trying buffer count 522904
trying buffer count 522903
trying buffer count 522902
trying buffer count 522901
trying buffer count 522900
trying buffer count 522899
trying buffer count 522898
trying buffer count 522897
trying buffer count 522896
trying buffer count 522895
trying buffer count 522894
trying buffer count 522893
trying buffer count 522892
trying buffer count 522891
trying buffer count 522890
trying buffer count 522889
reduced buffer count to 522889 from 522906
Test assertion failure function big_exec, file gem_ctx_exec.c:160:
Failed assertion: drmIoctl(fd, DRM_IOCTL_I915_GEM_EXECBUFFER2, &execbuf) == 0
Subtest eviction: FAIL

Reproduce steps:
-------------------------
1. ./gem_ctx_exec --run-subtest eviction
Comment 1 lu hua 2013-12-09 07:21:27 UTC
It also happens on Haswell.
Comment 2 Daniel Vetter 2013-12-09 10:15:36 UTC
This should be fixed with Chris' patch to do a gpu_idle in evict_something.

https://patchwork.kernel.org/patch/3295431/

Please test this patch while Chris is hunting down the commit message for it.
Comment 3 lu hua 2013-12-10 05:09:49 UTC
(In reply to comment #2)
> This should be fixed with Chris' patch to do a gpu_idle in evict_something.
> 
> https://patchwork.kernel.org/patch/3295431/
> 
> Please test this patch while Chris is hunting down the commit message for it.


Fixed by this patch.
Comment 4 Daniel Vetter 2013-12-10 07:14:02 UTC
commit ad071acb53110c8efd26ff1e5b5d57449b43833b
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Mon Dec 9 10:37:24 2013 +0000

    drm/i915: Repeat eviction search after idling the GPU

is merged to -fixes.
Comment 5 lu hua 2013-12-11 03:28:50 UTC
Verified.Fixed.
Comment 6 Elizabeth 2017-10-06 14:41:28 UTC
Closing old verified.


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.