dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 108272] opencl-mesa: Anything using OpenCL segfaults, XFX Radeon RX 580
Date: Mon, 08 Oct 2018 08:26:57 +0000	[thread overview]
Message-ID: <bug-108272-502@http.bugs.freedesktop.org/> (raw)


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

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

            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=141931&action=edit
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 AUR
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: http://termbin.com/lgqd

Anything using OpenCL immediately segfaults.

Everything that segfaults runs just fine if I uninstall opencl-mesa, and either
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 driver.) 
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, called
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

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

[-- Attachment #1.2: Type: text/html, Size: 4571 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

             reply	other threads:[~2018-10-08  8:26 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-08  8:26 bugzilla-daemon [this message]
2018-10-08  8:27 ` [Bug 108272] opencl-mesa: Anything using OpenCL segfaults, XFX Radeon RX 580 bugzilla-daemon
2018-10-08  8:28 ` bugzilla-daemon
2018-10-08  8:28 ` bugzilla-daemon
2018-10-08  8:29 ` bugzilla-daemon
2018-10-08 21:08 ` [Bug 108272] [polaris10] " bugzilla-daemon
2018-10-08 21:10 ` bugzilla-daemon
2018-10-08 21:25 ` bugzilla-daemon
2018-10-09  2:54 ` bugzilla-daemon
2018-10-09  8:32 ` bugzilla-daemon
2018-10-09  8:34 ` bugzilla-daemon
2018-10-09 17:42 ` bugzilla-daemon
2018-10-19 18:00 ` bugzilla-daemon
2018-10-31 18:59 ` bugzilla-daemon
2018-11-01  4:33 ` bugzilla-daemon
2018-12-17 17:46 ` bugzilla-daemon
2019-09-25 18:10 ` bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-108272-502@http.bugs.freedesktop.org/ \
    --to=bugzilla-daemon@freedesktop.org \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox