elective-stereophonic
elective-stereophonic
NxtMint Java minter singapore
Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest Stable Nxt Client: Nxt 1.11.15 | Latest Experimental Nxt Client: Nxt 1.12.0e

Pages: 1 ... 16 17 [18] 19 20  All

Author Topic: NxtMint Java minter  (Read 53252 times)

Hachoir

  • Full Member
  • ***
  • Karma: +12/-13
  • Offline Offline
  • Posts: 113
    • View Profile
Re: NxtMint Java minter
« Reply #340 on: February 17, 2015, 11:30:44 am »

Tried GPU minting with test version 1.6.0, got this message

Quote
12:28:45 SEVERE Main.main: Exception during program initialization
org.jocl.CLException: CL_PLATFORM_NOT_FOUND_KHR
        at org.jocl.CL.checkResult(CL.java:686)
        at org.jocl.CL.clGetPlatformIDs(CL.java:1916)
        at org.ScripterRon.NxtMint.Main.buildGpuList(Main.java:490)
        at org.ScripterRon.NxtMint.Main.main(Main.java:293)
What is this.

CPU minting is ok though
Logged

Wolf0

  • Jr. Member
  • **
  • Karma: +7/-0
  • Offline Offline
  • Posts: 97
    • View Profile
Re: NxtMint Java minter
« Reply #341 on: February 17, 2015, 11:35:35 am »

Tried GPU minting with test version 1.6.0, got this message

Quote
12:28:45 SEVERE Main.main: Exception during program initialization
org.jocl.CLException: CL_PLATFORM_NOT_FOUND_KHR
        at org.jocl.CL.checkResult(CL.java:686)
        at org.jocl.CL.clGetPlatformIDs(CL.java:1916)
        at org.ScripterRon.NxtMint.Main.buildGpuList(Main.java:490)
        at org.ScripterRon.NxtMint.Main.main(Main.java:293)
What is this.

CPU minting is ok though

You probably don't have GPU drivers installed - or perhaps not an AMD or Nvidia GPU (or any GPU that supports OpenCL.)
Logged

Hachoir

  • Full Member
  • ***
  • Karma: +12/-13
  • Offline Offline
  • Posts: 113
    • View Profile
Re: NxtMint Java minter
« Reply #342 on: February 17, 2015, 11:42:53 am »

I have NVIDIA GPU with drivers installed, OpenCL.dll is there in \Windows\system32, I copied in the Nxt Mint directory and still got the message.

Is it possible my GPU (NVIDIA Geforce 6150SE nForce 430) doesn't support minting ?
Logged

Wolf0

  • Jr. Member
  • **
  • Karma: +7/-0
  • Offline Offline
  • Posts: 97
    • View Profile
Re: NxtMint Java minter
« Reply #343 on: February 17, 2015, 11:46:32 am »

I have NVIDIA GPU with drivers installed, OpenCL.dll is there in \Windows\system32, I copied in the Nxt Mint directory and still got the message.

Is it possible my GPU (NVIDIA Geforce 6150SE nForce 430) doesn't support minting ?

Likely - a GPU like that probably doesn't have OpenCL support in its driver.
Logged

Hachoir

  • Full Member
  • ***
  • Karma: +12/-13
  • Offline Offline
  • Posts: 113
    • View Profile
Re: NxtMint Java minter
« Reply #344 on: February 17, 2015, 11:56:24 am »

Downloaded the drivers from there : http://www.geforce.com/drivers/results/57491

Here it says OpenCL is supported

Quote
Additional Details

Installs PhysX System Software v9.12.0604. Installs HD Audio v1.3.18.0. Supports DisplayPort 1.2 for GeForce GTX 600 series GPUs. Supports multiple languages and APIs for GPU computing: CUDA C, CUDA C++, CUDA Fortran, OpenCL, DirectCompute, and Microsoft C++ AMP. Supports single GPU and NVIDIA SLI technology on DirectX 9, DirectX 10, DirectX 11, and OpenGL, including 3-way SLI, Quad SLI, and SLI support on SLI-certified Intel and AMD motherboards.
Logged

Wolf0

  • Jr. Member
  • **
  • Karma: +7/-0
  • Offline Offline
  • Posts: 97
    • View Profile
Re: NxtMint Java minter
« Reply #345 on: February 17, 2015, 11:58:04 am »

