<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Broken INTEL_DEBUG=shader_time output"
href="https://bugs.freedesktop.org/show_bug.cgi?id=106382">106382</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Broken INTEL_DEBUG=shader_time output
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr>
<tr>
<th>Version</th>
<td>git
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Keywords</th>
<td>bisected, regression
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Drivers/DRI/i965
</td>
</tr>
<tr>
<th>Assignee</th>
<td>intel-3d-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>eero.t.tamminen@intel.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>intel-3d-bugs@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>INTEL_DEBUG=shader_time is currently obviously broken (e.g. for GfxBench
Manhattan):
--------------------------------------------------------------------------
type ID cycles spent % of total
fs8 glsl 373: 90 ( 0.00 Gcycles) 0.0%
fs8 ff : 172370 ( 0.00 Gcycles) 0.0%
vs ff : 344888 ( 0.00 Gcycles) 0.0%
fs16 glsl 373: 8305920 ( 0.01 Gcycles) 0.0%
fs16 ff : 11216436 ( 0.01 Gcycles) 0.0%
vs glsl 373: 343586468912 ( 343.59 Gcycles) 100.0%
total vs : 343586813800 ( 343.59 Gcycles) 100.0%
total tcs : 0 ( 0.00 Gcycles) 0.0%
total tes : 0 ( 0.00 Gcycles) 0.0%
total gs : 0 ( 0.00 Gcycles) 0.0%
total fs8 : 172460 ( 0.00 Gcycles) 0.0%
total fs16 : 19522356 ( 0.02 Gcycles) 0.0%
total cs : 0 ( 0.00 Gcycles) 0.0%
--------------------------------------------------------------------------
(Doesn't catch all shaders, bogus claim of VS taking all cycles.)
Whereas it looked OK earlier:
--------------------------------------------------------------------------
type ID cycles spent % of total
...
fs16 145: 78882844194 ( 78.88 Gcycles) 5.3%
fs16 130: 81080453640 ( 81.08 Gcycles) 5.5%
fs16 100: 89160006304 ( 89.16 Gcycles) 6.0%
fs8 100: 97493340722 ( 97.49 Gcycles) 6.6%
fs8 145: 109074002940 ( 109.07 Gcycles) 7.4%
vs 25: 141904285068 ( 141.90 Gcycles) 9.6%
vs 145: 163587049558 ( 163.59 Gcycles) 11.1%
vs 130: 210961326200 ( 210.96 Gcycles) 14.3%
vs glsl 373: 365123108520 ( 365.12 Gcycles) 24.7%
total vs : 950461159406 ( 950.46 Gcycles) 64.3%
total tcs : 0 ( 0.00 Gcycles) 0.0%
total tes : 0 ( 0.00 Gcycles) 0.0%
total gs : 0 ( 0.00 Gcycles) 0.0%
total fs8 : 273197670631 ( 273.20 Gcycles) 18.5%
total fs16 : 254685996871 ( 254.69 Gcycles) 17.2%
total cs : 0 ( 0.00 Gcycles) 0.0%
--------------------------------------------------------------------------
This is the commit breaking shader_time (I had to bisect it twice):
--------------------------------------------------------------------------
002cb6f2b330434763b0fd8a51ac2f0eb8f5d65f is the first bad commit
commit 002cb6f2b330434763b0fd8a51ac2f0eb8f5d65f
Author: Iago Toral Quiroga <<a href="mailto:itoral@igalia.com">itoral@igalia.com</a>>
Date: Fri Mar 2 11:12:38 2018 +0100
anv/pipeline: support SpvCapabilityInt16 in gen8+
Reviewed-by: Jason Ekstrand <<a href="mailto:jason@jlekstrand.net">jason@jlekstrand.net</a>>
--------------------------------------------------------------------------
No idea how it can do that (I wasn't building with debug enabled).</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>