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

Leela 0.16&17 AMD Radeon VII - *ERROR* could not talk to engine #2321

Closed
bearyangry opened this issue Apr 6, 2019 · 13 comments
Closed

Leela 0.16&17 AMD Radeon VII - *ERROR* could not talk to engine #2321

bearyangry opened this issue Apr 6, 2019 · 13 comments

Comments

@bearyangry
Copy link

Hi,

After swapping to new AMD Radeon VII GPU, I cannot launch Leela. It worked perfectly on my previous AMD RX580 card. I wiped and did a clean install of Win10 system and drivers. I receive a *ERROR" could not talk to engine after launching.

Leelaz.exe returns a "OpenCL: clGetPlatformIDs" as last output.

Attached output
leela_error.txt

Any ideas on how to test further or what might be the issue?

@iopq
Copy link

iopq commented Apr 6, 2019

Does OpenCL work in other applications with the card?

@l1t1
Copy link

l1t1 commented Apr 7, 2019

try use gpu-z to detect

@bearyangry
Copy link
Author

I used GPU Caps Viewer and was able to run OpenCL demos with no issues. I've attached screenshots of the GPU info:

GPU_Info
GPU_OpenCL_Info

@bearyangry
Copy link
Author

Here is the GPU-Z info:

GPUz
GPUz_OpenCL_1
GPUz_OpenCL_2

@l1t1
Copy link

l1t1 commented Apr 7, 2019

maybe the opengl.dll version is too old to recognize your card
could you compile it from source code? or use linux platform

@wonderingabout
Copy link
Contributor

this is usually an error i got with opencl not installed on linux
or sometimes when playing too much games in parallel as compared to number of cpu cores/ram

i suggest you try on ubuntu to see if same issue happens (ofc installing opencl)

@gcp
Copy link
Member

gcp commented Apr 7, 2019

maybe the opengl.dll version is too old

The one bundled with 0.17 is the very latest one, and in any case even old versions should perfectly work if the video drivers aren't broken, it does not need to know or care about new cards at all as the loader just forwards to the actual OpenCL driver of the card. But that's a big if - at least NVIDIA has broken them in this way in the past.

The error you are getting does mean there is a problem with the OpenCL drivers. Leela queries which OpenCL devices are on the system and this immediately crashes.

Are you using the 64 bit version? I noticed that nowadays the driver packages don't bundle 32 bit support any more.

@gcp
Copy link
Member

gcp commented Apr 7, 2019

Oh, I checked the output and you are using 0.16. Please update, there's a new version of Leela Zero out.

@bearyangry
Copy link
Author

I am using the 64-bit version.

I tried both 0.16 and 0.17, I didn't post the output of .17 as it was the same. Here is the output for reference.

leela0.17_error.txt

@l1t1

This comment has been minimized.

@gcp
Copy link
Member

gcp commented Apr 9, 2019

I didn't post the output of .17 as it was the same.

Thanks. Interesting. It surprises me that other tools work and can query the OpenCL devices. Leela can't even get a list of devices.

You can try deleting the OpenCL.dll that is bundled with Leela. This has been known to fix some broken NVIDIA drivers, maybe AMD made a similar goof.

@l1t1
Copy link

l1t1 commented Apr 9, 2019

android driver has similar question
#1679

@bearyangry
Copy link
Author

Deleting the OpenCL.dll file resolved the issue. Thanks for the input everyone!

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

5 participants