Downloaded the drivers from there : http://www.geforce.com/drivers/results/57491

Here it says OpenCL is supported

Quote
Additional Details

Installs PhysX System Software v9.12.0604. Installs HD Audio v1.3.18.0. Supports DisplayPort 1.2 for GeForce GTX 600 series GPUs. Supports multiple languages and APIs for GPU computing: CUDA C, CUDA C++, CUDA Fortran, OpenCL, DirectCompute, and Microsoft C++ AMP. Supports single GPU and NVIDIA SLI technology on DirectX 9, DirectX 10, DirectX 11, and OpenGL, including 3-way SLI, Quad SLI, and SLI support on SLI-certified Intel and AMD motherboards.

CL_PLATFORM_NOT_FOUND_KHR is only returned on all queries if there are no OpenCL platforms available on the system, to my knowledge, so I don't know what to tell you.
Logged

madmartyk

  • Jr. Member
  • **
  • Karma: +5/-1
  • Offline Offline
  • Posts: 61
    • View Profile
Re: NxtMint Java minter
« Reply #346 on: February 17, 2015, 12:06:13 pm »

DLed the NXTMaster from GitHub.  Set my conf file to the specs and when I run the bat file it just quits.  Anything special I need to do?
Logged
Support Crypto for Kids!!!  www.cryptoforkids.com

Wolf0

  • Jr. Member
  • **
  • Karma: +7/-0
  • Offline Offline
  • Posts: 97
    • View Profile
Re: NxtMint Java minter
« Reply #347 on: February 17, 2015, 12:10:35 pm »

DLed the NXTMaster from GitHub.  Set my conf file to the specs and when I run the bat file it just quits.  Anything special I need to do?

Post your conf file. Also, did you build it first?
Logged

madmartyk

  • Jr. Member
  • **
  • Karma: +5/-1
  • Offline Offline
  • Posts: 61
    • View Profile
Re: NxtMint Java minter
« Reply #348 on: February 17, 2015, 12:39:09 pm »

I didn't, have no way to on the Windows box, (God, I'm such a N00B)
Logged
Support Crypto for Kids!!!  www.cryptoforkids.com

Wolf0

  • Jr. Member
  • **
  • Karma: +7/-0
  • Offline Offline
  • Posts: 97
    • View Profile
Re: NxtMint Java minter
« Reply #349 on: February 17, 2015, 12:42:21 pm »

I didn't, have no way to on the Windows box, (God, I'm such a N00B)

Github only has source code... not going to work.
Logged

ScripterRon

  • Hero Member
  • *****
  • Karma: +75/-2
  • Offline Offline
  • Posts: 523
    • View Profile
Re: NxtMint Java minter
« Reply #350 on: February 17, 2015, 03:17:07 pm »

I didn't, have no way to on the Windows box, (God, I'm such a N00B)
A compiled test version is available on Google Drive.  See my earlier post for the link.
Logged

ScripterRon

  • Hero Member
  • *****
  • Karma: +75/-2
  • Offline Offline
  • Posts: 523
    • View Profile
Re: NxtMint Java minter
« Reply #351 on: February 17, 2015, 03:23:11 pm »

I have NVIDIA GPU with drivers installed, OpenCL.dll is there in \Windows\system32, I copied in the Nxt Mint directory and still got the message.

Is it possible my GPU (NVIDIA Geforce 6150SE nForce 430) doesn't support minting ?
The NVIDIA device drivers support multiple cards.  From what I have read, OpenCL is available with GeForce 8xxx and later.  So your card doesn't support it.
Logged

ScripterRon

  • Hero Member
  • *****
  • Karma: +75/-2
  • Offline Offline
  • Posts: 523
    • View Profile
Re: NxtMint Java minter
« Reply #352 on: February 17, 2015, 11:02:50 pm »

NxtMint 1.6 is up on GitHub.  This release adds native CPU and GPU support for SHA3-256.  See the first post in this topic for download instructions.
Logged

oldambtster

  • Jr. Member
  • **
  • Karma: +5/-0
  • Offline Offline
  • Posts: 77
  • It's life Jim, but not as we know it...
    • View Profile
    • Oldambtplein
Re: NxtMint Java minter
« Reply #353 on: February 21, 2015, 04:07:44 pm »

Got it working, but it seems to be somewhat slow. ( not even a MH/ps )
( But it could be that it is just an AMD E350 with a 6810 GPU build in... )

Code: [Select]
GPU device 0: AMD Accelerated Parallel Processing, Loveland, Driver 1411.4
128MB global memory, 32KB local memory, 2 compute units, Max work group size 256

Tried these settings:
Code: [Select]
# Set the CPU thread count (the default is 1).  CPU minting will not be done
# if cpuThreads=0.
cpuThreads=2

# Set the GPU intensity (the default is 0).  GPU minting will not be done
# if gpuIntensity=0.
gpuIntensity=100

# Set the GPU device number (0, 1, 2, ...), the work group size and the work group count.
# The first GPU device will be used if this parameter is omitted.  This parameter can
# be repeated to use multiple GPU devices.  The GPU devices that are available are
# listed when NxtMint is started with a non-zero value for gpuIntensity. 
gpuDevice=0,256,2

But doubt about the last one, any suggestions?
« Last Edit: February 21, 2015, 04:33:50 pm by oldambtster »
Logged
Graphical designer by profession, geek by nature. Has been WinX system administrator, now happy Linux user. Hobby programmer in PureBasic. Webadmin and copywriter. Also father and husband living at the North-east coast of the Netherlands. There were we live the easy life in a healthy environment.

ScripterRon

  • Hero Member
  • *****
  • Karma: +75/-2
  • Offline Offline
  • Posts: 523
    • View Profile
Re: NxtMint Java minter
« Reply #354 on: February 21, 2015, 04:33:29 pm »

Finaly got NXTmint started on Ubuntu 14.04 with Oracle Java 8.

From the clCreateCommandQueue man page:
  CL_OUT_OF_HOST_MEMORY if there is a failure to allocate resources required by the OpenCL implementation on the host

I don't see how clCreateCommandQueue could require a lot of storage.  But it is the first object created, so the error probably refers to creating the OpenCL context itself and not the command queue.  But even that shouldn't require a lot of storage.

The recommended debug path is to run some of the sample applications included in the APP SDK and see if they work.  I don't have an AMD card, so I can't help you with that.  You can also try running clinfo from the SDK.

There are some posts about OpenCL being broken on Ubuntu 14.04.  But this is from early last year, so I don't know if it still applies.  You could try 'apt-get update' followed by 'apt-get upgrade' to make sure you have the latest driver level.
Logged

oldambtster

  • Jr. Member
  • **
  • Karma: +5/-0
  • Offline Offline
  • Posts: 77
  • It's life Jim, but not as we know it...
    • View Profile
    • Oldambtplein
Re: NxtMint Java minter
« Reply #355 on: February 21, 2015, 04:37:01 pm »

Finaly got NXTmint started on Ubuntu 14.04 with Oracle Java 8.

From the clCreateCommandQueue man page:
  CL_OUT_OF_HOST_MEMORY if there is a failure to allocate resources required by the OpenCL implementation on the host

I don't see how clCreateCommandQueue could require a lot of storage.  But it is the first object created, so the error probably refers to creating the OpenCL context itself and not the command queue.  But even that shouldn't require a lot of storage.

The recommended debug path is to run some of the sample applications included in the APP SDK and see if they work.  I don't have an AMD card, so I can't help you with that.  You can also try running clinfo from the SDK.

There are some posts about OpenCL being broken on Ubuntu 14.04.  But this is from early last year, so I don't know if it still applies.  You could try 'apt-get update' followed by 'apt-get upgrade' to make sure you have the latest driver level.

Allready got that fixed, had to restart Ubuntu, then it worked.
But now it just seems yawning slow...
Logged
Graphical designer by profession, geek by nature. Has been WinX system administrator, now happy Linux user. Hobby programmer in PureBasic. Webadmin and copywriter. Also father and husband living at the North-east coast of the Netherlands. There were we live the easy life in a healthy environment.

oldambtster

  • Jr. Member
  • **
  • Karma: +5/-0
  • Offline Offline
  • Posts: 77
  • It's life Jim, but not as we know it...
    • View Profile
    • Oldambtplein
Re: NxtMint Java minter
« Reply #356 on: February 21, 2015, 05:12:36 pm »

Guess my system is just very slow, tried several settings stays about same value in (K)Hashes.  :-\
Is SHA3 that more hard than SHA256 for example?

