andru-kun / wildrig-multi

multi algo miner for AMD, NVIDIA and Intel gpu's
247 stars 50 forks source link

v0.39.9a/b/c (Windows): No hashrate for xevan with RX5700 #275

Open UselessGuru opened 9 months ago

UselessGuru commented 9 months ago

Bin\Wildrig-v0.39.9a>wildrig.exe --algo xevan --api-port 4001 --url stratum+tcp://xevan.eu.mine.zergpool.com:3739 --user ********************* --pass c=BTC,mc=BSD,ID=************** --multiple-instance --opencl-devices 1

 ###################################
 #################  ################
 ################    ############### * ABOUT:    WildRig/0.39.9a
 ####   #########    #########   ### * CPU:      Intel(R) Core(TM) i5-8600K CPU @ 3.60GHz
 ####     #######    #######     ### * ALGO:     xevan
 ####   #  ######    ######      ### * POOL #1:  xevan.eu.mine.zergpool.com:3739
 ####   ##  #####    #####  ##   ### * API PORT: 4001
 ####   ##   #####  #####   ##   ### * COMMANDS: hashrate, statistics
 ####   ##   #####  #####  ###   ###
 ####   ###  #####  #####  ###   ###   devfee: 0.75%
 ####   ###  ####    ####  ###   ###   send-stale: no
 ####   ###   ###    ###   ###   ###   watchdog: disabled
 ####   ##    ##      ##    ##   ###
 ####      #####  ##  #####      ###
 ####   #   ###  ####  ###   #   ###
 ####   ##       ####       ##   ###
 ####   #####  #      #  #####   ###
 ####   #####  ###  ###  #####   ###
 ####                            ###
 ############   ##  ##   ###########
 #############   #  #   ############
  #############        #############
      ###########    ###########
          ##################

[10:28:17] Initializing GPUs...
[10:28:17] GPU #1: AMD Radeon RX 5700 XT [busID: 9] [arch: gfx1010]
[10:28:17] threads: 2, intensity: 19, cu: 40, mem: 8176Mb
[10:28:18] Start mining
[10:28:19] use pool xevan.eu.mine.zergpool.com:3739 141.95.55.97
[10:28:19] Stratum set raw difficulty to 12.0000
[10:28:19] new job from xevan.eu.mine.zergpool.com:3739 diff 201.33M/2.06G
[10:28:19] block: 1,381,990     job target: 0x0000001555400000
[10:28:47] new job from xevan.eu.mine.zergpool.com:3739 diff 201.33M/2.06G
[10:28:47] block: 1,381,990     job target: 0x0000001555400000
[10:29:13] new job from xevan.eu.mine.zergpool.com:3739 diff 201.33M/2.06G
[10:29:13] block: 1,381,991     job target: 0x0000001555400000
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┫Statistics┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 ID Name                         Hashrate Temp  Fan  Pwr   Eff CClk MClk     A   R   I
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 #1 Radeon RX 5700 XT            n/a MH/s  43C  42%  81W   nan 2013  200     -   -   -
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 10s:                            n/a MH/s Power:     81W            Accepted:        -
 60s:                            n/a MH/s                           Rejected:        -
 15m:                            n/a MH/s                           Ignored:         -
┫0 days 00:00:57┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
[10:30:12] new job from xevan.eu.mine.zergpool.com:3739 diff 201.33M/2.06G
[10:30:12] block: 1,381,991     job target: 0x0000001555400000
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┫Statistics┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 ID Name                         Hashrate Temp  Fan  Pwr   Eff CClk MClk     A   R   I
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 #1 Radeon RX 5700 XT            n/a MH/s  44C  42%  80W   nan 2012  200     -   -   -
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 10s:                            n/a MH/s Power:     80W            Accepted:        -
 60s:                            n/a MH/s                           Rejected:        -
 15m:                            n/a MH/s                           Ignored:         -
┫0 days 00:01:57┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┫Statistics┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 ID Name                         Hashrate Temp  Fan  Pwr   Eff CClk MClk     A   R   I
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 #1 Radeon RX 5700 XT            n/a MH/s  45C  42%  76W   nan 2013  200     -   -   -
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 10s:                            n/a MH/s Power:     76W            Accepted:        -
 60s:                            n/a MH/s                           Rejected:        -
 15m:                            n/a MH/s                           Ignored:         -
