Miner- Optiminer/Zcash GPU miner v1.7!

Version 1.3.0 released!

  • Further device specific optimizations bringing up to 30% increase in hash rate!
  • Fix crahes with optimized kernel under Windows.

Important: Version 1.3.0 needs GPU_FORCE_64BIT_PTR=1

4rd and 3rd GCN generation cards (Nano, RX40) currently run slower on windows than linux. Therefore I recommend to use linux with fglrx (Nano) or amdgpu-pro (RX40) for those cards!

New speeds (stock card, linux):
R9 Nano: 390 S/s
R9 290X: 285 S/s
RX 480: 260 S/s

3 Likes

getting this:

[2017-01-06 19:10:03.741] [info] Optiminer/Zcash 1.3.0 (C) Optiminer 2017
[2017-01-06 19:10:03.741] [info] WatchDog: Executing “./watchdog-cmd” if any GPU is stale for more than 60s.
[2017-01-06 19:10:03.741] [info] Connecting to us1-zcash.flypool.org:3333.
[2017-01-06 19:10:03.968] [info] Using highly optimized kernel code for Fiji devices.
[2017-01-06 19:10:03.968] [info] Autodetected ‘–intensity 6’ for device 0.
[2017-01-06 19:10:04.045] [info] Extranonce is ‘10ac4c2f1b’.
[2017-01-06 19:10:04.122] [info] Connected to us1-zcash.flypool.org:3333.
[2017-01-06 19:10:04.122] [info] Mining target is 0020c49ba5e353f7ced916872b020c49ba5e353f7ced916872b020c49ba5e353
[2017-01-06 19:10:04.198] [info] [GPU0] Using device Fiji.
[2017-01-06 19:10:04.806] [error] Build Status: -2
[2017-01-06 19:10:04.806] [error] Build Log:
Internal error: Link failed.
Make sure the system setup is correct.

Ubuntu 14.04.3, fglrx 15.12, Nanos, with the 64bit ptr enabled. v1.2 works fine, I just changed the install directory and exported GPU_GPU_FORCE_64BIT_PTR=1 in my usual startup script.

???

Hmm, it is just “export GPU_FORCE_64BIT_PTR=1”. Maybe just try the mine.sh first? If this still does not work, please send me the output of ‘clinfo’.

always getting OpenCL error: cl::Context::Context() (CL_DEVICE_NOT_FOUND) , even after restart or with setting -d … With claymore working without problem, is there any option to show what miner detect? (i have 5x rx480 win7 x64)

Yes, of course it’s just “export”, I was using it as a word, i.e. “I exported …”, not the command “export”.

Just ran mine.sh from the v1.3 install directory, as is, and got the same error.

Here’s clinfo output:

joe@hummer$ clinfo
Number of platforms: 1
Platform Profile: FULL_PROFILE
Platform Version: OpenCL 2.0 AMD-APP (1800.11)
Platform Name: AMD Accelerated Parallel Processing
Platform Vendor: Advanced Micro Devices, Inc.
Platform Extensions: cl_khr_icd cl_amd_event_callback cl_amd_offline_devices