Ah well, got NXTminer working, minting with CPU and GPU.  8)
Logged
Graphical designer by profession, geek by nature. Has been WinX system administrator, now happy Linux user. Hobby programmer in PureBasic. Webadmin and copywriter. Also father and husband living at the North-east coast of the Netherlands. There were we live the easy life in a healthy environment.

ScripterRon

  • Hero Member
  • *****
  • Karma: +75/-2
  • Offline Offline
  • Posts: 523
    • View Profile
Re: NxtMint Java minter
« Reply #357 on: February 21, 2015, 07:13:29 pm »

Guess my system is just very slow, tried several settings stays about same value in (K)Hashes.  :-\
Is SHA3 that more hard than SHA256 for example?

Ah well, got NXTminer working, minting with CPU and GPU.  8)
I get 32 MH/s mining Torum using an NVIDIA GT 720.  I've come to the conclusion that AMD cards need OpenCL routines that are optimized for those cards.  I can't do that since I don't have an AMD card.  If somebody familiar with AMD cards will do this, I'll include the routines in the NxtMint package.
Code: [Select]
C:\Bitcoin\NxtMint>java.exe -Xmx256m -Djava.library.path=\Bitcoin\NxtMint\jni -jar \Bitcoin\NxtMint\
NxtMint-1.6.0.jar
02:09:11 INFO Main.main: Java Nxt Mint Version 1.6.0
02:09:11 INFO Main.main: Application data path: C:\Users\Ronald\Appdata\Roaming\NxtMint
02:09:11 INFO Main.main: Using Nxt node at scripterron.dyndns.biz:7876
02:09:11 INFO Main.main: Minting 5,000,000.000000 units of TORUM for account NXT-XM86-4ZNA-65L5-CDWUE: 0 CPU threads, 1024 GPU intensity
02:09:11 INFO Nxt.init: API node=scripterron.dyndns.biz, API port=7876
02:09:13 INFO Main.buildGpuList: GPU device 0: NVIDIA CUDA, GeForce GT 720, Driver 347.09
  1024MB global memory, 47KB local memory, 2 compute units, Max work group size 1024
02:09:15 INFO HashFunction.<init>: JNI library NxtMint_x86_64 loaded - using native CPU hash routines
02:09:15 FINE GpuFunction.<init>: GPU 0: Using rotate() built-in function
02:09:16 FINE GpuSha3.<init>: GPU 0: Local size 128, Global size 1048576, Passes 1
02:09:16 INFO MintWorker.run: GPU worker 0 starting on GPU 0
02:09:16 FINE MintWorker.run: Worker 0 starting on counter 20
02:10:16 FINE MintWorker.run: Worker 0: 1,928.33 MHash, 32.1389 MHash/s
Logged

oldambtster

  • Jr. Member
  • **
  • Karma: +5/-0
  • Offline Offline
  • Posts: 77
  • It's life Jim, but not as we know it...
    • View Profile
    • Oldambtplein
Re: NxtMint Java minter
« Reply #358 on: February 21, 2015, 07:24:05 pm »

Guess my system is just very slow, tried several settings stays about same value in (K)Hashes.  :-\
Is SHA3 that more hard than SHA256 for example?

Ah well, got NXTminer working, minting with CPU and GPU.  8)
I get 32 MH/s mining Torum using an NVIDIA GT 720.  I've come to the conclusion that AMD cards need OpenCL routines that are optimized for those cards.  I can't do that since I don't have an AMD card.  If somebody familiar with AMD cards will do this, I'll include the routines in the NxtMint package.
Code: [Select]
C:\Bitcoin\NxtMint>java.exe -Xmx256m -Djava.library.path=\Bitcoin\NxtMint\jni -jar \Bitcoin\NxtMint\
NxtMint-1.6.0.jar
02:09:11 INFO Main.main: Java Nxt Mint Version 1.6.0
02:09:11 INFO Main.main: Application data path: C:\Users\Ronald\Appdata\Roaming\NxtMint
02:09:11 INFO Main.main: Using Nxt node at scripterron.dyndns.biz:7876
02:09:11 INFO Main.main: Minting 5,000,000.000000 units of TORUM for account NXT-XM86-4ZNA-65L5-CDWUE: 0 CPU threads, 1024 GPU intensity
02:09:11 INFO Nxt.init: API node=scripterron.dyndns.biz, API port=7876
02:09:13 INFO Main.buildGpuList: GPU device 0: NVIDIA CUDA, GeForce GT 720, Driver 347.09
  1024MB global memory, 47KB local memory, 2 compute units, Max work group size 1024
