[Bug 94814] Purging GPU memory, out of memory kernel error, plenty of memory available

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Dec 17 13:21:26 UTC 2016


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

--- Comment #9 from Leho Kraav (:macmaN :lkraav) <leho at kraav.com> ---
I'm experiencing the same thing on 4.7.0 + Skylake and I don't even have
xf86-video-intel, because mesa + Wayland-only Gnome installation. The system
has 32GB RAM. It strongly looks like something leaks somewhere.

...
[11435027.464302] Out of memory: Kill process 3489 (chrome) score 312 or
sacrifice child
[11435027.464311] Killed process 3489 (chrome) total-vm:1420800kB,
anon-rss:217028kB, file-rss:71948kB, shmem-rss:121084kB
[11435027.481839] oom_reaper: reaped process 3489 (chrome), now anon-rss:0kB,
file-rss:0kB, shmem-rss:129472kB
[11435041.922979] Purging GPU memory, 137 pages freed, 59002 pages still
pinned.
[11435041.925104] Xwayland invoked oom-killer:
gfp_mask=0x26040c0(GFP_KERNEL|__GFP_COMP|__GFP_NOTRACK), order=3,
oom_score_adj=0
[11435041.925105] Xwayland cpuset=/ mems_allowed=0
[11435041.925108] CPU: 6 PID: 26359 Comm: Xwayland Not tainted 4.7.0-gentoo+
#31
[11435041.925109] Hardware name: Gigabyte Technology Co., Ltd. To be filled by
O.E.M./Z170N-WIFI-CF, BIOS F7 03/07/2016
[11435041.925110]  0000000000000000 ffffffff81260a7d ffff8802c33402c0
0000000000000000
[11435041.925112]  ffffffff8112ca61 0000000000000021 ffffffff81824c40
0000000000000000
[11435041.925113]  00000000007d0ebb 0000000000000001 ffff8802c33408f0
ffff88010a65b8a8
[11435041.925115] Call Trace:
[11435041.925118]  [<ffffffff81260a7d>] ? dump_stack+0x46/0x59
[11435041.925120]  [<ffffffff8112ca61>] ? dump_header+0x58/0x1ff
[11435041.925122]  [<ffffffff810d9afb>] ? oom_kill_process+0x32b/0x420
[11435041.925124]  [<ffffffff810d9eaa>] ? out_of_memory+0x26a/0x2b0
[11435041.925125]  [<ffffffff810de0ba>] ? __alloc_pages_nodemask+0xcea/0xe00
[11435041.925127]  [<ffffffff81119e1e>] ? cache_alloc_refill+0xde/0x6d0
[11435041.925128]  [<ffffffff8111a748>] ? __kmalloc+0xf8/0x120
[11435041.925138]  [<ffffffffa01462b1>] ? alloc_gen8_temp_bitmaps+0x41/0x80
[i915]
[11435041.925144]  [<ffffffffa014882a>] ? gen8_alloc_va_range_3lvl+0x7a/0x880
[i915]
[11435041.925150]  [<ffffffffa01491e6>] ? gen8_alloc_va_range+0x1b6/0x3f0
[i915]
[11435041.925156]  [<ffffffffa014b3e3>] ? i915_vma_bind+0x83/0x110 [i915]
[11435041.925163]  [<ffffffffa01512cf>] ? i915_gem_object_do_pin+0x86f/0xa20
[i915]
[11435041.925169]  [<ffffffffa014158f>] ?
i915_gem_execbuffer_reserve_vma.isra.21+0x8f/0x150 [i915]
[11435041.925174]  [<ffffffffa01419cc>] ?
i915_gem_execbuffer_reserve.isra.22+0x37c/0x3a0 [i915]
[11435041.925180]  [<ffffffffa014295e>] ?
i915_gem_do_execbuffer.isra.25+0x6ce/0x11b0 [i915]
[11435041.925181]  [<ffffffff8111a639>] ? kmem_cache_alloc+0x109/0x120
[11435041.925182]  [<ffffffff81261412>] ? idr_mark_full+0x52/0x60
[11435041.925184]  [<ffffffff8111a639>] ? kmem_cache_alloc+0x109/0x120
[11435041.925189]  [<ffffffffa0143fab>] ? i915_gem_execbuffer2+0xdb/0x230
[i915]
[11435041.925193]  [<ffffffffa005bd6e>] ? drm_ioctl+0x10e/0x460 [drm]
[11435041.925199]  [<ffffffffa0143ed0>] ? i915_gem_execbuffer+0x300/0x300
[i915]
[11435041.925201]  [<ffffffff810902dc>] ? hrtimer_start_range_ns+0x14c/0x2c0
[11435041.925202]  [<ffffffff8116bc90>] ? ep_poll+0x120/0x320
[11435041.925204]  [<ffffffff811404d4>] ? do_vfs_ioctl+0x84/0x5a0
[11435041.925206]  [<ffffffff81039300>] ? __do_page_fault+0x180/0x480
[11435041.925207]  [<ffffffff81140a26>] ? SyS_ioctl+0x36/0x70
[11435041.925209]  [<ffffffff814b86db>] ? entry_SYSCALL_64_fastpath+0x13/0x8f
[11435041.925210] Mem-Info:
[11435041.925213] active_anon:3907769 inactive_anon:128359 isolated_anon:0
                   active_file:2907357 inactive_file:627333 isolated_file:0
                   unevictable:12 dirty:21900 writeback:8281 unstable:0
                   slab_reclaimable:353188 slab_unreclaimable:43076
                   mapped:287669 shmem:695419 pagetables:38433 bounce:0
                   free:139308 free_pcp:0 free_cma:0
