Crystal for Android
Moderators: Elijah, Igbo, timetraveller
-
- 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
-
- 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
Added a build for armeabi-v7a devices with neon support. Engine still crashes on some positions.
-
- 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
- Has thanked: 389 times
- Been thanked: 362 times
Crystal for Android
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!Archimedes wrote:Added a build for armeabi-v7a devices with neon support. Engine still crashes on some positions.
-
- 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
Engine termination problem in many positions.Archimedes wrote:Crystal 3.1:
https://app.box.com/s/dv0u7su28xej5ru65sob3h2sjn5l639u
-
- 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
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.
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.
-
- 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
Hmm,but crystal is a very good engine.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.
I wanted to use but I can't just bcoz of its crashing problem.
-
- 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
You are welcome to try this one I made, Ive had no issues with crashing on this specific one.The Rising Star wrote:Hmm,but crystal is a very good engine.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.
I wanted to use but I can't just bcoz of its crashing problem.
https://www.dropbox.com/s/9vbxqui2xfwyjln/Crystal_210115-armv8.zip?dl=0
-
- 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
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.
-
- 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
- Has thanked: 389 times
- Been thanked: 362 times
Crystal for Android
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
Reason: added fen position
-
- 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
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.
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.
-
- 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
Thanks.SwiftSnips wrote:You are welcome to try this one I made, Ive had no issues with crashing on this specific one.The Rising Star wrote:Hmm,but crystal is a very good engine.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.
I wanted to use but I can't just bcoz of its crashing problem.
https://www.dropbox.com/s/9vbxqui2xfwyjln/Crystal_210115-armv8.zip?dl=0
It is working fine for me.
No any crashing problem till now.
-
- Points: 0,00
- Status: Offline (Active 3 Hours, 30 Minutes ago)
- Topics:
Crystal for Android
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!
Engine without embedded network, no crashes so far!
Arm7-Arm8 https://pixeldrain.com/l/hxmHcGqZ#item=0
Compiled with flag -DUSE_PTHREADS, thanks to Archimedes for the trick!
Engine without embedded network, no crashes so far!
Arm7-Arm8 https://pixeldrain.com/l/hxmHcGqZ#item=0
-
- 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
-
- 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
-
- Points: 0,00
- Status: Offline (Active 3 Hours, 30 Minutes ago)
- Topics: