[Bug 102491] OpenCL app gets CL_OUT_OF_HOST_MEMORY on Cape Verde 7770

2017-12-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102491

--- Comment #5 from ka.n...@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 programs
I tried. So probably the title should be changed.

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

export GPU_FORCE_64BIT_PTR=1

also

export GPU_USE_SYNC_OBJECTS=1
export GPU_MAX_ALLOC_PERCENT=100
export GPU_SINGLE_ALLOC_PERCENT=100
export GPU_MAX_HEAP_SIZE=100

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.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 102491] OpenCL app gets CL_OUT_OF_HOST_MEMORY on Cape Verde 7770

2017-08-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102491

--- Comment #4 from ka.n...@mail.ru ---
Created attachment 133900
  --> https://bugs.freedesktop.org/attachment.cgi?id=133900&action=edit
lspci -k output

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 102491] OpenCL app gets CL_OUT_OF_HOST_MEMORY on Cape Verde 7770

2017-08-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102491

--- Comment #3 from ka.n...@mail.ru ---
Created attachment 133899
  --> https://bugs.freedesktop.org/attachment.cgi?id=133899&action=edit
darktable-cltest output

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 102491] OpenCL app gets CL_OUT_OF_HOST_MEMORY on Cape Verde 7770

2017-08-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102491

--- Comment #2 from ka.n...@mail.ru ---
Created attachment 133898
  --> https://bugs.freedesktop.org/attachment.cgi?id=133898&action=edit
Clinfo output

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 102491] OpenCL app gets CL_OUT_OF_HOST_MEMORY on Cape Verde 7770

2017-08-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102491

--- Comment #1 from ka.n...@mail.ru ---
Created attachment 133897
  --> https://bugs.freedesktop.org/attachment.cgi?id=133897&action=edit
Dmesg output

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 102491] OpenCL app gets CL_OUT_OF_HOST_MEMORY on Cape Verde 7770

2017-08-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102491

Bug ID: 102491
   Summary: OpenCL app gets CL_OUT_OF_HOST_MEMORY on Cape Verde
7770
   Product: DRI
   Version: unspecified
  Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
  Severity: normal
  Priority: medium
 Component: DRM/AMDgpu-pro
  Assignee: dri-devel@lists.freedesktop.org
  Reporter: ka.n...@mail.ru

Created attachment 133896
  --> https://bugs.freedesktop.org/attachment.cgi?id=133896&action=edit
Kernel config

Trying to couple mainline amdgpu driver with opencl from amdgpu-pro (installed
via Gentoo dev-libs/amdgpu-pro-opencl package) to make darktable use opencl
again.  Clinfo and apps see the opencl but when trying to create a command
queue driver returns CL_OUT_OF_HOST_MEMORY. The same behavior is reported on
Ubuntu 16.04.3 as seen here https://redmine.darktable.org/issues/11702

kernel 4.12.0-pf7 
xorg-server-1.19.3
libdrm-2.4.82
xorg-1.19.3
x11-drivers/xf86-video-amdgpu-1.3.0
dev-libs/amdgpu-pro-opencl-17.30.465504

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel