jabba1977ad
Posts: 6
Joined: Sat Jan 16, 2016 12:38 pm

Chess Engine on Pi Zero

Sat Feb 13, 2016 6:10 pm

Hi,

A happy day today as I found a use for my PiZero - I compiled my chess engine (Vice) on the Pi Zero, and using XBoard, it's now playing 24/7 on FICS (freechess.org). At the moment it plays as a guest, I have requested a computer account.

The trickiest part was finding some code to compile an arm version of timeseal !!

Speed is not too bad - around 150k positions per sec vs 2000k pos per sec on my new macbook pro.

Anyway, if anyone needs some tips on how to do this, happy to help.

User avatar
jahboater
Posts: 6682
Joined: Wed Feb 04, 2015 6:38 pm
Location: Wonderful West Dorset

Re: Chess Engine on Pi Zero

Sun Feb 14, 2016 8:16 am

jabba1977ad wrote:Speed is not too bad - around 150k positions per sec vs 2000k pos per sec on my new macbook pro.
Have you tried a Pi2? It would be interesting to see how many pos per sec you get with that. Twice the memory and four CPU's (each CPU is much faster, armv7). With the latest firmware, the standard overclock in raspi-config is very stable.
Pi4 8GB (Raspberry Pi OS 64-bit), Pi4 4GB, Pi4 2GB, Pi1 Rev 1 256MB, Pi Zero

TheGuyUk
Posts: 60
Joined: Fri Jan 29, 2016 4:08 pm

Re: Chess Engine on Pi Zero

Sun Feb 14, 2016 10:14 am

Computer chess on a small Computer brings back memories of Computer Chess on a 1K Sinclair ZX 81.

High tech at the time.

jabba1977ad
Posts: 6
Joined: Sat Jan 16, 2016 12:38 pm

Re: Chess Engine on Pi Zero

Mon Feb 15, 2016 4:50 pm

jahboater wrote:
jabba1977ad wrote:Speed is not too bad - around 150k positions per sec vs 2000k pos per sec on my new macbook pro.
Have you tried a Pi2? It would be interesting to see how many pos per sec you get with that. Twice the memory and four CPU's (each CPU is much faster, armv7). With the latest firmware, the standard overclock in raspi-config is very stable.
No, I'll do so later in the week (travelling until Friday). It'll only use one core though :)

It's played 24hrs on the ICC so far, elo is just over 2000 which has exceeded expectations :)

I'll report back with the performance.

Return to “General discussion”