Summary: | [BXT,BDW,BSW,HSW]Igt/gem_pwrite subcase huge-gtt causes OOM Killer | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | DRI | Reporter: | ye.tian <yex.tian> | ||||||||
Component: | DRM/Intel | Assignee: | Intel GFX Bugs mailing list <intel-gfx-bugs> | ||||||||
Status: | CLOSED FIXED | QA Contact: | Intel GFX Bugs mailing list <intel-gfx-bugs> | ||||||||
Severity: | normal | ||||||||||
Priority: | medium | CC: | christophe.prigent, huax.lu, humberto.i.perez.rodriguez, intel-gfx-bugs | ||||||||
Version: | unspecified | ||||||||||
Hardware: | Other | ||||||||||
OS: | All | ||||||||||
Whiteboard: | |||||||||||
i915 platform: | BDW, BSW/CHT, BXT, HSW | i915 features: | GEM/PPGTT | ||||||||
Attachments: |
|
Description
ye.tian
2015-04-30 09:50:17 UTC
The test checks that the object fits into ram (run with --debug to verify that the size is indeed valid). It is probable that the huge-cpu would also fail given enough time to allocate the full object. But it's the spurious oom that kills us: [ 100.627668] 0 pages in swap cache [ 100.627670] Swap cache stats: add 550, delete 550, find 0/0 [ 100.627671] Free swap = 1950564kB [ 100.627673] Total swap = 1952764kB [ 100.627674] 1028502 pages RAM Why are we not pushing others out to swap in get_pages_gtt()? (In reply to Chris Wilson from comment #1) > The test checks that the object fits into ram (run with --debug to verify > that the size is indeed valid). It is probable that the huge-cpu would also > fail given enough time to allocate the full object. But it's the spurious > oom that kills us: > > [ 100.627668] 0 pages in swap cache > [ 100.627670] Swap cache stats: add 550, delete 550, find 0/0 > [ 100.627671] Free swap = 1950564kB > [ 100.627673] Total swap = 1952764kB > [ 100.627674] 1028502 pages RAM > > Why are we not pushing others out to swap in get_pages_gtt()? bug 90395 track the oom killer issue. *** Bug 90395 has been marked as a duplicate of this bug. *** It impacts all platforms. That sounds more like a common .config problem. Created attachment 117652 [details] HSW-ULT_dmesg.txt With the latest configuration HSW-ULT the following subtests causes timeout igt@gem_pwrite@huge-gtt igt@gem_pwrite@big-cpu igt@gem_pwrite@huge-cpu and this subtest passed igt@gem_pwrite@big-gtt Attached HSW-ULT_dmesg.log ==Hardware configuration== -------------------------------------------------- Platform: Intel NUC D54250WYK Processor: Intel(R) Core(TM) i5-4250U CPU @ 1.30GHz -- Software -- Linux distribution: Ubuntu 14.04.02 LTS 64Bits BIOS: WYLPT10H.86A.0021.2013.1017.1606 ==Test Environment== -------------------------------------------------- Kernel: tag drm-intel-testing-2015-07-31 (4.2-rc4) from git://anongit.freedesktop.org/drm-intel Mesa: mesa-10.6.3 from http://cgit.freedesktop.org/mesa/mesa/ Xf86_video_intel: 2.99.917 from http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/ Libdrm: libdrm-2.4.62 from http://cgit.freedesktop.org/mesa/drm/ Cairo: 1.14.2 from http://cgit.freedesktop.org/cairo libva: libva-1.6.0 from http://cgit.freedesktop.org/libva/ intel-driver: 1.6.0. from http://cgit.freedesktop.org/vaapi/intel-driver xorg: 1.17.99 installed with script git_xorg.sh Xserver: xorg-server-1.17.2 from http://cgit.freedesktop.org/xorg/xserver Intel-gpu-tools: 1.11 from http://cgit.freedesktop.org/xorg/app/intel-gpu-tools/ The problem is present with big-gtt as well, it doesn't show time out after 15 minutes. Test enviroment: Name: drm-intel-testing Description: IGT tools manage all basic functions for graphics stack CPU: Intel(R) CPU @ 1.60GHz Board: : Wilson Beach DVT2 Ultrabook GPU: SoC: Broadwell 2+2 D0 (QDF : QGHA) Kernel 4.3.0-rc8-drm-intel-testing-2015-08-28 Mesa: mesa-10.6.7 from http://cgit.freedesktop.org/mesa/mesa/ Xf86_video_intel: 2.99.917 from http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/ Libdrm: libdrm-2.4.64 from http://cgit.freedesktop.org/mesa/drm/ Cairo: 1.14.2 from http://cgit.freedesktop.org/cairo libva: libva-1.6.0 from http://cgit.freedesktop.org/libva/ intel-driver: 1.6.1. from http://cgit.freedesktop.org/vaapi/intel-driver xorg: 1.17.99 installed with script git_xorg.sh Xserver: xorg-server-1.17.2 from http://cgit.freedesktop.org/xorg/xserver Intel-gpu-tools: 1.12 from http://cgit.freedesktop.org/xorg/app/intel-gpu Steps to reproduce: 1. Install intel graphic stack with mentioned configuration 2. Install igt 3. Execute drm_import_export@import-close-race-prime Expected result: Test should pass without issues Actual result: Tests hangs, please check dmesg log Created attachment 118615 [details]
Dmesg log for gem_pwrite@big-gtt
(In reply to Humberto Israel Perez Rodriguez from comment #6) > Created attachment 117652 [details] > HSW-ULT_dmesg.txt > Is a completely different bug and should not have filed here. (In reply to Elio from comment #7) > The problem is present with big-gtt as well, it doesn't show time out after > 15 minutes. Again is not this bug. Reproduced on BSW: setup: ====== Hardware: Platform: Braswell M CPU : Intel(R) Celeron N3060 1.60GHz @ 1.6 GHz (family: 6, model: 76 stepping: 4) SoC : BSW C0 QDF : K6XC CRB : BRASWELL RVP Fab2 Mandatory Reworks : All Feature Reworks: F28, F32, F33, F35, F37 Optional reworks : O-01a; O-02, O-03 Software: Linux distribution: Ubuntu 15.04 LTS 64 bits BIOS : BRAS.X64.B084.R00.1508310642 TXE FW : 2.0.0.2073 Ksc : 1.08 kernel drm-intel-nightly Commit a3b0dec82fdb59c629c4fb9847245b80b0cf69dd Author: Jani Nikula <jani.nikula@intel.com> Date: Fri Nov 6 14:48:23 2015 +0200 drm-intel-nightly: 2015y-11m-06d-12h-48m-02s UTC integration manifest cairo: (HEAD, tag: 1.14.2) 93422b3cb5e0ef8104b8194c8873124ce2f5ea2d from git://git.freedesktop.org/git/cairo drm: (HEAD, tag: libdrm-2.4.65, tag: 2.4.65) c3496167637e35cf8a52d5e7e53a412e79d80db0 from git://git.freedesktop.org/git/mesa/drm intel-driver: (HEAD, tag: 1.6.1, origin/v1.6-branch) 35858c69166b845c59ca32e19a3dbb0b758df209 from git://git.freedesktop.org/git/vaapi/intel-driver libva: (HEAD, tag: libva-1.6.1, origin/v1.6-branch) 613eb962b45fbbd1526d751e88e0d8897af6c0e0 from git://git.freedesktop.org/git/vaapi/libva mesa: (HEAD, tag: mesa-11.0.4) 31bf24703193cc23961923e01548b1acb2760a93 from git://git.freedesktop.org/git/mesa/mesa xf86-video-intel: (HEAD, tag: 2.99.917) baec802b21387d04aebb10ac29e719a1800c5aa0 from git://git.freedesktop.org/git/xorg/driver/xf86-video-intel xserver: (HEAD, tag: xorg-server-1.17.2) 2123f7682d522619f101b05fb75efa75dabbe371 from git://git.freedesktop.org/git/xorg/xserver * Tools * intel-gpu-tools: (HEAD, origin/master, origin/HEAD, master) bfea74a9f64a900bcb90f946b38746781017449f from git://git.freedesktop.org/git/xorg/app/intel-gpu-tools This bug was also reproduced on BXT under the following configuration Hardware configuration ======================= Platform BXT - P (APL) Motherboard model Apollo Lake Motherboard type NOTEBOOK Hand Held Motherboard manufacturer Intel Corp. CPU family Other CPU information 06/5c GPU Card Intel Corporation Device 5a84 (rev 03) (prog-if 00 [VGA controller]) Memory ram 8 GB Software configuration ======================= --> Component : drm url : http://cgit.freedesktop.org/mesa/drm tag : libdrm-2.4.67-11-gea78c17 commit : ea78c17 author : Emil Velikov <emil.l.velikov@gmail.com> age : 20 hours ago --> Component : mesa url : http://cgit.freedesktop.org/mesa/mesa tag : mesa-11.1.2 commit : 7bcd827 author : Emil Velikov <emil.velikov@collabora.com> age : 7 weeks ago --> Component : xf86-video-intel url : http://cgit.freedesktop.org/xorg/driver/xf86-video-intel tag : 2.99.917-590-g094924f commit : 094924f author : Chris Wilson <chris@chris-wilson.co.uk> age : 4 days ago --> Component : libva url : http://cgit.freedesktop.org/libva/ tag : libva-1.7.0-1-g2339d10 commit : 2339d10 author : Xiang Haihao <haihao.xiang@intel.com> age : 13 days ago --> Component : vaapi (intel-driver) url : http://cgit.freedesktop.org/vaapi/intel-driver tag : 1.7.0-5-g759e44d commit : 759e44d author : peng.chen <peng.c.chen@intel.com> age : 13 days ago --> Component : cairo url : http://cgit.freedesktop.org/cairo tag : 1.15.2 commit : db8a7f1 author : Bryce Harrington <bryce@osg.samsung.com> age : 4 months ago --> Component : xserver url : http://cgit.freedesktop.org/xorg/xserver tag : xorg-server-1.18.0-254-g44e1c97 commit : 44e1c97 author : Olivier Fourdan <ofourdan@redhat.com> age : 8 days ago --> Component : intel-gpu-tools url : http://cgit.freedesktop.org/xorg/app/intel-gpu-tools tag : intel-gpu-tools-1.14-129-g41a26b5 commit : 41a26b5 author : Chris Wilson <chris@chris-wilson.co.uk> age : 26 hours ago kernel configuration ===================== Branch : drm-intel-nightly commit f5d413cccefa1f93d64c34f357151d42add63a84 Author: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Date: Thu Mar 24 14:35:16 2016 +0000 drm-intel-nightly: 2016y-03m-24d-14h-34m-29s UTC integration manifest Kernel version : 4.5.0 Architecture : source amd64 all Since this bug has been derailed and the original bug has long since been unreproducible, time to close. |
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.