M1 Apple Silicon for Chess?

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

Moderator: Ras

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

Re: M1 Apple Silicon for Chess?

Post by AlexChess »

cpeters I will ALSO buy the next generation of Mini. I was forced to buy it because my iMac 2013 suddenly died, but now I'm more than happy with it. Fully compatible with old macOS Intel apps, with Windows 10 x64 apps and Linux ARM 64 thanks to Parallels M1. Trusted Computing T2 chip doesn't block anything until now. I can run every app out from the Mac App Store.

And now, thanks to Acepoint_de, perfect also for chess, having him already compiled all the strongest GPL 3.0 engines!
Last edited by AlexChess on Wed Feb 24, 2021 9:26 am, edited 3 times in total.
Chess engines and dedicated chess computers fan since 1981 :D macOS Sequoia 16GB-512GB, Windows 11 & Ubuntu ARM64.
ProteusSF Dev Forum
User avatar
AlexChess
Posts: 1562
Joined: Sat Feb 06, 2021 8:06 am
Full name: Alex Morales

Re: M1 Apple Silicon for Chess?

Post by AlexChess »

acepoint_de wrote: Tue Feb 23, 2021 2:32 pm
AlexChess wrote: Tue Feb 23, 2021 2:10 pm Thank you also for RubiChess 2.1 NNE and Lc0 0.27.0 ...but SF Fat Fritz 2.0 Github for M1? I have read that someone already compiled it for Windows 10 under GPL 3.0. It would be interesting to test it against ore strong Stockfish derivates like Oki-Maguro v13 (Thanks again MikeB)) I'm trying to learn how to compile it for myself, but as a .net web programmer I have never done it before... :wink:

Stockfish GPL 3.0 Fat Friitz 2.0 github repository : https://github.com/DanielUranga/Stockfi ... 3426c93c6e
I know where it is. But I'm having trouble with compiling this case of plagiarism and putting it online ;-).

Ciao

acepoint
Hi Acepoint!
Here there is another strong GPL 3.0 chess engine, if you can compile it:

CORCHESS: https://github.com/IIvec/Stockfish/tree/corchess

Regards, AlexChess
Chess engines and dedicated chess computers fan since 1981 :D macOS Sequoia 16GB-512GB, Windows 11 & Ubuntu ARM64.
ProteusSF Dev Forum
User avatar
AlexChess
Posts: 1562
Joined: Sat Feb 06, 2021 8:06 am
Full name: Alex Morales

Re: M1 Apple Silicon for Chess?

Post by AlexChess »

acepoint_de wrote: Tue Feb 23, 2021 2:32 pm
AlexChess wrote: Tue Feb 23, 2021 2:10 pm Thank you also for RubiChess 2.1 NNE and Lc0 0.27.0 ...but SF Fat Fritz 2.0 Github for M1? I have read that someone already compiled it for Windows 10 under GPL 3.0. It would be interesting to test it against ore strong Stockfish derivates like Oki-Maguro v13 (Thanks again MikeB)) I'm trying to learn how to compile it for myself, but as a .net web programmer I have never done it before... :wink:

Stockfish GPL 3.0 Fat Friitz 2.0 github repository : https://github.com/DanielUranga/Stockfi ... 3426c93c6e
I know where it is. But I'm having trouble with compiling this case of plagiarism and putting it online ;-).

Ciao

acepoint
And there is also MikeB's Harmon to compile for M1!!! (Probably inspired by Beth Harmon of "Queen's Gambit" TV Series). Here is my logo for the Windows x64 version :D https://1drv.ms/u/s!AkW3Hj0Gl_ewzxheebx ... c?e=0nWrY5
and here my new Oki-Maguro logo https://1drv.ms/u/s!AkW3Hj0Gl_ewzxYrs4x ... w?e=SHFPEF
Chess engines and dedicated chess computers fan since 1981 :D macOS Sequoia 16GB-512GB, Windows 11 & Ubuntu ARM64.
ProteusSF Dev Forum
User avatar
AlexChess
Posts: 1562
Joined: Sat Feb 06, 2021 8:06 am
Full name: Alex Morales

Re: M1 Apple Silicon for Chess?

Post by AlexChess »

AlexChess wrote: Sun Feb 21, 2021 5:30 pm
acepoint_de wrote: Sun Feb 21, 2021 1:27 pm
AlexChess wrote: Sun Feb 21, 2021 9:17 am Could you please compile also MikeB's Honey R12? Already Honey XI Intel 64 is doing very well!
Honey-v13 (and Black-Diamond/Oki-Maguro) are finished, uploaded and on the benchmark list: https://acepoint.de/some-chess-stuff-for-apples-m1/

@MikeB Bluefish and Harmon are not compiling using your provided script users_build.sh (I have changed ARCH to apple-silicon and COMP to clang). But I also don't know the differences between the five engines you provide at https://github.com/MichaelB7/Stockfish/ ... s/tag/13.0. As others already asked in the Honey 13 thread ;-).

Ciao

acepoint
Thank you acepoint and thank you MikeB for the engines. I have made a nice OKI-Maguro Logo with Japanese food and a Samurai chessboard. https://1drv.ms/u/s!AkW3Hj0Gl_ewzxWooPL ... c?e=ybtcbV
For now I have emulated Fat Fritz 2.0 using Stockfish 12 ARM64 and the FatFritz2.v1.bin in the Stockfish FF GitHub folder, and it is probably stronger than the original-clone :lol:
Wow! And thank you again and again for Corchess 1.3 NNUE! You are a true M1 wizard! :D
Chess engines and dedicated chess computers fan since 1981 :D macOS Sequoia 16GB-512GB, Windows 11 & Ubuntu ARM64.
ProteusSF Dev Forum
cpeters
Posts: 186
Joined: Wed Feb 17, 2021 7:44 pm
Full name: Christian Petersen

