Problem with 6-piece syzygy-bases using wine

Discussion of chess software programming and technical issues.

Moderator: Ras

syzygy
Posts: 5774
Joined: Tue Feb 28, 2012 11:56 pm

Re: Problem with 6-piece syzygy-bases using wine

Post by syzygy »

BBauer wrote:Now, using the latest version I do no longer see the bases loaded each time I make a move.
Apparently this was incorrect and the problem still exists.

After setting SF to output debug info, this is what I see:

Code: Select all

<< info depth 23 currmove e7e6 currmovenumber 1
<< info depth 23 currmove e7e5 currmovenumber 2
>> stop
<< info depth 23 seldepth 30 score cp -29 upperbound nodes 36604455 nps 1539295 tbhits 0 time 23780 multipv 1 pv e7e6 d2d4 d7d5 b1c3 g8f6 c1g5 f8e7 e4e5 f6e4 g5e7 d8e7 c3e4 d5e4 d1e2 e8g8 e1c1 c8d7 c1b1 d7c6 f2f3
<< info nodes 36604455 tbhits 0 time 23780
<< bestmove e7e6 ponder d2d4
>> quit
>> setoption name Hash value 2048
>> setoption name Ponder value false
...
Does anyone have any idea why Arena 3.0 could be sending the quit command?

It might only happen when running Arena on Linux under wine and maybe even then only when running a natively compiled UCI engine, but I find it hard to explain.
User avatar
hgm
Posts: 28395
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: Problem with 6-piece syzygy-bases using wine

Post by hgm »

Can one run native Linux engines in a GUI that runs under wine? People told me that was not possible (and when I thought about it, that sounded reasonable).
syzygy
Posts: 5774
Joined: Tue Feb 28, 2012 11:56 pm

Re: Problem with 6-piece syzygy-bases using wine

Post by syzygy »

hgm wrote:Can one run native Linux engines in a GUI that runs under wine? People told me that was not possible (and when I thought about it, that sounded reasonable).
It actually works. The trick is to rename the Linux binary, e.g. from stockfish to stockfish.exe.

I am suspecting now that the Arena problem has to do with line endings (LF versus CR+LF). Arena might not be happy about the missing CR and therefore decide to restart the engine... But for the moment this is only speculation.
User avatar
hgm
Posts: 28395
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: Problem with 6-piece syzygy-bases using wine

Post by hgm »

Well, it should be easy enough to run with a Stockfish Windows binary, to see if Arena behaves different then. Or through an adapter that adds the CR,