All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 108272] opencl-mesa: Anything using OpenCL segfaults, XFX Radeon RX 580
@ 2018-10-08  8:26 bugzilla-daemon
  2018-10-08  8:27 ` bugzilla-daemon
                   ` (15 more replies)
  0 siblings, 16 replies; 17+ messages in thread
From: bugzilla-daemon @ 2018-10-08  8:26 UTC (permalink / raw)
  To: dri-devel


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

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2019-09-25 18:10 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-08  8:26 [Bug 108272] opencl-mesa: Anything using OpenCL segfaults, XFX Radeon RX 580 bugzilla-daemon
2018-10-08  8:27 ` 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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.