From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 82717] OpenCL support for mandelbulber-opencl Date: Wed, 22 Mar 2017 16:43:21 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0611970000==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id CD8A46E903 for ; Wed, 22 Mar 2017 16:43:20 +0000 (UTC) In-Reply-To: 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 --===============0611970000== Content-Type: multipart/alternative; boundary="14902010001.bD1f4.3735"; charset="UTF-8" --14902010001.bD1f4.3735 Date: Wed, 22 Mar 2017 16:43:20 +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=3D82717 --- Comment #8 from Christoph Haag --- To document the current state... Recently I was getting "unsupported call to function get_global_id" so I assumed there was some llvm problem. Turns out if this happens you just nee= d to rebuild libclc for your llvm version. With these patches mandelbulber-opencl sorta works: https://cgit.freedesktop.org/~funfunctor/mesa/log/?h=3Dclover-image-support= -enabled When I first tested the patches, I made this Video: https://www.youtube.com/watch?v=3D-R-r0CEub74 The rendering actually looks close to how OpenCL from amdgpu-pro renders. Today it sorta works, but looks worse. Some comparison screenshots: Default view: clover: https://i.imgur.com/kct6anR.png amdgpu-pro: https://i.imgur.com/1FIQ07m.jpg A little bit zoomed in; clover: https://i.imgur.com/5SmwL6Q.png amdgpu: https://i.imgur.com/CcPwcpl.png Possibly it's just an image format mismatch, see https://cgit.freedesktop.org/~funfunctor/mesa/commit/?h=3Dclover-image-supp= ort-enabled&id=3D894fb7c558e83534855516b499bf66b33397e1ac --=20 You are receiving this mail because: You are the assignee for the bug.= --14902010001.bD1f4.3735 Date: Wed, 22 Mar 2017 16:43:20 +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

Comment= # 8 on bug 82717<= /a> from Christoph Haag
To document the current state...

Recently I was getting "unsupported call to function get_global_id&quo=
t; so I
assumed there was some llvm problem. Turns out if this happens you just nee=
d to
rebuild libclc for your llvm version.

With these patches mandelbulber-opencl sorta works:
https://cgit.freedesktop.org/~funfunctor/mesa/log/?h=
=3Dclover-image-support-enabled

When I first tested the patches, I made this Video:
https://www.youtu=
be.com/watch?v=3D-R-r0CEub74
The rendering actually looks close to how OpenCL from amdgpu-pro renders.

Today it sorta works, but looks worse. Some comparison screenshots:

Default view:
clover: https://i.imgur.com/kct=
6anR.png
amdgpu-pro: https://i.imgur.com=
/1FIQ07m.jpg

A little bit zoomed in;
clover: https://i.imgur.com/5Sm=
wL6Q.png
amdgpu: https://i.imgur.com/CcP=
wcpl.png

Possibly it's just an image format mismatch, see
h=
ttps://cgit.freedesktop.org/~funfunctor/mesa/commit/?h=3Dclover-image-suppo=
rt-enabled&id=3D894fb7c558e83534855516b499bf66b33397e1ac


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