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

Lizzie not compiling properly on ubuntu? #902

Closed
kombofuud opened this issue Nov 2, 2021 · 3 comments
Closed

Lizzie not compiling properly on ubuntu? #902

kombofuud opened this issue Nov 2, 2021 · 3 comments

Comments

@kombofuud
Copy link

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
Copy link
Contributor

kaorahi commented Nov 2, 2021

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)

  • The official Lizzie 0.7.4 has critical bugs (Hotfix for 0.7.4? #768). They are fixed in Debian's liblizzie-java package (I guess it is also available in Ubuntu). Much more bugs are fixed further in Patched 0.7.4 #798.
  • KataGo is more popular than Leela Zero nowadays because of its strength and convenient features.

@kombofuud
Copy link
Author

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
Copy link
Contributor

kaorahi commented Nov 3, 2021

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.

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