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

User avatar
AlexChess
Posts: 1483
Joined: Sat Feb 06, 2021 8:06 am
Full name: Alex Morales

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

Post by AlexChess »

Ubuntu ARM64 20.04 on Parallels Desktop M1 Blitz 3 min + 3 sec with many thanks to Pi4Chess, cpeters and jsriver

Image
Chess engines and dedicated chess computers fan since 1981 :D Mac mini M1 8GB-256GB, Windows 11 & Ubuntu ARM64.
ProteusSF Dev Forum: https://shorturl.at/bpvI1
User avatar
AlexChess
Posts: 1483
Joined: Sat Feb 06, 2021 8:06 am
Full name: Alex Morales

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

Post by AlexChess »

UPDATED LINUX ENGINES Pi4 / Linux ARM64: jsriver's compiled Corchess 1.3 NNUE , together with Pedone 3.0 (crashes on Windows 10 ARM64), Igel 3.0 NNUE (not compatible with Windows 10 ARM64 due to BM2 / avx2 extesions) and Violet 2.8 (not available for Windows 10)

Image
Chess engines and dedicated chess computers fan since 1981 :D Mac mini M1 8GB-256GB, Windows 11 & Ubuntu ARM64.
ProteusSF Dev Forum: https://shorturl.at/bpvI1
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 »

I made linux binaries of Loki 3.0.0, for 64bit armv8 and 32bit armv7 (pi4 and pi0)
https://chess.nyc3.cdn.digitaloceanspac ... i3-arm.zip
cpeters
Posts: 115
Joined: Wed Feb 17, 2021 7:44 pm
Full name: Christian Petersen

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

Post by cpeters »

Hi Alex/Joshua!

Have you looked into emulation with the help of mame/mess for the old dedicated chess-computers? It's really fun! You can play against them (or let them automated play against each other/or some mid-level chess-engines with cutechess/xboard)!

Greetings!
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 »

cpeters wrote: Thu Apr 15, 2021 6:33 pm Hi Alex/Joshua!

Have you looked into emulation with the help of mame/mess for the old dedicated chess-computers? It's really fun! You can play against them (or let them automated play against each other/or some mid-level chess-engines with cutechess/xboard)!

Greetings!
I have not, at least for chess. Do you have more info on how to do this? Will do some google digging this weekend, sounds fun.
cpeters
Posts: 115
Joined: Wed Feb 17, 2021 7:44 pm
Full name: Christian Petersen

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

Post by cpeters »

Hey Joshua;


well I play against the machines and let them play with cutechess-cli; the first is simple/straightforward:

-

Code: Select all

apt-get install mame
and drop some roms in the roms-folder and start fiddling with the application; getting the manuals for these machines realyyreally help (time controls, how to set up the board/enter position etc.).

Let them play in cutechess/xboard can be tricky, because a translator is needed (uci/xboard lingo-->dedicated machine+vice versa). This is achieved with Sandro Roncos (a hero!):
https://github.com/sronco/mame-chessengine
(it acts as a button-presser!!!); the 'chessengine' directory is to be dropped entirely in the 'plugins' folder (you'll see)

However, as mame is a moving target and their scripting API not stable yet:
https://docs.mamedev.org/techspecs/luaengine.html

things broke. Sandro's repo is in sync up to v226 (but v220 in ubuntu 20.04 or v228+later as in Debian won't work).
The cleanest approach (for me on Debian) was to compile the source:
https://launchpad.net/debian/+source/ma ... 6+dfsg.1-1
and not mix repositories or install some debs locally
there's a guide for dependencies:
https://docs.mamedev.org/initialsetup/c ... gmame.html

I used

Code: Select all

