Chess Engines binaries for Raspberry Pi 4 Linux 64 bits

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

Moderators: hgm, Dann Corbit, Harvey Williamson

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
Pi4Chess
Posts: 220
Joined: Mon Nov 16, 2020 11:13 am
Full name: Manuel Rivera

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

Post by Pi4Chess » Sun Dec 20, 2020 10:31 pm

jshriver wrote:
Sun Dec 20, 2020 10:15 pm
Amazon says my Pi will be here tomorrow, 2 days early woot :)

Can't wait to get testing.
Don't forget to install a 64 bits distro ^^ I don't know if the default Raspberry Pi OS is still 32bits

Already 2 tips : -you can safely overclock to 1850 Mhz in config.txt if you have a heatsink+fan (see exact spelling but voltage=3 and freq=1850)
-once in the case if you put put the usb ports on the up side then you pi will be cooler

User avatar
jshriver
Posts: 1183
Joined: Wed Mar 08, 2006 8:41 pm
Location: Morgantown, WV, USA
Contact:

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

Post by jshriver » Sun Dec 20, 2020 11:03 pm

Pi4Chess wrote:
Sun Dec 20, 2020 10:31 pm
jshriver wrote:
Sun Dec 20, 2020 10:15 pm
Amazon says my Pi will be here tomorrow, 2 days early woot :)

Can't wait to get testing.
Don't forget to install a 64 bits distro ^^ I don't know if the default Raspberry Pi OS is still 32bits

Already 2 tips : -you can safely overclock to 1850 Mhz in config.txt if you have a heatsink+fan (see exact spelling but voltage=3 and freq=1850)
-once in the case if you put put the usb ports on the up side then you pi will be cooler
Thank you, yes this package comes with 2-3 heatsinks actually. Will be fun.

Pi4Chess
Posts: 220
Joined: Mon Nov 16, 2020 11:13 am
Full name: Manuel Rivera

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

Post by Pi4Chess » Mon Dec 21, 2020 12:56 am

Updated archive collection 21/12/2020 :

https://drive.google.com/file/d/1zrWvC- ... sp=sharing

It is 484 Mb because of some engines added (with nets eventually) and also Sugar AI experience file (179 Mo).
I have added to some engines folder name the "-stand" indication. This stands for "Static Android". Those compilations have been done by Archimedes. My thanks to him. They are working after bit set, eventually waiting if better performance non static compilations can be achieved in future.

The list of engines :
  • -Achillees
    -Amoeba 3.2
    -Arasan 22.1 & 21.4
    -ArmFishL
    -Beef 0.6.3
    -Bell 0.41
    -BetsabeII 1.30
    -Bismarck
    -Brainfish 240720 Final
    -Brainlearn 12.1
    -Cfish 12
    -Chareth 0.1
    -Cheng 4.40dev (Static Android)
    -Chesley
    -Chess-at-nite
    -Chessier 0.1
    -Chessika 2.27
    -Cicada 0.1
    -Claudia
    -CleverGirl
    -Combusken 1.4
    -Counter 3.7dev2
    -Crafty 23.4
    -Monochrome (cpirc)
    -Crystal 3.0
    -CT800 1.41
    -Defenchess 2.2
    -Delocto 09/12/2020
    -Demolito 0920
    -Diablo 0.51
    -DinGo
    -Discocheck r521 & r43
    -Donna
    -Drofa 2
    -Drosophila
    -Dumb 1.5
    -Ethereal 12.75 and 11.25
    -Faile
    -Fianchetto (sabertooth)
    -Fornax 1.2
    -FracTal
    -Fruit 2.1
    -Galjoen 0.40.1
    -GambitFruit
    -Goldfish
    -Gopher_Check
    -GreKo
    -Gully2
    -Halogen 9 & 8.1
    -iAthena
    -Igel 2.8
    -Jazz r840
    -K2 v087 and K2_096dev
    -Koivisto 4.37 (Static Android)
    -Laser 1.7
    -Lc0 v0.26.3
    -Leonidas r83
    -Marvin 4
    -Maxima 2
    -Mayhem 2.5
    -Megumax
    -Minic 3.02
    -MisterQueen
    -Monolith 2
    -MORA
    -Mr Bob 0.9
    -Nemorino 6.0 but withnew net of 6.04 net in.
    -Omelette
    -OpenTal 1.0
    -OpenTal 1.1
    -PayFleens
    -Pedone 2.1
    -Phalanx XXV
    -Prophet 3
    -Prophet 4
    -Protector 1.9
    -Pulse1.7.2
    -Purplehaze 2.1
    -QBBEngine
    -Quokka
    -Rasch r143
    -Raschier r380
    -Robocide
    -RodentII
    -RodentIII
    -RodentIV
    -Rubichess 1.8
    -Rubichess 1.9 NN
    -Rustic 0.1
    -Sapeli 2 final
    -Sayuri
    -Scorpio 3.0.1 (Static Android)
    -Seer 1.2.1 (Static Android)
    -Senpai 2
    -Shashchess 15.1
    -SjaakII 1.4.1
    -Sjeng
    -Spacedog
    -Stashbot 23 ,24, 24.7 and 25
    -Sting SF 25
    -Stockfish 10
    -Stockfish 11
    -Stockfish 12
    -Stupid
    -SugarAI 1.20 & 1.10
    -SugarICCF 1.20 & 1.10
    -Sungorus 1.4
    -Supernova 2.21
    -Teki 2
    -Texel 1.08a
    -TogaII 4.0.1
    -ToledoNano
    -Tucano 9.05 (Static Android)
    -Tunguska 1.1
    -Vajolet 2.8
    -Velvet
    -Vice 1.1
    -Viper 01
    -Weiss 1.2
    -Wukong
    -Wyldchess
    -Xyphos 0.6.1 (Static Android)
    -Zetadva
    -Zevra 1.8 and 2

