From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 108879] [CIK] [regression] All opencl apps hangs indefinitely in si_create_context Date: Thu, 03 Jan 2019 17:22:35 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1170983722==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 700526E56F for ; Thu, 3 Jan 2019 17:22:35 +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 --===============1170983722== Content-Type: multipart/alternative; boundary="15465361551.9AcB4289.20591" Content-Transfer-Encoding: 7bit --15465361551.9AcB4289.20591 Date: Thu, 3 Jan 2019 17:22:35 +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=3D108879 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-vv@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 applicatio= ns 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 controlle= r]) ("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 doe= sn't matter I tried debian and vanilla mesa build on archlinux Kernel parameters are: BOOT_IMAGE=3D/boot/vmlinuz-4.20.0-042000-generic root=3DUUID=3D7917286f-3223-4003-8d58-a2bff30a7730 ro quiet intel_iommu=3Don amdgpu.si_support=3D1 amdgpu.cik_support=3D1 amdgpu.dc=3D1 acpi_enforce_res= ources=3Doff radeon.si_support=3D0 radeon.cik_support=3D0 radeon.modeset=3D1 nouveau.mod= eset=3D1 zswap.enabled=3D1 zswap.zpool=3Dzsmalloc zswap.compressor=3Dlz4hc zswap.max_pool_percent=3D42 (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=20 /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 --=20 You are receiving this mail because: You are the assignee for the bug.= --15465361551.9AcB4289.20591 Date: Thu, 3 Jan 2019 17:22:35 +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 Vasily Galkin changed bug 10887= 9
What Removed Added
Summary [CIK] [regression] clinfo hangs indefinitely in si_create_co= ntext [CIK] [regression] All opencl apps hangs indefinitely in si_= create_context
CC   galkin-vv@ya.ru

Commen= t # 2 on bug 10887= 9 from <= span class=3D"fn">Vasily Galkin
Faced same problem on CIK gpu: clinfo hanging at start since 1=
8.3.0.
Stack trace is the same - the sys_futex never returns.

The issue reproduces every time. Most important - it affects ALL applicatio=
ns
using opencl I tried (clinfo, fresh manual build of
https://github.com/ihaque/m=
emtestCL 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 controlle=
r])

("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 doe=
sn't
matter I tried debian and vanilla mesa build on archlinux

Kernel parameters are: BOOT_IMAGE=3D/boot/vmlinuz-4.20.0-042000-generic
root=3DUUID=3D7917286f-3223-4003-8d58-a2bff30a7730 ro quiet intel_iommu=3Don
amdgpu.si_support=3D1 amdgpu.cik_support=3D1 amdgpu.dc=3D1 acpi_enforce_res=
ources=3Doff
radeon.si_support=3D0 radeon.cik_support=3D0 radeon.modeset=3D1 nouveau.mod=
eset=3D1
zswap.enabled=3D1 zswap.zpool=3Dzsmalloc zswap.compressor=3Dlz4hc
zswap.max_pool_percent=3D42

(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=20
/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.
= --15465361551.9AcB4289.20591-- --===============1170983722== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1170983722==--