Re: M1 Apple Silicon for Chess?

Post by cpeters »

Hello Alex,
Linux ARM 64 thanks to Parallels M
do you use it? Which flavour? Is it any good (snappyness)?

Point being: I'm stuck on High Sierra, but can happily boot into Debian though (peaceful coexistence since 10 (!) years on my mini 4,1). I'm a coward and wont try any patcher to get Catalina yet.

My plan was to not get any new hardware (arm-based) if Linux cannot run on this bare metal (decided to patreon 'marcan' - he's working on it) - but this may take a while.
So: if snappyness of Linux virtualized (maybe Docker in the near future) is given, I might try it sooner.

Please tell me your experiences!
acepoint_de
Posts: 86
Joined: Tue Jun 11, 2013 1:14 am

Re: M1 Apple Silicon for Chess?

Post by acepoint_de »

cpeters wrote: Wed Feb 24, 2021 3:07 pm My plan was to not get any new hardware (arm-based) if Linux cannot run on this bare metal (decided to patreon 'marcan' - he's working on it) - but this may take a while.
Please tell me your experiences!
I'm not Alex, but I successfully installed Debian (arm64) on the Parallels Beta for the M1. It's still all beta and I didn't work with it deeply yet, but it looked fine so far. Perhaps you take a look in the Parallels forum.

Ciao

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

Re: M1 Apple Silicon for Chess?

Post by AlexChess »

TO: cpeters and acepoint_de

I have installed Ubuntu 20.04 ARM64 on Parallels M1 beta. It works fine with native apps, but for chess is a disaster :D
Arena and BacksiaGUI doesn't work, only Pychess works but it is graphically rude. Have you a working gui?

PS: I have installed Ubuntu because it is more popular and easier to find debian compiled apps. There is one Italian strong chess engine, Pedone 3.0 NNUE, tested and appreciated on all best rating lists, that apparently ONLY on M1 doesn't work: on Arena and BanksiaGUI (both Windows 10 and Linux). On Arena it computes on analysis mode but never makes a move using time controls , and crashes after a while on all other GUIs tested . On Linux doesn't start. Acepoint_it could you test if you have the same issue?
The source code isn't available, but it is not a Stockfish derivate, so is very interesting. I have contacted the author Fabio Gobbato but we cannot solve the issue. ...I also have Hight Sierra native (and Catalina patched) on my Mac mini 2010.

http://talkchess.com/forum3/viewtopic.php?t=76203

PS-PS: This is my logo for Amoeba chess engine, also interesting because was written in D and uses a particular algorythm that remembers an amoeba :-) https://1drv.ms/u/s!AkW3Hj0Gl_ewzxr6Y14 ... 2?e=mDVVZj

https://www.chessprogramming.org/Amoeba
Chess engines and dedicated chess computers fan since 1981 :D macOS Sequoia 16GB-512GB, Windows 11 & Ubuntu ARM64.
ProteusSF Dev Forum
cpeters
Posts: 186
Joined: Wed Feb 17, 2021 7:44 pm
Full name: Christian Petersen

Re: M1 Apple Silicon for Chess?

Post by cpeters »

Hello Alex!
graphically rude.
:-)
I have installed Ubuntu because it is more popular and easier to find debian compiled apps.
The beauty of this whole open-source thing is also, that you - sometimes effort is required fiddling with makefiles etc - can (not) always can compile your own stuff (even the 'system' beneath itself). For Ubuntu I cannot speak, as I do not use it, but I'd guess it's a sufficient choice.

For (computer)chess in Debian I use xboard and scid (but this might be not to your liking). In the past I used to compile scid and xboard (at the time as hgm took xboard to another level and it wasn't in the repositories in Debian).

On macos I did have an install with Fritz 6/8 and Chessbase 9 (last chessbase products I bought) with the help of 'wine' (earlier macports/now brew) and played around with shared/'pirated' versions. Tried Shredder too (good, but not for me)... Otherwise xboard and scid active used exclusively now.

I also had some fun with Lucaschess.

But you are on arm-linux now: everything not precompiled for that platform/actively mainttained cross-platform-code or not being in the repo can pose some problems.
I also have Hight Sierra native (and Catalina patched) on my Mac mini 2010.
Oha! Catalina requires an AFPS+ volume for the starteries, right? Any problems whatsoever? I've got my partitions (ext* for linux and hfs+ for macos encrypted) so I'm afraid everything gets borked.

@acepoint_de

Parallels is for now (did read in their forum; I'm not beta-testing this) out of the question, but thanks. Corellium is making strong progress!


greetings!
acepoint_de
Posts: 86
Joined: Tue Jun 11, 2013 1:14 am

Re: M1 Apple Silicon for Chess?

Post by acepoint_de »

Some test results:

https://acepoint.de/eret-testsuite/

hard-tc-2020/21 will follow.

Ciao

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

Re: M1 Apple Silicon for Chess?

Post by AlexChess »

Since Apple Silicon M1 has 16-core Neuronal Engine, could be possible to use it to speed up engines like Lc0?

https://www.apple.com/bh/mac/m1/
Last edited by AlexChess on Thu Feb 25, 2021 10:18 am, edited 5 times in total.
Chess engines and dedicated chess computers fan since 1981 :D macOS Sequoia 16GB-512GB, Windows 11 & Ubuntu ARM64.
ProteusSF Dev Forum