[Bug 95427] gem_userptr_blits@mlocked-* should skip due to memory pre-condition not met

2016-09-15 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=95427

cprigent  changed:

   What|Removed |Added

   Assignee|dri-devel at lists.freedesktop |intel-gfx-bugs at 
lists.freede
   |.org|sktop.org
  i915 platform||BDW
 QA Contact||intel-gfx-bugs at lists.freede
   ||sktop.org
  Component|IGT |DRM/Intel

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 95427] gem_userptr_blits@mlocked-* should skip due to memory pre-condition not met

2016-07-29 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=95427

--- Comment #6 from Chris Wilson  ---
(In reply to cprigent from comment #4)
> (In reply to Emil Velikov from comment #3)
> > Guys have you actually looked at the following line ?
> > Aperture size is 268435456 MiB -- That is 256 TiB !!!
> > 
> > That's rather impossible amount if you ask me. So there's either a bug in
> > IGT's gem_aperture_size() or one of the two ioctls
> > (I915_GEM_CONTEXT_GETPARAM I915_GEM_GET_APERTURE) that it uses.
> > 
> > With a couple of print statements you should be able to quickly track the
> > exact offender. Good luck !
> 
> Yes, we saw it. The bug is reported to IGT (not to DRM/Intel). We propose
> the test should skip.

Why? The test only allocates enough to fill RAM and then tests that the buffers
are evicted for memory pressure. The messages are nothing to do with this test,
just spam.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 95427] gem_userptr_blits@mlocked-* should skip due to memory pre-condition not met

2016-07-29 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=95427

--- Comment #5 from Chris Wilson  ---
(In reply to Emil Velikov from comment #3)
> Guys have you actually looked at the following line ?
> Aperture size is 268435456 MiB -- That is 256 TiB !!!
> 
> That's rather impossible amount if you ask me. So there's either a bug in
> IGT's gem_aperture_size() or one of the two ioctls

It is correct. The GTT size is 1<<48 bytes.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 95427] gem_userptr_blits@mlocked-* should skip due to memory pre-condition not met

2016-07-29 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=95427

--- Comment #4 from cprigent  ---
(In reply to Emil Velikov from comment #3)
> Guys have you actually looked at the following line ?
> Aperture size is 268435456 MiB -- That is 256 TiB !!!
> 
> That's rather impossible amount if you ask me. So there's either a bug in
> IGT's gem_aperture_size() or one of the two ioctls
> (I915_GEM_CONTEXT_GETPARAM I915_GEM_GET_APERTURE) that it uses.
> 
> With a couple of print statements you should be able to quickly track the
> exact offender. Good luck !

Yes, we saw it. The bug is reported to IGT (not to DRM/Intel). We propose the
test should skip.

I just checked on our IVB platform with 32 GB of memory. Looks like we would
need now 2 TB.

root at IVB102:/opt/X11R7/src/intel-gpu-tools/tests# ./gem_userptr_blits
--run-subtest mlocked-normal-sync
IGT-Version: 1.15-ge3abb20 (x86_64) (Linux: 4.7.0-nightly+ x86_64)
Aperture size is 2048 MiB
Total RAM is 31,945 MiB
Testing unsynchronized mappings...
Testing synchronized mappings...
Killed

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 95427] gem_userptr_blits@mlocked-* should skip due to memory pre-condition not met

2016-06-19 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=95427

--- Comment #3 from Emil Velikov  ---
Guys have you actually looked at the following line ?
Aperture size is 268435456 MiB -- That is 256 TiB !!!

That's rather impossible amount if you ask me. So there's either a bug in IGT's
gem_aperture_size() or one of the two ioctls (I915_GEM_CONTEXT_GETPARAM
I915_GEM_GET_APERTURE) that it uses.

With a couple of print statements you should be able to quickly track the exact
offender. Good luck !

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 95427] gem_userptr_blits@mlocked-* should skip due to memory pre-condition not met

2016-06-19 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=95427

--- Comment #2 from Humberto Israel Perez Rodriguez  ---
even with 16GB of ram in APL the following tests keeps failing :

Tests cases
=
igt at gem_userptr_blits@mlocked-unsync-normal
igt at gem_userptr_blits@mlocked-normal-sync


output :

IGT-Version: 1.15-g3ce58b6 (x86_64) (Linux:
4.7.0-rc2-drm-intel-nightly-ww24-commit-55d1291+ x86_64)
(gem_userptr_blits:1332) drmtest-DEBUG: Test requirement passed: fd >= 0
(gem_userptr_blits:1332) ioctl-wrappers-DEBUG: Test requirement passed: !(ret
== ENODEV && (flags & LOCAL_I915_USERPTR_UNSYNCHRONIZED) == 0 && !read_only)
(gem_userptr_blits:1332) DEBUG: Test requirement passed: !(ret == 0)
Aperture size is 268435456 MiB
Total RAM is 15,884 MiB
Not enough RAM to run test, reducing buffer count.
Testing unsynchronized mappings...
(gem_userptr_blits:1332) igt-core-DEBUG: Starting subtest:
mlocked-unsync-normal
(gem_userptr_blits:1332) intel-os-DEBUG: Checking 256 surfaces of size
1,048,576 bytes (total 268,566,528) against RAM
(gem_userptr_blits:1332) intel-os-DEBUG: Test requirement passed:
__intel_check_memory(count, size, mode, , )
(gem_userptr_blits:1332) igt-core-DEBUG: Test requirement passed:
!igt_run_in_simulation()
(gem_userptr_blits:1332) DEBUG: Test requirement passed: pin > sz
(gem_userptr_blits:1332) DEBUG: Pinning [15,428, 15,684] MiB
Killed

relevant kernel messages:
=
kern  :err   : [Sat Jun 18 16:18:55 2016] 32 and 0 pages still available in the
bound and unbound GPU page lists.
kern  :err   : [Sat Jun 18 16:18:55 2016] Out of memory: Kill process 1348
(gem_userptr_bli) score 1762 or sacrifice child
kern  :err   : [Sat Jun 18 16:18:55 2016] Killed process 1348 (gem_userptr_bli)
total-vm:16169932kB, anon-rss:15988692kB, file-rss:4kB, shmem-rss:0kB


looks like that is something wrong in the test itself of the test needs much
more memory ?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 95427] gem_userptr_blits@mlocked-* should skip due to memory pre-condition not met

2016-06-15 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=95427

cprigent  changed:

   What|Removed |Added

 QA Contact|intel-gfx-bugs at lists.freede |
   |sktop.org   |
  Component|DRM/Intel   |IGT
   Assignee|intel-gfx-bugs at lists.freede |dri-devel at 
lists.freedesktop
   |sktop.org   |.org

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: