Playing Komodo/Dragon 64bit windows engine on Picochess with Wine

123 views
Skip to first unread message

Henri

unread,
May 26, 2024, 9:37:39 AMMay 26
to PicoChess
I am trying to run the Komodo 14.1-64bit engine and the dragon-3-64bit (both licensed) in the picochess 3.3 Wine version. Moved the engines to the /engines/aarch64/windows64 directory, renamed them and made them executable.
Put both entries in the engines.ini file. Rebooted.
In both cases can't get across the Engine Setup stage.
What am I doing wrong ?

Henri
 

Randy Reade

unread,
May 26, 2024, 11:55:10 AMMay 26
to pico...@googlegroups.com
Hi Henri,

Do they run from the commandline ('wine <engine.exe>')? Did you edit the script (komodo14) or rename the engine to match what's in the script (komodo-14.1-64bit.exe)? Does the .uci filename match the script name (komodo14.uci) and are the entries in the .uci file correct?

Randy

--
You received this message because you are subscribed to the Google Groups "PicoChess" group.
To unsubscribe from this group and stop receiving emails from it, send an email to picochess+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/picochess/e145ccfa-9fb1-4e5b-8fc0-0aeea752e1can%40googlegroups.com.

Henri

unread,
May 26, 2024, 1:51:27 PMMay 26
to PicoChess
Hi Randy,

Both programs run from the commandline it seems, but in both cases I get a strange message:
Dragon:
0248:fixme:kernelbase:AppPolicyGetThreadInitializationType FFFFFFFFFFFFFFFA, 0000000081EAFF50
Komodo:
027c:fixme:kernelbase:AppPolicyGetThreadInitializationType FFFFFFFFFFFFFFFA, 000000008110FF50

Henri

Op zondag 26 mei 2024 om 17:55:10 UTC+2 schreef RandyR:

Randy Reade

unread,
May 26, 2024, 2:07:17 PMMay 26
to pico...@googlegroups.com
Fixme's are ok. Err's are problems. I assume you can type uci and see engine options once you've started them from the command line. In PicoChess, when it fails, open a terminal and type 'systemctl status pocochess' to see if any errors are showing.

Also, there may be things you need to do for registered programs before they will run, but someone else will have to help with that as I don't have any to try.

Randy

Henri

unread,
May 26, 2024, 2:24:08 PMMay 26
to PicoChess
After typing uci I get this:

Komodo:
0164:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0164:err:winediag:nodrv_CreateWindow L"The explorer process failed to start."
0164:err:systray:initialize_systray Could not create tray window
uci
id name Komodo 14.1 64-bit
id author Don Dailey, Larry Kaufman, Mark Lefler
option name NUMA Offset type spin default 0 min -1 max 32
option name Threads type spin default 1 min 1 max 128
option name Ponder type check default true
option name Hash type spin default 256 min 1 max 65536
option name Clear Hash type button
option name Table Memory type spin default 64 min 1 max 1024
option name MultiPV type spin default 1 min 1 max 218
option name OwnBook type check default true
option name Book File type string default komodo.bin
option name Book Moves type spin default 1000 min 0 max 1000
option name Best Book Line type check default false
option name Log File type string default <empty>
option name Hash File Name type string default <empty>
option name Save Hash to File type button
option name Load Hash from File type button
option name UCI_Chess960 type check default false
option name UCI_AnalyseMode type check default false
option name Use LMR type check default true
option name Null Move Pruning type check default true
option name Minimal Reporting type spin default 0 min 0 max 200
option name Overhead ms type spin default 50 min 0 max 10000
option name Time Usage type spin default 0 min -9 max 9
option name Use Syzygy type check default true
option name SyzygyPath type string default <empty>
option name Syzygy Probe Depth type spin default 1 min 0 max 99
option name Syzygy Probe Limit type spin default 6 min 0 max 7
option name Syzygy 50 Move Rule type check default true
option name Smart Syzygy type check default false
option name King Safety type spin default 83 min 0 max 200
option name Selectivity type spin default 216 min 10 max 250
option name Reduction type spin default -25 min -500 max 50
option name Dynamism type spin default 100 min 0 max 400
option name Contempt type spin default 4 min -250 max 250
option name White Contempt type check default false
option name MCTS Hash type spin default 128 min 128 max 32768
option name Use MCTS type check default false
option name MCTS Explore type spin default 46 min 1 max 500
option name Personality type combo default Default var Default var Aggressive va
r Defensive var Active var Positional var Endgame var Beginner var Human
option name Armageddon type combo default Off var Off var White Must Win var Bla
ck Must Win
option name Variety type spin default 0 min 0 max 50
option name Skill type spin default 25 min 0 max 25
option name Auto Skill type check default false
uciok

