| Summary: | [BXT/GLK/KBL/BDW/BSW]gem_mmap/swap-bo causing page allocation failure | ||||||
|---|---|---|---|---|---|---|---|
| Product: | DRI | Reporter: | Elio <elio.martinez.monroy> | ||||
| Component: | DRM/Intel | Assignee: | Elio <elio.martinez.monroy> | ||||
| Status: | CLOSED FIXED | QA Contact: | Intel GFX Bugs mailing list <intel-gfx-bugs> | ||||
| Severity: | normal | ||||||
| Priority: | medium | CC: | intel-gfx-bugs | ||||
| Version: | DRI git | ||||||
| Hardware: | x86-64 (AMD64) | ||||||
| OS: | Linux (All) | ||||||
| Whiteboard: | |||||||
| i915 platform: | BDW, BSW/CHT, BXT, GLK, KBL | i915 features: | GEM/Other | ||||
| Attachments: |
|
||||||
|
Description
Elio
2017-04-05 16:34:00 UTC
Yes, it will. That's a known limitation. this issue is also present over GLK with the next configuration
test
======================================
igt@gem_mmap@swap-bo
======================================
Software
======================================
kernel version : 4.10.0-rc7-drm-intel-testing-qa-ww14-commit-5b28e02+
architecture : x86_64
os version : Ubuntu 16.10
os codename : yakkety
======================================
Graphic drivers
======================================
modesetting : modesetting_drv.so
xorg-xserver : 1.18.4
libdrm : 2.4.76
cairo : 1.15.5
xserver : X.Org X Server 1.18.4
intel-gpu-tools (tag) : intel-gpu-tools-1.18-56-g56741ce
intel-gpu-tools (commit) : 56741ce
======================================
Hardware
======================================
platform : Geminilake
motherboard model : Geminilake
motherboard id : GLKRVP1DDR4(05)
cpu family id : 6
cpu information : Genuine Intel(R) CPU @ 1.10GHz
gpu card : Intel Corporation Device 3184 (rev 01) (prog-if 00 [ VGA controller])
max memory ram : 16 GB
cpu model : 122
same issue with KBL and latest configuration
test cases
============================================
igt@gem_mmap@swap-bo
igt@gem_mmap_gtt@swap-copy-xy
igt@gem_mmap_gtt@swap-copy
igt@gem_mmap_gtt@swap-copy-odd
Component: drm
tag: libdrm-2.4.80-15-geeb51df
commit: eeb51df3ced003515ba4a71492eeb86c145cb77e
Component: cairo
tag: 1.15.4-21-g9d44136
commit: 9d44136ef8e2a1ad2c6631beb4bbdaeed7a2dad8
Component: intel-gpu-tools
tag: intel-gpu-tools-1.18-209-g26c266f
commit: 26c266febe1fc97c46d25a33aaf6a1869a51c008
Component: piglit
tag: piglit-v1
commit: 9cc5b2169ab6eb8a6a09329836d8d884d4350eec
======================================
Software
======================================
kernel version : 4.12.0-rc2-drm-tip-ww21-commit-7808a0f+
architecture : x86_64
os version : Ubuntu 16.10
os codename : yakkety
kernel driver : i915
bios revision : 5.6
bios release date : 05/03/2017
ksc : 8.1
======================================
Hardware
======================================
motherboard id : NUC7i5BNB
form factor : Desktop
cpu family : Core i5
cpu family id : 6
cpu information : Intel(R) Core(TM) i5-7260U CPU @ 2.20GHz
gpu card : Intel Corporation Device 5926 (rev 06) (prog-if 00 [VGA controller])
memory ram : 15.58 GB
max memory ram : 32 GB
cpu thread : 4
cpu core : 2
cpu model : 142
cpu stepping : 9
socket : Other
signature : Type 0, Family 6, Model 142, Stepping 9
hard drive : 447GiB (480GB)
current cd clock frequency : 337500 kHz
maximum cd clock frequency : 675000 kHz
displays connected : DP-1 DP-2
======================================
Firmware
======================================
dmc fw loaded : yes
dmc version : 1.1
guc fw loaded : NONE
guc version wanted : 0.0
guc version found : 0.0
same issue on BDW with latest configuration
igt@gem_mmap@swap-bo
Software versions
=======================================
Component: drm
tag: libdrm-2.4.80-18-gce9e3ba
commit: ce9e3ba6e2cc65e1e9e6e05a5f326c4dd25ab2c4
Component: cairo
tag: 1.15.4-22-g0fd0fd0
commit: 0fd0fd0ae9ad8cfb177bb844091de98c0235917e
Component: intel-gpu-tools
tag: intel-gpu-tools-1.18-211-g00ce341
commit: 00ce341b95c718611689ded8ccec45086186c5b7
Component: piglit
tag: piglit-v1
commit: ebbb9c5dcc6a637884d54e06eb430a8c14993413
Kernel version
=========================================
commit 75397b60fe84eb5125a78a5ee304def86b761994
Author: Chris Wilson <chris@chris-wilson.co.uk>
AuthorDate: Tue May 30 12:56:32 2017 +0100
Commit: Chris Wilson <chris@chris-wilson.co.uk>
CommitDate: Tue May 30 12:56:32 2017 +0100
drm-tip: 2017y-05m-30d-11h-55m-42s UTC integration manifest
same issue on BSW with latest configuration
igt@gem_mmap@swap-bo
Component: drm
tag: libdrm-2.4.80-18-gce9e3ba
commit: ce9e3ba6e2cc65e1e9e6e05a5f326c4dd25ab2c4
Component: cairo
tag: 1.15.4-22-g0fd0fd0
commit: 0fd0fd0ae9ad8cfb177bb844091de98c0235917e
Component: intel-gpu-tools
tag: intel-gpu-tools-1.18-211-g00ce341
commit: 00ce341b95c718611689ded8ccec45086186c5b7
Component: piglit
tag: piglit-v1
commit: ebbb9c5dcc6a637884d54e06eb430a8c14993413
kernel
===================================================
commit 4aa1d46d3b24bbe545cdf7cbd407c18f5cd5e43d
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
AuthorDate: Wed May 31 10:59:05 2017 +0200
Commit: Daniel Vetter <daniel.vetter@ffwll.ch>
CommitDate: Wed May 31 10:59:05 2017 +0200
drm-tip: 2017y-05m-31d-08h-58m-36s UTC integration manifest
Chris - you said that this is known limitation. So are you saying that one can use ~95% of memory successfully with this gem_mmap@swap-bo case? If huge object is bigger than that then i915 (or kernel) mm fails? On my dev-HSW I found out that the following is the limit (90% of repetitions the case if pass): Subtest swap-bo failed. **** DEBUG **** (gem_mmap:25393) intel-os-DEBUG: Checking 1 surfaces of size 15 985 541 120 bytes (total 15 985 545 216) against RAM + swap (gem_mmap:25393) drmtest-DEBUG: Test requirement passed: !(fd<0) (gem_mmap:25393) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0' (gem_mmap:25393) intel-os-DEBUG: Test requirement passed: __intel_check_memory(count, size, mode, &required, &total) (gem_mmap:25393) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation() (gem_mmap:25393) DEBUG: Exercising 15 985 541 120 bytes (gem_mmap:25393) DEBUG: Total_ram 16 589 520 896 bytes commit eaf41801559a687cc7511c04dc712984765c9dd7 Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Fri Jun 9 12:03:47 2017 +0100 drm/i915: Remove __GFP_NORETRY from our buffer allocator In order to be able to close this bug, please test and share results. Thank you. |
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.