Android engines discussion etc.
Moderators: Elijah, Igbo, timetraveller
-
- Points: 0,00
- Status: Offline (Active 3 Hours, 6 Minutes ago)
- Topics:
Android engines discussion etc.
Greetings folks! To avoid flood/spamming, i made this topic, for android engines discussion and other questions.
-
- Points: 0,00
- Status: Offline (Active 3 Hours, 6 Minutes ago)
- Topics:
Android engines discussion etc.
Nope, there is available android version on GitHub.Wasserman wrote:Can you make lc0 for android ?
-
- Forum Contributions
- Points: 40 305,00
- Posts: 1924
- Joined: 04/11/2019, 14:45
- Status: Offline (Active 3 Months, 2 Days, 7 Hours, 24 Minutes ago)
- Medals: 1
- Topics: 71
- Reputation: 2388
- Location: North-Italy
- Has thanked: 1185 times
- Been thanked: 2949 times
Cfish for Android
How do you compile for Android? Any attempt from me was unsuccesful. I've tried to install clang for mingw the last weeks but it failed in the linking phase.
hagtorp wrote:Two experimental compilations of Cfish-220719 (latest official sources). New: Clang-9.0.0 compiler. New libraries in both compilations. PGO + LTO optimization. Write about the problems, be sure to indicate the version of the android and the processor.
https://app.box.com/s/l2piyubioc6d2qx0c52lfat370280id3
-
- Forum Contributions
- Points: 19 796,00
- Posts: 159
- Joined: 04/11/2019, 3:15
- Status: Offline (Active 6 Months, 3 Weeks, 6 Days, 10 Hours, 27 Minutes ago)
- Topics: 3
- Reputation: 30
- Has thanked: 9 times
- Been thanked: 24 times
Cfish for Android
[quote="kramnik"]How do you compile for Android? Any attempt from me was unsuccesful. I've tried to install clang for mingw the last weeks but it failed in the linking phase.
I am building in a Linux environment.
I am building in a Linux environment.
-
- Forum Contributions
- Points: 40 305,00
- Posts: 1924
- Joined: 04/11/2019, 14:45
- Status: Offline (Active 3 Months, 2 Days, 7 Hours, 24 Minutes ago)
- Medals: 1
- Topics: 71
- Reputation: 2388
- Location: North-Italy
- Has thanked: 1185 times
- Been thanked: 2949 times
Cfish for Android
So you have just to use clang under linux? No other softwares needed like the Android NDK?
hagtorp wrote:kramnik wrote:How do you compile for Android? Any attempt from me was unsuccesful. I've tried to install clang for mingw the last weeks but it failed in the linking phase.
I am building in a Linux environment.
-
- Forum Contributions
- Points: 19 796,00
- Posts: 159
- Joined: 04/11/2019, 3:15
- Status: Offline (Active 6 Months, 3 Weeks, 6 Days, 10 Hours, 27 Minutes ago)
- Topics: 3
- Reputation: 30
- Has thanked: 9 times
- Been thanked: 24 times
Cfish for Android
No, NDK is needed. I just select the necessary libraries separately.kramnik wrote:So you have just to use clang under linux? No other softwares needed like the Android NDK?
-
- Forum Contributions
- Points: 40 305,00
- Posts: 1924
- Joined: 04/11/2019, 14:45
- Status: Offline (Active 3 Months, 2 Days, 7 Hours, 24 Minutes ago)
- Medals: 1
- Topics: 71
- Reputation: 2388
- Location: North-Italy
- Has thanked: 1185 times
- Been thanked: 2949 times
Cfish for Android
Thank you very much for the explanation. What are the libraries? And how do you add them to the compilation process?
hagtorp wrote:No, NDK is needed. I just select the necessary libraries separately.kramnik wrote:So you have just to use clang under linux? No other softwares needed like the Android NDK?
-
- Points: 0,00
- Status: Offline (Active 3 Hours, 6 Minutes ago)
- Topics:
Android engines discussion etc.
During the test android vs PC, first i tried Stockfish on older smartphone, Samsung DUOS GT-i9060, android 4.2.2. GUI Cfa, hash 128, 4 cores, 10sec per move, Stockfish stuck in thinking mode for more than 40 sec, i aborted 3 games. After that i changed hash to 32 and cores to 3, it stuck again, twice.
On my other Smartphone, LG 32bit, Qualcomm Snapdragon, android 6.0. It also stuck, again in thinking mode, twice.. I don't know if somebody else noticed this, but it happened to me. Usually Stockfish gets stuck in losing positions.
On my other Smartphone, LG 32bit, Qualcomm Snapdragon, android 6.0. It also stuck, again in thinking mode, twice.. I don't know if somebody else noticed this, but it happened to me. Usually Stockfish gets stuck in losing positions.
-
- Forum Contributions
- Points: 19 796,00
- Posts: 159
- Joined: 04/11/2019, 3:15
- Status: Offline (Active 6 Months, 3 Weeks, 6 Days, 10 Hours, 27 Minutes ago)
- Topics: 3
- Reputation: 30
- Has thanked: 9 times
- Been thanked: 24 times
Android engines discussion etc.
Thanks. Just now I noticed a marriage in the engine. It is in the version of armv7. Her speed is almost two times lower than usual.Alex1976 wrote:During the test android vs PC
-
- Forum Contributions
- Points: 19 796,00
- Posts: 159
- Joined: 04/11/2019, 3:15
- Status: Offline (Active 6 Months, 3 Weeks, 6 Days, 10 Hours, 27 Minutes ago)
- Topics: 3
- Reputation: 30
- Has thanked: 9 times
- Been thanked: 24 times
Android engines discussion etc.
Try this version. It seems to be fixed. There was a bug during compilation.
https://app.box.com/s/p826ptv5bo1mrhzx227wi7tcemotxh3l
https://app.box.com/s/p826ptv5bo1mrhzx227wi7tcemotxh3l
-
- Points: 0,00
- Status: Offline (Active 3 Hours, 6 Minutes ago)
- Topics:
Android engines discussion etc.
Working great, has speeded up, although you know it already.hagtorp wrote:Try this version. It seems to be fixed. There was a bug during compilation.
https://app.box.com/s/p826ptv5bo1mrhzx227wi7tcemotxh3l
-
- Points: 0,00
- Status: Offline (Active 3 Hours, 6 Minutes ago)
- Topics:
Android engines discussion etc.
Greetings android folks!
Couple questions.
1) hagtorp, is there any progress in making cutechess for android 9?
2) Has anyone managed to run cutechess on android 7 and up, until android 8+? I have new android 9, don't want to downgrade it.
Couple questions.
1) hagtorp, is there any progress in making cutechess for android 9?
2) Has anyone managed to run cutechess on android 7 and up, until android 8+? I have new android 9, don't want to downgrade it.
-
- Forum Contributions
- Points: 19 796,00
- Posts: 159
- Joined: 04/11/2019, 3:15
- Status: Offline (Active 6 Months, 3 Weeks, 6 Days, 10 Hours, 27 Minutes ago)
- Topics: 3
- Reputation: 30
- Has thanked: 9 times
- Been thanked: 24 times
Android engines discussion etc.
I'm already close, I think, to creating cutechess-cli for Android 8.1 and 9. The whole difficulty is that cutechess-cli cannot be built for android with normal dynamic libraries, since there are a huge number of intolerable dependencies and the program will not start outside the environment development. Therefore, we need a static assembly, for which you need to assemble Qt libraries into statics. There are difficulties here. I already patched Qt sources and the next days I will try to build libraries, and then the GUI. So you have to wait.Alex1976 wrote:Greetings android folks!
Couple questions.
1) hagtorp, is there any progress in making cutechess for android 9?
2) Has anyone managed to run cutechess on android 7 and up, until android 8+? I have new android 9, don't want to downgrade it.
-
- Forum Contributions
- Points: 14 942,00
- Posts: 209
- Joined: 04/11/2019, 10:54
- Status: Offline (Active 1 Year, 5 Days, 7 Hours, 46 Minutes ago)
- Topics: 2
- Reputation: 7
- Has thanked: 140 times
- Been thanked: 15 times
Android engines discussion etc.
alex,hagtorp one question:its possible the progress of stockish for android to be a little distorted because cutechess?
i mean this gui is well tested to show the real progress?
i will prepare one tournament under chess for android to measure the sf progress until now: 21/10/19 vs st 10 (2+1s TC)
the first tourney will be for arm7 versions,give me some time:)
i mean this gui is well tested to show the real progress?
i will prepare one tournament under chess for android to measure the sf progress until now: 21/10/19 vs st 10 (2+1s TC)
the first tourney will be for arm7 versions,give me some time:)