From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 93374] [radeonsi] Tonga (Radeon R9 380) hangs on running hello world OpenCL program Date: Mon, 14 Dec 2015 18:36:32 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1638119844==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id D00326E264 for ; Mon, 14 Dec 2015 10:36:32 -0800 (PST) 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 --===============1638119844== Content-Type: multipart/alternative; boundary="1450118192.efE5CE0.29270"; charset="UTF-8" --1450118192.efE5CE0.29270 Date: Mon, 14 Dec 2015 18:36:32 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=93374 Bug ID: 93374 Summary: [radeonsi] Tonga (Radeon R9 380) hangs on running hello world OpenCL program Product: Mesa Version: git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: blocker Priority: medium Component: Drivers/Gallium/radeonsi Assignee: dri-devel@lists.freedesktop.org Reporter: rivanvx@gmail.com QA Contact: dri-devel@lists.freedesktop.org I'm running a hello world PyOpenCL program from here: http://documen.tician.de/pyopencl/ I get the same issue with a different OpenCL program, e.g. one from bug 93370. The message shown in the console is the same as bug 93264, but without the VM line: amdgpu 0000:01:00.0: GPU fault detected: 147 0x04588402 amdgpu 0000:01:00.0: VM_CONTEXT1_PROECTION_FAULT_ADDR 0x0004008B amdgpu 0000:01:00.0: VM_CONTEXT1_PROECTION_FAULT_STATUS 0x08084002 The system is unresponsive and one has to do hard reset. I tried reverting to one commit before c0a189c3792865257c1383f176e5401373ed2270 mentioned in the bug 93264, that is 26ddca196954ccfa697102b46118956ad616073a. However, this did not fix the problem. -- You are receiving this mail because: You are the assignee for the bug. --1450118192.efE5CE0.29270 Date: Mon, 14 Dec 2015 18:36:32 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
Bug ID 93374
Summary [radeonsi] Tonga (Radeon R9 380) hangs on running hello world OpenCL program
Product Mesa
Version git
Hardware x86-64 (AMD64)
OS Linux (All)
Status NEW
Severity blocker
Priority medium
Component Drivers/Gallium/radeonsi
Assignee dri-devel@lists.freedesktop.org
Reporter rivanvx@gmail.com
QA Contact dri-devel@lists.freedesktop.org

I'm running a hello world PyOpenCL program from here:
http://documen.tician.de/pyopencl/ I get the same issue with a different OpenCL
program, e.g. one from bug 93370.

The message shown in the console is the same as bug 93264, but without the VM
line:

amdgpu 0000:01:00.0: GPU fault detected: 147 0x04588402
amdgpu 0000:01:00.0:   VM_CONTEXT1_PROECTION_FAULT_ADDR   0x0004008B
amdgpu 0000:01:00.0:   VM_CONTEXT1_PROECTION_FAULT_STATUS 0x08084002

The system is unresponsive and one has to do hard reset.

I tried reverting to one commit before c0a189c3792865257c1383f176e5401373ed2270
mentioned in the bug 93264, that is 26ddca196954ccfa697102b46118956ad616073a.
However, this did not fix the problem.


You are receiving this mail because:
  • You are the assignee for the bug.
