<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 - swr: GPU Caps Viewer crashes with any 3D demo"
href="https://bugs.freedesktop.org/show_bug.cgi?id=102564">102564</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>swr: GPU Caps Viewer crashes with any 3D demo
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</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>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Drivers/Gallium/swr
</td>
</tr>
<tr>
<th>Assignee</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>liviuprodea@yahoo.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=134011" name="attach_134011" title="GPU Caps Viewer randomly picked demo with OpenSWR - Visual Studio debug output screenshot">attachment 134011</a> <a href="attachment.cgi?id=134011&action=edit" title="GPU Caps Viewer randomly picked demo with OpenSWR - Visual Studio debug output screenshot">[details]</a></span>
GPU Caps Viewer randomly picked demo with OpenSWR - Visual Studio debug output
screenshot
I was trying to benchmark swr against llvmpipe using GPU Caps Viewer
(<a href="http://www.geeks3d.com/category/geeks3d/gpu-caps-viewer-geeks3d/">http://www.geeks3d.com/category/geeks3d/gpu-caps-viewer-geeks3d/</a>) as I
observed some performance gain with v17.2.0 when testing with other software,
but this didn't worked as planned. I got an instant crash on any demo I tried
regardless of what OpenGL version the demo required. Initially I thought that
GL 3.3COMPAT context enforced with MESA_GL_VERSION_OVERRIDE is the cause[1]. I
thought maybe OpenSWR doesn't support this yet or it is buggy, but that doesn't
seam to be the case. Even if I remove that from the batch script I wrote to
pass variables to Mesa before launching GPU Caps Viewer and limit myself to GL
1.2 and 2.1 demos, I still get crashes for all demos, regardless of GL
requirements being met or not.
llvmpipe doesn't crash even if you attempt to start a demo for which llvmpipe
doesn't meet the requirements. It fails cleanly.
[1]I set MESA_GL_VERSION_OVERRIDE=3.3COMPAT for convenience as it allows
running GL 1.2, 2.1 and 3.x demos without having to restart GPU Caps Viewer
with GL 3.x content for GL 3.x demos and without for GL 1.2 and 2.1 demos.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>