https://kirill-kryukov.com/chess/discus ... p?id=52109Witek902 wrote: ↑Mon Jun 19, 2023 4:38 pmWhere can I download it from?Graham Banks wrote: ↑Mon Jun 19, 2023 4:10 pm Try it in ChessGUI, which is what I use for my testing.
New engine: Caissa
- Graham Banks
- Posts: 27537
- Joined: Sun Dec 18, 2005 5:47 pm
- Sign-up code: 0
- Location: Auckland, NZ
Re: New engine: Caissa
Re: New engine: Caissa
I don't know, for me it looks like ChessGUI bug.
The options are properly reported:
And at the end ChessGUI decides to just kill the process with no reason.
The options listed by 1.8 and 1.9 are almost identical.
The options are properly reported:
Code: Select all
GetPrivateProfileString() no value for Host in Ftp (D:\CHESS\TOOLS\ChessGUI 0.245m\GUI_DATA\ChsGUI_Ini.INI), nResult = 0, OutStr =
GetPrivateProfileString() no value for User in Ftp (D:\CHESS\TOOLS\ChessGUI 0.245m\GUI_DATA\ChsGUI_Ini.INI), nResult = 0, OutStr =
GetPrivateProfileString() no value for RemoteFolder in Ftp (D:\CHESS\TOOLS\ChessGUI 0.245m\GUI_DATA\ChsGUI_Ini.INI), nResult = 0, OutStr =
GetPrivateProfileString() no value for Proxy in Ftp (D:\CHESS\TOOLS\ChessGUI 0.245m\GUI_DATA\ChsGUI_Ini.INI), nResult = 0, OutStr =
GetPrivateProfileString() no value for Host in Ftp (D:\CHESS\TOOLS\ChessGUI 0.245m\GUI_DATA\ChsGUI_Ini.INI), nResult = 0, OutStr =
GetPrivateProfileString() no value for User in Ftp (D:\CHESS\TOOLS\ChessGUI 0.245m\GUI_DATA\ChsGUI_Ini.INI), nResult = 0, OutStr =
GetPrivateProfileString() no value for RemoteFolder in Ftp (D:\CHESS\TOOLS\ChessGUI 0.245m\GUI_DATA\ChsGUI_Ini.INI), nResult = 0, OutStr =
GetPrivateProfileString() no value for Proxy in Ftp (D:\CHESS\TOOLS\ChessGUI 0.245m\GUI_DATA\ChsGUI_Ini.INI), nResult = 0, OutStr =
==== LaunchChessEngine() ====
Processor is NOT Intel.
Computer Speed = 10 MHz.
Total Physical Memory = 32671 MB.
Total Available Memory = 22501 MB.
Total Available Disk Space = 1261841 MB.
=======================================================
Now in EraseInputBuffers().
Now in MakeTimeControlString() at Time0000000004130265
LaunchChessEngine() succeeded for
is playing black.
================ SendFirstCommands(), nProtocol = 1, EngineCodeHex = 00000020 ====
SendFirstCommands UCI
SendToEng7Time 0000000004130296 : Eng07 () -> uci
.
Scheduling StartEngineTimerEvent() for at 0000000004130296.
Waiting for .
Eng07 () <- Caissa 1.9 (AVX2/BMI2) by Michal Witanowski
Cancelling StartEngineTimerEvent() for at 0000000004142062.
Eng07 () <- info string Loaded neural network: C:\Users\Michal\DEV\Caissa\Releases\Caissa_1.9/eval-13.pnn
Eng07 () <- id name Caissa 1.9 (AVX2/BMI2)
Eng07 (Caissa 1.9 (AVX2/BMI2)) <- id author Michal Witanowski
Eng07 (Caissa 1.9 (AVX2/BMI2)) <- option name Hash type spin default 256 min 1 max 1048576
Eng07 (Caissa 1.9 (AVX2/BMI2)) <- option name MultiPV type spin default 1 min 1 max 280
Eng07 (Caissa 1.9 (AVX2/BMI2)) <- option name MoveOverhead type spin default 10 min 0 max 10000
Eng07 (Caissa 1.9 (AVX2/BMI2)) <- option name Threads type spin default 1 min 1 max 1024
Eng07 (Caissa 1.9 (AVX2/BMI2)) <- option name Ponder type check default false
Eng07 (Caissa 1.9 (AVX2/BMI2)) <- option name EvalFile type string default eval-13.pnn
Eng07 (Caissa 1.9 (AVX2/BMI2)) <- option name SyzygyPath type string default <empty>
Eng07 (Caissa 1.9 (AVX2/BMI2)) <- option name SyzygyProbeLimit type spin default 7 min 4 max 7
Eng07 (Caissa 1.9 (AVX2/BMI2)) <- option name UCI_AnalyseMode type check default false
Eng07 (Caissa 1.9 (AVX2/BMI2)) <- option name UCI_Chess960 type check default false
Eng07 (Caissa 1.9 (AVX2/BMI2)) <- option name UCI_ShowWDL type check default false
Eng07 (Caissa 1.9 (AVX2/BMI2)) <- option name UseSAN type check default false
Eng07 (Caissa 1.9 (AVX2/BMI2)) <- option name ColorConsoleOutput type check default false
Eng07 (Caissa 1.9 (AVX2/BMI2)) <- uciok
Now in EndChildProcess() at Time0000000004142343 to kill Caissa 1.9 (AVX2/BMI2).
!!! Disk Space !!! (1323136487424 Bytes free)
SendToEng7Time 0000000004142453 : Eng07 (Caissa 1.9 (AVX2/BMI2)) -> stop
.
SendToEng7Time 0000000004142453 : Eng07 (Caissa 1.9 (AVX2/BMI2)) -> quit
.
DestroyChildProcess(Eng07 = Caissa 1.9 (AVX2/BMI2)) is already dead.
The options listed by 1.8 and 1.9 are almost identical.
Author of Caissa Chess Engine: https://github.com/Witek902/Caissa
- Graham Banks
- Posts: 27537
- Joined: Sun Dec 18, 2005 5:47 pm
- Sign-up code: 0
- Location: Auckland, NZ
Re: New engine: Caissa
Odd, because the previous versions have been fine under ChessGUI.Witek902 wrote: ↑Tue Jun 20, 2023 10:48 am I don't know, for me it looks like ChessGUI bug.
The options are properly reported:And at the end ChessGUI decides to just kill the process with no reason.Code: Select all
GetPrivateProfileString() no value for Host in Ftp (D:\CHESS\TOOLS\ChessGUI 0.245m\GUI_DATA\ChsGUI_Ini.INI), nResult = 0, OutStr = GetPrivateProfileString() no value for User in Ftp (D:\CHESS\TOOLS\ChessGUI 0.245m\GUI_DATA\ChsGUI_Ini.INI), nResult = 0, OutStr = GetPrivateProfileString() no value for RemoteFolder in Ftp (D:\CHESS\TOOLS\ChessGUI 0.245m\GUI_DATA\ChsGUI_Ini.INI), nResult = 0, OutStr = GetPrivateProfileString() no value for Proxy in Ftp (D:\CHESS\TOOLS\ChessGUI 0.245m\GUI_DATA\ChsGUI_Ini.INI), nResult = 0, OutStr = GetPrivateProfileString() no value for Host in Ftp (D:\CHESS\TOOLS\ChessGUI 0.245m\GUI_DATA\ChsGUI_Ini.INI), nResult = 0, OutStr = GetPrivateProfileString() no value for User in Ftp (D:\CHESS\TOOLS\ChessGUI 0.245m\GUI_DATA\ChsGUI_Ini.INI), nResult = 0, OutStr = GetPrivateProfileString() no value for RemoteFolder in Ftp (D:\CHESS\TOOLS\ChessGUI 0.245m\GUI_DATA\ChsGUI_Ini.INI), nResult = 0, OutStr = GetPrivateProfileString() no value for Proxy in Ftp (D:\CHESS\TOOLS\ChessGUI 0.245m\GUI_DATA\ChsGUI_Ini.INI), nResult = 0, OutStr = ==== LaunchChessEngine() ==== Processor is NOT Intel. Computer Speed = 10 MHz. Total Physical Memory = 32671 MB. Total Available Memory = 22501 MB. Total Available Disk Space = 1261841 MB. ======================================================= Now in EraseInputBuffers(). Now in MakeTimeControlString() at Time0000000004130265 LaunchChessEngine() succeeded for is playing black. ================ SendFirstCommands(), nProtocol = 1, EngineCodeHex = 00000020 ==== SendFirstCommands UCI SendToEng7Time 0000000004130296 : Eng07 () -> uci . Scheduling StartEngineTimerEvent() for at 0000000004130296. Waiting for . Eng07 () <- Caissa 1.9 (AVX2/BMI2) by Michal Witanowski Cancelling StartEngineTimerEvent() for at 0000000004142062. Eng07 () <- info string Loaded neural network: C:\Users\Michal\DEV\Caissa\Releases\Caissa_1.9/eval-13.pnn Eng07 () <- id name Caissa 1.9 (AVX2/BMI2) Eng07 (Caissa 1.9 (AVX2/BMI2)) <- id author Michal Witanowski Eng07 (Caissa 1.9 (AVX2/BMI2)) <- option name Hash type spin default 256 min 1 max 1048576 Eng07 (Caissa 1.9 (AVX2/BMI2)) <- option name MultiPV type spin default 1 min 1 max 280 Eng07 (Caissa 1.9 (AVX2/BMI2)) <- option name MoveOverhead type spin default 10 min 0 max 10000 Eng07 (Caissa 1.9 (AVX2/BMI2)) <- option name Threads type spin default 1 min 1 max 1024 Eng07 (Caissa 1.9 (AVX2/BMI2)) <- option name Ponder type check default false Eng07 (Caissa 1.9 (AVX2/BMI2)) <- option name EvalFile type string default eval-13.pnn Eng07 (Caissa 1.9 (AVX2/BMI2)) <- option name SyzygyPath type string default <empty> Eng07 (Caissa 1.9 (AVX2/BMI2)) <- option name SyzygyProbeLimit type spin default 7 min 4 max 7 Eng07 (Caissa 1.9 (AVX2/BMI2)) <- option name UCI_AnalyseMode type check default false Eng07 (Caissa 1.9 (AVX2/BMI2)) <- option name UCI_Chess960 type check default false Eng07 (Caissa 1.9 (AVX2/BMI2)) <- option name UCI_ShowWDL type check default false Eng07 (Caissa 1.9 (AVX2/BMI2)) <- option name UseSAN type check default false Eng07 (Caissa 1.9 (AVX2/BMI2)) <- option name ColorConsoleOutput type check default false Eng07 (Caissa 1.9 (AVX2/BMI2)) <- uciok Now in EndChildProcess() at Time0000000004142343 to kill Caissa 1.9 (AVX2/BMI2). !!! Disk Space !!! (1323136487424 Bytes free) SendToEng7Time 0000000004142453 : Eng07 (Caissa 1.9 (AVX2/BMI2)) -> stop . SendToEng7Time 0000000004142453 : Eng07 (Caissa 1.9 (AVX2/BMI2)) -> quit . DestroyChildProcess(Eng07 = Caissa 1.9 (AVX2/BMI2)) is already dead.
The options listed by 1.8 and 1.9 are almost identical.
- Gabor Szots
- Posts: 13198
- Joined: Sat Dec 09, 2006 6:30 am
- Sign-up code: 10159
- Location: Szentendre, Hungary
Re: New engine: Caissa
Version 1.9 is the first one without the Gaviota TB options. And it has a new option (show WDL).
Maybe that is the problem. Graham, have you installed v1.9 independently or by duplicating v1.8? What if you delete them then do a clean install of 1.9?
Sorry to bother if that is nonsense.
Re: New engine: Caissa
I reverted all UCI options to version 1.8 so that "uci" command output is exactly the same as in version 1.8 and I'm still getting the same behavior (hang on Edit Engine Parameters leading to engine kill). I'm out of ideas...
Author of Caissa Chess Engine: https://github.com/Witek902/Caissa
- Gabor Szots
- Posts: 13198
- Joined: Sat Dec 09, 2006 6:30 am
- Sign-up code: 10159
- Location: Szentendre, Hungary
Re: New engine: Caissa
When I start the engine these lines are displayed.
BTW, can it be the new net causes the problem?
What is that error? Does it matter?AdjustTokenPrivileges failed, error code: 1300
Caissa 1.9 (AVX2/BMI2) by Michal Witanowski
info string Loaded neural network: E:\Sakk\UCI-engines\Caissa/eval-13.pnn
BTW, can it be the new net causes the problem?
Re: New engine: Caissa
The error means that the engine failed to enabled large pages (the exe needs some privileges set up in Windows settings), but it shouldn't be a problem. I think this error is printed since early releases and wasn't causing any issues.
The net shouldn't be a problem, because it loaded successfully and isn't used till "go" command is called.
The net shouldn't be a problem, because it loaded successfully and isn't used till "go" command is called.
Author of Caissa Chess Engine: https://github.com/Witek902/Caissa
- Graham Banks
- Posts: 27537
- Joined: Sun Dec 18, 2005 5:47 pm
- Sign-up code: 0
- Location: Auckland, NZ
Re: New engine: Caissa
Could you compile an exe for me that uses 1024mb hash, 4 cores and uses the tablebase path E:\SyzygyTablebases by default?
Re: New engine: Caissa
It's not needed. You just set this exact command line options string in engine settings:Graham Banks wrote: ↑Tue Jun 20, 2023 10:32 pm Could you compile an exe for me that uses 1024mb hash, 4 cores and uses the tablebase path E:\SyzygyTablebases by default?
Code: Select all
"setoption name Hash value 1024" "setoption name Threads value 4" "setoption name SyzygyPath value E:\SyzygyTablebases"
Author of Caissa Chess Engine: https://github.com/Witek902/Caissa
- Graham Banks
- Posts: 27537
- Joined: Sun Dec 18, 2005 5:47 pm
- Sign-up code: 0
- Location: Auckland, NZ
Re: New engine: Caissa
Thanks. I'll give it a try.Witek902 wrote: ↑Wed Jun 21, 2023 11:03 amIt's not needed. You just set this exact command line options string in engine settings:Graham Banks wrote: ↑Tue Jun 20, 2023 10:32 pm Could you compile an exe for me that uses 1024mb hash, 4 cores and uses the tablebase path E:\SyzygyTablebases by default?Basically all strings passed in command line in quotes are executed as an UCI command.Code: Select all
"setoption name Hash value 1024" "setoption name Threads value 4" "setoption name SyzygyPath value E:\SyzygyTablebases"
Re: New engine: Caissa
OK I can duplicate this in ChessGUI as well (although I haven't used that for years now)
Perhaps it does not like the "/" or the brackets in the UCI engine name, that is all I can suggest.
Perhaps it does not like the "/" or the brackets in the UCI engine name, that is all I can suggest.
Re: New engine: Caissa
I was trying everything, nothing worked. So far I know it started to happen after I switched to using CMake to generate Visual Studio solution. Some project settings were different, but it still doesn't work when I made them the same. Very weird... I'll try building Caissa with GCC and see if it works
Author of Caissa Chess Engine: https://github.com/Witek902/Caissa
Re: New engine: Caissa
Eng07 (caissa-1.9-avx2-bmi2) <- AdjustTokenPrivileges failed, error code: 1300
Cancelling StartEngineTimerEvent() for caissa-1.9-avx2-bmi2 at 0000000189899531.
ChessGUI thinks the failure to allocate large pages is a critical error and then aborts ?
However, I still think that "/" in the UCI engine name is an issue. ChessGUI saves a file to disk, and that is not a valid character for a Windows file name.
Perhaps you could change that and generate a new exe for us to try ?
Re: New engine: Caissa
Solved it by manually editing the ChessGUI config files.
- Attachments
-
- caissa.png (32.91 KiB) Viewed 127402 times
Re: New engine: Caissa
In the file ChsGUI_Eng.TXT
[Caissa 1.9 (AVX2-BMI2)]
MyName=Caissa 1.9 (AVX2-BMI2)
OriginalName=Caissa 1.9 (AVX2-BMI2)
EngineFile=C:\ChessEngines\Caissa 1.9\caissa-1.9-avx2-bmi2.exe
EngineAuthor=Michal Witanowski
CommandLine=
EngineCode=571763226312736 157288800 128 0 0 0 0 0 0 0 0 0
EngineInts=0 1 2 -1 0 0 0 0 0 0 0 0
EngineWords=0 0 0 0 0 0 0 0 0 0 0 0
EloValue=2400
In the config folder:
Make a plain text file called
Caissa 1.9 (AVX2-BMI2).uci
Put the following into it
option name EvalFile type string default eval-13.pnn
option name SyzygyPath type string default C:\Syzygy5
option name Hash type spin default 1024 min 1 max 32000
option name MultiPV type spin default 1 min 1 max 280
option name MoveOverhead type spin default 10 min 0 max 10000
option name Threads type spin default 4 min 1 max 1024
option name SyzygyProbeLimit type spin default 7 min 4 max 7
option name UCI_AnalyseMode type check default false
option name UCI_Chess960 type check default false
option name UCI_ShowWDL type check default false
option name UseSAN type check default false
option name ColorConsoleOutput type check default false
Then go edit engine and edit parameters and it should work.
However none of this would be necessary if the "/" was removed from the engine name. I'm 99.9% sure that that is the issue.
[Caissa 1.9 (AVX2-BMI2)]
MyName=Caissa 1.9 (AVX2-BMI2)
OriginalName=Caissa 1.9 (AVX2-BMI2)
EngineFile=C:\ChessEngines\Caissa 1.9\caissa-1.9-avx2-bmi2.exe
EngineAuthor=Michal Witanowski
CommandLine=
EngineCode=571763226312736 157288800 128 0 0 0 0 0 0 0 0 0
EngineInts=0 1 2 -1 0 0 0 0 0 0 0 0
EngineWords=0 0 0 0 0 0 0 0 0 0 0 0
EloValue=2400
In the config folder:
Make a plain text file called
Caissa 1.9 (AVX2-BMI2).uci
Put the following into it
option name EvalFile type string default eval-13.pnn
option name SyzygyPath type string default C:\Syzygy5
option name Hash type spin default 1024 min 1 max 32000
option name MultiPV type spin default 1 min 1 max 280
option name MoveOverhead type spin default 10 min 0 max 10000
option name Threads type spin default 4 min 1 max 1024
option name SyzygyProbeLimit type spin default 7 min 4 max 7
option name UCI_AnalyseMode type check default false
option name UCI_Chess960 type check default false
option name UCI_ShowWDL type check default false
option name UseSAN type check default false
option name ColorConsoleOutput type check default false
Then go edit engine and edit parameters and it should work.
However none of this would be necessary if the "/" was removed from the engine name. I'm 99.9% sure that that is the issue.
Re: New engine: Caissa
Shredder GUI is obviously coded to deal with this, when it creates the .eng file it silently substitutes the "/" automatically with an underscore.
Caissa 1.9 (AVX2_BMI2).eng
Caissa 1.9 (AVX2_BMI2).eng
Re: New engine: Caissa
Caissa 1.10 has been released:
https://github.com/Witek902/Caissa/releases/tag/1.10
I removed forward slash from the engine name, hopefully this fixes ChessGUI issue.
https://github.com/Witek902/Caissa/releases/tag/1.10
I removed forward slash from the engine name, hopefully this fixes ChessGUI issue.
Author of Caissa Chess Engine: https://github.com/Witek902/Caissa
Re: New engine: Caissa
Caissa 1.11 has been released:
https://github.com/Witek902/Caissa/releases/tag/1.11
https://github.com/Witek902/Caissa/releases/tag/1.11
Author of Caissa Chess Engine: https://github.com/Witek902/Caissa
-
- Posts: 2195
- Joined: Thu Aug 05, 2021 2:35 pm
- Sign-up code: 10159
- Location: Cavite, Philippines
- Contact:
Re: New engine: Caissa
Thanks for the new version!Witek902 wrote: ↑Sun Jul 23, 2023 11:51 pm Caissa 1.11 has been released:
https://github.com/Witek902/Caissa/releases/tag/1.11
CCRL Testing Group
-
- Posts: 2195
- Joined: Thu Aug 05, 2021 2:35 pm
- Sign-up code: 10159
- Location: Cavite, Philippines
- Contact:
Re: New engine: Caissa
https://www.computerchess.org.uk/ccrl/4 ... aissa_1_11Witek902 wrote: ↑Sun Jul 23, 2023 11:51 pm Caissa 1.11 has been released:
https://github.com/Witek902/Caissa/releases/tag/1.11
CCRL Testing Group
Re: New engine: Caissa
Caissa 1.12 has been released!
https://github.com/Witek902/Caissa/releases/tag/1.12
https://github.com/Witek902/Caissa/releases/tag/1.12
Author of Caissa Chess Engine: https://github.com/Witek902/Caissa
Re: New engine: Caissa
Caissa 1.13 has been released!
https://github.com/Witek902/Caissa/releases/tag/1.13
https://github.com/Witek902/Caissa/releases/tag/1.13
Author of Caissa Chess Engine: https://github.com/Witek902/Caissa
-
- Posts: 2195
- Joined: Thu Aug 05, 2021 2:35 pm
- Sign-up code: 10159
- Location: Cavite, Philippines
- Contact:
Re: New engine: Caissa
HI, I think, there's bug in FRC, Can you please check it?Witek902 wrote: ↑Fri Sep 29, 2023 9:13 am Caissa 1.13 has been released!
https://github.com/Witek902/Caissa/releases/tag/1.13
https://www.mediafire.com/file/c7yeox3h ... a.pgn/file
CCRL Testing Group
- Gabor Szots
- Posts: 13198
- Joined: Sat Dec 09, 2006 6:30 am
- Sign-up code: 10159
- Location: Szentendre, Hungary
Re: New engine: Caissa
Not only in FRC. I played a very short match between 1.12 and 1.13 but interrupted it after 12-0 in favour of 1.12. Can it be that the default of <empty> is not enough to play with the internal net?bastiball wrote: ↑Fri Sep 29, 2023 2:57 pmHI, I think, there's bug in FRC, Can you please check it?Witek902 wrote: ↑Fri Sep 29, 2023 9:13 am Caissa 1.13 has been released!
https://github.com/Witek902/Caissa/releases/tag/1.13
https://www.mediafire.com/file/c7yeox3h ... a.pgn/file
Re: New engine: Caissa
Indeed setting EvalFile as "<empty>" causes no net to be used. Can you workaround it by forcing EvalFile option to an empty string? I'll try to prepare a fix soonGabor Szots wrote: ↑Fri Sep 29, 2023 4:06 pmNot only in FRC. I played a very short match between 1.12 and 1.13 but interrupted it after 12-0 in favour of 1.12. Can it be that the default of <empty> is not enough to play with the internal net?bastiball wrote: ↑Fri Sep 29, 2023 2:57 pmHI, I think, there's bug in FRC, Can you please check it?Witek902 wrote: ↑Fri Sep 29, 2023 9:13 am Caissa 1.13 has been released!
https://github.com/Witek902/Caissa/releases/tag/1.13
https://www.mediafire.com/file/c7yeox3h ... a.pgn/file
Author of Caissa Chess Engine: https://github.com/Witek902/Caissa