Crystal for Android

Moderators: Elijah, Igbo, timetraveller

Archimedes

Android Engines Top Active Users
Forum Contributions
Points: 42 582,00 
Posts: 2059
Joined: 04/11/2019, 21:13
Status: Offline (Active 10 Hours, 53 Minutes ago)
Medals: 2
Topics: 158
Reputation: 7111
Been thanked: 6477 times

Crystal for Android

Post by Archimedes »

Archimedes

Android Engines Top Active Users
Forum Contributions
Points: 42 582,00 
Posts: 2059
Joined: 04/11/2019, 21:13
Status: Offline (Active 10 Hours, 53 Minutes ago)
Medals: 2
Topics: 158
Reputation: 7111
Been thanked: 6477 times

Crystal for Android

Post by Archimedes »

Added a build for armeabi-v7a devices with neon support. Engine still crashes on some positions.
MichaelM
I've been banned!
Points: 17 852,00 
Posts: 234
Joined: 27/08/2020, 23:44
Status: Offline (Active 8 Months, 2 Weeks, 6 Days, 19 Hours, 9 Minutes ago)
Topics: 3
Reputation: 255
1
Has thanked: 389 times
Been thanked: 362 times

Crystal for Android

Post by MichaelM »

Archimedes wrote:Added a build for armeabi-v7a devices with neon support. Engine still crashes on some positions.
Good job! good_job Installed all three versions in Droidfish. Neon version about two times faster than arm7 and hardly slower than arm8. And best of all: Downloaded and stored only about 2 MByte instead of 60 MByte! good_job
The Rising Star
Forum Contributions
Points: 6 000,00 
Posts: 47
Joined: 20/04/2020, 4:14
Status: Offline (Active 8 Months, 4 Days, 23 Hours, 9 Minutes ago)
Topics: 0
Reputation: 0
Been thanked: 1 time

Crystal for Android

Post by The Rising Star »

Engine termination problem in many positions.
Archimedes

Android Engines Top Active Users
Forum Contributions
Points: 42 582,00 
Posts: 2059
Joined: 04/11/2019, 21:13
Status: Offline (Active 10 Hours, 53 Minutes ago)
Medals: 2
Topics: 158
Reputation: 7111
Been thanked: 6477 times

Crystal for Android

Post by Archimedes »

Yes, it is, but i can tell you for sure, that it has nothing to do, with the way, it is compiled. I've already checked that. Older versions with different compiler environment have the same problem, as you can see in this thread.

Same thing with SugaR AI ICCF, it crashes on some (and probably on a huge amount of) positions, where the normal version SugaR AI doesn't crashes. And i'm using absolute identical compiler settings when i did the compile.
The Rising Star
Forum Contributions
Points: 6 000,00 
Posts: 47
Joined: 20/04/2020, 4:14
Status: Offline (Active 8 Months, 4 Days, 23 Hours, 9 Minutes ago)
Topics: 0
Reputation: 0
Been thanked: 1 time

Crystal for Android

Post by The Rising Star »

Archimedes wrote:Yes, it is, but i can tell you for sure, that it has nothing to do, with the way, it is compiled. I've already checked that. Older versions with different compiler environment have the same problem, as you can see in this thread.

Same thing with SugaR AI ICCF, it crashes on some (and probably on a huge amount of) positions, where the normal version SugaR AI doesn't crashes. And i'm using absolute identical compiler settings when i did the compile.
Hmm,but crystal is a very good engine.
I wanted to use but I can't just bcoz of its crashing problem. xrf27
SwiftSnips
Forum Contributions
Points: 6 000,00 
Posts: 139
Joined: 03/12/2020, 21:06
Status: Offline (Active 2 Months, 2 Weeks, 1 Day, 13 Hours, 2 Minutes ago)
Topics: 0
Reputation: 18
Been thanked: 33 times

Crystal for Android

Post by SwiftSnips »

The Rising Star wrote:
Archimedes wrote:Yes, it is, but i can tell you for sure, that it has nothing to do, with the way, it is compiled. I've already checked that. Older versions with different compiler environment have the same problem, as you can see in this thread.

Same thing with SugaR AI ICCF, it crashes on some (and probably on a huge amount of) positions, where the normal version SugaR AI doesn't crashes. And i'm using absolute identical compiler settings when i did the compile.
Hmm,but crystal is a very good engine.
I wanted to use but I can't just bcoz of its crashing problem. xrf27
You are welcome to try this one I made, Ive had no issues with crashing on this specific one.

https://www.dropbox.com/s/9vbxqui2xfwyjln/Crystal_210115-armv8.zip?dl=0
Archimedes

