Chess Engines binaries for Raspberry Pi 4 Linux 64 bits

Discussion of anything and everything relating to chess playing software and machines.

Moderators: hgm, Rebel, chrisw

Pi4Chess
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

Post by Pi4Chess »

jshriver wrote: Fri Jan 01, 2021 8:20 pm
Pi4Chess wrote: Fri Jan 01, 2021 4:36 pm Updated 2 engines :

-K2 v0.99
-Mayhem 2.6 (300kns to 400/410 kns improvement)

30 days download link : https://pixeldrain.com/u/oaWRdDw9
Woot, I was anxious to play K2 after I saw the update post. Congrats to Mayhem too.

Btw, these engines work like a charm in Chessbase & Fritz 17 using InBetween and ssh to my Pi 4.
Wow so you use your pi4 as remote chess engine in Fritz 17 ? nice ! Now you can easily setup 100 games matches between the 4 cores rpi4 version of an engine against the 1 core version of the same engine in windows machine to see elo difference ^
User avatar
jshriver
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

Post by jshriver »

Pi4Chess wrote: Sat Jan 02, 2021 12:03 am Wow so you use your pi4 as remote chess engine in Fritz 17 ? nice ! Now you can easily setup 100 games matches between the 4 cores rpi4 version of an engine against the 1 core version of the same engine in windows machine to see elo difference ^
Yup :) do you have a time control in mind or specific engines? I'm kind of hooked, tempted to pick up a 2nd pi maybe only 2gig ram just for chess.
Pi4Chess
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

Post by Pi4Chess »

jshriver wrote: Sat Jan 02, 2021 12:58 am
Pi4Chess wrote: Sat Jan 02, 2021 12:03 am Wow so you use your pi4 as remote chess engine in Fritz 17 ? nice ! Now you can easily setup 100 games matches between the 4 cores rpi4 version of an engine against the 1 core version of the same engine in windows machine to see elo difference ^
Yup :) do you have a time control in mind or specific engines? I'm kind of hooked, tempted to pick up a 2nd pi maybe only 2gig ram just for chess.
Any engine, stockfish Last dev comes to mind of course to see what max elo pi4 can achieve (or another engine that makes use of 4 pi4 cores)
Taking 2 of ccrl timings (quickest and slowest).
Default Bench time for ccrl with stockfish 10 = 2054 ms (1 core)
User avatar
jshriver
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

Post by jshriver »

Here is a game I just played in Fritz 17 using lc0 w/ a gtx 1650 vs K2 on the Pi4 via InBetween+ssh
15 0 TC
Considering top engine on better hardware and K2 only uses 1 core on the Pi4, it held its own pretty well.

[pgn]
[Event "ARTEMIS, Blitz 15.0min"]
[Site "Morgantown"]
[Date "2021.01.02"]
[Round "1"]
[White "K2 v.0.99"]
[Black "Lc0 v0.26.3"]
[Result "0-1"]
[ECO "B12"]
[Annotator "0.54;0.13"]
[PlyCount "120"]
[TimeControl "900"]

