MTaktikos wrote: ↑Sat Feb 11, 2023 8:10 pm
And last not least, the issue may be related to the CPU architecture of the Linux machine's processor. If the Linux machine's CPU architecture is different from the Windows PC's CPU architecture, the engine may not be able to run on the Linux VM. Then perhaps a bmi2 compile, a modern (popcnt) compile or an old simple x64 compile will work
Thank you for your guidance. I do need to change the compiler options for FSFDuck. I tested this idea using several Linux versions of TJchessDuck. The x64 compile runs without error, but the avx2 version fails with "Illegal instruction (core dumped)".
The problem is that my old desktop PC was purchased about 11 years ago. I set this up as my Linux host to run the Windows-based virtual machines.
Retired actuary and software developer. I love chess, coffee, wine and food
After I load xboard, I choose the mayhem engine. But it can't be loaded, and I get a very long error dialog. I have no idea what most of the error message means.
Well the error dialog says it could not start Polyglot. So obviously your XBoard is configured to use Polyglot rather than UCI2WB as UCI adapter. (And it is not present on your computer; that is what "no such file or directory" means.) Try to run XBoard once with the option
-adapterCommand {uci2wb "%fcp" "%fd"}
This should configure XBoard for using uci2wb. (You might have to escape the quotes if you run this from the command line, to prevent the shell interprets, and effectively removes those.)
I don't know Mint; on Ubuntu / Debian "apt-get install uci2wb" should work. You can also download the source from my on-line repository ( http://hgm.nubati.net/cgi-bin/gitweb.cgi ), and run 'sudo make install'.
You can show images here by putting the URL in img BBcodes (or using the button above the edit window to add these). You would still have to upload it somewhere, though.
hgm wrote: ↑Sat Feb 18, 2023 9:29 pm
Well the error dialog says it could not start Polyglot. So obviously your XBoard is configured to use Polyglot rather than UCI2WB as UCI adapter. (And it is not present on your computer; that is what "no such file or directory" means.) Try to run XBoard once with the option
-adapterCommand {uci2wb "%fcp" "%fd"}
This should configure XBoard for using uci2wb. (You might have to escape the quotes if you run this from the command line, to prevent the shell interprets, and effectively removes those.)
I don't know Mint; on Ubuntu / Debian "apt-get install uci2wb" should work.
I previously downloaded source and compiled it myself. Today I installed uci2wb as suggested.
When I tried running xboard with the adaptercommand, I got an error. I did check to make sure that I escaped the quotes properly.
I also tried running mayhem afterwards, but I still get errors.
Well, you must have the uci2wb binary in a directory that is not in your search path. Normally it would install into /usr/games (or /usr/local/bin when you install from source). Does it work when you type "uci2wb mayhem8 ." from the command line?
I uninstalled uci2wb, then re-installed it using "apt-get install uci2wb". Now I see the executable in /usr/games and it seems that mayhem is finally loading without errors.
My next problem is getting the variants to work. I get the message "variant duck not supported by mayhem 8.0". When I try using the FSFDuck that I compiled, I get "Engine did not send setup for non-standard variant"
Retired actuary and software developer. I love chess, coffee, wine and food
Are you sure that you are using an XBoard version that does support Duck Chess? That it complains that Duck Chess is a non-standard variant suggests it doesn't.
To say anything sensible I would need to see the log file. Run XBoard with extra option -debug, and post the xboard.debug file that it produces when you try to run Mayhem here. To get even more information you can also let uci2wb write in the log; it would have to be installed with the aid of the xboard option
-adapterCommand {uci2wb debug "%fcp" "%fd"}
in that case. (You could edit this directly in the .xboardrc file , which stores the presistent settings.)
hgm wrote: ↑Sat Feb 18, 2023 9:29 pm
You can show images here by putting the URL in img BBcodes (or using the button above the edit window to add these). You would still have to upload it somewhere, though.
Thank you - I just noticed that the images display correctly in Firefox, but not in Chrome (my default browser).
Retired actuary and software developer. I love chess, coffee, wine and food