<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO --- - igt/gem_userptr_blits fails"
href="https://bugs.freedesktop.org/show_bug.cgi?id=79237#c9">Comment # 9</a>
on <a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO --- - igt/gem_userptr_blits fails"
href="https://bugs.freedesktop.org/show_bug.cgi?id=79237">bug 79237</a>
from <span class="vcard"><a class="email" href="mailto:jinxianx.guo@intel.com" title="Guo Jinxian <jinxianx.guo@intel.com>"> <span class="fn">Guo Jinxian</span></a>
</span></b>
<pre>Created <span class=""><a href="attachment.cgi?id=103165" name="attach_103165" title="dmesg">attachment 103165</a> <a href="attachment.cgi?id=103165&action=edit" title="dmesg">[details]</a></span>
dmesg
(In reply to <a href="show_bug.cgi?id=79237#c8">comment #8</a>)
<span class="quote">> (In reply to <a href="show_bug.cgi?id=79237#c7">comment #7</a>)
> > > 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 <<a href="mailto:chris@chris-wilson.co.uk">chris@chris-wilson.co.uk</a>>
> Date: Mon Jul 14 10:30:36 2014 +0100
>
> igt/gem_userptr_blits: Add missing RAM check before coherency tests
>
> References: <a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO --- - igt/gem_userptr_blits fails"
href="show_bug.cgi?id=79237">https://bugs.freedesktop.org/show_bug.cgi?id=79237</a>
> Signed-off-by: Chris Wilson <<a href="mailto:chris@chris-wilson.co.uk">chris@chris-wilson.co.uk</a>>
>
> That should be enough to stop it from running out of memory.</span >
Tested with igt 4d4f4b213ca95dad59bdf8080d7bb034aa2d307a, the result shows
below:
[root@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)</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>