From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 108272] opencl-mesa: Anything using OpenCL segfaults, XFX
Radeon RX 580
Date: Mon, 08 Oct 2018 08:26:57 +0000
Message-ID:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1111658391=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id B57096E090
for ; Mon, 8 Oct 2018 08:26:57 +0000 (UTC)
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
--===============1111658391==
Content-Type: multipart/alternative; boundary="15389872170.F8B2.28922"
Content-Transfer-Encoding: 7bit
--15389872170.F8B2.28922
Date: Mon, 8 Oct 2018 08:26:57 +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=3D108272
Bug ID: 108272
Summary: opencl-mesa: Anything using OpenCL segfaults, XFX
Radeon RX 580
Product: Mesa
Version: 18.2
Hardware: x86-64 (AMD64)
OS: All
Status: NEW
Severity: critical
Priority: medium
Component: Drivers/Gallium/radeonsi
Assignee: dri-devel@lists.freedesktop.org
Reporter: jamespharvey20@gmail.com
QA Contact: dri-devel@lists.freedesktop.org
Created attachment 141931
--> https://bugs.freedesktop.org/attachment.cgi?id=3D141931&action=3Dedit
clinfo seems happy
Up to date Arch Linux, including: linux 4.18.12.arch1-1, xf86-video-amdgpu
18.1.0-1, mesa 18.2.2-1, opencl-mesa 18.2.2-1, xorg-server 1.20.1-1, and
plasma-desktop 5.13.5-1.
(Recently installed system that STARTED with: linux 4.18.9.arch1-1, mesa
18.2.1-1, and opencl-mesa 18.2.1-1.)
I have not tried AMDGPU-PRO. (Not really interested anyway, and the Arch A=
UR
package for it is 17.40, which requires downgrading to linux 4.9 and Xorg
1.18.)
$ lspci -k | grep VGA
03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI]
Ellesmere [Radeon RX 470/480/570/570X/580/580X] (rev e7)
Subsystem: XFX Pine Group Inc. Ellesmere [Radeon RX
470/480/570/570X/580/580X]
Kernel driver in use: amdgpu
Kernel modules: amdgpu
It's the: XFX AMD Radeon RX 580 GTS Black Edition 8GB GDDR5 PCI Express 3.0
clinfo seems happy, see full output attached or here: http://termbin.com/ii=
ow
See glxinfo output attached or here: http://termbin.com/lgqd
Anything using OpenCL immediately segfaults.
Everything that segfaults runs just fine if I uninstall opencl-mesa, and ei=
ther
use opencl-amd (Arch linux package, which extracts OpenCL library from
AMDGPU-PRO **18.30** but allows it to run with the open source AMDGPU drive=
r.)=20
Everthing also runs fine if I instead use intel-opencl-runtime to just run =
off
the CPUs.
-----
luxmark 3.1 crashes in pipe_radeonsi.so, called by libMesaOpenCL.so.1, call=
ed
by libOpenCL.so.1.
A gdb backtrace with opencl-mesa 18.2.2 that I compiled in debug mode with
symbols is attached or here: http://termbin.com/to7v
A gdb backtrace with opencl-mesa 18.2.2 (Arch binary, so without buildtype
specified and no symbols) is here: http://termbin.com/m1yx
Setting environment variable MESA_DEBUG causes no additional output.
-----
Granted, IndigoBenchmark_x64_v4.0.64 crashes by calling
/usr/lib/libOpenCL.so::clGetPlatformIDs() which is ocl-icd, but without
opencl-mesa and instead with opencl-amd, it runs through it just fine.
A gdb backtrace is attached or here: http://termbin.com/junz6
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15389872170.F8B2.28922
Date: Mon, 8 Oct 2018 08:26:57 +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
| Bug ID |
108272
|
| Summary |
opencl-mesa: Anything using OpenCL segfaults, XFX Radeon RX 5=
80
|
| Product |
Mesa
|
| Version |
18.2
|
| Hardware |
x86-64 (AMD64)
|
| OS |
All
|
| Status |
NEW
|
| Severity |
critical
|
| Priority |
medium
|
| Component |
Drivers/Gallium/radeonsi
|
| Assignee |
dri-devel@lists.freedesktop.org
|
| Reporter |
jamespharvey20@gmail.com
|
| QA Contact |
dri-devel@lists.freedesktop.org
|
Created attachment 141931=
[details]
clinfo seems happy
Up to date Arch Linux, including: linux 4.18.12.arch1-1, xf86-video-amdgpu
18.1.0-1, mesa 18.2.2-1, opencl-mesa 18.2.2-1, xorg-server 1.20.1-1, and
plasma-desktop 5.13.5-1.
(Recently installed system that STARTED with: linux 4.18.9.arch1-1, mesa
18.2.1-1, and opencl-mesa 18.2.1-1.)
I have not tried AMDGPU-PRO. (Not really interested anyway, and the Arch A=
UR
package for it is 17.40, which requires downgrading to linux 4.9 and Xorg
1.18.)
$ lspci -k | grep VGA
03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI]
Ellesmere [Radeon RX 470/480/570/570X/580/580X] (rev e7)
Subsystem: XFX Pine Group Inc. Ellesmere [Radeon RX
470/480/570/570X/580/580X]
Kernel driver in use: amdgpu
Kernel modules: amdgpu
It's the: XFX AMD Radeon RX 580 GTS Black Edition 8GB GDDR5 PCI Express 3.0
clinfo seems happy, see full output attached or here: http://termbin.com/iiow
See glxinfo output attached or here: ht=
tp://termbin.com/lgqd
Anything using OpenCL immediately segfaults.
Everything that segfaults runs just fine if I uninstall opencl-mesa, and ei=
ther
use opencl-amd (Arch linux package, which extracts OpenCL library from
AMDGPU-PRO **18.30** but allows it to run with the open source AMDGPU drive=
r.)=20
Everthing also runs fine if I instead use intel-opencl-runtime to just run =
off
the CPUs.
-----
luxmark 3.1 crashes in pipe_radeonsi.so, called by libMesaOpenCL.so.1, call=
ed
by libOpenCL.so.1.
A gdb backtrace with opencl-mesa 18.2.2 that I compiled in debug mode with
symbols is attached or here: http://ter=
mbin.com/to7v
A gdb backtrace with opencl-mesa 18.2.2 (Arch binary, so without buildtype
specified and no symbols) is here: http=
://termbin.com/m1yx
Setting environment variable MESA_DEBUG causes no additional output.
-----
Granted, IndigoBenchmark_x64_v4.0.64 crashes by calling
/usr/lib/libOpenCL.so::clGetPlatformIDs() which is ocl-icd, but without
opencl-mesa and instead with opencl-amd, it runs through it just fine.
A gdb backtrace is attached or here: h=
ttp://termbin.com/junz6
You are receiving this mail because:
- You are the assignee for the bug.
=
--15389872170.F8B2.28922--
--===============1111658391==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============1111658391==--