┫0 days 00:02:57┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
[10:31:15] new job from xevan.eu.mine.zergpool.com:3739 diff 201.33M/2.06G
[10:31:15] block: 1,381,991     job target: 0x0000001555400000
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┫Statistics┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 ID Name                         Hashrate Temp  Fan  Pwr   Eff CClk MClk     A   R   I
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 #1 Radeon RX 5700 XT            n/a MH/s  45C  42%  80W   nan 2012  200     -   -   -
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 10s:                            n/a MH/s Power:     80W            Accepted:        -
 60s:                            n/a MH/s                           Rejected:        -
 15m:                            n/a MH/s                           Ignored:         -
┫0 days 00:03:57┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
[10:32:18] new job from xevan.eu.mine.zergpool.com:3739 diff 201.33M/2.06G
[10:32:18] block: 1,381,991     job target: 0x0000001555400000

Neither ZergPool nor Zpool work. Other GPUS, e.g. RX580, GTX1660 Super work fine.

andru-kun commented 9 months ago

hm, drivers version?

andru-kun commented 9 months ago

but still strange, xevan uses specific kernels, and all of them didn't change for ages except one(but this one used in a lot of algorithms, so not a case). So one more question - any OC applied to a card?

UselessGuru commented 9 months ago

any OC applied to a card

Yes, but unchanged for all miners (using same AfterBurner config for years). This has so far never been an issue. And it also works with all other algos with WildRig.

hm, drivers version?

31.0.14051.5006 | 3516.0 (PAL,HSAIL), 20.04.2023

These are the latest (I know of) that work for the combination for RX580 & RX5700. Newer drivers don't work with RX580.

andru-kun commented 9 months ago

any OC applied to a card

Yes, but unchanged for all miners (using same AfterBurner config for years). This has so far never been an issue. And it also works with all other algos with WildRig.

can you try to run it without OC applied? Xevan is pretty different from all other algorithms, so that can be a case

UselessGuru commented 9 months ago

can you try to run it without OC applied?

Just did. Cold restart without any OC. Miner starts, GPU Core & mem clock quickly jump to 2000Mhz. Then mem clock drops to idle 200Mhz (GPU clock remains high). No mining after this, power consumption is at 80W.

andru-kun commented 9 months ago

can you try to run it without OC applied?

Just did. Cold restart without any OC. Miner starts, GPU Core & mem clock quickly jump to 2000Mhz. Then mem clock drops to idle 200Mhz (GPU clock remains high). No mining after this, power consumption is at 80W.

ok, thanks, will try with my 5700XT on older drivers too. And as I understand - other algorithms work just fine?

UselessGuru commented 9 months ago

And as I understand - other algorithms work just fine?

Yes. All other algos with 0.39.9b work fine with RX5700

andru-kun commented 9 months ago

things become even odder. It does work on my 5700XT with some standard AMD driver(stated as 3516). Also after DDU I installed 3444(released 2020.12) and it also just works. In both cases kernel format is new one, so I will try some older version of drivers, but looks like problem is not this. Can you try 1 thread per gpu? --gpu-threads 1

andru-kun commented 9 months ago

After some quests with Windows replacing my drivers I have installed one released on 2019.12. On this drivers xevan do hang, but looks like it's related to a driver. --gpu-threads 1 solves the issue.

UselessGuru commented 9 months ago

in this drivers xevan do hang, but looks like it's related to a driver. --gpu-threads 1 solves the issue.

Yep. --gpu-threads 1 solves the issue. --gpu-threads 1 also improves performance on RX580 (2.5MH/s -> 2.7MH/s)

andru-kun commented 9 months ago

in this drivers xevan do hang, but looks like it's related to a driver. --gpu-threads 1 solves the issue.

Yep. --gpu-threads 1 solves the issue. --gpu-threads 1 also improves performance on RX580 (2.5MH/s -> 2.7MH/s)

0.39.9b should be better with two threads on RX580, there was some regression introduced for old Polaris/Vega gpu's. But maybe it's not, need to test )

UselessGuru commented 8 months ago

Xevan is still not working in 0.39.9c (without --gpu-threads 1)