--1450118192.efE5CE0.29270-- --===============1638119844== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1638119844==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 93374] [radeonsi] Tonga (Radeon R9 380) hangs on running hello world OpenCL program Date: Tue, 15 Dec 2015 07:21:57 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0511356912==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id A89E16E6AC for ; Mon, 14 Dec 2015 23:21:57 -0800 (PST) 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 --===============0511356912== Content-Type: multipart/alternative; boundary="1450164117.166F61.5364"; charset="UTF-8" --1450164117.166F61.5364 Date: Tue, 15 Dec 2015 07:21:57 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D93374 --- Comment #1 from Michel D=C3=A4nzer --- Basically, OpenCL support for VI isn't implemented yet. --=20 You are receiving this mail because: You are the assignee for the bug. --1450164117.166F61.5364 Date: Tue, 15 Dec 2015 07:21:57 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Comment= # 1 on bug 93374<= /a> from Michel D=C3=A4nzer
Basically, OpenCL support for VI isn't implemented yet.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1450164117.166F61.5364-- --===============0511356912== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0511356912==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 93374] [radeonsi] Tonga (Radeon R9 380) hangs on running hello world OpenCL program Date: Tue, 15 Dec 2015 07:46:56 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1123160328==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 61CA96E01D for ; Mon, 14 Dec 2015 23:46:56 -0800 (PST) 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 --===============1123160328== Content-Type: multipart/alternative; boundary="1450165616.ac662BFd0.10587"; charset="UTF-8" --1450165616.ac662BFd0.10587 Date: Tue, 15 Dec 2015 07:46:56 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D93374 --- Comment #2 from Vedran Mileti=C4=87 --- What is missing? Can it at least not crash? --=20 You are receiving this mail because: You are the assignee for the bug. --1450165616.ac662BFd0.10587 Date: Tue, 15 Dec 2015 07:46:56 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Comment= # 2 on bug 93374<= /a> from Vedran Mileti=C4=87
What is missing? Can it at least not crash?


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1450165616.ac662BFd0.10587-- --===============1123160328== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1123160328==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 93374] [radeonsi] Tonga (Radeon R9 380) hangs on running hello world OpenCL program Date: Sun, 03 Jan 2016 00:10:30 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0081279179==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 08AB06E439 for ; Sat, 2 Jan 2016 16:10:30 -0800 (PST) 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 --===============0081279179== Content-Type: multipart/alternative; boundary="1451779829.BE7Cd1.824"; charset="UTF-8" --1451779829.BE7Cd1.824 Date: Sun, 3 Jan 2016 00:10:29 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=93374 EoD changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |EoD@xmw.de --- Comment #3 from EoD --- Is it possible to work around the lock? I ran into the same issue, when I tried running clpeak ( https://github.com/krrishnarraj/clpeak ) on kernel 4.4.0-rc7 with current mesa-git and an R9 380X. kernel: amdgpu 0000:01:00.0: IH ring buffer overflow (0x000C01D0, 0x00000B40, 0x000001E0) kernel: amdgpu 0000:01:00.0: GPU fault detected: 147 0x05f88802 kernel: amdgpu 0000:01:00.0: VM_CONTEXT1_PROTECTION_FAULT_ADDR 0x0004009C kernel: amdgpu 0000:01:00.0: VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x0A088002 kernel: VM fault (0x02, vmid 5) at page 262300, read from 'TC9' (0x54433900) (136) -- You are receiving this mail because: You are the assignee for the bug. --1451779829.BE7Cd1.824 Date: Sun, 3 Jan 2016 00:10:29 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" changed bug 93374
What Removed Added
CC   EoD@xmw.de

Comment # 3 on bug 93374 from
Is it possible to work around the lock?

