Skip to contentSkip to conversation

New: [radeonsi] Gimp OpenCL does not work

Bug 74973 [email protected] 1 participant 11 messages Feb 14, 2014 – Nov 19, 2019

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=74973

Priority: medium
Bug ID: 74973
Assignee: [email protected]
Summary: [radeonsi] Gimp OpenCL does not work
Severity: normal
Classification: Unclassified
OS: All
Reporter: [email protected]
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

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

[Bug 74973] [radeonsi] Gimp OpenCL does not work

https://bugs.freedesktop.org/show_bug.cgi?id=74973

--- Comment #1 from Michel Dänzer <[email protected]> --- Please provide more information about the crash; at least the stderr output from gimp, preferably with R600_DEBUG=cs.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw

[Bug 74973] [radeonsi] Gimp OpenCL does not work

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=74973

--- Comment #2 from darkbasic <[email protected]> --- 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.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw

[Bug 74973] [radeonsi] Gimp OpenCL does not work

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=74973

--- Comment #3 from darkbasic <[email protected]> --- 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"

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw

[Bug 74973] [radeonsi] Gimp OpenCL does not work

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=74973

Vedran Miletić <[email protected]> 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

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw

[Bug 74973] [radeonsi] Gimp OpenCL does not work

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=74973

--- Comment #4 from Jan Vesely <[email protected]> --- does GIMP use OpenGL other than GEGL library?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw

[Bug 74973] [radeonsi] Gimp OpenCL does not work

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=74973

--- Comment #5 from darkbasic <[email protected]> --- Not sure, but I don't think so. AFAIK it' only GEGL-related stuff.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#7 lore raw

[Bug 74973] [radeonsi] Gimp OpenCL does not work

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=74973

--- Comment #6 from Jan Vesely <[email protected]> --- (In reply to darkbasic from comment #5)

Quoted 1 line

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?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#8 lore raw

[Bug 74973] [radeonsi] Gimp OpenCL does not work

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=74973

--- Comment #7 from darkbasic <[email protected]> ---
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.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#9 lore raw

[Bug 74973] [radeonsi] Gimp OpenCL does not work

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=74973

--- Comment #8 from Jan Vesely <[email protected]> --- (In reply to darkbasic from comment #7)

Quoted 2 lines

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

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#10 lore raw

[Bug 74973] [radeonsi] Gimp OpenCL does not work

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=74973

Martin Peres <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |MOVED

--- Comment #9 from Martin Peres <[email protected]> --- -- 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.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel