Summary: | [i965 Bisected]Ogles1conform/Ogles2conform/Ogles3conform cases segfault | ||
---|---|---|---|
Product: | Mesa | Reporter: | lu hua <huax.lu> |
Component: | Drivers/DRI/i965 | Assignee: | Chad Versace <chadversary> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | blocker | ||
Priority: | highest | CC: | chadversary, xunx.fang |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
xform_output
Potential fix |
Description
lu hua
2013-04-12 02:35:48 UTC
All Ogles2conform and Ogles3conform cases also segfault with same bisect commit. spec_EGL_NOK_swap_region_basic fails on Haswell, has same bisect commit. Run test case with vblank_mode=0, it won't crash. The culprit commit effectively changed vblank_mode to other value, which exposed bugs that are hidden before. Created attachment 78354 [details] [review] Potential fix The attached patch fixes the segfault when running ``taro run ./conform -s -v 2 -1 xform.c``. The patch lives at git://people.freedesktop.org/~chadversary/mesa branch=bug/fdo-63447. Please verify that this patch fixes all the segfaults that you are seeing. Fixed by this patch. Patch is now submitted to mesa-dev list. Fixed by commit commit d3dfce32768dd698d12948987f93680ce02d465a Author: Chad Versace <chad.versace@linux.intel.com> Date: Tue Apr 23 04:17:48 2013 +0200 egl/dri2: Fix min/max swap interval of configs Verified.Fixed. It happens on 9.1 branch, Bisect shows: d1b4165fcf79a75fc0ce8a81445ce58666103770 is the first bad commit. commit d1b4165fcf79a75fc0ce8a81445ce58666103770 Author: Ralf Jung <post@ralfj.de> Date: Tue Apr 9 14:09:50 2013 +0200 egl/x11: Fix initialisation of swap_interval The EGLConfig attributes EGL_MIN/MAX_SWAP_INTERVAL were incorrectly set to 0 and 0. This prevented clients from setting the swap interval to a reasonable value, like 1 or 2. Swap interval worked correctly in Mesa 9.0. The commit below introduced the bug. commit 7e9bd2b2ed35a440a96362417100a7e43715d606 Author: Eric Anholt <eric@anholt.net> Date: Tue Sep 25 14:05:30 2012 -0700 egl: Add support for driconf control of swapinterval. Note: This is a candidate for the 9.1 branch. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=63078 [chadv: Wrote commit message] Reviewed-by: Chad Versace <chad.versace@linux.intel.com> Reviewed-by: Eric Anholt <eric@anholt.net> (cherry picked from commit 3998f8c6b5da1a223926249755e54d8f701f81ab) Fixed on 9.1 branch. commit 3933e653289d31d38d233cd0ddfebe6bd2d4eb04 Author: Chad Versace <chad.versace@linux.intel.com> AuthorDate: Tue Apr 23 04:17:48 2013 +0200 Commit: Ian Romanick <ian.d.romanick@intel.com> CommitDate: Mon May 13 09:14:24 2013 -0700 egl/dri2: Fix min/max swap interval of configs The commit below exposed a bug in dri2_add_config. commit 3998f8c6b5da1a223926249755e54d8f701f81ab Author: Ralf Jung <post@ralfj.de> Date: Tue Apr 9 14:09:50 2013 +0200 egl/x11: Fix initialisation of swap_interval |
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.