From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 99488] [r600g]OpenCL driver causes process to hang in ImageMagick's Gaussian Blur kernel Date: Sun, 22 Jan 2017 07:23:32 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1586148400==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id E6FC96E2FB for ; Sun, 22 Jan 2017 07:23:32 +0000 (UTC) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1586148400== Content-Type: multipart/alternative; boundary="14850698120.7Be4feC.15087"; charset="UTF-8" --14850698120.7Be4feC.15087 Date: Sun, 22 Jan 2017 07:23:32 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D99488 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 1= 9 MB per second, but nothing will happen. The blur operation is done internally for many other operations, so this is= sue 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 th= an 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 ha= ng. 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 brok= en by upstream) --=20 You are receiving this mail because: You are the assignee for the bug.= --14850698120.7Be4feC.15087 Date: Sun, 22 Jan 2017 07:23:32 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated
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 1=
9 MB
per second, but nothing will happen.

The blur operation is done internally for many other operations, so this is=
sue
is more crippling than it first appears.

To reproduce:

1. Get the current tree of ImageMagick from GitHub:
https://github.com/I=
mageMagick/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 th=
an
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 ha=
ng.
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 brok=
en
by upstream)


You are receiving this mail because:
  • You are the assignee for the bug.
= --14850698120.7Be4feC.15087-- --===============1586148400== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1586148400==--