Android Engines Top Active Users
Forum Contributions
Points: 42 582,00 
Posts: 2059
Joined: 04/11/2019, 21:13
Status: Offline (Active 10 Hours, 53 Minutes ago)
Medals: 2
Topics: 158
Reputation: 7111
Been thanked: 6477 times

Crystal for Android

Post by Archimedes »

Looks good so far. Seems, you are using the present makefile for compiling. I only made tests with the integrated clang compiler in Android NDK.
MichaelM
I've been banned!
Points: 17 852,00 
Posts: 234
Joined: 27/08/2020, 23:44
Status: Offline (Active 8 Months, 2 Weeks, 6 Days, 19 Hours, 9 Minutes ago)
Topics: 3
Reputation: 255
1
Has thanked: 389 times
Been thanked: 362 times

Crystal for Android

Post by MichaelM »

Good crash-test position for Crystal:

Last edited by Anonymous on 17/01/2021, 0:18, edited 1 time in total.
Reason: added fen position
Archimedes

Android Engines Top Active Users
Forum Contributions
Points: 42 582,00 
Posts: 2059
Joined: 04/11/2019, 21:13
Status: Offline (Active 10 Hours, 53 Minutes ago)
Medals: 2
Topics: 158
Reputation: 7111
Been thanked: 6477 times

Crystal for Android

Post by Archimedes »

Finally, i found the missing piece of the puzzle. Hopefully. :-D

I was not exact, when i was writing, it has nothing to do with the way, the chess engine is compiled. What i'm meaning is, it has nothing to do with target independent compiler settings (e. g. -O3, -flto and so on).

The version from SwiftSnips, which works for me, brought me to an idea. And finally, i found the reason for the crashes. There should be used the compiler definition -DUSE_PTHREADS (which is a source dependent compiler definition). Still now, i have no crashes with it.

I've uploaded the package again. Need to be tested, for sure.
The Rising Star
Forum Contributions
Points: 6 000,00 
Posts: 47
Joined: 20/04/2020, 4:14
Status: Offline (Active 8 Months, 4 Days, 23 Hours, 9 Minutes ago)
Topics: 0
Reputation: 0
Been thanked: 1 time

Crystal for Android

Post by The Rising Star »

SwiftSnips wrote:
The Rising Star wrote:
Archimedes wrote:Yes, it is, but i can tell you for sure, that it has nothing to do, with the way, it is compiled. I've already checked that. Older versions with different compiler environment have the same problem, as you can see in this thread.

Same thing with SugaR AI ICCF, it crashes on some (and probably on a huge amount of) positions, where the normal version SugaR AI doesn't crashes. And i'm using absolute identical compiler settings when i did the compile.
Hmm,but crystal is a very good engine.
I wanted to use but I can't just bcoz of its crashing problem. xrf27
You are welcome to try this one I made, Ive had no issues with crashing on this specific one.

https://www.dropbox.com/s/9vbxqui2xfwyjln/Crystal_210115-armv8.zip?dl=0
Thanks.
It is working fine for me.
No any crashing problem till now.
Skynet
Points: 0,00 
Status: Offline (Active 3 Hours, 30 Minutes ago)
Topics: 

Crystal for Android

Post by Skynet »

Crystal 180121 "Merge branch 'crystal' of github.com:jhellis3/Stockfish into crystal " https://github.com/MichaelB7/Stockfish/commit/2a42b55162e40852a52e5a19fddb7d70ab028020
Compiled with flag -DUSE_PTHREADS, thanks to Archimedes for the trick! wink
Engine without embedded network, no crashes so far! smile3

Arm7-Arm8 https://pixeldrain.com/l/hxmHcGqZ#item=0
Archimedes

Android Engines Top Active Users
Forum Contributions
Points: 42 582,00 
Posts: 2059
Joined: 04/11/2019, 21:13
Status: Offline (Active 10 Hours, 53 Minutes ago)
Medals: 2
Topics: 158
Reputation: 7111
Been thanked: 6477 times

Crystal for Android

Post by Archimedes »

Archimedes

Android Engines Top Active Users
Forum Contributions
Points: 42 582,00 
Posts: 2059
Joined: 04/11/2019, 21:13
Status: Offline (Active 10 Hours, 53 Minutes ago)
Medals: 2
Topics: 158
Reputation: 7111
Been thanked: 6477 times

Crystal for Android

Post by Archimedes »

Skynet
Points: 0,00 
Status: Offline (Active 3 Hours, 30 Minutes ago)
Topics: 

Crystal for Android

Post by Skynet »

Post Reply

Return to “Mobile Chess Software, Engines”