Page MenuHomeSolus

Beignet Fails to Load
Closed, ResolvedPublic


Running clinfo -l outputs the following error, which causes it outright fail with my Haswell i5-4570's GPU:
unable to load /usr/lib64/beignet// which is part of the driver, please check!

It would appear that there may be a mistake in Beignet's internal context (for lack of a better term), that causes it to add an unnecessary /, thereby failing to find the file.

Event Timeline

moriel5 created this task.Mar 29 2021, 6:17 PM

Beignet is basically abandonware by intel and we can't patch it against new LLVM releases anymore. It's planned to be purged from repo. What do you use it for?

As mentioned, I have a Haswell CPU, which isn't supported by intel-compute-runtime (with clinfo not even showing any platforms whatsoever with it).

I'm sorry I hadn't realized that I hadn't answered the question.
Currently, my main usecase is cRARk, partly for testing it's reliability, however once I have OpenCL running reliably, I intend to expand that to whatever tasks I have at hand that require OpenCL (lack of a proper environment is one of the main reasons why I cannot start utilizing anything that requires compute (another reason is lack of a budget for a full upgrade, especially with something that is not 2nd hand)).

This comment was removed by serebit.
serebit added a comment.EditedApr 4 2021, 10:06 PM

My understanding of the situation follows. I may have gotten some bits wrong, so feel free to correct me.

As much as we'd like to continue supporting Haswell CPUs for compute, it just isn't viable anymore. Intel has essentially abandoned beignet in favor of intel-compute-runtime / Neo, and the one person who was patching beignet for newer LLVM versions has just recently given up. As far as I know, the most recent LLVM version that's supported by beignet is LLVM 7, and LLVM 12 is just around the corner. If no one's going to keep patching beignet for newer LLVM, and if Intel isn't going to continue supporting it, we have no other options besides deprecating it.

Edit: The last release of beignet was v1.3.2, in 2017.

JoshStrobl closed this task as Resolved.Apr 5 2021, 11:32 AM
JoshStrobl claimed this task.
JoshStrobl added a subscriber: JoshStrobl.

Closing as beignet has been deprecated from unstable. Sorry @moriel5.

moriel5 added a comment.EditedApr 5 2021, 6:41 PM

@serebit @JoshStrobl It's fine, no need to be sorry.
I was expecting this, it was more of a last ditch effort in case there was anything that could be done in the interim until I have the budget for at least something 2nd hand that would would work properly, even if basically, with OpenCL (in this case, an example would be a Sapphire Radeon HD 7700 Ghz Edition (GCN1.0) that my friend has at his repair shop, which unless someone else will need specifically that card (there are lots of old NVidia cards there that are more suited for his customers, which only need enough graphics power for 1080p (some only need 720p) on YouTube) my friend is keeping for me for when I have the budget (around the equivalent of ~70$)). My budget is first aimed towards a new motherboard, however, before my current one breathes it's last breath.