Voodoo
April 3, 2023, 8:51pm
21
Download the alpha 3 version and unpack the file:
https://downloads.chia.net/bladebit/current/
then open a terminal in the directory where the unpacked bladebit is located and run the command:
./bladebit_cuda -f [farmer public key] -c [pool contract address] -n [number of plots to make] --compress [compression level 1-7] cudaplot [destination directory]
example:
./bladebit_cuda -f xch123 -c xch123 -n 1 --compress 1 cudaplot /media/user/plotdisk
To make uncompressed plots, just leave out the --compress option (or use --compress 0)
Need 8 GB GPU memory, and 256 GB system RAM
Installing Nvidia driver version 530 is required in some cases (sudo apt install nvidia-driver-530
)
If you make only one plot, it will take a long time because it first has to allocate the memory, so recommended to make more than one plot in a row.
1 Like
I knew you would like that!!!
.
.
.
Where are the Beta’s???
thank you very much.
Yes buffer allocation takes time.
After that I got error
CUDA error: 13 (0xd ) cudaErrorInvalidSymbol : invalid device symbol
Where to get 530 driver?
I did sudo apt install nvidia-driver-530
It says
The following packages have unmet dependencies:
nvidia-driver-530 : Depends: nvidia-dkms-530 (= 530.30.02-0ubuntu1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Hardware works for Gigahorse
Z620 older model, E5-2630 V1 CPU, 256GB DDR3, 1080 8GB GPU.
Voodoo
April 4, 2023, 5:51am
24
Yeah that error is the nvidia driver error.
Maybe try sudo apt update
first and then try again to install the nvidia driver
1 Like
Voodoo
April 4, 2023, 10:56am
25
I just remembered that I had a similar problem trying to install the nvidia driver and had to first uninstall everything.
sudo apt-get remove --purge '^nvidia-.*'
sudo apt-get install ubuntu-desktop
Then try the 530 driver install again, or follow below instructions which is what I did.
(this is for ubuntu 22.04)
Then restart
Using Ubuntu has taught me this: Windows ain’t that bad after all
5 Likes
I will wipe the OS hard drive and start from the beginning. Thanks!
1 Like
kybash
April 4, 2023, 2:54pm
27
The error 13 was resolved by reinstalling the nvidia drivers & cuda:
opened 03:50PM - 06 Mar 23 UTC
closed 08:58AM - 12 Mar 23 UTC
Testing the pre-compiled bladebit-cuda-v3.0.0-alpha2-centos binary throws this e… rror:
```
Bladebit Chia Plotter
Version : 3.0.0-alpha2
Git Commit : ae066d3ddff3392f0fd55867040639922a3d4418
Compiled With: gcc 9.2.1
[Global Plotting Config]
Will create 300 plots.
Thread count : 46
Warm start enabled : false
NUMA disabled : false
CPU affinity disabled : false
Farmer public key : 8300...
Pool contract address : xch1...
Benchmark mode : disabled
[Bladebit CUDA Plotter]
Selected cuda device 0 : NVIDIA GeForce RTX 3070
CUDA Compute Capability : 8.6
SM count : 46
Max blocks per SM : 16
Max threads per SM : 1536
Async Engine Count : 2
L2 cache size : 4.00 MB
L2 persist cache max size : 3.00 MB
Stack Size : 1.00 KB
Memory:
Total : 7.79 GB
Free : 7.63 GB
Allocating buffers (this may take a few seconds)...
Kernel RAM required : 90240524288 bytes ( 86060.07 MiB or 84.04 GiB )
Intermediate RAM required : 2999001088 bytes ( 2860.07 MiB or 2.79 GiB )
Host RAM required : 168443248640 bytes ( 160640.00 MiB or 156.88 GiB )
Total Host RAM required : 258683772928 bytes ( 246700.07 MiB or 240.92 GiB )
GPU RAM required : 5862256640 bytes ( 5590.68 MiB or 5.46 GiB )
Allocating buffers
CUDA error: 13 (0xd ) cudaErrorInvalidSymbol : invalid device symbol
*** Panic!!! *** Fatal Error:
CUDA error cudaErrorInvalidSymbol : invalid device symbol.
bladebit_cuda-v3.0.0-a2[0x4c80db]
bladebit_cuda-v3.0.0-a2[0x4c79f9]
bladebit_cuda-v3.0.0-a2[0x43031e]
bladebit_cuda-v3.0.0-a2[0x40bb3a]
bladebit_cuda-v3.0.0-a2[0x40822d]
/lib64/libc.so.6(+0x27510)[0x7f2cf504a510]
/lib64/libc.so.6(__libc_start_main+0x89)[0x7f2cf504a5c9]
bladebit_cuda-v3.0.0-a2[0x4096fe]
```
OS= fedora37 with 3070 and these drivers/cuda:
```
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 525.89.02 Driver Version: 525.89.02 CUDA Version: 12.0 |
|-------------------------------+----------------------+----------------------+
```
The alpha build is working fine on the same system.
I have 22 Ryzen9 with 128 GB … can’t do anything.
But i choose to plot gigahorse
The best DRIVER for Bladebit Plotting + farming after…
===============================================================================
DRIVER NVIDIA 530 pt 22.04. - Pt PLOTTING + Farming.
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-ubuntu2204.pinsudo mv cuda-ubuntu2204.pin /etc/apt/preferences.d/cuda-repository-pin-600
wget https://developer.download.nvidia.com/compute/cuda/12.1.0/local_installers/cuda-repo-ubuntu2204-12-1-local_12.1.0-530.30.02-1_amd64.deb
sudo dpkg -i cuda-repo-ubuntu2204-12-1-local_12.1.0-530.30.02-1_amd64.deb
sudo cp /var/cuda-repo-ubuntu2204-12-1-local/cuda-*-keyring.gpg /usr/share/keyrings/
sudo apt-get update
sudo apt-get -y install cuda
so 128Gb of memory isn’t enough for plotting?
With BLADEBIT – 128 GB – NO
Only 256 GB + GPU or 419 GB w or w/ GPU
CeSaRe
April 5, 2023, 10:44am
32
I thinked to do it, but, chia ui do not recognize gigahorse plotted plots…
Not yet, True!
but I splitted my entire farm in 2, and half of it I m replotting on Gigahorse plots and farming with flexfamer
https://farmer.flexpool.io/ - go and read about it.
its a very small script, turns your harvester into a farmer standalone connnected to flexpool.
be carefull about C8 level. It eats good Watts
is it in plans to make it possible?
are there any prospects on making it work with 128Gb? 64Gb?
128GB support will come in phase4, they are currently starting phase 3 (GPU farming).
So it will take a few months…
i see thank you very much
simurg
April 5, 2023, 7:57pm
39
I am a little bit lost where we stand, can I use GPU with the current alpha farmer or is it only CPU at this point?
Which current beta? Chia only has an alpha 3 out, I’m waiting for the beta to hit the shelf
1 Like