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

R 2.12 Stuck on "Selecting the best stockfish version for your CPU" #134

Open
codedcontainer opened this issue Mar 5, 2024 · 4 comments

Comments

@codedcontainer
Copy link

After updating the application, selecting "Tools" opens a black modal that says "Selecting the best stockfish version for your CPU". Closing the window closes all opened instances of the app.
Screenshot from 2024-03-05 12-38-20

Running the application on Linux Mint 20.3 x86_64
Kernal: 5.15.0-100-generic
CPU AMD Ryzen 5 5500U with Radeon graphics

Some logging information in /var/log/syslog:
systemd-coredump[248042]: Process 247835 (LucasR) of user 1000 dumped core.#12#012Stack trace of thread 247835:#12#0 0x00007efc3c5e900b __GI_raise (libc.so.6 + 0x4300b)#12#1 0x00007efc3c5c8859 __GI_abort (libc.so.6 + 0x22859)#12#2 0x00007efc340210f5 n/a (/home/jason/LucasChessR/bin/libglib-2.0.so.0 + 0x7b0f5)

@lukasmonk
Copy link
Owner

It would be important to know which of the stockfish versions running on your computer is the fastest.
The engines that are tested are in LucasChessR/bin/OS/linux/engines/stockfish
The list of engines is from slowest to fastest:
stockfish-16.1-x86-64
stockfish-16.1-x86-64-sse3-popcnt
stockfish-16.1-x86-64-ssse3
stockfish-16.1-x86-64-sse41-popcnt
stockfish-16.1-x86-64-avx2
stockfish-16.1-x86-64-bmi2
stockfish-16.1-x86-64-avxvnni
stockfish-16.1-x86-64-avx512
stockfish-16.1-x86-64-vnni256
stockfish-16.1-x86-64-vnni512

The test is simple, goto the stockfish folder and just launch the stockfish version manually, and if it launches, type e.g.: go depth 2
And thus determine which one is the best and which one crashes, and please share the results.

@lukasmonk
Copy link
Owner

@codedcontainer codedcontainer changed the title R 2.12 Stuck on "Selecting the best stockfish version for iyour CPU" R 2.12 Stuck on "Selecting the best stockfish version for your CPU" Mar 6, 2024
@codedcontainer
Copy link
Author

@lukasmonk The problem goes away when I make all of those Stockfish files executable. Is there a way to make sure that the permissions are correct for users when they update the app in a Unix environment?

@lukasmonk
Copy link
Owner

Yes, that's probably the problem.
It can be solved by running the RunEngines script, which is in ~/LucasChessR/bin/OS/linux, open a terminal there and run sh ./RunEngines.

In other words, open a terminal and run them:

cd ~/LucasChessR/bin/OS/linux
sh ./RunEngines

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants