Maybe a problem with your Qt installation?BeyondCritics wrote:Still no cigar.
cutechess-cli produces no screen output under Linux
Moderators: hgm, Rebel, chrisw
-
- Posts: 4052
- Joined: Thu May 15, 2008 9:57 pm
- Location: Berlin, Germany
- Full name: Sven Schüle
Re: cutechess-cli produces no screen output under Linux
-
- Posts: 406
- Joined: Sat May 05, 2012 2:48 pm
- Full name: Oliver Roese
Re: cutechess-cli produces no screen output under Linux
Good idea.Sven wrote:Maybe a problem with your Qt installation?BeyondCritics wrote:Still no cigar.
I checked all dependencies listed on this (old) page for ubuntu 16.04 https://launchpad.net/ubuntu/xenial/i38 ... .2+0.0.1-1,
but could found no problems. The ubuntu wiki https://wiki.ubuntuusers.de/Qt/
demands
Code: Select all
qt5-default
Code: Select all
qt4-default
There was a cutechess package for ubuntu 16.04, but apparently it was abandoned for ubuntu 17.10. Why? Maybe because the maintainer faced a similar problem. That would be bad news.
-
- Posts: 29
- Joined: Thu Nov 02, 2017 6:51 am
- Location: Germany
Re: cutechess-cli produces no screen output under Linux
try without -debug or try this:
vi ~/.config/QtProject/qtlogging.ini and set "*.debug" to true:
*.debug=true
I documented this also here
vi ~/.config/QtProject/qtlogging.ini and set "*.debug" to true:
*.debug=true
I documented this also here
-
- Posts: 134
- Joined: Thu Jul 24, 2014 2:49 pm
Re: cutechess-cli produces no screen output under Linux
Some observations:
I compiled the latest cutechess from github on my Laptop running Ubuntu 17.10. I ended up with the same problems described by Michael and cutechess-cli won't produce any console output.
I copied the folder to my main machine(Arch Linux) and the very same binary runs without problems.
I compiled the latest cutechess from github on my Laptop running Ubuntu 17.10. I ended up with the same problems described by Michael and cutechess-cli won't produce any console output.
I copied the folder to my main machine(Arch Linux) and the very same binary runs without problems.
-
- Posts: 406
- Joined: Sat May 05, 2012 2:48 pm
- Full name: Oliver Roese
SOLVED: cutechess-cli produces no screen output under Linux
Heureka! That solved it for me. Thank you very much!mroh wrote:try without -debug or try this:
vi ~/.config/QtProject/qtlogging.ini and set "*.debug" to true:
*.debug=true
I documented this also here
However i don't like, that this fix messes with my global configuration. As explained herehttps://stackoverflow.com/questions/285 ... g-messages, it is possible to set the logging level for each application locally, just append
Code: Select all
QT_LOGGING_RULES="*.debug=true"
My working script under Linux looks as follows:
Code: Select all
#!/bin/sh
CUTE_CHESS_CLI="/usr/games/cutechess-cli"
MASTER_PATH="/home/oliver/bin/stockfish-master"
TESTEE_PATH="/home/oliver/git/chess/stockfish/master/src/stockfish_kbnk"
OPENINGS="/home/oliver/data/Software/Chess/2moves_v1.pgn"
SYZYGY="/home/oliver/data/syzygy/"
QT_LOGGING_RULES="*.debug=true" $CUTE_CHESS_CLI -engine name=testee cmd="$TESTEE_PATH" -engine name=master cmd="$MASTER_PATH" -each proto=uci option.Hash=4 tc=1+0.1 -openings file=$OPENINGS order=random -pgnout /run/user/1000/test.pgn -ratinginterval 2 -concurrency 2 -repeat -recover -resign movecount=6 score=100 -draw movenumber=10 movecount=6 score=20 -rounds 2 -tb $SYZYGY -sprt elo0=0 elo1=2 alpha=0.05 beta=0.05
-
- Posts: 931
- Joined: Tue Mar 09, 2010 3:46 pm
- Location: New York
- Full name: Álvaro Begué (RuyDos)
Re: SOLVED: cutechess-cli produces no screen output under Li
I am still using ubuntu 16.04 LTS. So glad someone else figured it out, since I will probably encounter the same problem in a couple of months, when I update to 18.04.
Thanks!
Thanks!
-
- Posts: 725
- Joined: Tue Dec 18, 2007 9:38 pm
- Location: Munich, Germany
- Full name: Dr. Oliver Brausch
Re: cutechess-cli produces no screen output under Linux
On a Red Hat 7.7 those were the necessary steps to install cutechess(cli).
The last step is necessary to get a text output.
Code: Select all
yum install qt5-qtsvg
wget https://github.com/cutechess/cutechess/releases/download/gui-1.0.0/cutechess-20170720.1.0.0.1.0.0-1.x86_64.rpm
rpm -i cutechess-20170720.1.0.0.1.0.0-1.x86_64.rpm
export QT_LOGGING_RULES="*.debug=true"