make SUBTARGET=mess
-j 3/8 whatever for speeding up and everything went smoothly.
One could define/comment (when you know what you're doing like Scally) out unused machines (the ataris, psx, apple II, c64...) in a lua file, too, but it'd just compile faster and produce a smaller binary (you have to live with a massive blobbery) - emulation wise there's no difference in precision or speed.

So after one has all those things:
cutechess-cli -wait 300 \
-engine name="Stockfish 13 m68k@45MHz" cmd="ssh -p 446 cpet@localhost polyglot /home/cp/schach/ini/m68k-gambit.ini" \
tc=40/2600 timemargin=15000 ponder \
-engine name="Tasc R30 The King 2.5" \
cmd="mess64 -skip_gameinfo -rompath /home/cp/crom -nvram_directory /home/cp/nvram -plugin chessengine tascr30" \
tc=40/3000 timemargin=15000 option.Level="40/0:40 moves/hrs" \
-each whitepov proto=uci -games 40 -site Gambit -pgnout tasc.pgn -debug > fihi
could make some sense (in this case the Tasic plays against a Stockfisk (residing in a virtual quadra800) over ssh).

I must say while some programs (software) during the mid-/end nineties were stronger, these machines play lovely chess (especially the Chess Genius from Richard Lang) - the early softwarethings made moves (if that would make sense).

Greetings
User avatar
AlexChess
Posts: 1483
Joined: Sat Feb 06, 2021 8:06 am
Full name: Alex Morales

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

Post by AlexChess »

Strong Fire 8.1 by Norman Schmidt NOT Stockfish derivate to compile for Raspberry Pi 4 Linux 64 bits and Ubuntu ARM64
https://github.com/FireFather/fire
Chess engines and dedicated chess computers fan since 1981 :D Mac mini M1 8GB-256GB, Windows 11 & Ubuntu ARM64.
ProteusSF Dev Forum: https://shorturl.at/bpvI1
User avatar
AlexChess
Posts: 1483
Joined: Sat Feb 06, 2021 8:06 am
Full name: Alex Morales

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

Post by AlexChess »

cpeters wrote: Thu Apr 15, 2021 11:15 pm Hey Joshua;


well I play against the machines and let them play with cutechess-cli; the first is simple/straightforward:

-

Code: Select all

apt-get install mame
and drop some roms in the roms-folder and start fiddling with the application; getting the manuals for these machines realyyreally help (time controls, how to set up the board/enter position etc.).

Let them play in cutechess/xboard can be tricky, because a translator is needed (uci/xboard lingo-->dedicated machine+vice versa). This is achieved with Sandro Roncos (a hero!):
https://github.com/sronco/mame-chessengine
(it acts as a button-presser!!!); the 'chessengine' directory is to be dropped entirely in the 'plugins' folder (you'll see)

However, as mame is a moving target and their scripting API not stable yet:
https://docs.mamedev.org/techspecs/luaengine.html

things broke. Sandro's repo is in sync up to v226 (but v220 in ubuntu 20.04 or v228+later as in Debian won't work).
The cleanest approach (for me on Debian) was to compile the source:
https://launchpad.net/debian/+source/ma ... 6+dfsg.1-1
and not mix repositories or install some debs locally
there's a guide for dependencies:
https://docs.mamedev.org/initialsetup/c ... gmame.html

I used

Code: Select all

make SUBTARGET=mess
-j 3/8 whatever for speeding up and everything went smoothly.
One could define/comment (when you know what you're doing like Scally) out unused machines (the ataris, psx, apple II, c64...) in a lua file, too, but it'd just compile faster and produce a smaller binary (you have to live with a massive blobbery) - emulation wise there's no difference in precision or speed.

So after one has all those things:
cutechess-cli -wait 300 \
-engine name="Stockfish 13 m68k@45MHz" cmd="ssh -p 446 cpet@localhost polyglot /home/cp/schach/ini/m68k-gambit.ini" \
tc=40/2600 timemargin=15000 ponder \
-engine name="Tasc R30 The King 2.5" \
cmd="mess64 -skip_gameinfo -rompath /home/cp/crom -nvram_directory /home/cp/nvram -plugin chessengine tascr30" \
tc=40/3000 timemargin=15000 option.Level="40/0:40 moves/hrs" \
-each whitepov proto=uci -games 40 -site Gambit -pgnout tasc.pgn -debug > fihi
could make some sense (in this case the Tasic plays against a Stockfisk (residing in a virtual quadra800) over ssh).

I must say while some programs (software) during the mid-/end nineties were stronger, these machines play lovely chess (especially the Chess Genius from Richard Lang) - the early softwarethings made moves (if that would make sense).

Greetings
Hi!
Yes I have donloaded all emulated electronic chessboards, but for Windows 10 from this link: https://fhub.jimdofree.com/ . I have played against emulated Saitek Reinassance (the lcd chessboard is perfect), Fidelity Avantgarde A/S and Mephisto Roma 68020, that I had in my home in 80-90' :D
Chess engines and dedicated chess computers fan since 1981 :D Mac mini M1 8GB-256GB, Windows 11 & Ubuntu ARM64.
ProteusSF Dev Forum: https://shorturl.at/bpvI1
User avatar
AlexChess
Posts: 1483
Joined: Sat Feb 06, 2021 8:06 am
Full name: Alex Morales

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

Post by AlexChess »

Hi moderators H.G.Muller, Dann Corbit and Harvey Williamson,

I have selected to receive all notifications from Talkchess also on my email (I have created a new account for this) but posts aren't forwarded to me, so occasionally I miss them.

Could you please check my account preferences?

Thank you!
Regards, AlexChess
Chess engines and dedicated chess computers fan since 1981 :D Mac mini M1 8GB-256GB, Windows 11 & Ubuntu ARM64.
ProteusSF Dev Forum: https://shorturl.at/bpvI1
User avatar
AlexChess
Posts: 1483
Joined: Sat Feb 06, 2021 8:06 am
Full name: Alex Morales

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

Post by AlexChess »

AlexChess wrote: Mon Apr 19, 2021 8:55 am
cpeters wrote: Thu Apr 15, 2021 11:15 pm Hey Joshua;


well I play against the machines and let them play with cutechess-cli; the first is simple/straightforward:

-

Code: Select all

apt-get install mame
and drop some roms in the roms-folder and start fiddling with the application; getting the manuals for these machines realyyreally help (time controls, how to set up the board/enter position etc.).

Let them play in cutechess/xboard can be tricky, because a translator is needed (uci/xboard lingo-->dedicated machine+vice versa). This is achieved with Sandro Roncos (a hero!):
https://github.com/sronco/mame-chessengine
(it acts as a button-presser!!!); the 'chessengine' directory is to be dropped entirely in the 'plugins' folder (you'll see)

However, as mame is a moving target and their scripting API not stable yet:
https://docs.mamedev.org/techspecs/luaengine.html

things broke. Sandro's repo is in sync up to v226 (but v220 in ubuntu 20.04 or v228+later as in Debian won't work).
The cleanest approach (for me on Debian) was to compile the source:
https://launchpad.net/debian/+source/ma ... 6+dfsg.1-1
and not mix repositories or install some debs locally
there's a guide for dependencies:
https://docs.mamedev.org/initialsetup/c ... gmame.html

I used

Code: Select all

make SUBTARGET=mess
-j 3/8 whatever for speeding up and everything went smoothly.
One could define/comment (when you know what you're doing like Scally) out unused machines (the ataris, psx, apple II, c64...) in a lua file, too, but it'd just compile faster and produce a smaller binary (you have to live with a massive blobbery) - emulation wise there's no difference in precision or speed.

So after one has all those things:
cutechess-cli -wait 300 \
-engine name="Stockfish 13 m68k@45MHz" cmd="ssh -p 446 cpet@localhost polyglot /home/cp/schach/ini/m68k-gambit.ini" \
tc=40/2600 timemargin=15000 ponder \
-engine name="Tasc R30 The King 2.5" \
cmd="mess64 -skip_gameinfo -rompath /home/cp/crom -nvram_directory /home/cp/nvram -plugin chessengine tascr30" \
tc=40/3000 timemargin=15000 option.Level="40/0:40 moves/hrs" \
-each whitepov proto=uci -games 40 -site Gambit -pgnout tasc.pgn -debug > fihi
could make some sense (in this case the Tasic plays against a Stockfisk (residing in a virtual quadra800) over ssh).

I must say while some programs (software) during the mid-/end nineties were stronger, these machines play lovely chess (especially the Chess Genius from Richard Lang) - the early softwarethings made moves (if that would make sense).

Greetings
Hi!
Yes I have donloaded all emulated electronic chessboards, but for Windows 10 from this link: https://fhub.jimdofree.com/ . I have played against emulated Saitek Reinassance (the lcd chessboard is perfect), Fidelity Avantgarde A/S and Mephisto Roma 68020, that I had in my home in 80-90' :D
Tasc R30 was a myth in 1990 with 2300 ELO. I have sold many TASC electronic chessboards to customers, but never owned one (too much expensive for me) I had on my PC the board ChessMachine with Ed Shroeder's Gideon and Johan the Koenig's The King (Chess Master 2000's engine) If cpeters or hsriver could compile it for Ubuntu ARM64 and Raspberry PI4 would be my pleasure to test them on Cutechess. :D

Image
Chess engines and dedicated chess computers fan since 1981 :D Mac mini M1 8GB-256GB, Windows 11 & Ubuntu ARM64.
ProteusSF Dev Forum: https://shorturl.at/bpvI1