| Summary: | regression after "st/mesa: rewrite st_choose_format() to be table driven" | ||
|---|---|---|---|
| Product: | Mesa | Reporter: | Andrew Randrianasulu <randrik> |
| Component: | Mesa core | Assignee: | Brian Paul <brian.e.paul> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | medium | ||
| Version: | git | ||
| Hardware: | x86 (IA32) | ||
| OS: | Linux (All) | ||
| Whiteboard: | |||
| i915 platform: | i915 features: | ||
| Attachments: | debug patch for st_format.c | ||
|
Description
Andrew Randrianasulu
2011-05-27 04:28:52 UTC
If I send you a debug patch for st_format.c can you do some additional testing? (In reply to comment #1) > If I send you a debug patch for st_format.c can you do some additional testing? Sure, yes. On top of current git master ? Created attachment 47229 [details] [review] debug patch for st_format.c Here's a patch against git master. It compares the old format selection against the new one. If they don't match an error is printed and the assertion will fail. Let me know what you get. Thanks. (In reply to comment #3) > Created an attachment (id=47229) [details] > debug patch for st_format.c > > Here's a patch against git master. It compares the old format selection > against the new one. If they don't match an error is printed and the assertion > will fail. Let me know what you get. Thanks. Still same black screen at loading, no assertion. But if I change in 3DMark200SE's settings Z-buffer depth from 32 (default) to 24 - loading screen and first game benchmark runs fine. Are you sure the above-mentioned commit is the one at fault? The next commit changed the selection priority for some Z/depth formats: commit cd5417aac72ae1de85dd6bca3d53d2e2f2d7e546 Author: Brian Paul <brianp@vmware.com> Date: Tue May 24 08:59:09 2011 -0600 st/mesa: prefer formats without stencil for DEPTH_COMPONENT for fast Z clears to be used more often. Original patch by Marek Olšák. Rebased to table-driven st_choose_format() by Brian Paul. That sounds like the more likely culprit. (In reply to comment #5) > Are you sure the above-mentioned commit is the one at fault? > > The next commit changed the selection priority for some Z/depth formats: > > commit cd5417aac72ae1de85dd6bca3d53d2e2f2d7e546 > Author: Brian Paul <brianp@vmware.com> > Date: Tue May 24 08:59:09 2011 -0600 > > st/mesa: prefer formats without stencil for DEPTH_COMPONENT > > for fast Z clears to be used more often. > > Original patch by Marek Olšák. Rebased to table-driven st_choose_format() > by Brian Paul. > > That sounds like the more likely culprit. Revert "st/mesa: prefer formats without stencil for DEPTH_COMPONENT" has no positive effect on this bug.... [PATCH\ 2_4]\ st_mesa:\ add\ GL_DEPTH_COMPONENT32\ fallback\ formats.eml fixes it .... from http://article.gmane.org/gmane.comp.video.mesa3d.devel/26602 Fixed in latest mesa git |
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.