Open Ronaldch9 opened 3 years ago
Setup WSL https://www.youtube.com/results?search_query=setting+up+wsl+on+windows+10 Install Ubuntu inside Windows https://www.youtube.com/results?search_query=ubuntu+wsl Make sure you know how to access the windows drives inside WSL https://www.youtube.com/results?search_query=How+to+access+external+drives+from+WSL Setup cmake https://www.youtube.com/results?search_query=ubuntu+setup+cmake Setup git https://www.youtube.com/results?search_query=ubuntu+install+git
Inside WSL:
sudo apt install libgmp3-dev libsodium-dev -y
git clone https://github.com/madMAx43v3r/chia-plotter
cd chia-plotter
git submodule update --init
./make_devel.sh
export POOL_KEY="ac8e049..."
export FARMER_KEY="85b956c22..."
export TMP_DIR="/mnt/d/"
export WINDOWS_USERNAME="username"
export THREADS="$(expr $(nproc) / 2)" # this detects nr of threads automatically. You can simply use 'export THREADS="4"' instead
./chia_plot $POOL_KEY $FARMER_KEY $TMP_DIR $TMP_DIR $THREADS 7 2>&1 | tee /mnt/c/Users/$WINDOWS_USERNAME/.chia/mainnet/plotter/chia-plotter-$(uuid).log
That should teach you everything you need to know to run this if you already know how to plot using the official chia cli.
... or compile it via msys2/mingw64 https://www.youtube.com/results?search_query=msys2%2Fmingw64
Both WSL and docker options are quick to setup and work out of the box. BUT the performance will be VERY LOW because of the way the filesystem will be accessed. The sole objective of this project is to be fast, so these options are NO GO.
When it comes to msys2/mingw64, I'll be happy if you could share a working solution. I'm struggling making both the compilation and execution work to the final plot.
@galmiza It is still saturating my SATA SSD which the offical plotter did not always do. WSL works reasonably fast enough for SATA SSDs when the ubuntu installation is excluded from Windows Defender and Realtime Protection is off.
Let me see if I can figure out how to compile this with msys2/mingw64. Someone has already done it, but did not share how (yet)
Oh not too bad, I tried with docker using both a native docker volume and a mount point, I was quite disappointed. Actually I managed to run a part of phase 1 on Windows (it crashed after) and the performances were stunning, so I'm sticking to a native solution :D
You'd be a hero if you manage to have it work on native windows, thanks for trying!
No luck so far. Going to sleep now
no luck for me also did not work for me. someone should create a windows version, will make our life easier
when the ubuntu installation is excluded from Windows Defender and Realtime Protection is off.
Can you elaborate how to do it please? Thanks you.
when the ubuntu installation is excluded from Windows Defender and Realtime Protection is off.
Can you elaborate how to do it please? Thanks you. https://medium.com/@leandrocrs/speeding-up-wsl-i-o-up-than-5x-fast-saving-a-lot-of-battery-life-cpu-usage-c3537dd03c74
someone just released a windows version issue74. can you give me the steps to set it up?
someone just released a windows version issue74. can you give me the steps to set it up?
You extract the contents of plotter. Navigate to the directory of the file using powershell, then run the chia_plotter.exe with the options. If you run it without anything it will pop up with the options that need to be added.
can someone make a video on how to run it on windows?