I ran into the same issue, when I tried running clpeak (
https://github.com/krrishnarraj/clpeak ) on kernel 4.4.0-rc7 with current
mesa-git and an R9 380X.

kernel: amdgpu 0000:01:00.0: IH ring buffer overflow (0x000C01D0, 0x00000B40,
0x000001E0)
kernel: amdgpu 0000:01:00.0: GPU fault detected: 147 0x05f88802
kernel: amdgpu 0000:01:00.0:   VM_CONTEXT1_PROTECTION_FAULT_ADDR   0x0004009C
kernel: amdgpu 0000:01:00.0:   VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x0A088002
kernel: VM fault (0x02, vmid 5) at page 262300, read from 'TC9' (0x54433900)
(136)


You are receiving this mail because:
  • You are the assignee for the bug.
--1451779829.BE7Cd1.824-- --===============0081279179== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0081279179==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 93374] [radeonsi] Tonga (Radeon R9 380) hangs on running hello world OpenCL program Date: Mon, 04 Jan 2016 10:41:29 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1026201542==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id B77C16E067 for ; Mon, 4 Jan 2016 02:41:29 -0800 (PST) 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 --===============1026201542== Content-Type: multipart/alternative; boundary="1451904089.f1BA1.28820"; charset="UTF-8" --1451904089.f1BA1.28820 Date: Mon, 4 Jan 2016 10:41:29 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=93374 --- Comment #4 from EoD --- After upgrading to current llvm 3.8-git (2921ff9ffcfd09db1c), the program ran fine: $ ./clpeak Platform: Clover Device: AMD TONGA (DRM 3.1.0, LLVM 3.8.0) Driver version : 11.2.0-devel (Linux x64) Compute units : 32 Clock frequency : 0 MHz Global memory bandwidth (GBPS) float : 100.53 float2 : 112.67 float4 : 105.17 float8 : 104.72 float16 : 69.72 Single-precision compute (GFLOPS) float : 4006.34 float2 : 4039.47 float4 : 4030.48 float8 : 4007.96 float16 : 3973.85 Double-precision compute (GFLOPS) double : 265.21 double2 : 265.09 double4 : 264.79 double8 : 264.05 double16 : 263.11 Integer compute (GIOPS) int : 841.70 int2 : 841.59 int4 : 841.39 int8 : 841.17 int16 : 840.63 Transfer bandwidth (GBPS) enqueueWriteBuffer : 2.57 enqueueReadBuffer : 1.92 enqueueMapBuffer(for read) : 1813.75 memcpy from mapped ptr : 1.92 enqueueUnmap(after write) : 1545.40 memcpy to mapped ptr : 1.92 Kernel launch latency : 267.44 us -- You are receiving this mail because: You are the assignee for the bug. --1451904089.f1BA1.28820 Date: Mon, 4 Jan 2016 10:41:29 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 4 on bug 93374 from
After upgrading to current llvm 3.8-git (2921ff9ffcfd09db1c), the program ran
fine:

$ ./clpeak 

Platform: Clover
  Device: AMD TONGA (DRM 3.1.0, LLVM 3.8.0)
    Driver version  : 11.2.0-devel (Linux x64)
    Compute units   : 32
    Clock frequency : 0 MHz

    Global memory bandwidth (GBPS)
      float   : 100.53
      float2  : 112.67
      float4  : 105.17
      float8  : 104.72
      float16 : 69.72

    Single-precision compute (GFLOPS)
      float   : 4006.34
      float2  : 4039.47
      float4  : 4030.48
      float8  : 4007.96
      float16 : 3973.85

    Double-precision compute (GFLOPS)
      double   : 265.21
      double2  : 265.09
      double4  : 264.79
      double8  : 264.05
      double16 : 263.11

    Integer compute (GIOPS)
      int   : 841.70
      int2  : 841.59
      int4  : 841.39
      int8  : 841.17
      int16 : 840.63

    Transfer bandwidth (GBPS)
      enqueueWriteBuffer         : 2.57
      enqueueReadBuffer          : 1.92
      enqueueMapBuffer(for read) : 1813.75
        memcpy from mapped ptr   : 1.92
      enqueueUnmap(after write)  : 1545.40
        memcpy to mapped ptr     : 1.92

    Kernel launch latency : 267.44 us


You are receiving this mail because:
  • You are the assignee for the bug.
--1451904089.f1BA1.28820-- --===============1026201542== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1026201542==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 93374] [radeonsi] Tonga (Radeon R9 380) hangs on running hello world OpenCL program Date: Wed, 06 Jan 2016 00:43:59 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1498153796==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id DC8546E212 for ; Tue, 5 Jan 2016 16:43:58 -0800 (PST) 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 --===============1498153796== Content-Type: multipart/alternative; boundary="1452041038.cCaE2.1768"; charset="UTF-8" --1452041038.cCaE2.1768 Date: Wed, 6 Jan 2016 00:43:58 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D93374 Michel D=C3=A4nzer changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #5 from Michel D=C3=A4nzer --- Fixed in LLVM 3.8 SVN. --=20 You are receiving this mail because: You are the assignee for the bug. --1452041038.cCaE2.1768 Date: Wed, 6 Jan 2016 00:43:58 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable = Michel D=C3=A4nzer changed bug 93374<= /a>
What Removed Added
Status NEW RESOLVED
Resolution --- FIXED


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1452041038.cCaE2.1768-- --===============1498153796== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1498153796==--