Bitcoin Forum
November 13, 2024, 03:45:24 AM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Alternate cryptocurrencies / Mining (Altcoins) / Re: NSGminer v0.9.3: The Fastest NeoScrypt GPU Miner on: November 26, 2017, 12:59:25 PM
In normal mode it writes me after lines with "error   : Instruction 'shf.r' requires .target sm_32 or higher":
Quote
[23:38:13] Failed to init GPU thread 0, disabling device 0                    
[23:38:13] Restarting the GPU from the menu will not fix this.                    
[23:38:13] Try to restart the miner.                    
[23:38:14] The network difficulty has been set to 5095

shf.r is unsupported by GK107 and older NVIDIA GPUs. There is no way to work around this automatically within the kernel. You need to open it in a text editor and comment out the shf.r PTX asm function.

Code:
#if (cl_amd_media_ops)
#define AMD 1
#elif (cl_nv_pragma_unroll)
#define NVIDIA 1
/* Available for Fermi and newer, use the macro below for Tesla */
//uint amd_bitalign(uint src0, uint src1, uint src2) {
//    uint dst;
//    asm("shf.r.wrap.b32 %0, %2, %1, %3;" : "=r"(dst) : "r"(src0), "r"(src1), "r"(src2));
//    return(dst);
//}
//#else
#define amd_bitalign(src0, src1, src2) ((uint)(((((ulong)src0) << 32) | (ulong)src1) >> (src2 & 0x1F)))
#endif

Thank you so much! Works fine now.
p.s. just added
Code:
-w 128
to prevent this error:
Code:
[15:19:48] Error -9999: Building Program (clBuildProgram)                    
[15:19:48] ptxas error   : Entry function 'search' uses too much shared data (0x10040 bytes, 0xc000 max)
2  Alternate cryptocurrencies / Mining (Altcoins) / Re: NSGminer v0.9.3: The Fastest NeoScrypt GPU Miner on: November 24, 2017, 11:54:16 PM
Hey,

You've developed a great product!
And I hope you could help me with a small problem of running it on my ubuntu 16.04 with GeForce GTX 550 Ti on board. Thanks in advance!
I've already tryed to reinstall drivers but it didn't help. It doesn't mine at all so I have "0.0 KH/s".

I'm using NeoScrypt GPU Miner v0.9.3 that I compiled from source.

The verbose output:
Quote
user@user-P5K-SE:~/nsgminer$ ./nsgminer --neoscrypt -I 10  -o stratum+tcp://s1.theblocksfactory.com:3332 -O hapo.1:x -D -T --verbose
[2017-11-24 23:33:37] Started nsgminer 0.9.3                   
[23:33:37] OpenCL platform 0 vendor: NVIDIA Corporation                   
[23:33:37] OpenCL platform 0 name: NVIDIA CUDA                   
[23:33:37] OpenCL platform 0 version: OpenCL 1.2 CUDA 9.0.229                   
[23:33:37] Platform 0 devices: 1                   
[23:33:37]    0   GeForce GTX 550 Ti
                   
