[Bug 99488] [r600g]OpenCL driver causes process to hang in ImageMagick's Gaussian Blur kernel
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sun Jan 22 07:23:32 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=99488
Bug ID: 99488
Summary: [r600g]OpenCL driver causes process to hang in
ImageMagick's Gaussian Blur kernel
Product: Mesa
Version: git
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/r600
Assignee: dri-devel at lists.freedesktop.org
Reporter: nixscripter at gmail.com
QA Contact: dri-devel at lists.freedesktop.org
(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:
https://github.com/ImageMagick/ImageMagick
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)
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20170122/b49ac17a/attachment.html>
More information about the dri-devel
mailing list