<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 - [r600g]OpenCL driver causes process to hang in ImageMagick's Gaussian Blur kernel"
href="https://bugs.freedesktop.org/show_bug.cgi?id=99488">99488</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[r600g]OpenCL driver causes process to hang in ImageMagick's Gaussian Blur kernel
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr>
<tr>
<th>Version</th>
<td>git
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (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/r600
</td>
</tr>
<tr>
<th>Assignee</th>
<td>dri-devel@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>nixscripter@gmail.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>dri-devel@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>(Bug number three. I can almost taste victory...)
If I compile ImageMagick with OpenCL support, the current version will hang
when I invoke the Gaussian blur operation. More specifically, the CPU will run
at 100%, and memory consumed by the process will increase indefinitely at 19 MB
per second, but nothing will happen.
The blur operation is done internally for many other operations, so this issue
is more crippling than it first appears.
To reproduce:
1. Get the current tree of ImageMagick from GitHub:
<a href="https://github.com/ImageMagick/ImageMagick">https://github.com/ImageMagick/ImageMagick</a>
2. Compile it with OpenCL and HDRI support (--enable-opencl --enable-hdri
flags).
3. Get an image, and try to perform a simple Gaussian blur:
convert input.png -blur 0x20 output.png
4. The hang will occur... at least, on my system.
I mentioned this in another bug, and was told that on different hardware than
mine (I have a Radeon HD 5700, which is an Evergreen chipset) all of the
ImageMagick self-tests pass.
The source code for all OpenCL kernels is in
MagickCore/accelerate-kernels-private.h. Several functions are involved with
blurring, and unfortunately it's difficult to identify the source of the hang.
I would be happy to provide debugging information if I could be advised on how
to collect it.
LLVM version: r292714
Mesa version: commit bb5db5564
ImageMagick version: commit 43a09ba75 (Note: the next git revision was broken
by upstream)</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>