[23:33:37] OCL 0: Set temperature config: target=89 cutoff=95                   
[23:33:37] Probing for an alive pool                   
[23:33:37] Testing pool stratum+tcp://s1.theblocksfactory.com:3332                   
[23:33:37] Popping work to stage thread                   
[23:33:37] HTTP request failed: Protocol "stratum+tcp" not supported or disabled in libcurl                   
[23:33:37] Failed to connect in json_rpc_call                   
[23:33:37] initiate_stratum with sockbuf=(nil)                   
[23:33:37] Pool 0 difficulty set to 8.000000                   
[23:33:38] Pool 0 difficulty set to 8.000000                   
[23:33:38] Stratum authorisation success for pool 0                   
[23:33:38] Pool 0 stratum+tcp://s1.theblocksfactory.com:3332 active                   
[23:33:38] Pushing ping to thread 0                   
[23:33:38] Init GPU thread 0 GPU 0 virtual GPU 0                   
[23:33:38] OpenCL platform vendor: NVIDIA Corporation                   
[23:33:38] OpenCL platform name: NVIDIA CUDA                   
[23:33:38] OpenCL platform version: OpenCL 1.2 CUDA 9.0.229                   
[23:33:38] List of devices:                   
[23:33:38]    0   GeForce GTX 550 Ti                   
[23:33:38] Selected 0: GeForce GTX 550 Ti                   
[23:33:38] Activated NVIDIA management for GPU 0                   
[23:33:38] Preferred vector width reported 1                   
[23:33:38] Max work group size reported 1024                   
[23:33:38] Max mem alloc size is 252411904                   
[23:33:38] Selecting the default NeoScrypt kernel                   
[23:33:38] GPU 0: max. intensity is 10                   
[23:33:38] No binary found, generating from source                   
[23:33:38] Setting work size to 256                   
[23:33:38] cl_amd_media_ops not found, will not set BITALIGN                   
[23:33:38] CompilerOptions: -D WORKSIZE=256 -D GOFFSET                   
[23:33:38] Error -9999: Building Program (clBuildProgram)                   
[23:33:38] ptxas application ptx input, line 199; error   : Instruction 'shf.r' requires .target sm_32 or higher
ptxas application ptx input, line 205; error   : Instruction 'shf.r' requires .target sm_32 or higher
ptxas application ptx input, line 211; error   : Instruction 'shf.r' requires .target sm_32 or higher
ptxas application ptx input, line 217; error   : Instruction 'shf.r' requires .target sm_32 or higher
ptxas application ptx input, line 223; error   : Instruction 'shf.r' requires .target sm_32 or higher
ptxas application ptx input, line 229; error   : Instruction 'shf.r' requires .target sm_32 or higher
ptxas application ptx input, line 235; error   : Instruction 'shf.r' requires .target sm_32 or higher
ptxas application ptx input, line 241; error   : Instruction 'shf.r' requires .target sm_32 or higher
ptxas application ptx input, line 247; error   : Instruction 'shf.r' requires .target sm_32 or higher
ptxas application ptx input, line 313; error   : Instruction 'shf.r' requires .target sm_32 or higher
ptxas application ptx input, line 318; error   : Instruction 'shf.r' requires .target sm_32 or higher
ptxas application ptx input, line 323; error   : Instruction 'shf.r' requires .target sm_32 or higher
ptxas application ptx input, line 328; error   : Instruction 'shf.r' requires .target sm_32 or higher
ptxas application ptx input, line 333; error   : Instruction 'shf.r' requires .target sm_32 or higher
ptxas application ptx input, line 338; error   : Instruction 'shf.r' requires .target sm_32 or higher
ptxas application ptx input, line 343; error   : Instruction 'shf.r' requires .target sm_32 or higher
ptxas application ptx input, line 348; error   : Instruction 'shf.r' requires .target sm_32 or higher
ptxas application ptx input, line 353; error   : Instruction 'shf.r' requires .target sm_32 or higher
ptxas application ptx input, line 358; error   : Instruction 'shf.r' requires .target sm_32 or higher
ptxas application ptx input, line 363; error   : Instruction 'shf.r' requires .target sm_32 or higher
ptxas application ptx input, line 368; error   : Instruction 'shf.r' requires .target sm_32 or higher
ptxas application ptx input, line 373; error   : Instruction 'shf.r' requires .target sm_32 or higher
ptxas application ptx input, line 378; error   : Instruction 'shf.r' requires .target sm_32 or higher
ptxas application ptx input, line 383; error   : Instruction 'shf.r' requires .target sm_32 or higher
ptxas application ptx input, line 388; error   : Instruction 'shf.r' requires .target sm_32 or higher
ptxas application ptx input, line 3813; error   : Instruction 'shf.r' requires .target sm_32 or higher
ptxas application ptx input, line 3816; error   : Instruction 'shf.r' requires .target sm_32 or higher
ptxas application ptx input, line 3838; error   : Instruction 'shf.r' requires .target sm_32 or higher
ptxas application ptx input, line 3849; error   : Instruction 'shf.r' requires .target sm_32 or higher
ptxas application ptx input, line 3860; error   : Instruction 'shf.r' requires .target sm_32 or higher
ptxas application ptx input, line 3871; error   : Instruction 'shf.r' requires .target sm_32 or higher
ptxas application ptx input, line 3882; error   : Instruction 'shf.r' requires .target sm_32 or higher
ptxas application ptx input, line 3893; error   : Instruction 'shf.r' requires .target sm_32 or higher
ptxas application ptx input, line 3904; error   : Instruction 'shf.r' requires .target sm_32 or higher
ptxas application ptx input, line 3916; error   : Instruction 'shf.r' requires .target sm_32 or higher
ptxas application ptx input, line 3933; error   : Instruction 'shf.r' requires .target sm_32 or higher
ptxas application ptx input, line 3950; error   : Instruction 'shf.r' requires .target sm_32 or higher
ptxas application ptx input, line 3964; error   : Instruction 'shf.r' requires .target sm_32 or higher
ptxas application ptx input, line 3975; error   : Instruction 'shf.r' requires .target sm_32 or higher
ptxas application ptx input, line 3986; error   : Instruction 'shf.r' requires .target sm_32 or higher
                   
[23:33:38] Failed to init GPU thread 0, disabling device 0                   
[23:33:38] Restarting the GPU from the menu will not fix this.                   
[23:33:38] Try to restart the miner.                   
[23:33:38] 1 GPU mining threads started                   
[23:33:38] API not running - API will not be available                   
[23:33:38] Creating extra submit work thread

In normal mode it writes me after lines with "error   : Instruction 'shf.r' requires .target sm_32 or higher":
Quote
[23:38:13] Failed to init GPU thread 0, disabling device 0                   
[23:38:13] Restarting the GPU from the menu will not fix this.                   
[23:38:13] Try to restart the miner.                   
[23:38:14] The network difficulty has been set to 5095
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!