featurecat / lizzie

Lizzie - Leela Zero Interface
GNU General Public License v3.0
970 stars 228 forks source link

ubtuntu 18.04 lizzie hangs on start with white screen #461

Open krzhang opened 5 years ago

krzhang commented 5 years ago

Installed LeelaZ 0.16. (CPU-only)

Running "java -jar lizzie.jar" generates a white window that hangs forever, with the title bar "Lizzie - Leela Zero Interface [./leelaz --gtp --lagbuffer 0 --weights best-network]

(I hand edited config.txt after the first hang, when config.txt was generated, to change network to "best-network" which I wgetted separately)

Running the command in brackets directly (./leelaz --gtp ...) gives $ ./leelaz --gtp --lagbuffer 0 --weights best-network Using 4 thread(s). RNG seed: 9344366749751980615 Using per-move time margin of 0.00s. BLAS Core: built-in Eigen 3.3.5 library. Detecting residual layers...v1...256 channels...40 blocks. Initializing CPU-only evaluation. Setting max tree size to 3813 MiB and cache size to 423 MiB.

and then asks for commands. So I think that's working.

Java version: $ java --version openjdk 10.0.2 2018-07-17 OpenJDK Runtime Environment (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.4) OpenJDK 64-Bit Server VM (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.4, mixed mode)

krzhang commented 5 years ago

Update: I found https://github.com/featurecat/lizzie/issues/428, which suggested fixing the problem by resizing the window. I guess the issue is now fixable, but this bug should still be noted because it is very counterintuitive? (it wasn't clear if the other bug was acknowledged)

Trevoke commented 4 years ago

I'm on Ubuntu 20.04, installed lizzie with apt-get, and I have this same exact issue, fixed the same way. Probably worth marking as a bug.