Dragon:
019c:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
019c:err:winediag:nodrv_CreateWindow L"The explorer process failed to start."
019c:err:systray:initialize_systray Could not create tray window
uci
id name Dragon 3 by Komodo Chess 64-bit
id author Don Dailey, Larry Kaufman, Mark Lefler, Dmitry Pervov, and Dietrich Ka
ppe
option name NUMA Offset type spin default 0 min -1 max 32
option name Threads type spin default 1 min 1 max 256
option name Ponder type check default true
option name Hash type spin default 256 min 1 max 524288
option name Clear Hash type button
option name Table Memory type spin default 64 min 1 max 1024
option name MultiPV type spin default 1 min 1 max 218
option name OwnBook type check default true
option name Book File type string default komodo.bin
option name Book Moves type spin default 1000 min 0 max 1000
option name Best Book Line type check default false
option name Log File type string default <empty>
option name Hash File Name type string default <empty>
option name Save Hash to File type button
option name Load Hash from File type button
option name UCI_Chess960 type check default false
option name UCI_AnalyseMode type check default false
option name Use LMR type check default true
option name Null Move Pruning type check default true
option name Overhead ms type spin default 50 min 0 max 10000
option name Time Usage type spin default 0 min -90 max 90
option name Use Syzygy type check default true
option name SyzygyPath type string default <empty>
option name Syzygy Probe Depth type spin default 1 min 0 max 99
option name Syzygy Probe Limit type spin default 6 min 0 max 7
option name Syzygy 50 Move Rule type check default true
option name Smart Syzygy type check default false
option name King Safety type spin default 83 min 0 max 200
option name Selectivity type spin default 90 min 10 max 250
option name Reduction type spin default -5 min -80 max 400
option name Dynamism type spin default 100 min 0 max 400
option name Contempt type spin default 16 min -250 max 250
option name White Contempt type check default false
option name NNUE_Scale type spin default 74 min 10 max 500
option name Use Regular Eval type check default false
option name MCTS Hash type spin default 128 min 32 max 32768
option name Use MCTS type check default false
option name MCTS Explore type spin default 50 min 15 max 500
option name MCTS Explore Root type spin default 60 min 15 max 500
option name MCTS Optimism type spin default 10 min -50 max 50
option name WeightsFile type string default <empty>
option name Personality type combo default Default var Default var Aggressive va
r Defensive var Active var Positional var Endgame var Beginner var Human
option name Armageddon type combo default Off var Off var White Must Win var Bla
ck Must Win
option name Variety type spin default 0 min 0 max 100
option name UCI Elo type spin default 3500 min 1 max 3500
option name UCI LimitStrength type check default false
option name Auto Skill type check default false
option name UCI_Opponent type string default <empty>
uciok

Henri

Randy Reade

unread,
May 26, 2024, 2:45:51 PMMay 26
to pico...@googlegroups.com
I assume you are using ssh. Try starting the engines with 'DISPLAY=:0 wine <engine.exe>'. Just a guess but it looks like it's trying to open a window (for registration?).

Randy

--
You received this message because you are subscribed to the Google Groups "PicoChess" group.
To unsubscribe from this group and stop receiving emails from it, send an email to picochess+...@googlegroups.com.

Henri

unread,
May 26, 2024, 4:18:24 PMMay 26
to PicoChess
Hi Randy,

Yes, after Display=:0 no more CreateWindow messages. How to start the engine in Picochess with that option? 
Don't think it has to do with registration, at startup the license-name is mentioned.

Henri

Op zondag 26 mei 2024 om 20:45:51 UTC+2 schreef RandyR:

Randy Reade

unread,
May 26, 2024, 5:34:56 PMMay 26
to pico...@googlegroups.com
Just add 'DISPLAY=:0' before the word 'wine' in the script that calls the engine. You shouldn't need it though since it's running locally but I see I had the following in my  aarch64/windows64/komodo14 script:

#!/bin/bash
cd /opt/picochess/engines/aarch64/windows64/; export BOX86_NOBANNER=1; export BOX64_NOBANNER=1; DISPLAY=:0 wine komodo-14.1-64bit.exe

I don't think you need the export entries either. Perhaps someone else can confirm.

Randy

Henri

unread,
May 26, 2024, 5:52:35 PMMay 26
to PicoChess
I renamed the engine names in the script to 'komodo14' and 'dragon' and now both engines start in picochess with 'ok engine'. That's great. But no 'ok time' and after playing a move the engines do not respond yet.

Henri 

Op zondag 26 mei 2024 om 23:34:56 UTC+2 schreef RandyR:

Randy Reade

unread,
May 26, 2024, 5:55:43 PMMay 26
to pico...@googlegroups.com
In my experience it sometimes takes a long time for the engine to respond.

Randy

Henri

unread,
May 26, 2024, 6:15:38 PMMay 26
to PicoChess
Right again. It's a Pi4... :)
Well Randy, both engines seem to work now. Will experiment more in the next days. Thanks again for your help!!

Henri

Op zondag 26 mei 2024 om 23:55:43 UTC+2 schreef RandyR:

Santiago Torres

unread,
Jun 25, 2024, 11:03:58 AM (8 days ago) Jun 25
to PicoChess
Dear friends, can you summarize the procedure to add windows based licensed engines to picochess?  I tried to follow this email but I cannot access picochess anymore, so I decided to left picochess in its original form.

Thanks in advance,

Santiago

Reply all
Reply to author
Forward
0 new messages