The first official binary version of Lucas Chess on Linux has just been released.
It has only been made possible by the great work done by Laudecir Daniel, choosing and compiling the 67 engines, as well as laying the groundwork so that the binaries can be more widely used and others such as shortcut creation, installation scripts, ......
In addition, Graham O'Neill has provided Linux-specific drivers for several digital boards.
This version has two limitations:
- 64-bit Linux OS only.
- Minimum GNU libc version: 2.26 (ldd --version shows it)
Installation has been made as simple as possible:
- The installer is a .sh file, generated with the makeself tool, and can be downloaded from:
- The file must be run from a terminal with user permissions only:
- sh ./LucasChessR123_LINUX.sh
- Launches a GUI with very basic options:
- Install:
- Installs in LucasChessR folder inside the home user folder.
- Generates a shortcut in Applications > Games
- Launch the application at the end when pressing Close.
- Plays Lucas Chess without installing only to test.
Unable to add new engines and open pgn files from. There are some bugs, but otherwise it works. Generally, thanks for the Linux version.
ReplyDeleteThe program creates a file = bug.log, with the errors it finds.
DeleteIt is a text file, if you want you can send it to lukasmonk at gmail or a link to a download site or copy it directly here.
However it works, but I have to run the app as root and I updated png-libraries
DeleteHi Lucas, I've installed this official version on my laptop running Debian 11 and everything is working fine, it's an absolute delight using this awesome piece of chess software :) thanks so much for all your hard work!!
ReplyDeleteI am however experiencing a rather strange bug, it's not a big deal but it does affect one of my favorite features of the program. I thought I'd mention it in case there is a simple solution for it. It was also present in the first Google Drive version you posted.
The bug occurs when I use this feature: Train-> Games-> Learn a game-> Playing against.
Immediately after a fresh install of Lucas Chess, this feature works absolutely fine, I can go in, load a PGN game and play through the game and everything works perfect but the more I use this feature the slower it gets, it's really weird. Like after I use it 5 or 6 times it starts to get really slow to load, I'll click on 'Play against' and the window that usually pops up immediately starts to take more and more time to appear, on a previous installation it even reached a point where nothing would appear at all in the window, it just appears black and my laptop would start to hang and a message asking me if I want to force quit would appear. I'm not trying to load a huge database either, it's only a small collection of Fischer's games (around 400 games).
My current installation of Lucas Chess is only a few days old, I've used this training exercise 8 times and right now it's slow but still working, when I click 'Playing against' the pop window appears black and the program hangs for a little while, when the window finally appears properly and I try to click the + sign to add a new game from either a PGN file or database, the force quit message appears but if I wait a few seconds, I can still choose a game, everything remains laggy until the window where I have to chose the side I will play, after that there is no problem, I can play through the entire game with the tutor and everything else working fine, no lag. Maybe I should also mention that I have a pretty weak Celeron laptop with 4gb of RAM, although I don't think that's the problem since the first few times I use this feature everything works perfect.
Anyways it's not a huge deal, I've been distro-hopping quite a bit recently so I'm always reinstalling Lucas Chess :D Everything else is working fine :)
Thanks again!
Sandy
It's not a Linux problem, it's an application problem, I've just fixed it. The first time it do the reading after installing the patch it will also be quite slow, but in successive times the time will be normal.
DeleteIf you want to test the patch, just copy the file
https://drive.google.com/file/d/16Wf-bgH25BagxAVVN35yKHKUBjwlLFHk/view?usp=sharing
...in bin/Code/QT replacing one with the same name.
Hey Lucas, thanks for the quick reply and patch :) Before I checked the blog here, this morning, I came up with a simple workaround, all I had to do was delete all the games (around 10) that I had played so far from the first window that appears when I click on 'Playing against'. After that, everything worked smoothly again just like on a fresh install of the program :) it doesn't really bother me to delete those games because I don't usually replay games I've played through once in that training mode.
DeleteOf course, I've downloaded and applied your patch but I can't tell right now if it works (I'm sure it does) since I just cleared all the games from that initial window and everything was working smoothly anyway. I'll be sure to report here if there is any issue.
Thanks again :)
Sandy
Hello
ReplyDeleteThank you very much for your awesome work, installed very easily on debian buster with ratpoison window manager
But I have a problem, the program started just fine, but when I click on Documents under Information, nothing happens
i checked the bug.log file, but there is nothing there
thanks!
but I think that is just a problem with my browser, because I think it's links to the website
ReplyDeleteBut now I have another problem, when I click on 'Check for updates' I receive: Encountered a network problem, cannot access the Internet
How to solve this?
Much appreciate
You could try, previously:
Deleteexport PYTHONHTTPSVERIFY=0
I have made some changes to the code, so it will not be necessary in the future.
Getting the following information when I run the installer:
ReplyDelete"./LucasChessR126_LINUX.sh
Verifying archive integrity... 100% MD5 checksums are OK. All good.
Uncompressing Lucas Chess R 1.26 100%
No protocol specified
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, webgl, xcb.
Aborted (core dumped)"
I tried installing the qt stuff, but the message didn't went away. Can you instruct me which prerequisites I need exactly? Thanks.
Prerequisites,
Delete64-bit Linux OS only.
Minimum GNU libc version: 2.26 (ldd --version shows it)
I got Ubuntu 20.04 LTS 64bits, which runs a higher libc version than 2.26.
DeleteThe issue seems to be related to Qt or some plugins...I don't understand what's missing.
I got Ubuntu 20.04 LTS 64bits, which runs a higher libc version than 2.26.
ReplyDeleteThe issue seems to be related to Qt or some plugins...I don't understand what's missing.
I just tried Ubuntu 20.04, with a freshly installed version, actually using Try Ubuntu, I downloaded the program and it ran correctly.
DeleteUnfortunately I can't reinstall it, is there a way to find out what's going wrong? Isn't Qt pointing at something?
DeleteUnfortunately I can't reinstall it, is there a way to find out what's going wrong? Isn't Qt pointing at something?
DeleteFrom the ignorance, perhaps: sudo apt-get install qt5-default
DeleteThe error message stays the same.
DeleteThe error message stays the same.
Deletehttps://drive.google.com/file/d/1GyS3eYN45b1oxr1r9tJq0i37M7AkUxYH/view?usp=sharing
DeleteThis is an installation done in Ubuntu 20.04, if you want to test it.
hello version 1.26 R
ReplyDeleteby wanting to create a polyglot book, after confirmation the program crashe and closes, with no polyglot creation in my book folder
Hi ,this soft is awesome ,but i have idea to add analysis option profile from lichess ane chess.com,how many good moves ,bad moves ,blunders etc.And when some chose analysisis they can chose profile default ,lichess or chess.com.
ReplyDeleteThis could be awesome option.
This doesn't work for me. When I try to run it I only get a short error messsage...
ReplyDelete$ cd ~/LucasChessR/
$ ./LucasR.sh
[44876] Failed to execute script Launcher
I'm running Arch Linux, my libc version is 2.33
Is it Arch Linux 64 bits?
DeleteI have the same problem and it is arch linux
DeleteIs it Arch Linux 64 bits?
Deleteyes 64 bit
DeleteIt is not easy to determine what the problem is.
DeleteYou can run the program directly:
$ cd ~/LucasChessR/bin
$ ./LucasR
I have already tried this gives the same error no details. Is there a debug mod?
DeleteThere is a bug.log file in the bin folder.
DeleteAlthough it probably does not include information, because the problem is prior to the time the Python code is executed.
But does it work launching it from the Lucas.py source code?
First it gave the error "There is no module called sip" I have installed python-sip4 from arch's extra repo and also sip. Now it give these errors
Delete"/home/erol/lucaschess/Lucas.py:15: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
from imp import reload
Traceback (most recent call last):
File "/home/erol/lucaschess/Lucas.py", line 19, in
sys.setdefaultencoding("latin-1")
AttributeError: module 'sys' has no attribute 'setdefaultencoding'
"
I tried to remove python-sip4 and install sip using pip but it says requirement are already satisfied so does not install anything however still getting there is no module sip
Deletehttps://stackoverflow.com/questions/45252305/attributeerror-module-sys-has-no-attribute-setdefaultencoding
DeleteI commented out the setdefeaultencode and also add a line to VarGen.py "print(isLinux)" which gave false and add the line print(platform.architecture()) which printed out ('64bit', 'Elf)'. So I overwrite this os check by adding isLinux=True .Then got this error No module named '__builtin__' and learned that this module renamed in python 3 to builtins. After seeing error about cPickle module and learned that its name change to pickle I now understand you are using python 2.7 but I have already started so I have changed few more name now it cannot find module named LCEngine4. Couldn't figure it out
DeleteAlso cannot use python2.7 if you wanna use sip because it only support 3.6<=
DeleteYou must download the source code from the lucasChessR repository on GitHub, following the link in this article.
DeleteYou are using the old version of the program, which was coded in python 2.7 and with pyqt4 as the graphics library.
LucasChessR uses python 3.7+ and the pyside2 graphics library.
Hello and thanks a lot for your work. I love Lucas-Chess on Windows, but on Linux its just a Beta-Version. I use Mint 22.2 with Kernel 5.4 and 5.11 and have many problems.
ReplyDeleteI will change the colours, and if i choose a colour, LC crashes. I try to save a game, LC crashes, and more and more and more.....
And sorry for my english, im german.
Not much experience with Linux.
DeleteBut I think this solves it:
cd ~/LucasChessR
sudo ./LucasR
Hi Lucas
ReplyDeleteI wanted to download a previous version of LucasChess, however I'm unable to download anything from Version R 1.14 and older as Bintray does no longer host your file. Could this be solved?
I updated the program recently and noticed at least a couple older chess engines did no longer work, such as ProDeo 16 and Atlas 360. That's why I wanted to backtrack to a version when it still worked.
From my point of view the interesting thing is to find out what has happened so that they don't work now.
DeleteIn the old versions there was a bug that if no time or depth limits were set, and no time was set for the game, it was always set to a limit of 1 second per move.
Now, for this case, the engine is instructed that it has 10 minutes to think and the opponent has another 10 minutes. For this reason it now takes much longer than before (1 second).
Could this be the problem?
To emulate the old procedure, it is sufficient to limit the engine's thinking to 1 second.
I understand that, that's also why I wanted to find the latest version where they worked to help with backtracking any changes made.
DeleteI found quite the old version on my computer, version 11.08a. Both engines work in that version. Unfortunately in R 1.27a, it doesn't matter whether I set a fixed depth, a fixed thinking time (I tried 1 second and 5 seconds) or a time control. ProDeo 1.6 won't make moves. The purple circle icon shows up and that's it. I also tried a 60 minute time control to see whether or not it's vastly slowed down, but still no move.
If possible can you send me the executable of one of the two engines or where I can download it to lukasmonk in gmail and I will try it directly.
DeleteHello Lucas,
ReplyDeleteI use the latest version on Windows 10. I noticed a problem in competition against the tutor. IF the tutor is enabled and IF you make several takebacks, the game freeze and don't answer at all. This don't happen if the tutor is disabled.
Is there also a limit to the number of takebacks you can make ?
I have also a question, do you keep the game played (like competition against the tutor) somewhere in a database ?
Thanks for the program
Yan
I will try to solve problem with takeback and tutor.
DeleteIn Tools/Database there is one = __Autosave__
Hello Lucas,
ReplyDeleteI have the latest version of your app installed on my pop os machine and every time I press the tools button nothing happens or the app crashes. Is this a problem with the app, and if not how can I troubleshoot?
Perhaps, running with sudo may solve the problem.
DeleteHi Lucas, I am new to Linux. I tried running your shell on a terminal and this comes out. Am I missing something?
ReplyDeleteVerifying archive integrity... 100% MD5 checksums are OK. All good.
Uncompressing Lucas Chess R 1.28a1 100%
./setup_linux.sh: 3: ./setup_linux.sh: [[: not found
./setup_linux.sh: 19: ./setup_linux.sh: ./setup_linux: Exec format error
Thanks.
Is Linux 64-bit?
DeleteMy Chrome OS is 32, my Linux GNU is aarch64 (I'm using Ubuntu on Xfce!)
DeleteSorry, I don´t know.
DeleteIf you want to install without .sh, here's a zip file:
https://drive.google.com/file/d/1qKRR6s_rwWX4Ll53bax-m3U1fMdYKQde/view?usp=sharing
Thank you!
Deletehello, in game stockfish and other engines, replicate their movement in a fraction of a second, how can you extend the response time while keeping a small depth of calculation ?
ReplyDeleteI'm sorry, but I don't understand what you are asking, what program option are you on?
Deleteho! sorry. Can we ask the GUI to play 4 or 5 seconds after my movement, while not increasing the depth of reflection. (a delay in the movement of the computer)
DeleteRight now there is no option available.
DeleteThis feature will be included in version 2.0
when I play against Fritz 17 it is a feature who add a very pleasant human dimension, thank you. No matter when it happens , take your time, each version of LChess is really nice. hoping that the year 2022 will be lighter, happy new year everyone.
DeleteHello. First of all, thank you very much for this wonderful software. I really appreciate it. I like all the features. I am using on Linux and I realized that on Torneo-elo, there is a gap of players between elo 1350 and 1700. Looking into the source code i realized that players on this gap are not available on linux because they are based on "hamsters" and "amyan" engines, that, i think, are only available on windows. Are you planning to fill in this gap with players based on other engines available on linux? Maybe i could help....
ReplyDeleteAnother thing.... i bought the Millennium eOne and it works perfectly with lucas chess on linux via USB!!! Thanks to you again, and thanks to Graham for the drivers!!! Is planned to include the possibility of connecting the eOne via Bluetooth?
This is a work done by Michele Tumbarello, and he used these engines to create very specific personalities and calculating an elo in that range, I guess it should not be easy to emulate a personality like the ones created for windows. Maybe with Rodent II and their personalities.
DeleteIn relation to eOne, Graham told me a few days ago, in relation to another similar question: "If he is connecting to the board using BluetoothLE then he needs to understand that the way the Low Energy bit works is by only sending data when something happens. So when he connects to the board it might not know where the pieces are until he actually lifts one up or moves one."
A good idea might be to ask him directly (https://goneill.co.nz/index.phphttps://goneill.co.nz/index.php)
I use Linux Pop OS. Everything works well, but the Igel engine is broken :X
ReplyDeleteThank you very much. I have compiled version 3.0.10 and it works now in my PC. I will publish it in the new update.
DeleteKomodo 13 is now available for free download!
ReplyDeletehttps://komodochess.com/downloads.htm
Thanks, it will be included in the next update.
DeleteI can't install the GUI on Ubuntu 22.04 iirc, it said: ./setup_linux.sh: 3: [[: not found
ReplyDelete(setup_linux:51146): GLib-GIO-ERROR **: 17:08:43.120: Settings schema 'org.gnome.settings-daemon.plugins.xsettings' does not contain a key named 'antialiasing'
Trace/breakpoint trap (core dumped)
I have no idea what the problem might be,
DeleteDoing a google search, for example at https://forum.garudalinux.org/t/no-such-key-antialiasing-error/11825 suggests:
Remove the lines containing antialising in usr/share/glib-2.0/schemas/25_gnome-default-settings.gschema.override and then, recompile schema, sudo glib-compile-schemas /usr/share/glib-2.0/schemas Beware! This might break your schema! Make backup before performing this.
Hello! I've downloaded last version for linux (R2.02, because there is no R2.02a for linux, i think), and the new Rodent II personalities feature does not work (when clicking on Rodent II personalities, no personalities appear)
ReplyDeleteRegarding the Chess Leagues..... that is great!!! Thank you!! Could it be possible to add the option of humanizing the time used by the engine against a human in the Chess Leagues, as you implemented in the normal game? Thank you very much for this wonderful software!!!!
Fixed in 2.02a for linux
DeleteAny Solution? Verifying archive integrity... 100% MD5 checksums are OK. All good.
ReplyDeleteUncompressing Lucas Chess R 2.05d 100%
PySide2/__init__.py: Unable to import shiboken2 from /tmp/selfgz55444/bin/base_library.zip, /tmp/selfgz55444/bin/lib-dynload, /tmp/selfgz55444/bin
Traceback (most recent call last):
File "setup_linux.py", line 8, in
File "PyInstaller/loader/pyimod02_importers.py", line 493, in exec_module
File "PySide2/__init__.py", line 107, in
File "PySide2/__init__.py", line 58, in _setupQtDirectories
File "PyInstaller/loader/pyimod02_importers.py", line 493, in exec_module
File "shiboken2/__init__.py", line 27, in
ImportError: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/selfgz55444/bin/libstdc++.so.6)
[56111] Failed to execute script 'setup_linux' due to unhandled exception!
Which version did you download?
DeleteMateus
ReplyDelete07:58 (há 2 minutos)
para Lucas
I tried installing the LucasChessR2_05d_LINUX_WAYLAND.sh version on mx linux 21.3_x64, but this error appears. I tried to install Pyside 2 with the command sudo pip install Pyside 2, but after installing it this is shown:
Installing collected packages: shiboken2, PySide2
WARNING: The scripts pyside2-designer, pyside2-lupdate, pyside2-rcc and pyside2-uic are installed in '/home/demo/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed PySide2-5.15.2.1 shiboken2-5.15.2.1
Do I need to add a PATH? how do I do that? when i try to install lucas chess again the same error appears
Verifying archive integrity... 100% MD5 checksums are OK. All good.
Uncompressing Lucas Chess R 2.05d 100%
PySide2/__init__.py: Unable to import shiboken2 from /tmp/selfgz31332/bin/base_library.zip, /tmp/selfgz31332/bin/lib-dynload, /tmp/selfgz31332/bin
Traceback (most recent call last):
File "setup_linux.py", line 8, in
File "PyInstaller/loader/pyimod02_importers.py", line 493, in exec_module
File "PySide2/__init__.py", line 107, in
File "PySide2/__init__.py", line 58, in _setupQtDirectories
File "PyInstaller/loader/pyimod02_importers.py", line 493, in exec_module
File "shiboken2/__init__.py", line 27, in
ImportError: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/selfgz31332/bin/libstdc++.so.6)
[32004] Failed to execute script 'setup_linux' due to unhandled exception!
It must be installed as user not superuser. All libraries are included with the program, not needed others.
DeleteIt is very strange, the error is not of stockfish but of the program, that column is provided by the program with the movement played. I would need to be able to replicate it. To do so, could you send me the pgn to lukasmonk in gmail. You have a copy of the game in Tools/Databases/Autosave.
ReplyDelete