ethereum-mining / ethminer

Ethereum miner with OpenCL, CUDA and stratum support
GNU General Public License v3.0
5.96k stars 2.28k forks source link

Not able to mine on xilinx board [How to mention kernel/bitstream in ethminer] #1985

Open manwapri opened 4 years ago

manwapri commented 4 years ago

I have xilinx alveo u200 pcie card.

I have created and installed bitstream in it, but getting error while running ethminer application.

Please find the below error for your reference:

[manwapri@localhost ~]$ /usr/local/bin/ethminer -v1 -G -P stratum://xxx.manwapri:x@asia1.ethermine.org:4444

ethminer 0.18.0-alpha.3
Build: linux/release/gnu

Unrecognized platform Xilinx
Error: No usable mining devices found

sometimes ethminer capturing the device but not able to mine, driver is getting crash.

[manwapri@localhost ~]$ /usr/local/bin/ethminer -G --list-devices

ethminer 0.18.0-alpha.3
Build: linux/release/gnu

XRT build version: 2.5.309
Build hash: 9a03790c11f066a5597b133db737cf4683ad84c8
Build date: 2020-02-24 02:54:37
Git branch: 2019.2_PU2
PID: 5491
UID: 1000
[Fri Apr 17 19:21:57 2020]
HOST: localhost.localdomain
EXE: /usr/local/bin/ethminer
[XRT] ERROR: No devices found
No OpenCL platforms found
Error: No usable mining devices found

Do i need to add some code or add kernel in ethminer directory?

Could anyone please suggest anything.

afaq005 commented 2 years ago

hello, I'm having the same issue. Have you got any solution yet? @manwapri

manwapri commented 2 years ago

Your bitstream is not proper, kindly check your bitstream.

second, compile your program with version 7+

afaq005 commented 2 years ago

Can you please tell me how to check the bitstream. I'm a newbie and version 7 of what? @manwapri Thank you

manwapri commented 2 years ago

c or c++ compiler version 7+.

You must learn programming to mention your card in program, this is the main reason of code failure for this card.

afaq005 commented 2 years ago

Thank you so much @manwapri for helping Can you just pin pint the file where card should be mention Sorry @manwapri for asking so much

afaq005 commented 2 years ago

Can you please tell me how to do it? If you want I can pay you? @manwapri

zkdl3 commented 2 years ago

looking for same solution for U250 , Ready to pay who can setup it.