02:09:15 INFO HashFunction.<init>: JNI library NxtMint_x86_64 loaded - using native CPU hash routines
02:09:15 FINE GpuFunction.<init>: GPU 0: Using rotate() built-in function
02:09:16 FINE GpuSha3.<init>: GPU 0: Local size 128, Global size 1048576, Passes 1
02:09:16 INFO MintWorker.run: GPU worker 0 starting on GPU 0
02:09:16 FINE MintWorker.run: Worker 0 starting on counter 20
02:10:16 FINE MintWorker.run: Worker 0: 1,928.33 MHash, 32.1389 MHash/s

That is a huge difference... Hope somebody can optimize this for AMD.
Will try some other Valuta later.

Thanks for the info.
Logged
Graphical designer by profession, geek by nature. Has been WinX system administrator, now happy Linux user. Hobby programmer in PureBasic. Webadmin and copywriter. Also father and husband living at the North-east coast of the Netherlands. There were we live the easy life in a healthy environment.

Wolf0

  • Jr. Member
  • **
  • Karma: +7/-0
  • Offline Offline
  • Posts: 97
    • View Profile
Re: NxtMint Java minter
« Reply #359 on: February 21, 2015, 08:01:33 pm »

Guess my system is just very slow, tried several settings stays about same value in (K)Hashes.  :-\
Is SHA3 that more hard than SHA256 for example?

Ah well, got NXTminer working, minting with CPU and GPU.  8)
I get 32 MH/s mining Torum using an NVIDIA GT 720.  I've come to the conclusion that AMD cards need OpenCL routines that are optimized for those cards.  I can't do that since I don't have an AMD card.  If somebody familiar with AMD cards will do this, I'll include the routines in the NxtMint package.
Code: [Select]
C:\Bitcoin\NxtMint>java.exe -Xmx256m -Djava.library.path=\Bitcoin\NxtMint\jni -jar \Bitcoin\NxtMint\
NxtMint-1.6.0.jar
02:09:11 INFO Main.main: Java Nxt Mint Version 1.6.0
02:09:11 INFO Main.main: Application data path: C:\Users\Ronald\Appdata\Roaming\NxtMint
02:09:11 INFO Main.main: Using Nxt node at scripterron.dyndns.biz:7876
02:09:11 INFO Main.main: Minting 5,000,000.000000 units of TORUM for account NXT-XM86-4ZNA-65L5-CDWUE: 0 CPU threads, 1024 GPU intensity
02:09:11 INFO Nxt.init: API node=scripterron.dyndns.biz, API port=7876
02:09:13 INFO Main.buildGpuList: GPU device 0: NVIDIA CUDA, GeForce GT 720, Driver 347.09
  1024MB global memory, 47KB local memory, 2 compute units, Max work group size 1024
02:09:15 INFO HashFunction.<init>: JNI library NxtMint_x86_64 loaded - using native CPU hash routines
02:09:15 FINE GpuFunction.<init>: GPU 0: Using rotate() built-in function
02:09:16 FINE GpuSha3.<init>: GPU 0: Local size 128, Global size 1048576, Passes 1
02:09:16 INFO MintWorker.run: GPU worker 0 starting on GPU 0
02:09:16 FINE MintWorker.run: Worker 0 starting on counter 20
02:10:16 FINE MintWorker.run: Worker 0: 1,928.33 MHash, 32.1389 MHash/s

That is a huge difference... Hope somebody can optimize this for AMD.
Will try some other Valuta later.

Thanks for the info.

SHA3? That's a VERY simple algo - in fact, I've written a 25-way parallel implementation for CUDA, at one point! Not optimal for GPUs, since you pound the hell out of LDS, though.

I'm mining pretty solidly on it - screenshot (NSFW): https://ottrbutt.com/miner/nxtmintwolf-02212015.png

GPU 0 is a 280X, GPU 1 is a 270X, GPU 2 is a 290X, and GPU 3 is a 7950.
Logged
Pages: 1 ... 16 17 [18] 19 20  All
 

elective-stereophonic
elective-stereophonic
assembly
assembly