Chia-Network / bladebit

A high-performance k32-only, Chia (XCH) plotter supporting in-RAM and disk-based plotting
Apache License 2.0
339 stars 109 forks source link

Bladebit cuda - simulate not finding GPU in Windows 10[Bug] #326

Open Voodoo-Chia opened 1 year ago

Voodoo-Chia commented 1 year ago

What happened?

Windows 10 pro 22H2, OS build 19045.2846 Nvidia driver version 516.94 GTX 1050

Running the bladebit_cuda simulate command (./bladebit_cuda simulate -n 1000 D:\myplot) gives the following warning: 'No GPU device decompressor selected. Falling back to CPU-based simulation' Specifying -d 0 or -d 1 returns fatal error: 'unexpected argument'

N.B. Farmer is running fine with GPU on this system using this version: https://downloads.chia.net/bladebit/alpha4/chia-blockchain-cuda/windows-installer/

Version

1.8.2rc2-dev34

What platform are you using?

Windows

What ui mode are you using?

CLI

Relevant log output

PS C:\Users\admin\Downloads\bladebit-cuda-v3.0.0-alpha4-windows-x86-64> ./bladebit_cuda.exe simulate -n 100 D:\compressed_plots\plot-k32-c07-2023-04-12-14-20-99e5235bd17192e0f91fde704805751c94d5adc43251221d260d64b3e295b7a5.plot
[Simulator for harvester farm capacity for K32 C7 plots]
 Random seed: 0xc12851eebd534ace5a0aa7045e99824b349038e1317dfed4f26009e2aff70bc9
 Simulating...

Warning: No GPU device decompressor selected. Falling back to CPU-based simulation.
Voodoo-Chia commented 1 year ago

Latest studio version of nvidia driver is working: 531.61 got a result with -n 100 trying -n 1000 resulted in:

PS C:\Users\admin\Downloads\bladebit-cuda-v3.0.0-alpha4-windows-x86-64> ./bladebit_cuda.exe simulate -n 1000 D:\compressed_plots\plot-k32-c07-2023-04-12-14-20-99e5235bd17192e0f91fde704805751c94d5adc43251221d260d64b3e295b7a5.plot [Simulator for harvester farm capacity for K32 C7 plots] Random seed: 0x3c7d8446ccfc40d77f10979b179e45d0256bafdc645255911be694c2ef040db4 Simulating...

Fatal Error: Decompression error while fetching proof for F7 2861034902. PS C:\Users\admin\Downloads\bladebit-cuda-v3.0.0-alpha4-windows-x86-64>