featurecat / lizzie

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

Lizzie not compiling properly on ubuntu? #902

Closed kombofuud closed 2 years ago

kombofuud commented 3 years ago

I am trying to set up lizzie on my ubuntu os and I was unable to run the lizzie.jar file properly after compiling leela. The command line gave me this error mesage:

$ java -jar lizzie.jar Gtk-Message: 19:53:37.074: Failed to load module "canberra-gtk-module" en Engine process ended.

And the gui gave me this: Screenshot from 2021-11-01 19-59-39 Screenshot from 2021-11-01 20-00-04

Thanks for any help you can give me

kaorahi commented 3 years ago

You seem to have two issues.

(1) Google says the following command for canberra-gtk-module.

sudo apt-get install libcanberra-gtk3-module

(2) It will be better to try Leela Zero without Lizzie to fix the engine issue (or OpenCL issue). In my case (without GPU):

$ echo name | ./leelaz -g -w lznetwork.gz
Using 8 thread(s).
RNG seed: 17844403544091439673
BLAS Core: built-in Eigen 3.3.7 library.
Detecting residual layers...v1...192 channels...15 blocks.
Initializing CPU-only evaluation.
Setting max tree size to 4324 MiB and cache size to 480 MiB.
= Leela Zero

$

You may get some hints by...

$ sudo apt-get install clinfo
$ clinfo

(Additional notes)

kombofuud commented 3 years ago

After running the first two commands, I got the following: Screenshot from 2021-11-02 15-30-11 Screenshot from 2021-11-02 15-30-50 I think that the canberra package was already installed, but maybe if I copied it to a folder with the name canberra-gtk-module it might work? I don't know where it gets installed though.

After running clinfo, it seems that there are no platforms supported. Screenshot from 2021-11-02 15-35-01 Even after doing a google search, and trying to connect stuff, the output from running the command is the same, but maybe I just need to connect that?

Some potentially useful to know outputs that I got were as follows: Screenshot from 2021-11-02 15-48-25 Screenshot from 2021-11-02 15-49-41 Screenshot from 2021-11-02 15-51-05

Thanks for any help you can give me

kaorahi commented 3 years ago

Searching Gtk-Message: Failed to load module canberra-gtk-module, I get several web pages (Ask Ubuntu, etc.) but I am not sure which is useful for you. Anyway, clinfo issue seems more critical than this.

So you may want to ask about clinfo somewhere else as it is not specific to Lizzie.