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

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!
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.
This seems not possible (automated play with cutechess or any other GUI/commandline thing) at the moment.

At most you can play on your Linux against not only the Tasc R30 (smartboard/module combination (taken here from Franzens package with nice lifelike-artwork)) while a match between dedicated machines (with cutechess) might be running in the background if one wishes, but more than 30 other dedicated machines (like under the windows dextop).

Image


I'm enjoying playing against the Mephisto Academy and the Mephisto III now...


Greetings!
User avatar
AlexChess
Posts: 1482
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: Wed Apr 21, 2021 2:48 pm Hi Alex!

I'm enjoying playing against the Mephisto Academy and the Mephisto III now...

Greetings!
And compiling only the engines for Pi4 and Linux ARM64? The King 2.5, Gideon 3.1 (Task) , London 68030 (Mephisto by Richard Lang), Spark by Kate and Dan Spracklen (Fidelity) , Expert by David Kittinger (Novag) and Spark Resurretion II by Phoenix Chess Systems ? They were 2000-2500 ELO optimized for very old CPUs... With ARM64 and Silicon M1 100 times faster could become tactical monsters :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
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!

The dedicated machines live in their own world (emulated hardware: board+68k/6502/whatever CPU). Their sourcecode (assembler) hasn't been translated into C or so (exception here: the 9810A chess-programm by Alan Wray from 1974 done by himself).
So it is as of now not possible to get them into play without their completely emulated habitat (you have to see the board, when they're doing moves).
Of course the emulation can run faster than "realtime". This means a move expected to be made withhin (emulated) tournament time-controls is executed after 5 seconds (realtime) or so - but the dedicated comp (example: Chess Genius program) is not able to use 4x Intelcpu@3GHz - for that it has to be...: see above please.

One can interact with them as a human* (as you experienced with Franz Hubers package for the windows) or with chessprograms (GUIs etc) through some layer (functioning mame-chessplugin from Sandro Ronco) where it is possible** to speak in uci-language to them.

Perhaps Josh builds 'mess' for ARM64.


* no external binaries/self compiling needed here (just roms from the archive.org), as mame is in the repositories
** for this one needs mame/mess version 226 (selfcompiled or otherwise)


Greetings
User avatar
AlexChess
Posts: 1482
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 »

Thank you!
Very interesting and easy to understand explanation, as usual by you!

PS: Since you and hsriver like open source hardware like Raspberry Pi4... Little OT: Do you know the 199$ Pinebook Pro? Will be my PLAN B if my Mac mini M1 will be broken too early. I have just sent a feedback to Apple, related to my strange frequent kernel panics not related to Parallels Desktop or other apps, maybe Rosetta 2 is causing overflows... :(

Image

If I must be a paying beta tester, I prefer to switch to linux and learn how to compile my software :D

https://en.wikipedia.org/wiki/Pinebook
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
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!

I didn't know of the pinebook - it seems a very interesting thing and hopefully we'll see more devices like this (liked the concept of the olpc too:
https://it.wikipedia.org/wiki/XO-1 ); well, robust and simple stuff, expandable and rechargeable through hand crank/solar panel.

This here:
https://www.raspberrypi.org/products/raspberry-pi-400/

is also neat, but you need a monitor of course.

As for your frequent (?) kernel-panics/guru-meditations: you're beta-testing not only the m1 and big sur, but more so 'parallels' under heavy load+swapping (because of the little ram). That's the life of an early adopter :-p

As for old programs becoming stronger through fast cpu: yes, slightly (see Chess Genius for iOS) - but this would be no interest for me as I do get now the charme (and limitation in strength) of the old dedicated machines and the love of the sometimes wealthy enthusiasts for having them: several of the programs can convincingly substitute a human for a chesspartner in a natural environment (your home on a aboard). :-)

Greetings
User avatar
AlexChess
Posts: 1482
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 22, 2021 9:43 pm Hey!

I didn't know of the pinebook - it seems a very interesting thing and hopefully we'll see more devices like this (liked the concept of the olpc too:
https://it.wikipedia.org/wiki/XO-1 ); well, robust and simple stuff, expandable and rechargeable through hand crank/solar panel.

This here:
https://www.raspberrypi.org/products/raspberry-pi-400/

is also neat, but you need a monitor of course.

As for your frequent (?) kernel-panics/guru-meditations: you're beta-testing not only the m1 and big sur, but more so 'parallels' under heavy load+swapping (because of the little ram). That's the life of an early adopter :-p

As for old programs becoming stronger through fast cpu: yes, slightly (see Chess Genius for iOS) - but this would be no interest for me as I do get now the charme (and limitation in strength) of the old dedicated machines and the love of the sometimes wealthy enthusiasts for having them: several of the programs can convincingly substitute a human for a chesspartner in a natural environment (your home on a aboard). :-)

Greetings
Yes the PI-400 is already in my favorites list :)

The electronic chessboards project could continue making them 3D with movable pieces. The 40 years history of dedicated chess computers deserves this :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: 1482
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 »

Linux apps now natively running on Windows 10!

For the lovers of open source and tech experiments like me, cpeters and hsriver could be interesting. Maybe useful to spread Linux apps
... Just installing :D

"Hello Windows Insiders, today we are releasing Windows 10 Insider Preview Build 21364 to Windows Insiders in the Dev Channel."

What’s new in Build 21364
Run Linux GUI applications directly on Windows using the first preview of GUI app support on the Windows Subsystem for Linux (WSL)

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: 1482
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 jsriver and cpeters,

Some other open source strong chess engines to compile for Linux ARM64 | Raspberry Pi4

Toga III 0.3: https://www.patreon.com/posts/50193195
Night Nurse: https://www.patreon.com/posts/night-nurse-0-4b-46830152
Dark Horse: https://www.patreon.com/posts/dark-horse-0-3-47913036
Fire 8.1: https://chesslogik.wixsite.com/fire/download

I'll try to compile them, too :)

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
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 Alex:

for Fire8 (ubuntu) could you please try these:

https://www.file-upload.net/download-14 ... fire8.html
respectively (statically linked)
https://www.file-upload.net/download-14 ... tatic.html

?

This is the result of a cross-compile-attempt here. It might not work/segfault/be very slow?

Greetings!
User avatar
AlexChess
Posts: 1482
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: Sun Apr 25, 2021 2:22 pm Hey Alex:

for Fire8 (ubuntu) could you please try these:

https://www.file-upload.net/download-14 ... fire8.html
respectively (statically linked)
https://www.file-upload.net/download-14 ... tatic.html

?

This is the result of a cross-compile-attempt here. It might not work/segfault/be very slow?

Greetings!
Thank you dear!

Both engines give me the same error. I'm here if you want to retry. (Sorry for delay: TalkChess notifications aren't forwarded to my e-mail)

https://onedrive.live.com/?cid=B0F79706 ... 69&o=OneUp

PS: Meanwhile I have fixed Mac mini M1 Kernel Panics, updating it to Big Sur 11.3 RC. :D No more crashes since 4 days (they happened every 4-8 hours :shock: !)

FIXED!!! with chmod +700 fire8 :)

https://1drv.ms/u/s!AkW3Hj0Gl_ewz2Qf1qr ... U?e=r3SR1R

I'm very lucky to have you as friend and tutor :D
Regards, Alex
Last edited by AlexChess on Sun Apr 25, 2021 4:53 pm, edited 6 times in total.
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