madMAx43v3r / chia-gigahorse

221 stars 31 forks source link

GPU recompute failed with: clEnqueueNDRangeKernel() failed for kernel 'kernel0' with CL_OUT_OF_RESOURCES PlotInfo(prover=<chiapos.DiskProver object at 0xffffa950a5f0>, po #11 #248

Open liliput629 opened 10 months ago

liliput629 commented 10 months ago

Hello,

I 've using foxy_gh_farmer rock-4c-plus 5.10.110-1-rockchip,

with foxy-gigahores 1.2 work fine, but the new versions 1.4.2 , 1.6.2 , 1.72, seem that don't run correctly:(logfile:)

2023-11-27T21:30:17.196 foxy_gh_farmer harvester : INFO 1 plots were eligible for farming a6c9faee5b... Found 0 proofs. Time: 44.29412 s. Total 296 plots 2023-11-27T21:30:17.224 foxy_gh_farmer harvester : INFO Saved 302728 bytes of cached data 2023-11-27T21:30:17.496 foxy_gh_farmer harvester : INFO 1 plots were eligible for farming a6c9faee5b... Found 0 proofs. Time: 0.45258 s. Total 296 plots 2023-11-27T21:30:19.645 foxy_gh_farmer harvester : ERROR Exception fetching qualities for /media/chia/WD-14/chia_nft/plot-k32-c1-2023-07-01-20-11-e5d79859712099b0b3f977b3a2f4ce0b328fa7ad3b07639357ea844d76eb89a3.plot: GPU recompute failed with: clEnqueueNDRangeKernel() failed for kernel 'kernel0' with CL_OUT_OF_RESOURCES PlotInfo(prover=<chiapos.DiskProver object at 0xffffa950a5f0>, pool_public_key=None, pool_contract_puzzle_hash=, plot_public_key=<G1Element 9594c169057b937eec67b3a5c57d57ea650f5c46df33b0273043328e26d2c822d4f487bb3c4085736fa27f55098c4770>, file_size=90581981401, time_modified=1688249491.0896242) 2023-11-27T21:30:19.655 foxy_gh_farmer harvester : INFO 1 plots were eligible for farming a6c9faee5b... Found 0 proofs. Time: 1.47503 s. Total 296 plots 2023-11-27T21:30:26.905 foxy_gh_farmer harvester : INFO 0 plots were eligible for farming a6c9faee5b... Found 0 proofs. Time: 0.07344 s. Total 296 plots 2023-11-27T21:30:36.878 foxy_gh_farmer harvester : INFO 1 plots were eligible for farming a6c9faee5b... Found 0 proofs. Time: 0.43295 s. Total 296 plots ^C2023-11-27T21:30:41.538 foxy_g

thanks

felixbrucker commented 10 months ago

Coming from https://github.com/foxypool/foxy-gh-farmer/issues/11

Corresponding gigahorse version bumps for reference:

From this it reads like its working fine with 1.8.2.giga20-22 (would need to verify which version exactly) but breaks with 2.1.1.giga22.

From the clinfo in the foxy-gh-farmer issue it reads like at most 512mb can be allocated in one chunk (Max memory allocation 520077312 (496MiB)), but i'm just guessing here

Maybe something more changed during the chia version bump wrt opencl?

madMAx43v3r commented 10 months ago

Hmm it's possible I increased some buffer, but there's usually a reason for it.

Max memory allocation 520077312 (496MiB) is not great, running too high C level if that's the issue.

madMAx43v3r commented 10 months ago

giga22 was a fix for OpenCL compile failure