[Bug 108879] [CIK] [regression] All opencl apps hangs indefinitely in si_create_context

2019-04-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108879

Marek Olšák  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|NEW |RESOLVED

--- Comment #12 from Marek Olšák  ---
Should be fixed by b58e5fb6f317be771326f98d498483e45942beaf
Closing.

-- 
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 108879] [CIK] [regression] All opencl apps hangs indefinitely in si_create_context

2019-04-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108879

--- Comment #11 from Steffen Klee  ---
cl-api-enqueue-copy-buffer passes when using the workaround.

-- 
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 108879] [CIK] [regression] All opencl apps hangs indefinitely in si_create_context

2019-04-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108879

--- Comment #10 from Jan Vesely  ---
(In reply to Steffen Klee from comment #9)
> AMD R9 390 (Linux 4.14, LLVM 8.0.0, AMDGPU kernel driver, Mesa 19.0.1)
> 
> Also experiencing hangs when running clinfo and other OpenCL software.
> Applying mentioned patches results in segfaults when starting graphical
> applications as well as OpenCL software.
> 
> However, when just applying the workaround in duplicate bug 108572, comment
> 6, clinfo and other OpenCL software start working again.

Thanks for the update. Can you try running piglit cl-api-enqueue-copy-buffer
after applying the workaround? It might be just an early initialization issue
rather than a problem with compute shader clears in general.

-- 
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 108879] [CIK] [regression] All opencl apps hangs indefinitely in si_create_context

2019-04-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108879

Steffen Klee  changed:

   What|Removed |Added

 CC||steffen.k...@gmail.com

--- Comment #9 from Steffen Klee  ---
AMD R9 390 (Linux 4.14, LLVM 8.0.0, AMDGPU kernel driver, Mesa 19.0.1)

Also experiencing hangs when running clinfo and other OpenCL software.
Applying mentioned patches results in segfaults when starting graphical
applications as well as OpenCL software.

However, when just applying the workaround in duplicate bug 108572, comment 6,
clinfo and other OpenCL software start working again.

-- 
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 108879] [CIK] [regression] All opencl apps hangs indefinitely in si_create_context

2019-03-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108879

Jan Vesely  changed:

   What|Removed |Added

   See Also||https://bugs.freedesktop.or
   ||g/show_bug.cgi?id=110045

-- 
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 108879] [CIK] [regression] All opencl apps hangs indefinitely in si_create_context

2019-02-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108879

--- Comment #8 from Marco  ---
I applied the two patches:
https://lists.freedesktop.org/archives/mesa-dev/2019-February/215057.html
https://lists.freedesktop.org/archives/mesa-dev/2019-February/215058.html

but problem persist on my card:
AMD KABINI (DRM 3.27.0, 4.20.8-bfq-zstd+, LLVM 8.0.0)
AMD Radeon HD 8500M Series (HAINAN, DRM 3.27.0, 4.20.8-bfq-zstd+, LLVM 8.0.0)

The result is the same, clinfo freezes with the same stack trace

-- 
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 108879] [CIK] [regression] All opencl apps hangs indefinitely in si_create_context

2019-02-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108879

--- Comment #7 from Jan Vesely  ---
Has this patch affected the status? :
https://lists.freedesktop.org/archives/mesa-dev/2019-February/215057.html

-- 
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 108879] [CIK] [regression] All opencl apps hangs indefinitely in si_create_context

2019-02-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108879

Jan Vesely  changed:

   What|Removed |Added

 CC||mpia...@gmail.com

--- Comment #6 from Jan Vesely  ---
*** Bug 108572 has been marked as a duplicate of this bug. ***

-- 
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 108879] [CIK] [regression] All opencl apps hangs indefinitely in si_create_context

2019-02-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108879

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

[Bug 108879] [CIK] [regression] All opencl apps hangs indefinitely in si_create_context

2019-02-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108879

--- Comment #5 from Jan Vesely  ---
(In reply to Vasily Galkin from comment #2)
> GPU is
> 
> 01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI]
> Tobago PRO [Radeon R7 360 / R9 360 OEM] (rev 81) (prog-if 00 [VGA
> controller])
> 
> ("Tobago" is less common variant of "Bonaire" gpus).
> 
> Reproduced on two different motherboards (however, both are PCIe 2.0/1.1 -
> so no  PCIe3.0 atomics if it is related). Changing kernels in 4.17-4.20
> range doesn't matter. For example vanilla 4.20.0 with ubuntu config -
> 4.20.0-042000-generic can be used for issue reproduaction. Distros also
> doesn't matter I tried debian and vanilla mesa build on archlinux
> 
> Kernel parameters are: BOOT_IMAGE=/boot/vmlinuz-4.20.0-042000-generic
> root=UUID=7917286f-3223-4003-8d58-a2bff30a7730 ro quiet intel_iommu=on
> amdgpu.si_support=1 amdgpu.cik_support=1 amdgpu.dc=1
> acpi_enforce_resources=off radeon.si_support=0 radeon.cik_support=0
> radeon.modeset=1 nouveau.modeset=1 zswap.enabled=1 zswap.zpool=zsmalloc
> zswap.compressor=lz4hc zswap.max_pool_percent=42
> 

Have you tried using the radeon module?

-- 
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 108879] [CIK] [regression] All opencl apps hangs indefinitely in si_create_context

2019-01-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108879

--- Comment #4 from Vasily Galkin  ---
Created attachment 142961
  --> https://bugs.freedesktop.org/attachment.cgi?id=142961=edit
Stacktrace from debian's 18.3.0 build

The dmesg is completely clean - no any errors there, and system working fine.
Even hanged clinfo can be interrupted by Ctrl+C.

-- 
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 108879] [CIK] [regression] All opencl apps hangs indefinitely in si_create_context

2019-01-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108879

--- Comment #3 from Vasily Galkin  ---
Created attachment 142960
  --> https://bugs.freedesktop.org/attachment.cgi?id=142960=edit
clinfo output with mesa-opencl-icd downgraded to 18.2.8

-- 
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 108879] [CIK] [regression] All opencl apps hangs indefinitely in si_create_context

2019-01-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108879

Vasily Galkin  changed:

   What|Removed |Added

Summary|[CIK] [regression] clinfo   |[CIK] [regression] All
   |hangs indefinitely in   |opencl apps hangs
   |si_create_context   |indefinitely in
   ||si_create_context
 CC||galkin...@ya.ru

--- Comment #2 from Vasily Galkin  ---
Faced same problem on CIK gpu: clinfo hanging at start since 18.3.0.
Stack trace is the same - the sys_futex never returns.

The issue reproduces every time. Most important - it affects ALL applications
using opencl I tried (clinfo, fresh manual build of
https://github.com/ihaque/memtestCL and closed-source Geeks3D GpuTest). They
all hang at initialization with similar stack trace.

I'm renaming the bug to indicate that all apps are affected.

GPU is

01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI]
Tobago PRO [Radeon R7 360 / R9 360 OEM] (rev 81) (prog-if 00 [VGA controller])

("Tobago" is less common variant of "Bonaire" gpus).

Reproduced on two different motherboards (however, both are PCIe 2.0/1.1 - so
no  PCIe3.0 atomics if it is related). Changing kernels in 4.17-4.20 range
doesn't matter. For example vanilla 4.20.0 with ubuntu config -
4.20.0-042000-generic can be used for issue reproduaction. Distros also doesn't
matter I tried debian and vanilla mesa build on archlinux

Kernel parameters are: BOOT_IMAGE=/boot/vmlinuz-4.20.0-042000-generic
root=UUID=7917286f-3223-4003-8d58-a2bff30a7730 ro quiet intel_iommu=on
amdgpu.si_support=1 amdgpu.cik_support=1 amdgpu.dc=1 acpi_enforce_resources=off
radeon.si_support=0 radeon.cik_support=0 radeon.modeset=1 nouveau.modeset=1
zswap.enabled=1 zswap.zpool=zsmalloc zswap.compressor=lz4hc
zswap.max_pool_percent=42

(actually intel_iommu is DISABLED in bios, so I don't think it is related)

Unlike opencl, both vulkan and opengl works completely fine.

Donwgrading mesa-opencl-icd to 18.2.8 fixes the problem.
This deb package downgrades only 
/usr/lib/x86_64-linux-gnu/gallium-pipe/pipe_nouveau.so
/usr/lib/x86_64-linux-gnu/gallium-pipe/pipe_r300.so
/usr/lib/x86_64-linux-gnu/gallium-pipe/pipe_r600.so
/usr/lib/x86_64-linux-gnu/gallium-pipe/pipe_radeonsi.so
/usr/lib/x86_64-linux-gnu/gallium-pipe/pipe_swrast.so
/usr/lib/x86_64-linux-gnu/gallium-pipe/pipe_vmwgfx.so
/usr/lib/x86_64-linux-gnu/libMesaOpenCL.so.1.0.0

other mesa libs are kept from 18.3.0

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