[Bug 107366] NIR verification crashes on piglit tests
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Jul 24 17:24:44 UTC 2018
https://bugs.freedesktop.org/show_bug.cgi?id=107366
Bug ID: 107366
Summary: NIR verification crashes on piglit tests
Product: Mesa
Version: git
Hardware: Other
OS: All
Status: NEW
Keywords: bisected, regression
Severity: normal
Priority: medium
Component: Drivers/DRI/i965
Assignee: danylo.piliaiev at gmail.com
Reporter: mark.a.janes at intel.com
QA Contact: intel-3d-bugs at lists.freedesktop.org
CC: baker.dylan.c at gmail.com, jason at jlekstrand.net
Running piglit tests with NIR_TEST_CLONE=true NIR_TEST_SERIALIZE=true,
thousands of piglit tests crash:
NIR_TEST_CLONE=true NIR_TEST_SERIALIZE=true
/tmp/build_root/m64/lib/piglit/bin/shader_runner
/tmp/build_root/m64/lib/piglit/generated_tests/spec/arb_tessellation_shader/execution/built-in-functions/tcs-op-mult-float-mat4.shader_test
-auto -fbo
piglit: debug: Requested an OpenGL 3.2 Core Context, and received a matching
4.5 context
Segmentation fault
Bisected to:
d219521379626ebf2bff63e4a9c2f92725b3926a is the first bad commit
commit d219521379626ebf2bff63e4a9c2f92725b3926a
Author: Danylo Piliaiev <danylo.piliaiev at gmail.com>
Date: Wed Jul 11 15:29:00 2018 +0300
i965: Sweep NIR after linking phase to free held memory
After optimization passes and many trasfromations most of memory
NIR holds is a garbage which was being freed only after shader deletion.
Freeing it at the end of linking will save memory which would be useful
in case there are a lot of complex shaders being compiled.
The common case for this issue is 32bit game running under Wine.
The cost of the optimization is around ~3-5% of compilation speed
with complex shaders.
V2: by Jason Ekstrand
- Move nir_sweep up, right after the last change of NIR
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103274
Signed-off-by: Danylo Piliaiev <danylo.piliaiev at globallogic.com>
Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
Cc: mesa-stable at lists.freedesktop.org
--
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20180724/b25c6a8b/attachment-0001.html>
More information about the intel-3d-bugs
mailing list