[Bug 79237] igt/gem_userptr_blits fails

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Jul 20 20:18:25 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=79237

--- Comment #9 from Guo Jinxian <jinxianx.guo at intel.com> ---
Created attachment 103165
  --> https://bugs.freedesktop.org/attachment.cgi?id=103165&action=edit
dmesg

(In reply to comment #8)
> (In reply to comment #7)
> > > Please attach the usual dmesg and run with IGT_LOG_LEVEL=debug to explain
> > > how it thinks you only have less than 2GiB of ram.
> > 
> > I don't know how to use parameter "IGT_LOG_LEVEL=debug", and the device I
> > used was 2GiB ram. but this bug is able to reproduce on other device too.
> > Please check the output below and the dmesg in attachment.
> 
> It's an environment variable, so use as:
> 
> $ IGT_LOG_LEVEL=debug ./gem_userptr_blits
> 
> The missing memory check should be performed by:
> 
> commit 52ac9a4b57f20f2dc019a973237f2f97ddb0ebf3
> Author: Chris Wilson <chris at chris-wilson.co.uk>
> Date:   Mon Jul 14 10:30:36 2014 +0100
> 
>     igt/gem_userptr_blits: Add missing RAM check before coherency tests
>     
>     References: https://bugs.freedesktop.org/show_bug.cgi?id=79237
>     Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> 
> That should be enough to stop it from running out of memory.

Tested with igt 4d4f4b213ca95dad59bdf8080d7bb034aa2d307a, the result shows
below:

[root at x-bdw01 tests]# IGT_LOG_LEVEL=debug ./gem_userptr_blits
IGT-Version: 1.7-g4d4f4b2 (x86_64) (Linux:
3.16.0-rc5_drm-intel-nightly_873440_20140721+ x86_64)
Aperture size is 4096 MiB
Total RAM is 3882 MiB
Subtest input-checking: SUCCESS
Subtest usage-restrictions: SUCCESS
Subtest invalid-mapping: SUCCESS
Test assertion failure function copy, file gem_userptr_blits.c:221:
Failed assertion: ret == error
Last errno: 5, Input/output error
child 0 failed with exit status 99
Subtest forked-access: FAIL
Subtest forbidden-operations: SUCCESS
Testing unsynchronized mappings...
Subtest create-destroy-unsync: SUCCESS
Subtest unsync-overlap: SUCCESS
Test assertion failure function copy, file gem_userptr_blits.c:221:
Failed assertion: ret == error
Last errno: 5, Input/output error
Subtest unsync-unmap: FAIL
Test assertion failure function copy, file gem_userptr_blits.c:221:
Failed assertion: ret == error
Last errno: 5, Input/output error
Subtest unsync-unmap-cycles: FAIL
Test assertion failure function copy, file gem_userptr_blits.c:221:
Failed assertion: ret == error
Last errno: 5, Input/output error
Subtest unsync-unmap-after-close: FAIL
Checking 2730 surfaces of size 1048576 bytes (total 2864013312) against RAM
Using 2x2730 1MiB buffers
Verifying initialisation...
Cyclic blits cpu->gpu, forward...
Test assertion failure function copy, file gem_userptr_blits.c:221:
Failed assertion: ret == error
Last errno: 5, Input/output error
Subtest coherency-unsync: FAIL
Segmentation fault (core dumped)

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20140721/bc4ae5cf/attachment.html>


More information about the intel-gfx-bugs mailing list