{Intel(R) Core(TM) i5-10300H CPU @ 2.50GHz 2496 MHz W=15.3 plies; 421kN/s;
B=11.9 plies; 5kN/s;} 1. e4 {[%eval 0,0] [%emt 0:00:00]} c6 {[%eval 0,0] [%emt
0:00:00]} 2. d4 {[%eval 0,0] [%emt 0:00:00]} d5 {[%eval 13,11] [%emt 0:00:17]}
3. e5 {[%eval 0,0] [%emt 0:00:00]} Bf5 {[%eval 0,0] [%emt 0:00:00]} 4. Nf3 {
[%eval 0,0] [%emt 0:00:00]} e6 {[%eval 0,0] [%emt 0:00:00]} 5. Be2 {[%eval 0,0]
[%emt 0:00:00]} Ne7 {[%eval 0,0] [%emt 0:00:00]} 6. c3 {[%eval 0,0] [%emt 0:00:
00]} Ng6 {[%eval 0,0] [%emt 0:00:00]} 7. O-O {[%eval 0,0] [%emt 0:00:00]} Nd7 {
[%eval 0,0] [%emt 0:00:00]} 8. Ne1 {[%eval 0,0] [%emt 0:00:00] Both last book
move} f6 {[%eval 21,13] [%emt 0:01:28]} 9. f4 {[%eval 54,14] [%emt 0:00:19]}
Qb6 {[%eval 20,14] [%emt 0:00:02]} 10. a4 {[%eval 20,14] [%emt 0:00:27]} a5 {
[%eval 25,12] [%emt 0:00:13]} 11. exf6 {[%eval -1,14] [%emt 0:00:15] (g2-g4)}
Nxf6 {[%eval 9,14] [%emt 0:00:33]} 12. Nd2 {[%eval -15,15] [%emt 0:00:18]} h5 {
[%eval 15,13] [%emt 0:00:25] (c6-c5)} 13. Bd3 {[%eval 27,15] [%emt 0:00:29]}
Be7 {[%eval 16,13] [%emt 0:00:25] (c6-c5)} 14. Qc2 {[%eval 41,15] [%emt 0:00:
21] (Bd3xf5)} Nh4 {[%eval 13,12] [%emt 0:00:17]} 15. Nef3 {[%eval 32,15] [%emt
0:00:19] (Nd2-f3)} Nxf3+ {[%eval 10,11] [%emt 0:00:17]} 16. Nxf3 {[%eval 30,16]
[%emt 0:00:26]} Ne4 {[%eval 8,10] [%emt 0:00:09]} 17. Ne5 {[%eval 30,15] [%emt
0:00:24] (Bc1-e3)} Bd6 {[%eval 8,8] [%emt 0:00:42] (h5-h4)} 18. Be3 {[%eval 41,
14] [%emt 0:00:27]} Qd8 {[%eval 7,8] [%emt 0:00:18]} 19. Bf2 {[%eval 28,13]
[%emt 0:00:15] (Qc2-e2)} Bxe5 {[%eval -13,9] [%emt 0:00:15] (0-0)} 20. fxe5 {
[%eval 44,15] [%emt 0:00:17] (d4xe5)} Qg5 {[%eval -21,11] [%emt 0:00:20]} 21.
Rae1 {[%eval 31,15] [%emt 0:00:12] (Qc2-c1)} h4 {[%eval -45,12] [%emt 0:00:13]
(Qg5-d2)} 22. Be3 {[%eval 8,13] [%emt 0:00:15]} Qg6 {[%eval -50,12] [%emt 0:00:
11]} 23. Rf4 {[%eval -1,13] [%emt 0:00:16] (c3-c4)} h3 {[%eval -56,14] [%emt 0:
00:14]} 24. c4 {[%eval -12,14] [%emt 0:00:13]} O-O {[%eval -68,12] [%emt 0:00:
19] (Ne4-g3)} 25. Ref1 {[%eval -10,12] [%emt 0:00:14]} Rf7 {[%eval -75,13]
[%emt 0:00:10] (Ne4-f2)} 26. cxd5 {[%eval -33,13] [%emt 0:00:12]} cxd5 {
[%eval -87,13] [%emt 0:00:15]} 27. R1f3 {[%eval -83,15] [%emt 0:00:33]} Raf8 {
[%eval -80,13] [%emt 0:00:24] (h3xg2)} 28. Bxe4 {[%eval -13,17] [%emt 0:00:13]}
dxe4 {[%eval -40,18] [%emt 0:00:16]} 29. Rf1 {[%eval -34,17] [%emt 0:00:18]
(Rf3-g3)} Qh5 {[%eval -59,14] [%emt 0:00:43] (Rf7-c7)} 30. g3 {[%eval 7,16]
[%emt 0:00:10]} Bg6 {[%eval -60,13] [%emt 0:00:02] (b7-b6)} 31. Qb3 {[%eval
-23,14] [%emt 0:00:09] (Qc2-d1)} Rxf4 {[%eval -117,15] [%emt 0:00:16] (Qh5-e2)}
32. Bxf4 {[%eval -23,17] [%emt 0:00:12]} e3 {[%eval -102,13] [%emt 0:00:10]
(Qh5-g4)} 33. Qxe3 {[%eval 17,16] [%emt 0:00:09]} Rc8 {[%eval -96,13] [%emt 0:
00:09] (Bg6-e8)} 34. Qe1 {[%eval 0,16] [%emt 0:00:10]} Rc4 {[%eval -75,14]
[%emt 0:00:42] (Rc8-c2)} 35. d5 {[%eval -20,16] [%emt 0:00:15] (Bf4-d2)} Bd3 {
[%eval -62,13] [%emt 0:00:13] (e6xd5)} 36. Rf2 {[%eval 0,17] [%emt 0:00:07]}
exd5 {[%eval -63,14] [%emt 0:00:08]} 37. b3 {[%eval -38,17] [%emt 0:00:27]
(Qe1-d2)} Re4 {[%eval -87,14] [%emt 0:00:17] (Rc4-c2)} 38. Qd2 {[%eval 0,17]
[%emt 0:00:07]} Qg6 {[%eval -80,17] [%emt 0:00:10]} 39. Qxa5 {[%eval 0,17]
[%emt 0:00:11] (Qd2-c3)} Kh7 {[%eval -106,11] [%emt 0:00:19] (Qg6-b6)} 40. Qd2
{[%eval 8,16] [%emt 0:00:21]} d4 {[%eval -115,11] [%emt 0:00:14] (Bd3-c2)} 41.
b4 {[%eval 1,16] [%emt 0:00:11] (Qd2-d1)} Bc4 {[%eval -133,10] [%emt 0:00:18]
(Kh7-g8)} 42. Qc1 {[%eval -44,15] [%emt 0:00:09]} Qe6 {[%eval -149,10] [%emt 0:
00:15] (d4-d3)} 43. Qd1 {[%eval -48,15] [%emt 0:00:09] (a4-a5)} Kg8 {[%eval
-145,11] [%emt 0:00:14] (d4-d3)} 44. a5 {[%eval -51,15] [%emt 0:00:09]} Bb5 {
[%eval -165,12] [%emt 0:00:13] (Qe6-c6)} 45. Bd2 {[%eval -81,14] [%emt 0:00:08]
(Qd1-c1)} Rxe5 {[%eval -250,11] [%emt 0:00:16]} 46. Qf3 {[%eval -156,15] [%emt
0:00:05]} Qa2 {[%eval -343,12] [%emt 0:00:11]} 47. Qd1 {[%eval -185,17] [%emt
0:00:07]} Bc6 {[%eval -429,12] [%emt 0:00:11]} 48. b5 {[%eval -185,17] [%emt 0:
00:06] (Bd2-f4)} Rxb5 {[%eval -436,12] [%emt 0:00:13] (Bc6xb5)} 49. Qf1 {
[%eval -204,17] [%emt 0:00:08]} Rb1 {[%eval -429,12] [%emt 0:00:09]} 50. Bc1 {
[%eval -278,17] [%emt 0:00:07]} Qe6 {[%eval -457,12] [%emt 0:00:08]} 51. Rf8+ {
[%eval -330,16] [%emt 0:00:07]} Kh7 {[%eval -409,1] [%emt 0:00:00]} 52. Qd3+ {
[%eval -465,18] [%emt 0:00:14]} Be4 {[%eval -457,10] [%emt 0:00:17]} 53. Qd1 {
[%eval -467,18] [%emt 0:00:09] (Qd3-d2)} Bg6 {[%eval -618,9] [%emt 0:00:14]}
54. Rf1 {[%eval -480,17] [%emt 0:00:06]} Qc6 {[%eval -659,9] [%emt 0:00:10]}
55. Qd2 {[%eval -549,17] [%emt 0:00:04]} d3 {[%eval -740,8] [%emt 0:00:07]} 56.
Re1 {[%eval -584,17] [%emt 0:00:09]} Ra1 {[%eval -774,8] [%emt 0:00:14]} 57. g4
{[%eval -627,16] [%emt 0:00:08] (Qd2-b2)} Ra4 {[%eval -931,8] [%emt 0:00:07]
(Qc6-f3)} 58. Re3 {[%eval -1040,15] [%emt 0:00:04]} Kg8 {[%eval -1085,8] [%emt
0:00:06] (Ra4xg4+)} 59. a6 {[%eval -916,12] [%emt 0:00:05] (Re3xh3)} bxa6 {
[%eval -1330,6] [%emt 0:00:05]} 60. Qb2 {[%eval -1018,13] [%emt 0:00:04]
(Re3xh3)} Rxg4+ {[%eval -1353,7] [%emt 0:00:04]} 0-1


