From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 102491] OpenCL app gets CL_OUT_OF_HOST_MEMORY on Cape Verde 7770 Date: Thu, 28 Dec 2017 13:08:08 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1297873885==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 4AE738920C for ; Thu, 28 Dec 2017 13:08:08 +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 --===============1297873885== Content-Type: multipart/alternative; boundary="15144664881.74A2A3d.10098"; charset="UTF-8" --15144664881.74A2A3d.10098 Date: Thu, 28 Dec 2017 13:08:08 +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=3D102491 --- Comment #5 from ka.nick@mail.ru --- I managed to make it work somehow, but it's still unusable due to producing artifacts on images processed using opencl on darktable and few other progr= ams I tried. So probably the title should be changed. However, CL_OUT_OF_HOST_MEMORY error may be removed via envitonment var setting, namely=20 export GPU_FORCE_64BIT_PTR=3D1 also export GPU_USE_SYNC_OBJECTS=3D1 export GPU_MAX_ALLOC_PERCENT=3D100 export GPU_SINGLE_ALLOC_PERCENT=3D100 export GPU_MAX_HEAP_SIZE=3D100 are recommended but I haven't noticed any difference. What I've noticed, however, is that the driver reports the different amount= of available GPU memory each time darktable is started... --=20 You are receiving this mail because: You are the assignee for the bug.= --15144664881.74A2A3d.10098 Date: Thu, 28 Dec 2017 13:08:08 +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

Commen= t # 5 on bug 10249= 1 from ka.nick@mail.ru
I managed to make it work somehow, but it's still unusable due=
 to producing
artifacts on images processed using opencl on darktable and few other progr=
ams
I tried. So probably the title should be changed.

However, CL_OUT_OF_HOST_MEMORY error may be removed via envitonment var
setting, namely=20

export GPU_FORCE_64BIT_PTR=3D1

also

export GPU_USE_SYNC_OBJECTS=3D1
export GPU_MAX_ALLOC_PERCENT=3D100
export GPU_SINGLE_ALLOC_PERCENT=3D100
export GPU_MAX_HEAP_SIZE=3D100

are recommended but I haven't noticed any difference.
What I've noticed, however, is that the driver reports the different amount=
 of
available GPU memory each time darktable is started...


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