katrain icon indicating copy to clipboard operation
katrain copied to clipboard

enhancement: troubleshooting

Open peepo opened this issue 3 years ago • 9 comments

please add:

in case of: CL_PLATFORM_NOT_FOUND_KHR use: sudo apt-get install mesa-opencl-icd

or similar

tx

peepo avatar Mar 04 '21 15:03 peepo

So you're saying the current advice to use ocl-icd-opencl-dev is incorrect?

sanderland avatar Mar 04 '21 16:03 sanderland

not at all!

on my ubuntu 20.04 clover mesa opencl 1.1 20.0.4 OpenCL 2.1 Intel Graphics 4000 IVB GT2

ocl-icd-opencl-dev does not remove error CL_PLATFORM_NOT_FOUND_KHR neither does: mesa-opencl-icd whereas mesa-opencl-icd does

however there remains a permission issue: unable to open device /dev/input/event17 then Found OpenCL Platform 0 Clover...kisak-mesa PPA Found 0 device(s) on platform 0 with type CPU or GPU or acclerator, skipping

found & installed kisak-mesa rebooted

Found OpenCL Platform 0 Clover...kisak-mesa PPA Found 0 device(s) on platform 0 with type CPU or GPU or acclerator, skipping

all efforts result in status -6

best xx

peepo avatar Mar 04 '21 19:03 peepo

see #374 afaict ocl-icd-opencl-dev is necessary but not sufficient

this is mesa, which is known to be buggy, from time of product launch 2012: https://www.phoronix.com/scan.php?page=article&item=intel_ivybridge_opencl&num=1

I did not find evidence that situation improved, and beignet is another story

peepo avatar Mar 05 '21 18:03 peepo

on my new mac mini I installed Intel Neo compute apt-get install intel-opencl-icd this only supports recent Intel products.

however for legacy equipment eg Intel® 5th, 6th or 7th generation Core™ processor https://software.intel.com/content/www/us/en/develop/articles/opencl-drivers.html or similar, it is there, unfortunately my mac mini 2012 is a generation or two to old.

peepo avatar Mar 09 '21 17:03 peepo

just to confirm all three additional downloads are needed

peepo avatar Jan 29 '22 18:01 peepo

Right now, the Intel Neo download seems to be working on Ubuntu 20.04 for me. (I had to install numpy too, but that's a different issue, if any.) Now the AI is playing.

However, I have an error warning in the terminal while it's open, so I'll see if it gets stuck somewhere [CRITICAL] [Cutbuffer ] Unable to find any valuable Cutbuffer provider. Please enable debug logging (e.g. add -d if running from the command line, or change the log level in the config) and re-run your app to identify potential causes

...

@peepo I'm wishing you luck, plus myself too! @sanderland Please keep hanging around

deegeebee avatar Jul 31 '22 12:07 deegeebee

Quote: The app crashes with an error about "unable to find any valuable cutbuffer provider"

Install xclip using sudo apt-get install xclip

... rtfm :D

deegeebee avatar Jul 31 '22 12:07 deegeebee

Two things to consider, Please do not just add comments to an irrelevant bug report, open another one... Your preferred search engine is your friend!

If I can find katrain + CL_PLATFORM_NOT_FOUND_KHR so can you... try: https://github.com/sanderland/katrain

The app crashes with an error about "unable to find any valuable cutbuffer provider"

did you install xclip using sudo apt-get install xclip ??

good luck!

peepo avatar Jul 31 '22 12:07 peepo

Sorry, misunderstanding. I commented on my own post that I found just what you suggested by reading the readme.

Sorry for threadjacking too.

deegeebee avatar Jul 31 '22 13:07 deegeebee