Summary: | Shader cache breaks INTEL_DEBUG=shader_time | ||
---|---|---|---|
Product: | Mesa | Reporter: | Eero Tamminen <eero.t.tamminen> |
Component: | Drivers/DRI/i965 | Assignee: | Jordan Justen <jljusten> |
Status: | RESOLVED FIXED | QA Contact: | Intel 3D Bugs Mailing List <intel-3d-bugs> |
Severity: | normal | ||
Priority: | medium | Keywords: | regression |
Version: | git | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Eero Tamminen
2018-05-03 14:55:07 UTC
> No idea how it can do that (I wasn't building with debug enabled).
It's not. By going backwards from Mesa head (instead of towards head, like happened with 2x bisect tries), I get the issue even with earlier commits, even when doing "make clean" before every build. There's something funky going on.
-> I don't know what commit actually causes this.
If I use MESA_GLSL_CACHE_DISABLE=true, shader_time output is sane again i.e. shader cache & shader_time are incompatible. If there's no suitable fix, at least disable shader cache automatically when shader_time is used, and/or output a warning about it. Disabling the cache probably makes the most sense. We could also put a "bool using_shader_time" in the program keys, but...I'm not sure it's worth it. https://patchwork.freedesktop.org/patch/241060/ i965: Disable shader cache with INTEL_DEBUG=shader_time Should be fixed by: commit 3887700dfd7597fba654a4a713c274213a4a8755 i965: Disable shader cache with INTEL_DEBUG=shader_time |
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.