[11435041.925210] Mem-Info:
[11435041.925213] active_anon:3907769 inactive_anon:128359 isolated_anon:0
6kB mlocked:0kB dirty:0kB writeback:0kB mapped:0kB shmem:0kB
slab_reclaimable:0kB slab_unreclaimable:0kB kernel_stack:0kB pagetables:0kB
unstable:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB
writeback_tmp:0kB pages_scanned:0 all_unreclaimable? yes
[11435041.925217] lowmem_reserve[]: 0 2064 31999 31999
[11435041.925221] DMA32 free:163332kB min:8668kB low:10832kB high:12996kB
active_anon:1057416kB inactive_anon:32508kB active_file:364620kB
inactive_file:338972kB unevictable:0kB isolated(anon):0kB isolated(file):0kB
present:2187472kB managed:2114404kB mlocked:0kB dirty:6180kB writeback:2292kB
mapped:66496kB shmem:137876kB slab_reclaimable:104900kB
slab_unreclaimable:15768kB kernel_stack:13264kB pagetables:9164kB unstable:0kB
bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB writeback_tmp:0kB
pages_scanned:176 all_unreclaimable? no
[11435041.925222] lowmem_reserve[]: 0 0 29934 29934
[11435041.925225] Normal free:378004kB min:126432kB low:158040kB high:189648kB
active_anon:14573660kB inactive_anon:480928kB active_file:11264808kB
inactive_file:2170360kB unevictable:48kB isolated(anon):0kB isolated(file):0kB
present:31227904kB managed:30652784kB mlocked:48kB dirty:81420kB
writeback:30832kB mapped:1084180kB shmem:2643800kB slab_reclaimable:1307852kB
slab_unreclaimable:156536kB kernel_stack:27168kB pagetables:144568kB
unstable:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB
writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
[11435041.925228] lowmem_reserve[]: 0 0 0 0
[11435041.925230] DMA: 0*4kB 1*8kB (U) 1*16kB (U) 0*32kB 2*64kB (U) 1*128kB (U)
1*256kB (U) 0*512kB 1*1024kB (U) 1*2048kB (U) 3*4096kB (M) = 15896kB
[11435041.925235] DMA32: 9091*4kB (UME) 15624*8kB (UE) 141*16kB (UME) 0*32kB
0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 163612kB
[11435041.925240] Normal: 94231*4kB (UME) 209*8kB (UME) 4*16kB (ME) 0*32kB
0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 378660kB
[11435041.925244] 4230049 total pagecache pages
[11435041.925245] 0 pages in swap cache
[11435041.925245] Swap cache stats: add 0, delete 0, find 0/0
[11435041.925246] Free swap  = 0kB
[11435041.925247] Total swap = 0kB
[11435041.925247] 8357839 pages RAM
[11435041.925248] 0 pages HighMem/MovableOnly
[11435041.925248] 162068 pages reserved
[11435041.925249] 0 pages cma reserved
[11435041.925249] 0 pages hwpoisoned

...<process list cut>...

[11435041.926247] Out of memory: Kill process 2970 (chrome) score 304 or
sacrifice child
[11435041.926255] Killed process 2970 (chrome) total-vm:1022180kB,
anon-rss:93872kB, file-rss:62968kB, shmem-rss:264kB

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


More information about the intel-gfx-bugs mailing list