Platform Name: AMD Accelerated Parallel Processing
Number of devices: 2
Device Type: CL_DEVICE_TYPE_GPU
Vendor ID: 1002h
Board name: AMD Radeon ™ R9 Fury Series
Device Topology: PCI[ B#4, D#0, F#0 ]
Max compute units: 64
Max work items dimensions: 3
Max work items[0]: 256
Max work items[1]: 256
Max work items[2]: 256
Max work group size: 256
Preferred vector width char: 4
Preferred vector width short: 2
Preferred vector width int: 1
Preferred vector width long: 1
Preferred vector width float: 1
Preferred vector width double: 1
Native vector width char: 4
Native vector width short: 2
Native vector width int: 1
Native vector width long: 1
Native vector width float: 1
Native vector width double: 1
Max clock frequency: 1000Mhz
Address bits: 64
Max memory allocation: 904396800
Image support: Yes
Max number of images read arguments: 128
Max number of images write arguments: 64
Max image 2D width: 16384
Max image 2D height: 16384
Max image 3D width: 2048
Max image 3D height: 2048
Max image 3D depth: 2048
Max samplers within kernel: 16
Max size of kernel argument: 1024
Alignment (bits) of base address: 2048
Minimum alignment (bytes) for any datatype: 128
Single precision floating point capability
Denorms: No
Quiet NaNs: Yes
Round to nearest even: Yes
Round to zero: Yes
Round to +ve and infinity: Yes
IEEE754-2008 fused multiply-add: Yes
Cache type: Read/Write
Cache line size: 64
Cache size: 16384
Global memory size: 1422917632
Constant buffer size: 65536
Max number of constant args: 8
Local memory type: Scratchpad
Local memory size: 32768
Max pipe arguments: 16
Max pipe active reservations: 16
Max pipe packet size: 904396800
Max global variable size: 813957120
Max global variable preferred total size: 1422917632
Max read/write image args: 64
Max on device events: 1024
Queue on device max size: 524288
Max on device queues: 1
Queue on device preferred size: 262144
SVM capabilities:
Coarse grain buffer: Yes
Fine grain buffer: Yes
Fine grain system: No
Atomics: No
Preferred platform atomic alignment: 0
Preferred global atomic alignment: 0
Preferred local atomic alignment: 0
Kernel Preferred work group size multiple: 64
Error correction support: 0
Unified memory for Host and Device: 0
Profiling timer resolution: 1
Device endianess: Little
Available: Yes
Compiler available: Yes
Execution capabilities:
Execute OpenCL kernels: Yes
Execute native function: No
Queue on Host properties:
Out-of-Order: No
Profiling : Yes
Queue on Device properties:
Out-of-Order: Yes
Profiling : Yes
Platform ID: 0x7f798ebd0430
Name: Fiji
Vendor: Advanced Micro Devices, Inc.
Device OpenCL C version: OpenCL C 2.0
Driver version: 1800.11 (VM)
Profile: FULL_PROFILE
Version: OpenCL 2.0 AMD-APP (1800.11)
Extensions: cl_khr_fp64 cl_amd_fp64 cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_gl_sharing cl_khr_gl_depth_images cl_ext_atomic_counters_32 cl_amd_device_attribute_query cl_amd_vec3 cl_amd_printf cl_amd_media_ops cl_amd_media_ops2 cl_amd_popcnt cl_khr_image2d_from_buffer cl_khr_spir cl_khr_subgroups cl_khr_gl_event cl_khr_depth_images

Another data point: v1.3 runs with the “–force-generic-kernel” option, for what that’s worth.

Are you using the libOpenCL.so that is supplied with the fglrx drivers, or are you using the libs from the AMD OpenCL SDK?

Update: Just tried using the APPSDK-3.0 libraries, instead on the ones installed with the fglrx drivers, but I continue to get the same error, as above.

Thanks!
updated/upgraded 16.04 before setting 1.3 up.
used
export GPU_FORCE_64BIT_PTR=1
cards at default settings, no rom mods
RX 470 are running at 240-250 ea (to be specific, sapphire nitro+ 4gb at 250 and MSI gaming 4gb at 240-245) comparing with 185-188 prior. Great increase!

Very Nice, thanks again! Will report stability tomorrow.

Can’t get 1.3 to run at all on Windows 10… can someone please post your bat file? Thanks.
I did set PTR to 1. RX470 cards.

I’m only getting 190-200 h/s in Win 10 64, RX470 1500 strap… 240-250 is only possible on Linux?

My first test with your miner:
Ubuntu 14.04.1
Driver fglrx-updates
R9 280X stock → 215 S/s
R9 270X stock → 132 S/s

Very nice, thanks :wink:

1.2.0 works fine, but 1.3.0. stopped working when come to there:

[2017-01-07 10:12:26.200] [info] Optiminer/Zcash 1.3.0 (C) Optiminer 2017
[2017-01-07 10:12:26.203] [info] Connecting to zec-eu1.nanopool.org:6666.
[2017-01-07 10:12:26.305] [info] Extranonce is ‘0c0d000000000000cb0559a35f011737’.
[2017-01-07 10:12:26.305] [info] Mining target is 0004189300000000000000000000000000000000000000000000000000000000
[2017-01-07 10:12:26.349] [info] Connected to zec-eu1.nanopool.org:6666.
[2017-01-07 10:12:26.349] [info] Got new work.
[2017-01-07 10:12:31.130] [info] Using highly optimized kernel code for Hawaii devices.
[2017-01-07 10:12:31.131] [info] Using ‘–intensity 1’ from command line for device 1.
[2017-01-07 10:12:31.351] [info] [GPU1] Using device Hawaii.

also tried with generic kernel and it works, but low hash.

stock settings and using win 10, 15.12. 4x290x 2x290

Do you also have nvidia cards in the system? Try adding -c N where N small number, iterate 0,1,2.

Thanks, -c 1 worked for me, i do not have nvidia, but procesor have intel graphic

This should say
Driver version: 1912.5 (VM)
Profile: FULL_PROFILE
Version: OpenCL 2.0 AMD-APP (1912.5)

You might need to upgrade to fgrlx 15.30.

Yes, full speed for 3rd and 4th gen GCN cards like RX470 is currently only possible under Linux. It needs a feature of the card that I have not yet been able to unlock under Windows.

Any suggestion for me?

new version is awesome… great performance with rx480

Update windows drivers to 16.12.

with 16.12.1 it stops at connecting.
And claymore doesnt work too :smiley: