Wine 2.0 with 64 bit support for macOS

Discussion of anything and everything relating to chess playing software and machines.

Moderators: hgm, Rebel, chrisw

Max
Posts: 247
Joined: Tue Apr 13, 2010 10:41 am

Wine 2.0 with 64 bit support for macOS

Post by Max »

Recently wine version 2.0 was released. Interesting news is the 64 bit support on Mac OS X.

It worked quite well for my needs on a 2012 MacBook pro running macOS Sierra 10.12.3:
max$ wine stockfish_8_x64.exe bench > /dev/null
===========================
Total time (ms) : 3841
Nodes searched : 5926706
Nodes/second : 1543011

max$ wine stockfish_8_x64_popcnt.exe bench > /dev/null
===========================
Total time (ms) : 3734
Nodes searched : 5926706
Nodes/second : 1587227

max$ wine stockfish_8_x32.exe bench > /dev/null
===========================
Total time (ms) : 5117
Nodes searched : 5926706
Nodes/second : 1158238

max$ ./stockfish-8-64 bench > /dev/null
===========================
Total time (ms) : 3976
Nodes searched : 5926706
Nodes/second : 1490620

max$ wine stockfish_8_x64.exe bench 512 4 > /dev/null
===========================
Total time (ms) : 2202
Nodes searched : 12468806
Nodes/second : 5662491


max$ wine komodo-8-64bit.exe bench
Komodo 8 64-bit by Don Dailey, Larry Kaufman and Mark Lefler
using hardware POPCNT
info string Licensed to KomodoChess.com

5 .................................................. 142377 nds 0.14 sec
6 .................................................. 135072 nds 0.26 sec 1.85 bf
7 .................................................. 287861 nds 0.49 sec 1.88 bf
8 .................................................. 439211 nds 0.84 sec 1.72 bf
9 .................................................. 1002601 nds 1.63 sec 1.93 bf
10 .................................................. 1718580 nds 2.94 sec 1.80 bf
11 .................................................. 3373394 nds 5.50 sec 1.87 bf
12 .................................................. 6665726 nds 10.64 sec 1.93 bf

max$ wine komodo-8-32bit.exe bench
Komodo 1288.00 32-bit by Don Dailey, Larry Kaufman and Mark Lefler
using hardware POPCNT
info string Licensed to KomodoChess.com

5 .................................................. 142377 nds 0.27 sec
6 .................................................. 135072 nds 0.49 sec 1.80 bf
7 .................................................. 287861 nds 0.93 sec 1.91 bf
8 .................................................. 439211 nds 1.63 sec 1.75 bf
9 .................................................. 1002601 nds 3.26 sec 2.00 bf
10 .................................................. 1718580 nds 5.98 sec 1.83 bf
11 .................................................. 3373394 nds 11.35 sec 1.90 bf
12 .................................................. 6665726 nds 22.30 sec 1.97 bf

max$ ./komodo-8-64-osx bench
Komodo 8 64-bit by Don Dailey, Larry Kaufman and Mark Lefler
using hardware POPCNT
info string Licensed to KomodoChess.com

5 .................................................. 142377 nds 0.11 sec
6 .................................................. 135072 nds 0.19 sec 1.78 bf
7 .................................................. 287861 nds 0.37 sec 1.96 bf
8 .................................................. 439211 nds 0.66 sec 1.79 bf
9 .................................................. 1002601 nds 1.37 sec 2.08 bf
10 .................................................. 1718580 nds 2.57 sec 1.88 bf
11 .................................................. 3373394 nds 5.05 sec 1.96 bf
12 .................................................. 6665726 nds 9.95 sec 1.97 bf
Tiny HOWTO:

Download and install the wine 2.0 pgk-file from https://dl.winehq.org/wine-builds/macosx/download.html
While installation check the box for experimental 64 bit support. Start the wine app. To activate the 64 support, type in the opened terminal

WINEARCH=win64 WINEPREFIX=~/.wine winecfg

and follow the configuration process. For testing, download and extract Stockfish for Windows. Move to the stockfish directory and type in the terminal "wine stockfish_8_x64.exe bench"

You can add the wine path for convenience to your .profile. In my case (installed wine just for me and renamed the app to Wine_Devel.app) "export PATH=/Users/max/Applications/Wine_Devel.app/Contents/Resources/wine/bin:$PATH"

-Max
Hope we're not just the biological boot loader for digital super intelligence. Unfortunately, that is increasingly probable - Elon Musk
JoshPettus
Posts: 730
Joined: Fri Oct 19, 2012 2:23 am

Re: Wine 2.0 with 64 bit support for macOS

Post by JoshPettus »

Unfortunately the issue that originally stopped them from supporting OSX with wine64 hasn't actually been worked around. They just decided that maybe it won't affect all applications, and to go ahead with it anyway. In my experience there are a few 64bit chess engines that won't run. Fire for instance.
User avatar
MikeB
Posts: 4889
Joined: Thu Mar 09, 2006 6:34 am
Location: Pen Argyl, Pennsylvania

Re: Wine 2.0 with 64 bit support for macOS

Post by MikeB »

This is awesome news - will check it out. Appreciate every much you posting this , will post here my success or not, hopefully the former.
User avatar
MikeB
Posts: 4889
Joined: Thu Mar 09, 2006 6:34 am
Location: Pen Argyl, Pennsylvania

Re: Wine 2.0 with 64 bit support for macOS

Post by MikeB »

MikeB wrote:This is awesome news - will check it out. Appreciate every much you posting this , will post here my success or not, hopefully the former.
No luck here.