[Bug 99488] [r600g]OpenCL driver causes process to hang in ImageMagick's Gaussian Blur kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@lists.freedesktop.org
Reporter nixscripter@gmail.com
QA Contact dri-devel@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:
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux