Summary: | [bisected SNB] HiZ make many oglc cases regressed | ||
---|---|---|---|
Product: | Mesa | Reporter: | fangxun <xunx.fang> |
Component: | Drivers/DRI/i965 | Assignee: | Chad Versace <chadversary> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | major | ||
Priority: | high | CC: | eugeni |
Version: | git | ||
Hardware: | All | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Bug Depends on: | 44749 | ||
Bug Blocks: | 42993 | ||
Attachments: |
Script I used to run this bug report's oglconform tests.
Log from running attached script bug-43327-run-oglconform |
Description
fangxun
2011-11-29 01:50:05 UTC
*** Bug 43294 has been marked as a duplicate of this bug. *** *** Bug 43296 has been marked as a duplicate of this bug. *** Created attachment 54378 [details]
Script I used to run this bug report's oglconform tests.
Created attachment 54379 [details]
Log from running attached script bug-43327-run-oglconform
fangxun,
I've run all the oglc tests listed in the report against master 23895cc on Sandybridge. The only one that fails for me is
>> Blend Func seprate EXT Function (blend-separate) test:
--> 1.1 - basic.allCases subcase:
Mesa: User error: GL_INVALID_OPERATION in glDrawPixels(no depth buffer)
Could you confirm that this is the only test that still fails? I've attached the script that I used to run the tests and the output log.
These cases still fails against master 23895cc on Sandybridge. I've confirmed that oglconform64 args -z -s -suite all -v 2 -D 115 -test scissor basic.allCases is segfaulting on mesa 23895cc006f. But this segfault is seemingly not related to HiZ. Below is the backtrace. What happens is that oglc fails to obtain a valid GLXFBConfig from glXChooseFBConfig, and makes the mistake of referencing the returned null pointer. Fangxun, oglconform is new to me. And before continuing to debug this, I want to verify with you that we are both looking at the same bug. Please confirm that this is the same backtrace that is causing the test to fail on your machine. #0 0x000000000113d1cc in FbConfig::get_config_with_id (dpy=..., id=115) at /home/chad/proj/com.intel.ogl conform/out/work/debug.corei7/build/src/CONFSHEL/windowing.cpp:652 #1 0x000000000113b460 in FbConfig::FbConfig (this=0x7fffffffd9a0, dpy=..., fb_config_id=115, type=FbConf ig::FB_CONFIG_MODERN) at /home/chad/proj/com.intel.oglconform/out/work/debug.corei7/build/src/CONFSHEL/wi ndowing.cpp:173 #2 0x000000000116ca12 in ScheduleManager::one_format (this=0x7fffffffda70, dpy=..., format=115) at /home /chad/proj/com.intel.oglconform/out/work/debug.corei7/build/src/CONFSHEL/scheduler.cpp:561 #3 0x000000000110520c in tkShellExecute (testSchedule=std::vector of length 1, capacity 1 = {...}, filte r=std::vector of length 0, capacity 0) at /home/chad/proj/com.intel.oglconform/out/work/debug.corei7/buil d/src/CONFSHEL/ctkshell.c:67 #4 0x000000000110e5aa in main (argc=12, argv=0x7fffffffdd98) at /home/chad/proj/com.intel.oglconform/out /work/debug.corei7/build/src/CONFSHEL/shell.c:691 chad, there is new regression on oglc scissor(basic.allCases) against master 23895cc, you can see bug 43783. According to my bisect, Hiz make oglc scissor(basic.allCases) failed, and after that, new regression make it segfaulted. My backtrace is different to your backtace(see bug 43783). From your backtrace, the visual ID 115 didn't exist. You can find the actual Visual ID in your machine according to below attributes that used in our testing, or you can use all visuals to run "oglconform64 args -z -s -suite all -v 2 -test scissor basic.allCases". |ACCELERA|DB |REND_T |SURF_T |C_BUF_T |BUF_S |RED_S | | 1| 1| gl| wipbpx| rgba| 32| 8| GREEN_S |BLUE_S |ALPHA_S |DEPTH_S |STENC_S |ACCUM_S |SPL_BUF |SAMPLES | 8| 8| 8| 24| 8| 64| 0| 0| SRGB |TEX_RGB |TEX_RGBA|CAVEAT |SWAP |M_PBUF_W|M_PBUF_H|M_PBUF_P -1| 0| 0| slow| undef| 0| 0| 0 Adding dependency https://bugs.freedesktop.org/show_bug.cgi?id=44749 . That patch in that bug report fixes many of these tests on master. Below is the current status of these tests on Sandybridge as of commit dc435ae774b1deed3d00b7c7d33133c08b626737 Author: Paul Berry <stereotype441@gmail.com> Date: Tue Jan 24 12:16:29 2012 -0800 pass: api-color.basic.allCases.log fail: api-fogcoord.basic.allCases.log fail: api-mtexcoord.basic.allCases.log fail: api-seccolor.basic.allCases.log fail: api-texcoord.basic.allCases.log pass: bitmap-draw.basic.allCases.log pass: blend-constcolor.basic.allCases.log pass: blendfunc.basic.drawBitmap.SrcOneMinusDstAlpha.src.log pass: blendfunc.basic.drawBitmap.SrcSrcAlphaSaturate.misc.log fail: blend-separate.basic.allCases.log fail: colorsum.basic.allCases.log uknonwn: depthrange.basic.depthRangeRasterPos.log uknonwn: depthwrite.basic.bitmap.log pass: drawbuffer.basic.allCases.log pass: feedback.basic.lineLoopRender.log pass: feedback.basic.lineRender.log pass: feedback.basic.lineStripRender.log pass: feedback.basic.pointRender.log pass: feedback.basic.polyFillRender.log pass: feedback.basic.polyLineRender.log pass: feedback.basic.polyPointRender.log pass: feedback.basic.triFanRender.log pass: feedback.basic.triRender.log pass: feedback.basic.triStripRender.log pass: mustpass.basic.feedback.log pass: mustpass.basic.select.log uknonwn: pxtrans-copy.advanced.stencilTest.noFbo.log pass: scissor.basic.allCases.log pass: select.basic.line.log pass: select.basic.lineLoop.log pass: select.basic.polyFill.log pass: select.basic.polyLine.log pass: select.basic.polyPoint.log pass: select.basic.quad.log pass: select.basic.quadStrip.log pass: select.basic.triFan.log pass: select.basic.tri.log pass: select.basic.triStrip.log uknonwn: separatestencil-neu.NonPolygon.BothFacesBitmapCoreAPI.log uknonwn: separatestencil-neu.NonPolygon.BothFacesBitmapExtAPI.log uknonwn: spAuxTwoSided.basic.allCases.log uknonwn: spop.advanced.allMasks.log uknonwn: spop.basic.fewMasks.log uknonwn: spopTwoSided.basic.allCases.log pass: texgen.basic.allCases.log pass: zbfunc.basic.glEqual.bitmap.log pass: zbfunc.basic.glGequal.bitmap.log pass: zbfunc.basic.glGreater.bitmap.log Fixed on master by: commit 7b36c68ba6899c7f30fd56b7ef07a78b027771ac Author: Chad Versace <chad.versace@linux.intel.com> i965: Rewrite the HiZ op I've tested all oglc tests with visual 133 (which has depth24/stencil8) and visual 135 (which has depth0/stencil0). Reopening bug. idr requested that I leave the bug open until it is fixed on 8.0. (In reply to comment #11) > Reopening bug. > idr requested that I leave the bug open until it is fixed on 8.0. Right. Xun, please verify with tonight's master. verify with mesa master d2c54fb5223efee699862bef56177027edc140bc. Marking RESOLVED/FIXED. The fixes were recentlycherry-picked to 8.0. Verified with mesa 8.0 branch(99f9c9789a2d316d97ca6791343fb697f220929e). |
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.