From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 64201] New: OpenCL usage result segmentation fault on r600g with HD6850. Date: Fri, 03 May 2013 21:55:16 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1989690131==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 189C7E5C74 for ; Fri, 3 May 2013 14:55:16 -0700 (PDT) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1989690131== Content-Type: multipart/alternative; boundary="1367618116.4261A0.1480"; charset="us-ascii" --1367618116.4261A0.1480 Date: Fri, 3 May 2013 21:55:16 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=64201 Priority: medium Bug ID: 64201 Assignee: dri-devel@lists.freedesktop.org Summary: OpenCL usage result segmentation fault on r600g with HD6850. Severity: normal Classification: Unclassified OS: other Reporter: spamjunkeater@gmail.com Hardware: x86-64 (AMD64) Status: NEW Version: git Component: Drivers/Gallium/r600 Product: Mesa I am using OpenSUSE 12.3 x86_64 with 3.9 Kernel and ATI 6850HD GPU. I just experiment OpenCL but I cannot make it with open source tools. compiled llvm, clang with : ./configure --libdir=/usr/lib64 --prefix=/usr --enable-{optimized,pic,shared} --disable-{assertions,docs,timestamps} --enable-targets="x86_64" --enable-experimental-targets="R600" (for llvm compilation, used http://llvm.org/docs/GettingStarted.html) And after, compiled mesa-trunk with ./configure --with-gallium-drivers=r600 --prefix=/usr --libdir=/usr/lib64 --enable-{vdpau,texture-float} --with-dri-drivers="" --enable-{gallium-llvm,r600-llvm-compiler,opencl} --enable-glx-tls --enable-shared-{glapi,dricore} but every utility that I tried, gives a segmentation error to me :-/ [ 3453.462803] python[7401]: segfault at 60 ip 00007f55c16292c0 sp 00007fff191b9138 error 4 in pipe_r600.so[7f55c14c0000+299000] [ 3465.707476] pyrit[7529]: segfault at 0 ip 00007f53614fb7cb sp 00007f535f2bc5c0 error 6 in libLLVM-3.3svn.so[7f5360eb1000+1004000] [ 3674.192257] cgminer[8773]: segfault at 20 ip 00007f2b65088710 sp 00007fffc1f24908 error 4 in libLLVM-3.3svn.so[7f2b648af000+1004000] Most detailed report from pyrit, by using it with benchmark argument; > pyrit benchmark Pyrit 0.4.1-dev (svn r308) (C) 2008-2011 Lukas Lueg http://pyrit.googlecode.com This code is distributed under the GNU General Public License v3+ Calibrating... 0x7faf109a72e0: i32 = GlobalAddress 0 Undefined function UNREACHABLE executed at /run/media/death/OldRoot/temp/llvm/lib/Target/R600/AMDGPUISelLowering.h:56! Stack dump: 0. Running pass 'Function Pass Manager' on module 'radeon'. 1. Running pass 'AMDGPU DAG->DAG Pattern Instruction Selection' on function '@sha1_process' Aborted Regards, Erdem -- You are receiving this mail because: You are the assignee for the bug. --1367618116.4261A0.1480 Date: Fri, 3 May 2013 21:55:16 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
Priority medium
Bug ID 64201
Assignee dri-devel@lists.freedesktop.org
Summary OpenCL usage result segmentation fault on r600g with HD6850.
Severity normal
Classification Unclassified
OS other
Reporter spamjunkeater@gmail.com
Hardware x86-64 (AMD64)
Status NEW
Version git
Component Drivers/Gallium/r600
Product Mesa

I am using OpenSUSE 12.3 x86_64 with 3.9 Kernel and ATI 6850HD GPU.

I just experiment OpenCL but I cannot make it with open source tools.

compiled llvm, clang with : ./configure --libdir=/usr/lib64 --prefix=/usr
--enable-{optimized,pic,shared} --disable-{assertions,docs,timestamps}
--enable-targets="x86_64" --enable-experimental-targets="R600"
(for llvm compilation, used http://llvm.org/docs/GettingStarted.html)

And after, compiled mesa-trunk with ./configure --with-gallium-drivers=r600
--prefix=/usr --libdir=/usr/lib64 --enable-{vdpau,texture-float}
--with-dri-drivers="" --enable-{gallium-llvm,r600-llvm-compiler,opencl}
--enable-glx-tls --enable-shared-{glapi,dricore}

but every utility that I tried, gives a segmentation error to me :-/


[ 3453.462803] python[7401]: segfault at 60 ip 00007f55c16292c0 sp
00007fff191b9138 error 4 in pipe_r600.so[7f55c14c0000+299000]
[ 3465.707476] pyrit[7529]: segfault at 0 ip 00007f53614fb7cb sp
00007f535f2bc5c0 error 6 in libLLVM-3.3svn.so[7f5360eb1000+1004000]
[ 3674.192257] cgminer[8773]: segfault at 20 ip 00007f2b65088710 sp
00007fffc1f24908 error 4 in libLLVM-3.3svn.so[7f2b648af000+1004000]


Most detailed report from pyrit, by using it with benchmark argument;

> pyrit benchmark
Pyrit 0.4.1-dev (svn r308) (C) 2008-2011 Lukas Lueg http://pyrit.googlecode.com
This code is distributed under the GNU General Public License v3+

Calibrating... 0x7faf109a72e0: i32 = GlobalAddress<i32 (i32, i32, i32)*
@llvm.AMDGPU.bit.extract.u32.> 0
Undefined function
UNREACHABLE executed at
/run/media/death/OldRoot/temp/llvm/lib/Target/R600/AMDGPUISelLowering.h:56!
Stack dump:
0.    Running pass 'Function Pass Manager' on module 'radeon'.
1.    Running pass 'AMDGPU DAG->DAG Pattern Instruction Selection' on function
'@sha1_process'
Aborted

Regards,
Erdem


You are receiving this mail because:
  • You are the assignee for the bug.
--1367618116.4261A0.1480-- --===============1989690131== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============1989690131==--