Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mining not working: Error -1001 executing clGetPlatformIDs(0, NULL, &platformcount) on /home/runner/work/pow-miner-gpu/pow-miner-gpu/crypto/util/opencl/opencl.cpp:46 (invalid/unknown error code) #146

Open
ilegsei opened this issue Apr 5, 2022 · 0 comments

Comments

@ilegsei
Copy link

ilegsei commented Apr 5, 2022

When running miner as $ sudo ./tonlib-opencl-cli -v 3 -C global.config.json -e 'pminer start auto [MY_WALLET] 0 1'
I'm getting this:

[ 3][t 1][2022-04-05 18:59:54.233458004][TonlibClient.cpp:2108][!Tonlib]	Use blockchain name from MASTER config: 'mainnet' (was '')
[ 2][t 1][2022-04-05 18:59:54.254172111][tonlib-cli.cpp:293][!console]	Tonlib is inited
[ 3][t 1][2022-04-05 18:59:54.254304217][tonlib-cli.cpp:1072][!console]	Miner #1 created
[ 3][t 1][2022-04-05 18:59:54.876143523][tonlib-cli.cpp:942][!PowMiner]	pminer: got kf9iWhwk9GwAXjtwKG-vN7rmXT3hLIT23RBY6KhVaynRrIK7 complexity=1129986298211292607053919955647489147560119013805920581545400
[ 3][t 1][2022-04-05 18:59:54.876287279][tonlib-cli.cpp:942][!PowMiner]	pminer: got kf_NSzfDJI1A3rOM0GQm7xsoUXHTgmdhN5-OrGD8uwL2JMvQ complexity=1059876723496862125616570272071036334499974881229379012144639
[ 3][t 1][2022-04-05 18:59:54.876319332][tonlib-cli.cpp:942][!PowMiner]	pminer: got kf8JfFUEJhhpRW80_jqD7zzQteH6EBHOzxiOhygRhBdt4z2N complexity=1011035588482396440406503715354704205679855406143593479290952
[ 3][t 1][2022-04-05 18:59:54.878421095][tonlib-cli.cpp:942][!PowMiner]	pminer: got kf-kkdY_B7p-77TLn2hUhM6QidWrrsl8FYWCIvBMpZKprBtN complexity=1171798303170840115727489947206072118270429554516470648922299
[ 3][t 2][2022-04-05 18:59:54.880374827][tonlib-cli.cpp:942][!PowMiner]	pminer: got kf8SYc83pm5JkGt0p3TQRkuiM58O9Cr3waUtR9OoFq716lN- complexity=1141814307881217997448766899439283679650993736059570952883847
[ 3][t 2][2022-04-05 18:59:54.881573072][tonlib-cli.cpp:942][!PowMiner]	pminer: got kf8gf1PQy4u2kURl-Gz4LbS29eaN4sVdrVQkPO-JL80VhOe6 complexity=1075303997204011673715858433623582698411734826613541035279797
[ 3][t 1][2022-04-05 18:59:54.882796195][tonlib-cli.cpp:942][!PowMiner]	pminer: got kf8kO6K6Qh6YM4ddjRYYlvVAK7IgyW8Zet-4ZvNrVsmQ4EOF complexity=1079070968040156245009515159650331286560850714893683298038033
[ 3][t 1][2022-04-05 18:59:54.885099270][tonlib-cli.cpp:942][!PowMiner]	pminer: got kf-P_TOdwcCh0AXHhBpICDMxStxHenWdLCDLNH5QcNpwMHJ8 complexity=1145879847459837183843271043187958858849988409628791198849033
[ 3][t 1][2022-04-05 18:59:54.885430569][tonlib-cli.cpp:942][!PowMiner]	pminer: got kf91o4NNTryJ-Cw3sDGt9OTiafmETdVFUMvylQdFPoOxIsLm complexity=1034213553081263171294884015762501037151587424117836755881255
[ 3][t 1][2022-04-05 18:59:54.885515164][tonlib-cli.cpp:942][!PowMiner]	pminer: got kf-FV4QTxLl-7Ct3E6MqOtMt-RGXMxi27g4I645lw6MTWraV complexity=993426406274805609955679729330215507497997656205090740683840
[ 3][t 1][2022-04-05 18:59:54.885553351][tonlib-cli.cpp:925][!PowMiner]	pminer: SELECTED GIVER (auto): kf-kkdY_B7p-77TLn2hUhM6QidWrrsl8FYWCIvBMpZKprBtN complexity=1171798303170840115727489947206072118270429554516470648922299
[ 3][t 1][2022-04-05 18:59:54.885626782][Miner.cpp:105][!PowMiner]	[ mining in progress, passed: 631.0ms, hashes computed: 0, instant speed: 0.000 Mhash/s, average speed: 0.000 Mhash/s ]
[ 2][t 1][2022-04-05 18:59:55.223632159][tonlib-cli.cpp:897][!PowMiner]	pminer: got new options from kf-kkdY_B7p-77TLn2hUhM6QidWrrsl8FYWCIvBMpZKprBtN, seed=305904411204990783261541474681734568368, complexity=1171798303170840115727489947206072118270429554516470648922299
[ 3][t 1][2022-04-05 18:59:55.223708074][tonlib-cli.cpp:902][!PowMiner]	[ expected required hashes for success: 98815716769675597 ]
[ 3][t 1][2022-04-05 18:59:55.223758281][tonlib-cli.cpp:743][!PowMiner]	pminer: start workers
[ OpenCL: set kernel source (9417 bytes) ]
[ 1][t 3][2022-04-05 18:59:55.225622459][opencl.cpp:46]	Error -1001 executing clGetPlatformIDs(0, NULL, &platform_count_) on /home/runner/work/pow-miner-gpu/pow-miner-gpu/crypto/util/opencl/opencl.cpp:46 (invalid/unknown error code)
[pid 3620] [time 1649185195] Signal: 6
------- Stack Backtrace -------
./tonlib-opencl-cli(+0x28b591)[0x55b5fcb28591]
./tonlib-opencl-cli(+0x28b8a5)[0x55b5fcb288a5]
./tonlib-opencl-cli(+0x28888c)[0x55b5fcb2588c]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x143c0)[0x7fae60a2e3c0]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0xcb)[0x7fae6051d03b]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x12b)[0x7fae604fc859]
./tonlib-opencl-cli(+0xef254)[0x55b5fc98c254]
./tonlib-opencl-cli(+0x2d1aff)[0x55b5fcb6eaff]
./tonlib-opencl-cli(+0x2cc77d)[0x55b5fcb6977d]
./tonlib-opencl-cli(_ZN2td16LambdaDestructorIZNS_6detail13ThreadPthreadC4IZN9TonlibCli8PowMiner4loopEvEUlvE_JEEEOT_DpOT0_EUlvE_ED2Ev+0x4e)[0x55b5fc9f459e]
./tonlib-opencl-cli(_ZN2td16LambdaDestructorIZNS_6detail13ThreadPthreadC4IZN9TonlibCli8PowMiner4loopEvEUlvE_JEEEOT_DpOT0_EUlvE_ED0Ev+0x15)[0x55b5fc9f4825]
./tonlib-opencl-cli(_ZN2td6detail13ThreadPthread10run_threadEPv+0x3b)[0x55b5fc9cf21b]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x8609)[0x7fae60a22609]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x43)[0x7fae605f9163]
-------------------------------

I'm using

description: VGA compatible controller
       product: Pitcairn PRO [Radeon HD 7850 / R7 265 / R9 270 1024SP]
       vendor: Advanced Micro Devices, Inc. [AMD/ATI]
       physical id: 0
       bus info: pci@0000:04:00.0
       version: 00
       width: 64 bits
       clock: 33MHz
       capabilities: pm pciexpress msi vga_controller bus_master cap_list rom
       configuration: driver=radeon latency=0
       resources: irq:24 memory:e0000000-efffffff memory:dff80000-dffbffff ioport:e000(size=256) memory:c0000-dffff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant