https://bugs.freedesktop.org/show_bug.cgi?id=74973
Priority: medium Bug ID: 74973 Assignee: dri-devel@lists.freedesktop.org Summary: [radeonsi] Gimp OpenCL does not work Severity: normal Classification: Unclassified OS: All Reporter: darkbasic@linuxsystems.it Hardware: Other Status: NEW Version: XOrg CVS Component: DRM/Radeon Product: DRI
Start gimp with GEGL_USE_OPENCL=yes Open an image, tools --> gegl operation --> motion blur --> crash
3.14 and latest graphic stack from git including llvm-3.5 and mesa 10.2
https://bugs.freedesktop.org/show_bug.cgi?id=74973
--- Comment #1 from Michel Dänzer michel@daenzer.net --- Please provide more information about the crash; at least the stderr output from gimp, preferably with R600_DEBUG=cs.
https://bugs.freedesktop.org/show_bug.cgi?id=74973
--- Comment #2 from darkbasic darkbasic@linuxsystems.it --- Created attachment 94348 --> https://bugs.freedesktop.org/attachment.cgi?id=94348&action=edit dump
I noticed it suddently started working flawlessly so I asked myself what fixed it: patches from https://bugs.freedesktop.org/show_bug.cgi?id=72785 did fix it.
I currently apply: 0001-SelectionDAG-Factor-ISD-MUL-lowering-code-out-of-DAG.patch 0002-SelectionDAG-Use-helper-function-to-improve-legaliza.patch 0001-R600-SI-Custom-select-64-bit-ADD.patch
Beware that I modified "UP.Threshold = 500" to "UP.Threshold = 100" because "bfgminer --scrypt" didn't work otherwise.
I attached dump from R600_DEBUG=cs GEGL_USE_OPENCL=yes gimp without the patches.
https://bugs.freedesktop.org/show_bug.cgi?id=74973
--- Comment #3 from darkbasic darkbasic@linuxsystems.it --- Sorry I forgot one patch: https://bugs.freedesktop.org/attachment.cgi?id=94078
This is the one with "UP.Threshold = 100" instead of "UP.Threshold = 500"
https://bugs.freedesktop.org/show_bug.cgi?id=74973
Vedran Miletić vedran@miletic.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |99553
Referenced Bugs:
https://bugs.freedesktop.org/show_bug.cgi?id=99553 [Bug 99553] Tracker bug for runnning OpenCL applications on Clover
https://bugs.freedesktop.org/show_bug.cgi?id=74973
--- Comment #4 from Jan Vesely jv356@scarletmail.rutgers.edu --- does GIMP use OpenGL other than GEGL library?
https://bugs.freedesktop.org/show_bug.cgi?id=74973
--- Comment #5 from darkbasic darkbasic@linuxsystems.it --- Not sure, but I don't think so. AFAIK it' only GEGL-related stuff.
https://bugs.freedesktop.org/show_bug.cgi?id=74973
--- Comment #6 from Jan Vesely jv356@scarletmail.rutgers.edu --- (In reply to darkbasic from comment #5)
Not sure, but I don't think so. AFAIK it' only GEGL-related stuff.
a lot of gegl tests pass OK for me on Turks. notably clone test that includes box-blur and gaussian-blur operations passes OK.
Can you retest with the latest llvm/mesa?
https://bugs.freedesktop.org/show_bug.cgi?id=74973
--- Comment #7 from darkbasic darkbasic@linuxsystems.it --- I will be able to test within a couple of months, at the moment I don't have access to a pc with such hardware.
https://bugs.freedesktop.org/show_bug.cgi?id=74973
--- Comment #8 from Jan Vesely jan.vesely@rutgers.edu --- (In reply to darkbasic from comment #7)
I will be able to test within a couple of months, at the moment I don't have access to a pc with such hardware.
Is this still an issue? gegl testsuite mostly passes with only 3 remaining tests: contrast-curve -- 7 wrong pixels clones -- 1 wrong pixel noise-cell -- fail (many wrong pixels, I think their algorithm is wrong)
comment #2 also mentions that this works OK
https://bugs.freedesktop.org/show_bug.cgi?id=74973
Martin Peres martin.peres@free.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |MOVED
--- Comment #9 from Martin Peres martin.peres@free.fr --- -- GitLab Migration Automatic Message --
This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/435.
dri-devel@lists.freedesktop.org