From: bugzilla-daemon@freedesktop.org Subject: [Bug 72785] bfgminer --scrypt on 7xxx+ Date: Mon, 13 Jan 2014 17:22:23 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2099606696==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 0AF6D44B7 for ; Mon, 13 Jan 2014 09:22:23 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============2099606696== Content-Type: multipart/alternative; boundary="1389633742.F68081.28361"; charset="us-ascii" --1389633742.F68081.28361 Date: Mon, 13 Jan 2014 17:22:22 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=72785 --- Comment #3 from Tom Stellard --- (In reply to comment #0) > bfgminer --benchmark without scrypt seems to be working fine now. > > But I think many people would rather compute scrypt right now on their 7xxx+ > GPUs, just considering the recent rumors that the radeon 7950 is getting > sold out because of litecoin miners. > > With mesa/llvm it doesn't work yet. > > llvm 3.5 197392, mesa and stuff are very recent git builds. > > The kernel is > https://github.com/luke-jr/bfgminer/blob/bfgminer/scrypt130511.cl > > bfgminer is started with > > bfgminer -v1 --scrypt -S opencl:auto --url= > --userpass= > > The error is: > > Initialising kernel scrypt130511.cl without bitalign, 1 vectors and worksize > 256 > > [...] > > LLVM ERROR: Cannot select: 0x7f0b7cbd40a0: ch = br_cc 0x7f0b7cd32bb0, > 0x7f0b7cc28c20, 0x7f0b7cd32fb0, 0x7f0b7cc2bc30, 0x7f0b7cc2ad30 [ORD=19251] > [ID=4253] > 0x7f0b7cd32fb0: i1,ch = llvm.SI.loop 0x7f0b7cc2c030:1, 0x7f0b7cd333b0, > 0x7f0b7cc2c030 [ORD=19250] [ID=4250] > 0x7f0b7cd333b0: i64 = TargetConstant<3431> [ID=132] > 0x7f0b7cc2c030: i64,ch = llvm.SI.if.break 0x7f0b7cf2f3e0, > 0x7f0b7cc2b530, 0x7f0b7cc2c530, 0x7f0b7cd339b0 [ORD=19249] [ID=4249] > 0x7f0b7cc2b530: i64 = TargetConstant<3428> [ID=129] > 0x7f0b7cc2c530: i1 = setcc 0x7f0b7cc7dd60, 0x7f0b7cc80760, > 0x7f0b7cd337b0 [ORD=19248] [ID=212] > 0x7f0b7cc7dd60: i64 = add 0x7f0b7cc81560, 0x7f0b7cc81360 [ORD=13153] > [ID=187] > 0x7f0b7cc81560: i64,ch = CopyFromReg 0x7f0b7c0535d8, > 0x7f0b7cc81660 [ORD=13147] [ID=149] > 0x7f0b7cc81660: i64 = Register %vreg53 [ID=1] > 0x7f0b7cc81360: i64 = Constant<1> [ID=2] > 0x7f0b7cc80760: i64 = Constant<4> [ID=4] > 0x7f0b7cd339b0: i64,ch = CopyFromReg 0x7f0b7c0535d8, 0x7f0b7cd342b0 > [ORD=19249] [ID=185] > 0x7f0b7cd342b0: i64 = Register %vreg52 [ID=130] > 0x7f0b7cc2bc30: i1 = Constant<-1> [ID=133] > In function: search This patch: http://cgit.freedesktop.org/~tstellar/llvm/commit/?h=master-testing-si&id=41d1f890bc2095a1354c4502cc97e30b3288ba1a should fix the crash in an unmodified kernel. However, you will probably still see the error from comment 3. I need a test case in order to commit this patch. Could you post the output of R600_DEBUG=cs from an unmodified kernel *without* this patch applied. -- You are receiving this mail because: You are the assignee for the bug. --1389633742.F68081.28361 Date: Mon, 13 Jan 2014 17:22:22 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 3 on bug 72785 from
(In reply to comment #0)
> bfgminer --benchmark without scrypt seems to be working fine now.
> 
> But I think many people would rather compute scrypt right now on their 7xxx+
> GPUs, just considering the recent rumors that the radeon 7950 is getting
> sold out because of litecoin miners.
> 
> With mesa/llvm it doesn't work yet.
> 
> llvm 3.5 197392, mesa and stuff are very recent git builds.
> 
> The kernel is
> https://github.com/luke-jr/bfgminer/blob/bfgminer/scrypt130511.cl
> 
> bfgminer is started with
> 
> bfgminer -v1 --scrypt -S opencl:auto --url=<pool>
> --userpass=<user:worker:pass>
> 
> The error is:
> 
> Initialising kernel scrypt130511.cl without bitalign, 1 vectors and worksize
> 256
> 
> [...]
> 
> LLVM ERROR: Cannot select: 0x7f0b7cbd40a0: ch = br_cc 0x7f0b7cd32bb0,
> 0x7f0b7cc28c20, 0x7f0b7cd32fb0, 0x7f0b7cc2bc30, 0x7f0b7cc2ad30 [ORD=19251]
> [ID=4253]
>   0x7f0b7cd32fb0: i1,ch = llvm.SI.loop 0x7f0b7cc2c030:1, 0x7f0b7cd333b0,
> 0x7f0b7cc2c030 [ORD=19250] [ID=4250]
>     0x7f0b7cd333b0: i64 = TargetConstant<3431> [ID=132]
>     0x7f0b7cc2c030: i64,ch = llvm.SI.if.break 0x7f0b7cf2f3e0,
> 0x7f0b7cc2b530, 0x7f0b7cc2c530, 0x7f0b7cd339b0 [ORD=19249] [ID=4249]
>       0x7f0b7cc2b530: i64 = TargetConstant<3428> [ID=129]
>       0x7f0b7cc2c530: i1 = setcc 0x7f0b7cc7dd60, 0x7f0b7cc80760,
> 0x7f0b7cd337b0 [ORD=19248] [ID=212]
>         0x7f0b7cc7dd60: i64 = add 0x7f0b7cc81560, 0x7f0b7cc81360 [ORD=13153]
> [ID=187]
>           0x7f0b7cc81560: i64,ch = CopyFromReg 0x7f0b7c0535d8,
> 0x7f0b7cc81660 [ORD=13147] [ID=149]
>             0x7f0b7cc81660: i64 = Register %vreg53 [ID=1]
>           0x7f0b7cc81360: i64 = Constant<1> [ID=2]
>         0x7f0b7cc80760: i64 = Constant<4> [ID=4]
>       0x7f0b7cd339b0: i64,ch = CopyFromReg 0x7f0b7c0535d8, 0x7f0b7cd342b0
> [ORD=19249] [ID=185]
>         0x7f0b7cd342b0: i64 = Register %vreg52 [ID=130]
>   0x7f0b7cc2bc30: i1 = Constant<-1> [ID=133]
> In function: search

This patch:
http://cgit.freedesktop.org/~tstellar/llvm/commit/?h=master-testing-si&id=41d1f890bc2095a1354c4502cc97e30b3288ba1a
should fix the crash in an unmodified kernel.  However, you will probably still
see the error from comment 3.

I need a test case in order to commit this patch.  Could you post the output of
R600_DEBUG=cs from an unmodified kernel *without* this patch applied.


You are receiving this mail because:
  • You are the assignee for the bug.
--1389633742.F68081.28361-- --===============2099606696== 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 --===============2099606696==--