* [Bug 107115] Make darktable OpenCL support work on Clover and RadeonSI
@ 2018-07-04 19:30 bugzilla-daemon
2018-07-04 19:30 ` bugzilla-daemon
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: bugzilla-daemon @ 2018-07-04 19:30 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 2263 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=107115
Bug ID: 107115
Summary: Make darktable OpenCL support work on Clover and
RadeonSI
Product: Mesa
Version: git
Hardware: x86-64 (AMD64)
OS: FreeBSD
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/radeonsi
Assignee: dri-devel@lists.freedesktop.org
Reporter: greg@unrelenting.technology
QA Contact: dri-devel@lists.freedesktop.org
Hi everyone, I've tried to get the darktable photo editor
https://www.darktable.org to work, and there's more to it than image support...
First, I've picked up funfunctor's patches (mentioned in bug 99553), they
applied cleanly to master (except for the little one-line "= 1" since the
r600/radeonsi split happened, but that was trivial to fix). My branch with them
is https://github.com/myfreeweb/mesa/tree/clover-image
Second, there was some weird mismatch between libclc's headers and darktable's
code, and I've had to do:
%s/write_only image2d_t/image2d_t
and
%s/__image2d_t/image2d_t
on all files in PREFIX/share/darktable/kernels.
Third, the liquify.cl kernel triggered the
https://bugs.llvm.org/show_bug.cgi?id=36679 crash (which is fixed in llvm 7...
but I just removed the function body to proceed without this particular effect)
And finally, with all kernels compiled, darktable benchmarked CPU vs GPU and
found the CPU to be a bit faster (yay for Ryzen) and disabled OpenCL usage.
Enabling OpenCL usage in the settings and then double clicking on an image...
uhh... hard locked the GPU :D
drmn0: GPU fault detected: 147 0x05004402
drmn0: VM_CONTEXT1_PROTECTION_FAULT_ADDR 0x005000A0
drmn0: VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x08044002
drmn0: VM fault (0x02, vmid 4) at page 5243040, read from 'TC5' (0x54433500)
(68)
P.S. system info: AMD Radeon RX 480, FreeBSD 12-CURRENT / drm-next-kmod 4.15
(DRM 3.23.0) with amdgpu.dc=1, LLVM 6.0.0, Mesa with patches on top of git rev
c2ae9b4052701, libclc git rev c45b9dfe5257, darktable 2.4.4.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 3958 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug 107115] Make darktable OpenCL support work on Clover and RadeonSI
2018-07-04 19:30 [Bug 107115] Make darktable OpenCL support work on Clover and RadeonSI bugzilla-daemon
@ 2018-07-04 19:30 ` bugzilla-daemon
2018-07-04 19:39 ` bugzilla-daemon
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2018-07-04 19:30 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 514 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=107115
Greg V <greg@unrelenting.technology> 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
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1584 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug 107115] Make darktable OpenCL support work on Clover and RadeonSI
2018-07-04 19:30 [Bug 107115] Make darktable OpenCL support work on Clover and RadeonSI bugzilla-daemon
2018-07-04 19:30 ` bugzilla-daemon
@ 2018-07-04 19:39 ` bugzilla-daemon
2018-07-04 22:02 ` bugzilla-daemon
2018-09-09 22:35 ` bugzilla-daemon
3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2018-07-04 19:39 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 243 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=107115
--- Comment #1 from darkbasic <darkbasic@linuxsystems.it> ---
Awesome, I really hope that you will succeed!
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1045 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug 107115] Make darktable OpenCL support work on Clover and RadeonSI
2018-07-04 19:30 [Bug 107115] Make darktable OpenCL support work on Clover and RadeonSI bugzilla-daemon
2018-07-04 19:30 ` bugzilla-daemon
2018-07-04 19:39 ` bugzilla-daemon
@ 2018-07-04 22:02 ` bugzilla-daemon
2018-09-09 22:35 ` bugzilla-daemon
3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2018-07-04 22:02 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 604 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=107115
Jan Vesely <jan.vesely@rutgers.edu> changed:
What |Removed |Added
----------------------------------------------------------------------------
Depends on| |87738
--- Comment #2 from Jan Vesely <jan.vesely@rutgers.edu> ---
This sounds like darktable needs image support.
Referenced Bugs:
https://bugs.freedesktop.org/show_bug.cgi?id=87738
[Bug 87738] [OpenCL] Please add Image support
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2294 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug 107115] Make darktable OpenCL support work on Clover and RadeonSI
2018-07-04 19:30 [Bug 107115] Make darktable OpenCL support work on Clover and RadeonSI bugzilla-daemon
` (2 preceding siblings ...)
2018-07-04 22:02 ` bugzilla-daemon
@ 2018-09-09 22:35 ` bugzilla-daemon
3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2018-09-09 22:35 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 660 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=107115
Timothy Arceri <t_arceri@yahoo.com.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|dri-devel@lists.freedesktop |mesa-dev@lists.freedesktop.
|.org |org
QA Contact|dri-devel@lists.freedesktop |mesa-dev@lists.freedesktop.
|.org |org
Component|Drivers/Gallium/radeonsi |Gallium/StateTracker/Clover
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1578 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2018-09-09 22:35 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-04 19:30 [Bug 107115] Make darktable OpenCL support work on Clover and RadeonSI bugzilla-daemon
2018-07-04 19:30 ` bugzilla-daemon
2018-07-04 19:39 ` bugzilla-daemon
2018-07-04 22:02 ` bugzilla-daemon
2018-09-09 22:35 ` bugzilla-daemon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox