Nice to see an author involved I will try it tomorrow.xr_a_y wrote: ↑Sat Jan 16, 2021 12:00 pm Hi,
it seems I try and maybe succeed in compiling a RPi4 version of Minic
Can you please try it ?
https://github.com/tryingsomestuff/Mini ... _3.03_rpi4
I have no RPi4 at home...
Chess Engines binaries for Raspberry Pi 4 Linux 64 bits
Moderators: hgm, Rebel, chrisw
-
- Posts: 253
- Joined: Mon Nov 16, 2020 12:13 pm
- Full name: Manuel Rivera
Re: Chess Engines binaries for Raspberry Pi 4 Linux 64 bits
Raspberry Pi4 bot : https://lichess.org/@/BetterAnalyze
-
- Posts: 253
- Joined: Mon Nov 16, 2020 12:13 pm
- Full name: Manuel Rivera
Re: Chess Engines binaries for Raspberry Pi 4 Linux 64 bits
Very nice ! Yes feel free to mirror all my compiles.jshriver wrote: ↑Sat Jan 16, 2021 1:49 pm Adding my first engine pack after seeing Dan Corbit's post on tactical engines. I've also included the recommended neural net and placed it in the eval directory as recommended.
Original source:
https://github.com/MichaelB7/Stockfish/releases/tag/NN
Engine Names:
* Black Diamond XX-NN
* Bluefish XX-NN
* Honey XX-NN
* Stockfish XX-NN
* Weakfish XX-NN
* Black Diamond XX-r3
* Bluefish XX-r3
* Honey XX-r3
* Stockfish XX-r3
* Weakfish XX-r3
File:
https://chess.nyc3.cdn.digitaloceanspac ... 21.tar.bz2
Pi4Chess feel free to incorporate these into your own megapack. If you ever want I can help mirror your files on my CDN account.
I will try your compiles of MikeB modded engines tomorrow also.
Thanks
Raspberry Pi4 bot : https://lichess.org/@/BetterAnalyze
-
- Posts: 1342
- Joined: Wed Mar 08, 2006 9:41 pm
- Location: Morgantown, WV, USA
Re: Chess Engines binaries for Raspberry Pi 4 Linux 64 bits
It does not work on 64bit Pi4's, however it will run on 32bit Pi Zero Wxr_a_y wrote: ↑Sat Jan 16, 2021 12:00 pm Hi,
it seems I try and maybe succeed in compiling a RPi4 version of Minic
Can you please try it ?
https://github.com/tryingsomestuff/Mini ... _3.03_rpi4
I have no RPi4 at home...
Code: Select all
$ ./minic_3.03_rpi4
info string This is Minic version 3.03 (NNUE available)
uci
info string Info 2021-01-17 00:08:26-019: No NNUE net loaded, using standard ev aluation
id name Minic 3.03
id author Vivien Clauzon
-
- Posts: 1871
- Joined: Sat Nov 25, 2017 2:28 pm
- Location: France
Re: Chess Engines binaries for Raspberry Pi 4 Linux 64 bits
Ok, to compile this I am using "/opt/cross-pi-gcc/bin/arm-linux-gnueabihf-g++" from the toolkit.jshriver wrote: ↑Sun Jan 17, 2021 6:09 amIt does not work on 64bit Pi4's, however it will run on 32bit Pi Zero Wxr_a_y wrote: ↑Sat Jan 16, 2021 12:00 pm Hi,
it seems I try and maybe succeed in compiling a RPi4 version of Minic
Can you please try it ?
https://github.com/tryingsomestuff/Mini ... _3.03_rpi4
I have no RPi4 at home...
Code: Select all
$ ./minic_3.03_rpi4 info string This is Minic version 3.03 (NNUE available) uci info string Info 2021-01-17 00:08:26-019: No NNUE net loaded, using standard ev aluation id name Minic 3.03 id author Vivien Clauzon
So I have two questions
1°) how should I name this working 32bit Pi Zero release ?
2°) how can I target 64bit Pi4 when cross compiling under linux ?
Thanks a lot
-
- Posts: 253
- Joined: Mon Nov 16, 2020 12:13 pm
- Full name: Manuel Rivera
Re: Chess Engines binaries for Raspberry Pi 4 Linux 64 bits
Sadly it does not work.xr_a_y wrote: ↑Sat Jan 16, 2021 12:00 pm Hi,
it seems I try and maybe succeed in compiling a RPi4 version of Minic
Can you please try it ?
https://github.com/tryingsomestuff/Mini ... _3.03_rpi4
I have no RPi4 at home...
It is 32 bits and not 64 bits.
Also It seems a static build since it is 1,6mb file and my compiles for your engine are rathe 617Kb. That's not a problem.
Raspberry Pi4 bot : https://lichess.org/@/BetterAnalyze
-
- Posts: 253
- Joined: Mon Nov 16, 2020 12:13 pm
- Full name: Manuel Rivera
Re: Chess Engines binaries for Raspberry Pi 4 Linux 64 bits
I quickly tested BlackDiamond NN and may be there is a peformance problem since it runs at 90 kns and less.jshriver wrote: ↑Sat Jan 16, 2021 1:49 pm Adding my first engine pack after seeing Dan Corbit's post on tactical engines. I've also included the recommended neural net and placed it in the eval directory as recommended.
Original source:
https://github.com/MichaelB7/Stockfish/releases/tag/NN
Engine Names:
* Black Diamond XX-NN
* Bluefish XX-NN
* Honey XX-NN
* Stockfish XX-NN
* Weakfish XX-NN
* Black Diamond XX-r3
* Bluefish XX-r3
* Honey XX-r3
* Stockfish XX-r3
* Weakfish XX-r3
File:
https://chess.nyc3.cdn.digitaloceanspac ... 21.tar.bz2
Pi4Chess feel free to incorporate these into your own megapack. If you ever want I can help mirror your files on my CDN account.
I don't have time today to try to compile myself but i remember the Bluefish i compiled (no NN though) was running way more than 1000 kns.
Raspberry Pi4 bot : https://lichess.org/@/BetterAnalyze
-
- Posts: 253
- Joined: Mon Nov 16, 2020 12:13 pm
- Full name: Manuel Rivera
Re: Chess Engines binaries for Raspberry Pi 4 Linux 64 bits
1) Rpi-linux 32bits
2) try to find a flag/option to force 64 bits compilation. But may be your cross lib is 32 bits only :-/
Raspberry Pi4 bot : https://lichess.org/@/BetterAnalyze
-
- Posts: 1871
- Joined: Sat Nov 25, 2017 2:28 pm
- Location: France
Re: Chess Engines binaries for Raspberry Pi 4 Linux 64 bits
Looks like I have to use g++-aarch64-linux-gnu probably.
What I don't get is if I have to use a separe toolkit to cross-compiled or if things like g++-aarch64-linux-gnu from my ubuntu will work.
-
- Posts: 253
- Joined: Mon Nov 16, 2020 12:13 pm
- Full name: Manuel Rivera
Re: Chess Engines binaries for Raspberry Pi 4 Linux 64 bits
yes aarch64-linux-gnu is the lib to go with. build static and non static binaries. we will try them bothxr_a_y wrote: ↑Sun Jan 17, 2021 12:16 pmLooks like I have to use g++-aarch64-linux-gnu probably.
What I don't get is if I have to use a separe toolkit to cross-compiled or if things like g++-aarch64-linux-gnu from my ubuntu will work.
Raspberry Pi4 bot : https://lichess.org/@/BetterAnalyze
-
- Posts: 1342
- Joined: Wed Mar 08, 2006 9:41 pm
- Location: Morgantown, WV, USA
Re: Chess Engines binaries for Raspberry Pi 4 Linux 64 bits
I've been building natively using gcc or clang. I'll try tossing the armv8 (64bit) gcc on one of my x86 linux boxes and see if I can get it to work.
When I first checked your executable using file, i could see it was a 32bit elf format, why I tried it out on my pi zero (which is 32bit). My guess is you'll need a new toolchain to target pi 4's specifically because they are not only 64bit, but also armv8 based not armv7.
But your build runs beautiful on my 32bit pi's.
Cheers
As for the NN builds I think it's the NN causing the low nps. I wll have to retry running the r3 builds as they are cpu only and dont use a NN. Can't remember what they ran but knew it was much higher.
When I first checked your executable using file, i could see it was a 32bit elf format, why I tried it out on my pi zero (which is 32bit). My guess is you'll need a new toolchain to target pi 4's specifically because they are not only 64bit, but also armv8 based not armv7.
But your build runs beautiful on my 32bit pi's.
Cheers
As for the NN builds I think it's the NN causing the low nps. I wll have to retry running the r3 builds as they are cpu only and dont use a NN. Can't remember what they ran but knew it was much higher.