[Beignet] [Solved] Re: cl_khr_gl_sharing stopped working
Orm Finnendahl
orm.finnendahl at selma.hfmdk-frankfurt.de
Fri Oct 18 14:56:10 UTC 2019
Hi Benson,
thanks for the info. The source your mentioning is outdated
(ca. 2016): beignet has since been moved to the official Arch repos
and is maintained there.
I finally got it working by trying to rebuild previous versions of
Arch's beignet package and resolving its dependencies.
For the record (if someone else needs that on Arch):
To get both, a working opencl compiler and cl_khr_gl_sharing I
downgraded to the following packages (use the "downgrade" program from
arch repos):
- llvm 8.0.1-3
- llvm-libs 8.0.1-3
- clang 8.0.1-1
- beignet 1.3.2+12+gfc5f430c-2
This currently seems to be the latest package that is working. I
posted a bug report for arch's beignet package. Basically the
maintainer simply patches the beignet sources to work with the last
version of llvm whenever a new major version is integrated into
Arch. I have no idea what breaks the gl-sharing with llvm9 (would be
great to know). Strangely enough rebuilding previous beignet drivers
with the previous llvm versions using the original scripts and
packages on my machine resulted in cl_khr_gl_sharing not reported by
clinfo...
--
Orm
Am Freitag, den 18. Oktober 2019 um 16:13:54 Uhr (+0300) schrieb Benson Muite:
> Hi Orm,
>
> Build dependences are in AUR:
>
> https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=beignet-git
>
> Are all of these on your system? IT may be the case that older versions of
> some of the dependencies are needed.
>
> Benson
>
> On 10/18/19 2:23 PM, Orm Finnendahl wrote:
> > Hi,
> >
> > trying to go back to a previous beignet driver package supporting
> > cl_khr_gl_runtime I run into the problem that clinfo reports that no
> > Compiler is available (and accordingly trying to compile from source
> > gives a CL_COMPILER_NOT_AVAILABLE error).
> >
> > Can someone shed a light on this? Could it be that opencl uses gcc or
> > llvm and the version installed on my system is wrong?
> >
> > --
> > Orm
> > _______________________________________________
> > Beignet mailing list
> > Beignet at lists.freedesktop.org
> > https://lists.freedesktop.org/mailman/listinfo/beignet
> _______________________________________________
> Beignet mailing list
> Beignet at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/beignet
More information about the Beignet
mailing list