Hi everyone, long time no see!
I was wondering if any of you had success running windows engines in xboard through WINE?
I'm trying to do exactly that and it seems every engine I try is playing fine, but the process does not close when xboard close.
Is this a known problem?
xboard and wine
Moderators: hgm, Rebel, chrisw
-
- Posts: 286
- Joined: Mon Mar 13, 2006 5:23 pm
- Location: Québec
xboard and wine
Mathieu Pagé
mathieu@mathieupage.com
mathieu@mathieupage.com
-
- Posts: 286
- Joined: Mon Mar 13, 2006 5:23 pm
- Location: Québec
Re: xboard and wine
I've done some search in this forum and it seems lots of peoples uses engines as I'm trying under Linux : xboard -> polyglot -> wine or xboard -> wine.
However I get the same problem with two differents engines I tried (gibbon and monarch). Their process keeps running even after xboard is closed.
Is this a problem with theses particular engines? Honestly, I don't know what to test next.
However I get the same problem with two differents engines I tried (gibbon and monarch). Their process keeps running even after xboard is closed.
Is this a problem with theses particular engines? Honestly, I don't know what to test next.
Mathieu Pagé
mathieu@mathieupage.com
mathieu@mathieupage.com
-
- Posts: 2272
- Joined: Mon Sep 29, 2008 1:50 am
Re: xboard and wine
Windows engines run mostly transparently under Linux. E.g.However I get the same problem with two differents engines I tried (gibbon and monarch). Their process keeps running even after xboard is closed.
xboard -fcp ./rybka.exe -fUCI
should work as expected if ./rybka.exe exists.
I suspect there is a problem with the engines you use. You should first look at the log file
generated by xboard (xboard -debug ....). Perhaps that gives a clue.
-
- Posts: 4607
- Joined: Wed Oct 01, 2008 6:33 am
- Location: Regensburg, Germany
- Full name: Guenther Simon
Re: xboard and wine
I don't use Linux and Wine currently, but at least I can confirm that there aremathmoi wrote:I've done some search in this forum and it seems lots of peoples uses engines as I'm trying under Linux : xboard -> polyglot -> wine or xboard -> wine.
However I get the same problem with two differents engines I tried (gibbon and monarch). Their process keeps running even after xboard is closed.
Is this a problem with theses particular engines? Honestly, I don't know what to test next.
dozens of engines out which don't close correctly and I need to kill their
processes automatically (I use kill commands in a batch file).
Gibbon is in my list of those and I think I remember problems with some
Monarch versions too, but I haven't used it for a while.
From hearsaying I heard good things about Microwine...
I hope this was of any help.
Guenther
-
- Posts: 286
- Joined: Mon Mar 13, 2006 5:23 pm
- Location: Québec
Re: xboard and wine
Hi Guenther,
Thanks for theses info, maybe I was just unlucky and choosed two engines that are having problems with wine.
You mentioned that you kill them automatically, how do you do this. I'm running some kinds of tournaments with xboard and I'd need a way to kill them when xboard is closed.
Thanks for theses info, maybe I was just unlucky and choosed two engines that are having problems with wine.
You mentioned that you kill them automatically, how do you do this. I'm running some kinds of tournaments with xboard and I'd need a way to kill them when xboard is closed.
Mathieu Pagé
mathieu@mathieupage.com
mathieu@mathieupage.com
-
- Posts: 1342
- Joined: Wed Mar 08, 2006 9:41 pm
- Location: Morgantown, WV, USA
Re: xboard and wine
I've done this before in a different way. I dont run Winboard under wine. Instead I recommend using xboard natively under linux, then run the engines under wine.
xboard -size small -fcp "wine ./crafty.exe" -scp "wine ./rybka.exe"
Assuming both crafty and rybka are in the current directory else
"wine /mnt/windows/Program\ Files/crafty/crafty.exe" or however you have it on your system.
Have even done this with UCI engines using an UCI->Xboard translation under wine
Good luck.
-Josh
xboard -size small -fcp "wine ./crafty.exe" -scp "wine ./rybka.exe"
Assuming both crafty and rybka are in the current directory else
"wine /mnt/windows/Program\ Files/crafty/crafty.exe" or however you have it on your system.
Have even done this with UCI engines using an UCI->Xboard translation under wine
Good luck.
-Josh
-
- Posts: 2272
- Joined: Mon Sep 29, 2008 1:50 am
Re: xboard and wine
Specifying "wine" is superfluous. On modern linux systems you can just use ./crafty.exe.xboard -size small -fcp "wine ./crafty.exe" -scp "wine ./rybka.exe"
-
- Posts: 4607
- Joined: Wed Oct 01, 2008 6:33 am
- Location: Regensburg, Germany
- Full name: Guenther Simon
Re: xboard and wine
Hi Mathieumathmoi wrote:Hi Guenther,
Thanks for theses info, maybe I was just unlucky and choosed two engines that are having problems with wine.
You mentioned that you kill them automatically, how do you do this. I'm running some kinds of tournaments with xboard and I'd need a way to kill them when xboard is closed.
Well I can feed any command to the tourney manager I use(PSWBTM) after
each executed game and here I just feed batch files if needed for
certain missbehaving programs. The batch files call up a free command
line utility named PV and this does a forced kill for each process which I
found to be hanging once in my tests even after Polyglot tried to end it already.
I have a list containing all programs which were at least hanging once
during the last years.
All the above I only tested under Windows. I guess it should also work under Wine,
but I would be surprised if there shouldn't be a solution with a bash script doing the same.
Guenther
-
- Posts: 2272
- Joined: Mon Sep 29, 2008 1:50 am
Re: xboard and wine
I tried Monarch and it seemed to behave correctly
xboard -debug -fcp "./Monarch\(v1.7\).exe" -fUCI -mg 1 -xponder
This is with polyglot 1.4.55b.
Pondering did not seem to work. I have not figured out if this is a polyglot or a Monarch bug.
xboard -debug -fcp "./Monarch\(v1.7\).exe" -fUCI -mg 1 -xponder
This is with polyglot 1.4.55b.
Pondering did not seem to work. I have not figured out if this is a polyglot or a Monarch bug.
Re: xboard and wine
I've seen this before, with some versions of xboard, particularly 4.3.14. Which are version are you using? I'm currently using 4.3.16 without the issue anymore.