[/pgn]
Pi4Chess
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

Post by Pi4Chess »

-Update of 2 engines + 1 new compiled engine :)

-Mayhem 2.7
-StashBot 26
-Nawito2012

30 days download link : https://pixeldrain.com/u/bgE3DUef
User avatar
jshriver
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

Post by jshriver »

Wonderful :) look forward to testing them.
Pi4Chess
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

Post by Pi4Chess »

jshriver wrote: Thu Jan 14, 2021 12:37 am Wonderful :) look forward to testing them.
Hope you will share your testing results here ;-)
Pi4Chess
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

Post by Pi4Chess »

3 engines updated :

-Dumb 1.7
-Crystal 3.1
-Stashbot v27

30 days download link : https://pixeldrain.com/u/jsbeyF8N
User avatar
xr_a_y
Posts: 1871
Joined: Sat Nov 25, 2017 2:28 pm
Location: France

Re: Chess Engines binaries for Raspberry Pi 4 Linux 64 bits

Post by xr_a_y »

Hi,

it seems I try and maybe succeed in compiling a RPi4 version of Minic :D
Can you please try it ?
https://github.com/tryingsomestuff/Mini ... _3.03_rpi4
I have no RPi4 at home...
User avatar
jshriver
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

Post by jshriver »

Adding my first engine pack after seeing Dan Corbit's post on tactical engines. :D 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.