lichess-org / lila

♞ lichess.org: the forever free, adless and open source chess server ♞
https://lichess.org
GNU Affero General Public License v3.0
15.78k stars 2.28k forks source link

NNUE "Calculating Moves" indefinitly #12597

Open DamianoPantaniHT opened 1 year ago

DamianoPantaniHT commented 1 year ago

Exact URL of where the bug happened

https://lichess.org/analysis#explorer https://lichess.org/{anyGameId}/black

Steps to reproduce the bug

Screenshot_20230329_202444_Opera

What did you expect to happen?

It doesn't get stuck

What happened instead?

It gets stuck every time, first 10-ish moves are usually OK though!

Operating system

Android 12, Windows 11 Pro

Browser and version (or alternate access method)

Newest Opera (both Android and Windows)

Additional information

No response

caseyszilagyi commented 1 year ago

I'm also having the same issue on MacOS Monterey version 12.1, Google Chrome Version 112.0.5615.137.

I have this issue for most games when I go to the analysis board, turn on the engine, and jump to a random move in the middle of the game. A refresh almost always fixes it, but this becomes annoying when I'm solving puzzles (I have the same issue there as well). It will eventually load the evaluation, but only after a couple minutes or so.

Here's a screenshot of the console output, doesn't seem to be anything there

Screen Shot 2023-05-03 at 4 05 14 PM

schlawg commented 1 year ago

Issue participants, please read: https://lichess.org/forum/lichess-feedback/stockfish-hangs-on-calculating-moves?page=2#12

Siderite commented 1 year ago

I was testing Lichess on my desktop browser, Brave, but for mobile resolutions: 400px. It worked just fine. Then I switched to the mobile emulator in Brave. Same resolution, only now when I start the engine I often get "SF: Failed to allocate 1024MB for transposition table" and then nothing will fix it except a refresh. I set the memory to minimum, to no avail. If it gets to this state it never recovers. But it ONLY happens in the emulator. (set to Responsive 400px). Perhaps this can give you a clue about the people complaining about the engine getting stuck on mobile.

degibons commented 11 months ago

The same bug, browser tab getting stuck while loading stockfish engine. Several months ago it worked fine, but now It doesn’t. It happens on IPad, Firefox, Chrome.