All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 102491] OpenCL app gets CL_OUT_OF_HOST_MEMORY on Cape Verde 7770
@ 2017-08-31  8:33 bugzilla-daemon
  2017-08-31  8:34 ` bugzilla-daemon
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: bugzilla-daemon @ 2017-08-31  8:33 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 1244 bytes --]

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.nick@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.

[-- Attachment #1.2: Type: text/html, Size: 2702 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] 8+ messages in thread

* [Bug 102491] OpenCL app gets CL_OUT_OF_HOST_MEMORY on Cape Verde 7770
  2017-08-31  8:33 [Bug 102491] OpenCL app gets CL_OUT_OF_HOST_MEMORY on Cape Verde 7770 bugzilla-daemon
@ 2017-08-31  8:34 ` bugzilla-daemon
  2017-08-31  8:34 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2017-08-31  8:34 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 288 bytes --]

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

--- Comment #1 from ka.nick@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.

[-- Attachment #1.2: Type: text/html, Size: 1173 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] 8+ messages in thread

* [Bug 102491] OpenCL app gets CL_OUT_OF_HOST_MEMORY on Cape Verde 7770
  2017-08-31  8:33 [Bug 102491] OpenCL app gets CL_OUT_OF_HOST_MEMORY on Cape Verde 7770 bugzilla-daemon
  2017-08-31  8:34 ` bugzilla-daemon
@ 2017-08-31  8:34 ` bugzilla-daemon
  2017-08-31  8:35 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2017-08-31  8:34 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 289 bytes --]

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

--- Comment #2 from ka.nick@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.

[-- Attachment #1.2: Type: text/html, Size: 1176 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] 8+ messages in thread

* [Bug 102491] OpenCL app gets CL_OUT_OF_HOST_MEMORY on Cape Verde 7770
  2017-08-31  8:33 [Bug 102491] OpenCL app gets CL_OUT_OF_HOST_MEMORY on Cape Verde 7770 bugzilla-daemon
  2017-08-31  8:34 ` bugzilla-daemon
  2017-08-31  8:34 ` bugzilla-daemon
@ 2017-08-31  8:35 ` bugzilla-daemon
  2017-08-31  8:37 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2017-08-31  8:35 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 299 bytes --]

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

--- Comment #3 from ka.nick@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.

[-- Attachment #1.2: Type: text/html, Size: 1206 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] 8+ messages in thread

* [Bug 102491] OpenCL app gets CL_OUT_OF_HOST_MEMORY on Cape Verde 7770
  2017-08-31  8:33 [Bug 102491] OpenCL app gets CL_OUT_OF_HOST_MEMORY on Cape Verde 7770 bugzilla-daemon
                   ` (2 preceding siblings ...)
  2017-08-31  8:35 ` bugzilla-daemon
@ 2017-08-31  8:37 ` bugzilla-daemon
  2017-12-28 13:08 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2017-08-31  8:37 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 291 bytes --]

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

--- Comment #4 from ka.nick@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.

[-- Attachment #1.2: Type: text/html, Size: 1182 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] 8+ messages in thread

* [Bug 102491] OpenCL app gets CL_OUT_OF_HOST_MEMORY on Cape Verde 7770
  2017-08-31  8:33 [Bug 102491] OpenCL app gets CL_OUT_OF_HOST_MEMORY on Cape Verde 7770 bugzilla-daemon
                   ` (3 preceding siblings ...)
  2017-08-31  8:37 ` bugzilla-daemon
@ 2017-12-28 13:08 ` bugzilla-daemon
  2017-12-28 13:09 ` [Bug 102491] OpenCL image processing produces artifacts " bugzilla-daemon
  2019-11-19  7:58 ` bugzilla-daemon
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2017-12-28 13:08 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 842 bytes --]

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

--- 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 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.

[-- Attachment #1.2: Type: text/html, Size: 1611 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] 8+ messages in thread

* [Bug 102491] OpenCL image processing produces artifacts on Cape Verde 7770
  2017-08-31  8:33 [Bug 102491] OpenCL app gets CL_OUT_OF_HOST_MEMORY on Cape Verde 7770 bugzilla-daemon
                   ` (4 preceding siblings ...)
  2017-12-28 13:08 ` bugzilla-daemon
@ 2017-12-28 13:09 ` bugzilla-daemon
  2019-11-19  7:58 ` bugzilla-daemon
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2017-12-28 13:09 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 507 bytes --]

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

ka.nick@mail.ru changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|OpenCL app gets             |OpenCL image processing
                   |CL_OUT_OF_HOST_MEMORY on    |produces artifacts on Cape
                   |Cape Verde 7770             |Verde 7770

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1133 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] 8+ messages in thread

* [Bug 102491] OpenCL image processing produces artifacts on Cape Verde 7770
  2017-08-31  8:33 [Bug 102491] OpenCL app gets CL_OUT_OF_HOST_MEMORY on Cape Verde 7770 bugzilla-daemon
                   ` (5 preceding siblings ...)
  2017-12-28 13:09 ` [Bug 102491] OpenCL image processing produces artifacts " bugzilla-daemon
@ 2019-11-19  7:58 ` bugzilla-daemon
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2019-11-19  7:58 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 804 bytes --]

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

Martin Peres <martin.peres@free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |MOVED
             Status|NEW                         |RESOLVED

--- Comment #6 from Martin Peres <martin.peres@free.fr> ---
-- 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/13.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2405 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-11-19  7:58 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-31  8:33 [Bug 102491] OpenCL app gets CL_OUT_OF_HOST_MEMORY on Cape Verde 7770 bugzilla-daemon
2017-08-31  8:34 ` bugzilla-daemon
2017-08-31  8:34 ` bugzilla-daemon
2017-08-31  8:35 ` bugzilla-daemon
2017-08-31  8:37 ` bugzilla-daemon
2017-12-28 13:08 ` bugzilla-daemon
2017-12-28 13:09 ` [Bug 102491] OpenCL image processing produces artifacts " bugzilla-daemon
2019-11-19  7:58 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.