Archimedes
Posts: 38
Joined: Tue Mar 05, 2019 2:43 pm
Full name: Archimedes

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

Post by Archimedes » Mon Dec 21, 2020 10:52 am

Well done. :D

Regarding static builds, keep in mind, most of the chess engines are written in the C++ language and therefore you need the libc++ library, which is not a system library (in contrast to the libc library), when compiling with Android NDK. You have to include the libc++ library in the executable (or deliver the library as an extra file to the application). And with it, you also have a "static build", a static runtime. So, when we talking about static builds, it means, that the libc library is included in the executable.

Pi4Chess
Posts: 220
Joined: Mon Nov 16, 2020 11:13 am
Full name: Manuel Rivera

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

Post by Pi4Chess » Mon Dec 21, 2020 11:41 am

Archimedes wrote:
Mon Dec 21, 2020 10:52 am
Well done. :D
Regarding static builds, keep in mind, most of the chess engines are written in the C++ language and therefore you need the libc++ library, which is not a system library (in contrast to the libc library), when compiling with Android NDK. You have to include the libc++ library in the executable (or deliver the library as an extra file to the application). And with it, you also have a "static build", a static runtime. So, when we talking about static builds, it means, that the libc library is included in the executable.
I think with jshriver toying with his new Rpi4 we will learn if any problems come up ^^

As for static putting the necessary libs in the executable i know. The only doubts in my mind rely on the fact that an android build compiled with android libs working on a linux distro is weird. Android is linux based but the libs might be a little different so the result might be different too even if working. As you said earlier in discussion, Android builds must be more "generic" because of multiple hardware situations, while "native" builds on rpi4 should be intuitively better.

Archimedes : i add Glaurung 2.2 to my static-builds wish list since the one in Ubuntu repositories does not work.

Archimedes
Posts: 38
Joined: Tue Mar 05, 2019 2:43 pm
Full name: Archimedes

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

Post by Archimedes » Mon Dec 21, 2020 1:18 pm

Pi4Chess wrote:
Mon Dec 21, 2020 11:41 am
Archimedes : i add Glaurung 2.2 to my static-builds wish list since the one in Ubuntu repositories does not work.
Glaurung crashes with 2 or more threads on Android, so i limited it to one thread only.

Pi4Chess
Posts: 220
Joined: Mon Nov 16, 2020 11:13 am
Full name: Manuel Rivera

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

Post by Pi4Chess » Mon Dec 21, 2020 2:09 pm

Archimedes wrote:
Mon Dec 21, 2020 1:18 pm
Pi4Chess wrote:
Mon Dec 21, 2020 11:41 am
Archimedes : i add Glaurung 2.2 to my static-builds wish list since the one in Ubuntu repositories does not work.
Glaurung crashes with 2 or more threads on Android, so i limited it to one thread only.
Oh I forgot to tell you that I compiled Rodent IV with the no threads flag but then it delivers 120 kns instead of 410 kns. So I prefer to keep the second solution even if the engine says sometimes between its search print "lagging thread"

Pi4Chess
Posts: 220
Joined: Mon Nov 16, 2020 11:13 am
Full name: Manuel Rivera

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

Post by Pi4Chess » Mon Dec 21, 2020 7:00 pm

New engines are added ! mainly thanks to Archimedes (static android compilations)

here is the list :

-CeeChess 1.3 (Static Android)
-Hakkapeliitta 3 + Hakkapeliitta TCEC v2 (Static Android)
-Hippocampe 0.41 5Static Android)
-Monchester 1.0.1 (Static Android)
-Topple 0.8 (Static Android)
-Stockfish saga with versions from 3 to 9

Arena seems unable to autodetect that Hippocampe and Monchester are Winboard engines so just select the option before loading.

I don't know what difference is TCECv2 of Hakkapeliitta but Archimedes may tell us :-)

30 days download link : https://pixeldrain.com/u/pRKSNdBs

@Archimedes : as for Glaurung, the engine does not work either. It seems to want to calculate nodes but hangs quickly at depth 5 without printing anything apart depth 5 and around 400 kns.

Pi4Chess
Posts: 220
Joined: Mon Nov 16, 2020 11:13 am
Full name: Manuel Rivera

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

Post by Pi4Chess » Mon Dec 21, 2020 7:31 pm

Oh after checking sources i just understood that it's Marvin 5 and Defenchess 2.3 versions that i compiled since i clone git and did not take the releases sources :roll: :) It's good !

Archimedes
Posts: 38
Joined: Tue Mar 05, 2019 2:43 pm
Full name: Archimedes

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

Post by Archimedes » Mon Dec 21, 2020 8:46 pm

Moved the "Static Builds" directory to another location.

https://app.box.com/s/9pq2tqekou3x1wchxuoopt5hqmglm3tn

Post Reply