chia-plotter icon indicating copy to clipboard operation
chia-plotter copied to clipboard

Windows Build - Fury Road

Open stotiks opened this issue 3 years ago • 113 comments

Done! https://github.com/stotiks/chia-plotter/releases/tag/v0.0.1-alpha

image

PS. I need a rest

stotiks avatar Jun 09 '21 14:06 stotiks

All bow down to the almighty one who traversed the dangerous land of MinGW and library errors...

SebMoore avatar Jun 09 '21 14:06 SebMoore

it is wasteland of MSVC 😈

stotiks avatar Jun 09 '21 14:06 stotiks

Nah, but seriously man - great job. That clearly took some persevering.

SebMoore avatar Jun 09 '21 14:06 SebMoore

great stuff, congrats

madMAx43v3r avatar Jun 09 '21 14:06 madMAx43v3r

wow great job. can someone give us a walkthrough on how to set it up

Ronaldch9 avatar Jun 09 '21 14:06 Ronaldch9

good thing about windows, once you manage to compile it, it'll run everywhere

madMAx43v3r avatar Jun 09 '21 14:06 madMAx43v3r

Any chance of building again with the new command-line syntax ? (-n -t -t2 -d) ? :-)

carlfarrington avatar Jun 09 '21 14:06 carlfarrington

Hello. How do I assign a final directory?

vasya37 avatar Jun 09 '21 15:06 vasya37

Great Job! Can you add a make_release.bat or information on how to compile it? I need to cherry-pick a few things.

grayfallstown avatar Jun 09 '21 15:06 grayfallstown

How to use with parameter chia_plot -p "80d769219b03f1f392327340c1a2b879d46852932764aa1d20d08110422908fa6a874d7fe9baf4ea668c18a852c15905" -f "b7fb3f03444796ee4689a188b7beba727a34e831dcde182fa273f014870c08646687456aee7efde5e637c81273e15a3c" -t 'G:/tmp/' -d "F:\FARM-2"

Invalid <pool_key>: 00 (needs to be 48 bytes)

already supply -p xx -f xx -t xxx -d xxx 4 parameters

viponedream avatar Jun 09 '21 15:06 viponedream

@viponedream See there: https://github.com/stotiks/chia-plotter/tree/windows-fury-road#usage

grayfallstown avatar Jun 09 '21 15:06 grayfallstown

@viponedream See there: https://github.com/stotiks/chia-plotter/tree/windows-fury-road#usage

How to use final directory?

vasya37 avatar Jun 09 '21 15:06 vasya37

How to use final directory?

This seems to be one of the features that is not included

grayfallstown avatar Jun 09 '21 15:06 grayfallstown

How to use final directory?

This seems to be one of the features that is not included

Where will the finished file be saved?

vasya37 avatar Jun 09 '21 15:06 vasya37

@viponedream See there: https://github.com/stotiks/chia-plotter/tree/windows-fury-road#usage

How to use final directory?

-d "F:\FARM-2"

viponedream avatar Jun 09 '21 15:06 viponedream

Work?

vasya37 avatar Jun 09 '21 15:06 vasya37

@viponedream See there: https://github.com/stotiks/chia-plotter/tree/windows-fury-road#usage

-f xxx -p xxx -t xxx -d xxx give 4 parameters

viponedream avatar Jun 09 '21 15:06 viponedream

Work? Not yet How do you use the command line?

viponedream avatar Jun 09 '21 15:06 viponedream

It does not work, windows error ucertbase.dll, exception code: c0000409

hinemo avatar Jun 09 '21 16:06 hinemo

@hinemo install Visual C++ Redistributable für Visual Studio 2015 or 2019

grayfallstown avatar Jun 09 '21 16:06 grayfallstown

nstall Visual C++ Redistributable für Visual Studio 2015 or 2019

Visual C++ 2019

hinemo avatar Jun 09 '21 16:06 hinemo

@hinemo install Visual C++ Redistributable für Visual Studio 2015 or 2019

Visual C++ 2005、 Visual C++ 2008、Visual C++ 2010、Visual C++ 2012、Visual C++ 2015-2019,all in my windows。only 2015?

hinemo avatar Jun 09 '21 16:06 hinemo

chia_plot -p "80d769219b03f1f392327340c1a2b879d46852932764aa1d20d08110422908fa6a874d7fe9baf4ea668c18a852c15905" -f "b7fb3f03444796ee4689a188b7beba727a34e831dcde182fa273f014870c08646687456aee7efde5e637c81273e15a3c" -t 'G:/tmp/' -d "F:\FARM-2"

backslash needs to be escaped with another one, maybe?

madMAx43v3r avatar Jun 09 '21 16:06 madMAx43v3r

backslash needs to be escaped with another one, maybe?

chia_plot -p "80d769219b03f1f392327340c1a2b879d46852932764aa1d20d08110422908fa6a874d7fe9baf4ea668c18a852c15905" -f "b7fb3f03444796ee4689a188b7beba727a34e831dcde182fa273f014870c08646687456aee7efde5e637c81273e15a3c" -t 'G:/tmp/' -d "F:\FARM-2"

backslash needs to be escaped with another one, maybe?

like this : chia_plot 80d769219b03f1f392327340c1a2b879d46852932764aa1d20d08110422908fa6a874d7fe9baf4ea668c18a852c15905 b7fb3f03444796ee4689a188b7beba727a34e831dcde182fa273f014870c08646687456aee7efde5e637c81273e15a3c G:/tmp/ F:\FARM-2

hinemo avatar Jun 09 '21 16:06 hinemo

It does not work, windows error ucertbase.dll, exception code: c0000409 11 22

hinemo avatar Jun 09 '21 16:06 hinemo

Can you add a make_release.bat +1 windows complie is suck!

ghost avatar Jun 09 '21 16:06 ghost

The issue is that the original code has been changed to now use the same syntax as the official Chia plotter. Earlier this morning, the syntax was simply

chia_plot <pool_key> <farmer_key> [tmp_dir] [tmp_dir2] [num_threads] [log_num_buckets]

For <pool_key> and <farmer_key> see output of chia keys show. <tmp_dir> needs about 200G space, it will handle about 25% of all writes. (Examples: './', '/mnt/tmp/') <tmp_dir2> needs about 110G space and ideally is a RAM drive, it will handle about 75% of all writes. If <tmp_dir> is not specified it defaults to current directory. If <tmp_dir2> is not specified it defaults to <tmp_dir>. [num_threads] defaults to 4, it's recommended to use number of physical cores. [log_num_buckets] defaults to 7 (2^7 = 128)

The Windows build is based on the earlier syntax.

The newer syntax support '-n' parameter, where you can specify the number of plots to create, and I gather it will start the next plot while the current plot is still in phase 4 or something, i.e. it will run even more parallel.

Hopefully the win32 build will be updated to match.

carlfarrington avatar Jun 09 '21 16:06 carlfarrington

Now the problem is that nothing happens. The program runs, and then nothing happens. image

vasya37 avatar Jun 09 '21 16:06 vasya37

Creates these files in each temporary directory .chia_plot_tmp and. chia_plot_tmp2. This completes the work.

vasya37 avatar Jun 09 '21 16:06 vasya37

Creates these files in each temporary directory .chia_plot_tmp and. chia_plot_tmp2. This completes the work.

Install c++ redistributable

stotiks avatar Jun 09 '21 19:06 stotiks