Not logged inRybka Chess Community Forum
Up Topic Rybka Support & Discussion / Rybka Discussion / Ubuntu: How to install 64-bit wine [SOLVED]
1 2 3 4 Previous Next  
Parent - - By Uly (Gold) [mx] Date 2011-01-28 14:40

> h4 can't be found with the engine just concentrating on the primary move, but will be considered pretty easily when you have a look at MultiPVs and use own experiences...


I got that, what I still don't get is how that's different than this:

19.01   11:55    0.00   24.c5 f5 25.gxf5 exf5 26.Bxe5 Nxe5 27.Qc3 Qc7 28.Rxd8+ Qxd8 29.Qxe5 fxe4
--------
19.01   14:44   -0.09   24.g5 hxg5 25.c5 Rxd6 26.cxd6 Qd8 27.Nxg5 f6 28.Ne4 f5 29.Nc5 b6 30.d7 bxc5
--------
19.01  31:47   -0.15   24.h3 Rd7 25.c5 Qd8 26.g5 hxg5 27.Nxg5 Rxd6 28.Rxd6 Qe7 29.Bf3 Nxf3+
--------
19.01   6:19   -0.16   24.Rdd1 Rxd6 25.Nxd6 Qc7 26.h4 Bd7 27.c5 f6 28.g5 hxg5 29.hxg5 f5 30.Rf2
--------
19.01   34:51   -0.33   24.h4 Ng6 25.h5 Nge7 26.Rdd1 Rd7 27.Nc5 Rxd6 28.Rxd6 Rb8 29.Kg2 e5 30.Nd7
--------

Can you tell the difference between what I'm posting and a real MultiPV=5 Depth=19 output?
Parent - - By SchachProfi (****) [de] Date 2011-01-28 14:48

> Can you tell the difference between what I'm posting and a real MultiPV=5 Depth=19 output?


Yes, the search tree/hash is much fuller&wider!

You can easily see that: When two MultiPV-lines have the same moves with a simple transition, the calculation is a lot faster for those lines, simply because alot information was already stored and just calculation for breaking out of the transition is needed. Alex
Parent - By Uly (Gold) [mx] Date 2011-01-29 09:42

> When two MultiPV-lines have the same moves with a simple transition, the calculation is a lot faster for those lines, simply because alot information was already stored and just calculation for breaking out of the transition is needed. Alex


Same happens with two single PV lines when you exclude the first in that scenario.
Parent - By Banned for Life (Gold) Date 2011-01-28 15:20
Finding 24. h4 isn't enough. It needs to be marked as the clear best move. So you need to repeat your experiment with depth > 19 for exclude move. Once you find this result (and we need to know a median value for this time) we can find the same value for MPV 4 and 5 and compare. I suspect that with a large enough hash, MPV will be faster on non-Rybka engines. Rybka seems to be non-optimal is using large transition tables and also MPV, so it's probably a poor engine choice for this test though.
Parent - - By Felix Kling (Gold) [de] Date 2011-01-26 14:41
even if that's true, there's the question if this is Wine's fault (not supporting that) or Rybka's.
Parent - - By brunjes (**) [us] Date 2011-01-26 14:54
Well there are many other windows-only engines that I run with wine and crank up the memory usage to 1 GB with no detrimental effects to performance (all on Ubuntu of course). This *is* a Rybka-specific thing. It could be a wine-thing that is only tickled by Rybka code, but nonetheless, other engines do not have this issue. It started with Rybka 3 -- Rybka 2.3.2 did not have this problem.

Roy
Parent - By InspectorGadget (****) [za] Date 2011-01-26 20:22

>  Rybka 2.3.2 did not have this problem.


Really? I thought I've seen it with rybka 2.3.2a. Maybe I am wrong. Yes Rybka 3 does it. I gues it's a bug on Rybka, other engines work fine. I've run hem at 512Mb without a problem :sad:
Parent - By SchachProfi (****) [de] Date 2011-01-26 14:56
Sorry, of course this IS a Rybka-specific thing... haven't seen this behaviour with other engines. Well, ok Rybka doesn't officially support Ubuntu and so on, still it shows that Rybka seems to use some kind of "special=dirty" memory-call-tweaks...
Parent - By Banned for Life (Gold) Date 2011-01-26 14:56
I use a third party memory manager to provide large page support for engines. It works fine for all engines except Rybka, which uses a Windows specific OS based memory allocation call that the third party memory manager does not support. I would be very surprised if this same call is not implicated in the problems you are discussing.

Who's to blame? You can either fault Wine, for not supporting this (not so common) Windows OS call, or Rybka for making use of it.
Parent - - By Felix Kling (Gold) [de] Date 2011-01-26 14:55
OK, I tested it with the windows version of stockfish, that works fine. do you think changing the memory ressources thing would be easy? I could ask Vas to change it.
Parent - - By Banned for Life (Gold) Date 2011-01-26 14:58
do you think changing the memory ressources thing would be easy?

No. I think this is tied in with the use of shared memory used by multiple processes, rather than the use of a multi-threaded approach.
Parent - By Vempele (Silver) [fi] Date 2011-01-26 15:03
+1.
Parent - - By Felix Kling (Gold) [de] Date 2011-01-26 15:20
Are you sure that this problem I described (disk starting to work when Rybka runs) was always there? afaik it only appeared when I installed Wine using the 64 bit trick. I never noticed that before.
Parent - By Felix Kling (Gold) [de] Date 2011-01-26 21:44
ok, I did a fresh compile now (using the script :) I may add it to our website's installation instructions) and now 64 MB works fine and swapping starts with 128 MB. It still looks like some Wine problem to me, basically Rybka is working.
Parent - - By InspectorGadget (****) [za] Date 2011-01-26 05:37

> Btw.: Don't use more than 32 MB Hash on Ubuntu.


Is that only for 64 bit Rybka?

With the 32 bit Rybka I can use up to 256 Mb hash :cool:

But why is Rybka structured in so irregular way? :confused: All the other engines that I've tried on Ubuntu work fine irrespective of the hash size.
Parent - - By Felix Kling (Gold) [de] Date 2011-01-26 10:37
I don't know why, but for me Wine starts swapping after more than 32 MB used. That's no Rybka, but a Wine issue I guess.
Parent - - By InspectorGadget (****) [za] Date 2011-01-26 10:42

> That's no Rybka, but a Wine issue I guess.


With me it happens only with Rybka. I tried both Rybka 3 and Rybka 2.3.2a and same. Howevrr other engines like Shredder, Zappa and other work fine.

> but for me Wine starts swapping after more than 32 MB used.


At least I can go up to 256Mb with Rybka :cool:

I use a 64 bit Ubuntu by the way.

On a side note, that application called Wine needs to be worked on really hard. :smile:
Parent - - By Felix Kling (Gold) [de] Date 2011-01-26 11:26
actually there's a problem even with 32MB for me now . I just checked it, after every depth finished the cpu performance goes down, the hard disk is working and only after writing stops, the cpu usage goes up again.
Parent - By Felix Kling (Gold) [de] Date 2011-01-26 11:33
strange. it also happens with 32 bit engines in terminal. mmmh.
Parent - By gregor (**) Date 2011-01-26 11:22
Thanks Felix, you are right. I shouldn't compare the different engines.
If I compare Deep Rybka w32 on wine32 with Deep Rybka x 64 on wine 64 I see a substantial performance increase.

Thanks again!
:grin:
Parent - By Jesse Gersenson (***) [cz] Date 2011-01-26 18:34
Stockfish 2.01 win 64 bit is about 66% as fast for me in arena-under-wine as it is in scid.

rybka 4 64 bit under via wine seems about 10% slower than when run via Steiner's microwine.

sometimes, in both scid and arena, the engines are especially slow. i reboot and everything is back at full speed.
- - By Banned for Life (Gold) Date 2011-01-26 05:43
I wish Felix would make this topic disappear!
Parent - - By Uly (Gold) [mx] Date 2011-01-26 11:54
No, it seems like a healthy thread, people reading about all the problems may decide to get a real OS instead!
Parent - By InspectorGadget (****) [za] Date 2011-01-26 12:32

> people reading about all the problems may decide to get a real OS instead!


:twisted:
Parent - - By Felix Kling (Gold) [de] Date 2011-01-26 12:42
sudo shut up :smile:
Parent - - By Uly (Gold) [mx] Date 2011-01-26 14:16
Bad command or filename.
Parent - - By Jesse Gersenson (***) [cz] Date 2011-03-07 08:03
here's wine version 1.3.15:

http://www.jesseo.com/chess/64-bit-wine-ubuntu-1.3.15.sh

btw:
ubuntu's wine packaging guy tells me he expects ubuntu 11.04 to allow for 32/64-bit wine installs via a deb package. he will start working to make ubuntu's version of wine capable of 64-bit motors sometime after 11.04 is released.
Parent - - By Jesse Gersenson (***) [cz] Date 2011-05-26 09:38
http://www.jesseo.com/chess/

wine version 1.3.20
Parent - By NVV5 [ru] Date 2011-09-11 07:48
I have some Question.
I am a success to collect two computers under the scheme of 1-st with Windoos7 x64 where it is established GUI and 2-nd with Ubuntu 10.04x64.
Rybka3L is created on the Ubuntu computer,
netRybka3L.exe and netRybka3L.rc are generated on the Windows computer.
After commands: ./Rybka3L  uci    go depth 17   Rybka3L on Ubuntu computer is started and normally works.
When I want to start Rybka3L by installing the created netRybka3L with Windows Fritz11 or 12 GUI I get messages: could not load, doesn't have parameters.
Please prompt how to solve the problem of start netRybka3L.exe, in what here the reason.
In advance thank you.
My E-mail: nvv799@yahoo.com
Parent - - By maja (*) [si] Date 2011-09-13 15:46
Hi Jesse, I'm trying your 1.3.20 script (on ubuntu 10.04) and keep getting
"E: Unable to find a source package for wine1.3"
Sorry if this is a rookie question!?
Parent - By Jesse Gersenson (***) [cz] Date 2011-09-13 19:51
Hi Maja,

i've never tested it on ubuntu 10.04. will try it in virtual box and see if i get the same error.

my script relies on several other online files, one of which issues files based on the version of operating system - so it's possible the script is not working.
Parent - - By Jesse Gersenson (***) [cz] Date 2011-09-14 06:56 Edited 2011-09-14 06:59
Here is a new version of the script, wine version 1.3.28.

http://www.jesseo.com/chess/64-bit-wine-ubuntu-1.3.28.sh

should fix the error maja reported - let me know.
(edit: ah - there's a second instance of this error at the end of the script!? Will have to look closer)
Parent - - By Jesse Gersenson (***) [cz] Date 2011-09-14 08:10
Ok - should be working now (tested in version 10.04).

commented out the line
sudo apt-get -y build-dep wine1.3

use this version:
http://www.jesseo.com/chess/64-bit-wine-ubuntu-1.3.28.sh
Parent - - By maja (*) [si] Date 2011-09-15 10:06
Hi Jesse, thanks for that!
It seems to have all gone OK! But now I can't get it to work :(
Below is what I get when I try to run Aquarium. Where did I go wrong?
I'll try Arena now as well and report..
mz@Zhenya:~$ /home/mz/wine32/wine /home/mz/.wine/drive_c/Program\ Files/Aquarium/Aquarium.exe
err:module:import_dll Library libeay32.dll (which is needed by L"C:\\Program Files\\Aquarium\\Aquarium.exe") not found
err:module:import_dll Library AddOnCE0.DLL (which is needed by L"C:\\Program Files\\Aquarium\\Aquarium.exe") not found
err:module:import_dll Library pcre3.dll (which is needed by L"C:\\Program Files\\Aquarium\\Aquarium.exe") not found
err:module:import_dll Library zLib.dll (which is needed by L"C:\\Program Files\\Aquarium\\Aquarium.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"C:\\Program Files\\Aquarium\\Aquarium.exe" failed, status c0000135
Parent - - By maja (*) [si] Date 2011-09-15 11:01 Edited 2011-09-15 16:33
Hm, I'm getting a bit lost now! OK, so using your script Jesse, I get Arena to work OK using:
/home/mz/wine32/wine /home/mz/Matej/Arena/arena_2.5_beta/Arena.exe.
Then I'm not sure how to get the engine to work. I've got Houdini 1.5 here now (Rybka is on my bf's computer and I can't test it right now - but it should work the same right?).
So I'm then trying Felix's instructions for connecting the engine using netChess.
So I've created the netHoudini.exe file and when I run the wish command the server window opens OK. (Well, I didn't follow the instructions completely though - since what was the point of using your script if not to use 64 bit wine? So I used
/home/mz/wine64/wine Z:/home/mz/Matej/netchess/engineClient.exe
instead to create the the netHoudini.exe file.
I then install the engine in Arena, but as soon as I try to use it, I get the following error in the terminal, which disconnects the connection:
mz@Zhenya:~$ wish /home/mz/Matej/netchess/engineServer.tcl -host localhost -port 7788 -debug 0 -engineName Houdini -engine /home/mz/Matej/Houdini_15a/Houdini_15a_x64.exe -cmdArgs
Couldn't start engine "/home/mz/Matej/Houdini_15a/Houdini_15a_x64.exe"
reason:
couldn't execute "/home/mz/Matej/Houdini_15a/Houdini_15a_x64.exe": permission denied

The other terminal with Arena running gives the following error at the same time:
mz@Zhenya:~$ /home/mz/wine32/wine /home/mz/Matej/Arena/arena_2.5_beta/Arena.exe
fixme:toolhelp:CreateToolhelp32Snapshot Unimplemented: heap list snapshot

Am I muddling this up completely!?
edit: what an amateur! chmod +x fixed it of course! I've now got houdini running nicely on 4 cores!
cheers, thanks for your help!
Parent - - By Jesse Gersenson (***) [cz] Date 2011-09-20 07:51
Yes, you have to make the engine binaries executable with

chmod +x

in order for them to work.
Parent - - By Jesse Gersenson (***) [cz] Date 2011-10-25 14:50
Has anyone installed ubuntu 11.10?
Parent - - By gregor (**) Date 2011-10-25 15:58
Yes, I have Aquarium running under ubuntu 11.10 and wine, but 32bit only. Haven't tried 64bit yet.
Parent - - By Jesse Gersenson (***) [cz] Date 2011-10-28 07:35
did you install wine from the normal ubuntu repository or did you, add and then, use the PPA?

The guy who works on the Ubuntu wine packages planned to have 64-bit working for version 11.10 and I'm wondering if it's working.
Parent - By gregor (**) Date 2011-10-28 17:58
I had wine installed with 11.04 from the ubuntu repository and then updated to 11.10 without any problems. Current version is 1.3.29, but this is 32bit wine. I don't think there is a 64bit wine available from the repositories yet.
Parent - - By maja (*) [si] Date 2011-10-29 20:28
Hey Jesse, sorry to bug you again , but what was working ok a month or so ago is now not anymore!?
When I try to run both the engine server and arena, and start the engine in arena, nothing happens (in arena) and then the terminal window with the engine starts writing out errors:

can't write isready
can't write quit
can't write ucinewgame
can't write isready
can't write position startpos moves c2c4 g8f6 g1f3 e7e6 g2g3 d7d5 f1g2 d5c4 d1a4 c7c6 a4c4 b7b5 c4c2 c8b7 e1g1 b8d7 a2a4 a7a6 b1c3 a8c8 d2d3 f8e7 e2e4 e8g8 c1e3 f6g4 e3f4 g4f6 f1d1 d8b6 a4a5 b6a7 e4e5 f6d5 c3d5 c6d5 c2e2 d5d4 h2h4 a7a8 f3e1 b7g2 e1g2 a8d5 d1e1 h7h6 e2g4 g8h7 e1e2 c8c6 g2e1 f8c8 e1f3 f7f5 g4h5 h7g8 f3h2
can't write go infinite

...
that sort of stuff. I can't figure it out, I haven't changed anything, should I try the installation from scratch?
Thanks!
Parent - - By Jesse Gersenson (***) [cz] Date 2011-10-30 06:32
Maja, you're not using the version of wine made from my script. Or, if you are, you're not using it correctly.

My script makes a version of wine capable of running 64 bit engines - with it engineServer is not necessary. You will be able to just open Arena, and install 64 bit engines directly.
Parent - - By maja (*) [si] Date 2011-10-31 22:31
Thanks Jesse! I 'm not sure what happened, but I got it to work now! In fact I got it to work with wine64, but Arena was sooo finicky over wine, that I decided to run the GUI on a windows laptop and the engine on the ubuntu machine using ssh (with putty). And it is working a treat!
Thanks again for all your good work!
Parent - - By gregor (**) Date 2011-11-01 14:34
How do you do this?
I mean is there a HOWTO available somewhere how to connect your GUI on a windows machine with a UCI engine on another machine running under Linux?
I would be very interested!
Parent - - By Jesse Gersenson (***) [cz] Date 2011-11-02 07:35 Edited 2011-11-02 07:41
There is a howto on Arena's website:
http://playwitharena.com/?Tips_%2B_Tricks%/?Tips_%2B_26nbsp%3B:Remote_Engines

Also you can use netchess http://home.arcor.de/bernhard.wallner/netChess.html but you'll need to look around for a howto.

You may find some other related ideas here
http://rybkachess.com/index.php?auswahl=Linux
Parent - By gregor (**) Date 2011-11-02 15:59
Thanks for that.
I'll give it a try!
- - By NVV5 [ru] Date 2011-11-06 08:48
Hello.
I have decided to put wine-ubuntu-1.3.28 by using script.
Having worked script my computer has informed: 'Configure: finished, do “make” to compile wine.
Configure: open CL development filer not found, open CL won't be supported.
Configure: OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
From Ubuntu 10.04 I didn't expect anything else.
Having used Felix's method and Synaptic has established wine-1.3.9.
I want to start the  engine.exe program through Wine on Linux and then using communication Linux server - Windows GUI to start it for example in Fritz 12.
I understand it absurdly nevertheless .

Question 1: Where should there is a file engineServer.exe?
For example in a directory /home/v/.wine/dosdevices/c:/Program Files x86.

Question 2: By what command it is started engineServer.exe?

Best wishes.
Parent - - By Jesse Gersenson (***) [cz] Date 2011-11-06 12:04 Edited 2011-11-06 12:06
"Configure: open CL development filer not found, open CL won't be supported.
Configure: OSS sound system found but too old (OSSv4 needed), OSS won't be supported."

errors are ok. engines/wine will work ok. After my wine script, try this command:

install Arena to /home/Username/Downloads/arena_3 with command
'/home/USERNAME/wine64/wine' '/home/USERNAME/Desktop/ArenaInstallFile.exe'

run arena with:
'/home/USERNAME/wine64/wine' '/home/USERNAME/Downloads/arena_3/Arena.exe'

if arena starts, you will be able to run 64-bit engines from arena.
Parent - By NVV5 [ru] Date 2011-11-07 18:48
Thanks for the answer I will try
- - By kirill57 (*) [us] Date 2012-12-31 02:35
Anyone succeeded in installing 64 bit wine in ubuntu 12.04? It should be easy, but no matter what I am trying to do I am getting oly half of the node count I had in Ubuntu 11.10, using script from this forum. Already reinstalled Ubuntu, but it did not help...
Up Topic Rybka Support & Discussion / Rybka Discussion / Ubuntu: How to install 64-bit wine [SOLVED]
1 2 3 4 Previous Next  

Powered by mwForum 2.27.4 © 1999-2012 Markus Wichitill