fancyIX / sgminer-phi2-branch

A branch of sgminer optimized with GCN cross lane instructions on AMD (ethash, phi2, lyra2Z[z], allium, x25x, lyra2REv2/v3, argon2d, yescrypt, neoscrypt, 0x10)
GNU General Public License v3.0
54 stars 27 forks source link

Neoscrypt-Xaya fails on v0.8.0 (AMD RX5700) #251

Closed UselessGuru closed 2 years ago

UselessGuru commented 2 years ago

.\sgminer.exe --scan-time 1 --gpu-threads 1 --worksize 256 --intensity 17 --kernel neoscrypt-xaya_navi --url stratum+tcp://neoscrypt-xaya.eu.mine.zpool.ca:4234 --user ############### --pass ########,c=BTC --api-listen --api-port 4001 --gpu-platform 1 --device 0

[15:44:21] Started sgminer v0.8.0-0 [15:44:21] * using Jansson 2.11 [15:44:23] Probing for an alive pool [15:44:24] Startup GPU initialization... Using settings from pool neoscrypt-xaya.eu.mine.zpool.ca. [15:44:24] Startup Pool No = 0 [15:44:24] neoscrypt-xaya.eu.mine.zpool.ca difficulty changed to 32 [15:44:24] Building binary neoscrypt-xaya_navigfx1010:xnack-gw256l4lgtc131072.bin [15:44:27] Initialising kernel neoscrypt-xaya_navi.cl with nfactor 10, n 1024 [15:44:28] Building binary neoscrypt-xaya_naviEllesmeregw256l4lgtc131072.bin [15:44:28] Error -11: Building Program (clBuildProgram)

RX5800 8GB on the same computer works with .\sgminer.exe --scan-time 1 --gpu-threads 1 --worksize 256 --intensity 17 --kernel neoscrypt-xaya --url stratum+tcp://neoscrypt-xaya.eu.mine.zpool.ca:4234 --user ############### --pass ########,c=BTC --api-listen --api-port 4001 --gpu-platform 1 --device 1

fancyIX commented 2 years ago

@UselessGuru can you try --gpu-platform 0 or --gpu-platform 2? I think navi card and rx 580 cards belong to different platform number. If that doesn't help, you can just copy neoscrypt-xayaEllesmeregw256l4lgtc131072.bin in bin-kernel and rename it to neoscrypt-xaya_naviEllesmeregw256l4lgtc131072.bin

UselessGuru commented 2 years ago

can you try --gpu-platform 0 or --gpu-platform 2?

Does not work. Both cards are in the same OpenCL patform. All other miners are working well.

you can just copy neoscrypt-xayaEllesmeregw256l4lgtc131072.bin in bin-kernel

That gets the miner working, but I is not really a fix 👎

fancyIX commented 2 years ago

Current code cannot auto handle both navi and pre-navi cards. The parameter "-k neoscrypt-xaya_naiv" is only meant for navi cards