Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suppress info strings before 'uci' #3147

Closed
wants to merge 1 commit into from

Conversation

snicolet
Copy link
Member

@snicolet snicolet commented Sep 25, 2020

On Windows, Stockfish wouldn't launch in some GUI because we output some
info strings (about the use of large pages) before sending the 'uci'
command. It seems more robust to suppress these info strings, and instead
to add a proper section section in the Readme about large pages use. For
easier reference, here is the section on this subject of the Readme.

The use of large pages requires "Lock Pages in Memory" privilege. See
the links under this paragraph to learn how to enable this privilege,
and the RAMMap utility to double-check that large pages are used. We
suggest that you reboot your computer after you have enabled large pages,
because long Windows sessions suffer from memory fragmentation which may
prevent Stockfish from getting large pages -- a fresh session is better in
this regard.
Large pages: https://docs.microsoft.com/en-us/sql/database-engine/configure-windows/enable-the-lock-pages-in-memory-option-windows
RAMMap : https://docs.microsoft.com/en-us/sysinternals/downloads/rammap


Fixes #3052 (comment)
Closes #3147

No functional change

On Windows, Stockfish wouldn't launch in some GUI because we output some
info strings (about the use of large pages) before sending the 'uci'
command. It seems more robust to suppress these info strings, and instead
to add a proper section section in the Readme about large pages use. For
easier reference, here is the section on this subject of the Readme.

The use of large pages requires "Lock Pages in Memory" privilege. See
the links under this paragraph to learn how to enable this privilege,
and the RAMMap utility to double-check that large pages are used. We
suggest that you reboot your computer after you have enabled large pages,
because long Windows sessions suffer from memory fragmentation which may
prevent Stockfish from getting large pages -- a fresh session is better in
this regard.
Large pages: https://docs.microsoft.com/en-us/sql/database-engine/configure-windows/enable-the-lock-pages-in-memory-option-windows
RAMMap     : https://docs.microsoft.com/en-us/sysinternals/downloads/rammap

---

Fixes official-stockfish/Stockfish#3052 (comment)
Closes official-stockfish/Stockfish#3147

No functional change
@vondele vondele added the to be merged Will be merged shortly label Sep 25, 2020
@vondele vondele closed this in 5e6a5e4 Sep 25, 2020
Dantist pushed a commit to Dantist/Stockfish that referenced this pull request Dec 22, 2020
On Windows, Stockfish wouldn't launch in some GUI because we output some
info strings (about the use of large pages) before sending the 'uci'
command. It seems more robust to suppress these info strings, and instead
to add a proper section section in the Readme about large pages use.

fixes official-stockfish#3052
closes official-stockfish#3147

No functional change
BM123499 pushed a commit to BM123499/Stockfish that referenced this pull request Feb 22, 2021
On Windows, Stockfish wouldn't launch in some GUI because we output some
info strings (about the use of large pages) before sending the 'uci'
command. It seems more robust to suppress these info strings, and instead
to add a proper section section in the Readme about large pages use.

fixes official-stockfish#3052
closes official-stockfish#3147

No functional change
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
to be merged Will be merged shortly
Projects
None yet
Development

Successfully merging this pull request may close these issues.

thank you
2 participants