Android engines discussion etc.
Moderators: Elijah, Igbo, timetraveller
-
- 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, 6 Hours, 35 Minutes ago)
- Topics: 3
- Reputation: 255
- Has thanked: 389 times
- Been thanked: 362 times
Re: Stockfish+ for Android
I posted this already on the other thread but I am extremely curious:
On my Android phone (SD 662) with threads=4 , multiPV=4 and MCTS=on the nps output during analysis is, depending on the position, more than two times higher than with MCTS=off. The four PV lines are often quite similar. I'm surprised and I wonder, e.g., why the patch from snicolet never reached SF master? Or are the two nps-outputs just not comparable?
On my Android phone (SD 662) with threads=4 , multiPV=4 and MCTS=on the nps output during analysis is, depending on the position, more than two times higher than with MCTS=off. The four PV lines are often quite similar. I'm surprised and I wonder, e.g., why the patch from snicolet never reached SF master? Or are the two nps-outputs just not comparable?
-
- 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, 6 Hours, 35 Minutes ago)
- Topics: 3
- Reputation: 255
- Has thanked: 389 times
- Been thanked: 362 times
Re: Stockfish+ for Android
Can someone please repeat my tests with about the same settings? Firefather couldn't find big differences w or w/o MCTS on Windows (see other thread).MichaelM wrote: ↑02/01/2022, 15:05 I posted this already on the other thread but I am extremely curious:
On my Android phone (SD 662) with threads=4 , multiPV=4 and MCTS=on the nps output during analysis is, depending on the position, more than two times higher than with MCTS=off. The four PV lines are often quite similar. I'm surprised and I wonder, e.g., why the patch from snicolet never reached SF master? Or are the two nps-outputs just not comparable?
-
- Forum Contributions
- Points: 15 587,00
- Posts: 233
- Joined: 19/01/2020, 17:51
- Status: Offline (Active 2 Weeks, 1 Day, 1 Hour, 43 Minutes ago)
- Topics: 14
- Reputation: 229
- Location: Edge of the World
- Has thanked: 159 times
- Been thanked: 188 times
Re: Android engines discussion etc.
I have a new Project with OEX library with Custom fonts,ScrollView and splash screen. Because of lack of time I am not able to create flist of engines files.Archimedes wrote: ↑29/03/2022, 11:22You need Android Studio and Android libraries from https://github.com/peterosterlund2/chessenginesupport-androidlib which is a fork from https://github.com/gkalab/chessenginesupport-androidlib. Thanks to gkalab for offering this Android libraries. There is also a documentation, how to implement this libraries in a new project.
If somebody is intrested in my projects can pm me to volunteer.
► Show Spoiler
-
- Forum Contributions
- Points: 11 741,00
- Posts: 70
- Joined: 16/03/2022, 13:56
- Status: Offline (Active 3 Days, 18 Hours, 44 Minutes ago)
- Topics: 6
- Reputation: 42
- Has thanked: 38 times
- Been thanked: 86 times
Re: Combusken for Android
It's not that obvious. The engine ends in a .bin extension, which is confusing. I also thought there was a mistake. But I put it into the Droidfish uci folder and yes, it is an engine.leonhurricaneX wrote: ↑08/04/2020, 3:16 obviously if its in the chess engine section it will be a engine not a book. If you want use it click on the link and than click on the Assets and select the specific build for your device.PavelFriend wrote:Hi this is chess engine or is book?
Tip: I renamed the engine Combusken_2.0, removing the .bin extension. It still works without that.
-
- Points: 0,00
- Status: Offline (Active 2 Hours, 59 Minutes ago)
- Topics:
Re: Combusken for Android
Bin books ending up with .bin, while android engines ending up with arm or armv (7 or 8). So it is obvious.Lotus340 wrote: ↑31/03/2022, 3:56It's not that obvious. The engine ends in a .bin extension, which is confusing. I also thought there was a mistake. But I put it into the Droidfish uci folder and yes, it is an engine.leonhurricaneX wrote: ↑08/04/2020, 3:16 obviously if its in the chess engine section it will be a engine not a book. If you want use it click on the link and than click on the Assets and select the specific build for your device.PavelFriend wrote:Hi this is chess engine or is book?
Tip: I renamed the engine Combusken_2.0, removing the .bin extension. It still works without that.
-
- Administrators
- Points: 7 707,00
- Forum Contributions
- Posts: 149
- Joined: 05/01/2021, 15:29
- Status: Offline (Active 4 Hours, 42 Minutes ago)
- Medals: 1
- Topics: 6
- Reputation: 252
- Location: Madrid, ES
- Has thanked: 64 times
- Been thanked: 319 times
Re: Android engines discussion etc.
Hello, does anyone know if ShashChess/BrainLearn saves an experience file when running a tourney with Chess for Android?
If so, where can I find the experience file generated?
Thanks in advance,
Ibai
If so, where can I find the experience file generated?
Thanks in advance,
Ibai
-
- Forum Contributions
- Points: 42 582,00
- Posts: 2059
- Joined: 04/11/2019, 21:13
- Status: Offline (Active 7 Hours, 46 Minutes ago)
- Medals: 2
- Topics: 158
- Reputation: 7111
- Been thanked: 6477 times
Re: Android engines discussion etc.
/storage/emulated/0/experience.bin
Both engines are using the same file name and location for the experience file. Houston, we have a problem.
-
- Administrators
- Points: 7 707,00
- Forum Contributions
- Posts: 149
- Joined: 05/01/2021, 15:29
- Status: Offline (Active 4 Hours, 42 Minutes ago)
- Medals: 1
- Topics: 6
- Reputation: 252
- Location: Madrid, ES
- Has thanked: 64 times
- Been thanked: 319 times
Re: Android engines discussion etc.
Perfect, is there a way to select an specific location for the experience to be saved on Android?
-
- Forum Contributions
- Points: 14 010,00
- Posts: 76
- Joined: 24/02/2022, 11:23
- Status: Offline (Active 1 Week, 2 Days, 12 Hours, 39 Minutes ago)
- Topics: 0
- Reputation: 17
- Has thanked: 1 time
- Been thanked: 51 times
Re: Android engines discussion etc.
Sir Archimedes, why this format not working on my nougat 7.0?
......but this one is working
Code: Select all
make -j 2 profile-build ARCH=armv8 COMP=clang COMPCXX=clang++
Code: Select all
make -j 2 profile-build ARCH=armv8 COMP=ndk COMPCXX=clang++
-
- Forum Contributions
- Points: 14 078,00
- Posts: 327
- Joined: 17/10/2020, 22:28
- Status: Offline (Active 1 Day, 10 Hours, 27 Minutes ago)
- Medals: 2
- Topics: 5
- Reputation: 506
- Has thanked: 349 times
- Been thanked: 671 times
Re: Android engines discussion etc.
For me, both methods work fine. However, I usually use a shorter command for a profile build with clang:superbatil wrote: ↑25/05/2022, 13:25 Sir Archimedes, why this format not working on my nougat 7.0?......but this one is workingCode: Select all
make -j 2 profile-build ARCH=armv8 COMP=clang COMPCXX=clang++
Code: Select all
make -j 2 profile-build ARCH=armv8 COMP=ndk COMPCXX=clang++
Code: Select all
make -j profile-build ARCH=armv8 COMP=clang
(Btw: With "COMP=ndk" this does NOT work!)
-
- Forum Contributions
- Points: 14 010,00
- Posts: 76
- Joined: 24/02/2022, 11:23
- Status: Offline (Active 1 Week, 2 Days, 12 Hours, 39 Minutes ago)
- Topics: 0
- Reputation: 17
- Has thanked: 1 time
- Been thanked: 51 times
Re: Android engines discussion etc.
If I will used this( -j) without number it uses 8 core on compiling.LittleJoe wrote: ↑25/05/2022, 16:04For me, both methods work fine. However, I usually use a shorter command for a profile build with clang:superbatil wrote: ↑25/05/2022, 13:25 Sir Archimedes, why this format not working on my nougat 7.0?......but this one is workingCode: Select all
make -j 2 profile-build ARCH=armv8 COMP=clang COMPCXX=clang++
Code: Select all
make -j 2 profile-build ARCH=armv8 COMP=ndk COMPCXX=clang++
Maybe this works for you too.Code: Select all
make -j profile-build ARCH=armv8 COMP=clang
(Btw: With "COMP=ndk" this does NOT work!)
-
- Forum Contributions
- Points: 14 078,00
- Posts: 327
- Joined: 17/10/2020, 22:28
- Status: Offline (Active 1 Day, 10 Hours, 27 Minutes ago)
- Medals: 2
- Topics: 5
- Reputation: 506
- Has thanked: 349 times
- Been thanked: 671 times
Re: Android engines discussion etc.
You can certainly use it without "-j" or with only 2 cores. My phone has enough RAM for all 8 cores...superbatil wrote: ↑25/05/2022, 16:32If I will used this( -j) without number it uses 8 core on compiling.LittleJoe wrote: ↑25/05/2022, 16:04For me, both methods work fine. However, I usually use a shorter command for a profile build with clang:superbatil wrote: ↑25/05/2022, 13:25 Sir Archimedes, why this format not working on my nougat 7.0?......but this one is workingCode: Select all
make -j 2 profile-build ARCH=armv8 COMP=clang COMPCXX=clang++
Code: Select all
make -j 2 profile-build ARCH=armv8 COMP=ndk COMPCXX=clang++
Maybe this works for you too.Code: Select all
make -j profile-build ARCH=armv8 COMP=clang
(Btw: With "COMP=ndk" this does NOT work!)
Edit: Try your own non-working method without '-j'. Could be again a problem with parallel compiling on your phone.
-
- Forum Contributions
- Points: 14 078,00
- Posts: 327
- Joined: 17/10/2020, 22:28
- Status: Offline (Active 1 Day, 10 Hours, 27 Minutes ago)
- Medals: 2
- Topics: 5
- Reputation: 506
- Has thanked: 349 times
- Been thanked: 671 times
Re: Android engines discussion etc.
Has anyone already installed the pre-release of the termux-ndk (ndk-r24)?
https://github.com/Lzhiyong/termux-ndk/releases
Biggest advantage is, that It uses clang 14.0.1, while the latest stable release still uses clang 12.0.x.
If someone has installed this pre-release please share if there are any problems. Thanks in advance.
https://github.com/Lzhiyong/termux-ndk/releases
Biggest advantage is, that It uses clang 14.0.1, while the latest stable release still uses clang 12.0.x.
If someone has installed this pre-release please share if there are any problems. Thanks in advance.
-
- Forum Contributions
- Points: 14 010,00
- Posts: 76
- Joined: 24/02/2022, 11:23
- Status: Offline (Active 1 Week, 2 Days, 12 Hours, 39 Minutes ago)
- Topics: 0
- Reputation: 17
- Has thanked: 1 time
- Been thanked: 51 times
Re: Android engines discussion etc.
That's what I'm using now on termux. I think this is must stable than ndk-r23b.LittleJoe wrote: ↑15/06/2022, 11:16 Has anyone already installed the pre-release of the termux-ndk (ndk-r24)?
https://github.com/Lzhiyong/termux-ndk/releases
Biggest advantage is, that It uses clang 14.0.1, while the latest stable release still uses clang 12.0.x.
If someone has installed this pre-release please share if there are any problems. Thanks in advance.