Summary: | dev-libs/beignet-1.3.2-r1 does not work on Intel Skylake | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Wojciech Myrda <vojcek> |
Component: | Current packages | Assignee: | Marek Szuba <marecki> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jstein |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.freedesktop.org/show_bug.cgi?id=102137 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | beignet-1.3.2-self-test_fail.patch |
Description
Wojciech Myrda
2018-08-04 06:58:01 UTC
Could you please provide a link to an upstream bug report, creating one if necessary? I would rather not merge such changes unless they have been blessed by upstream and it is only a matter of time before they merge them themselves, I haven't got the hardware to test the effect of backend-related patches on all possible platforms. related upstream bug report https://bugs.freedesktop.org/show_bug.cgi?id=102137 not sure which is preferred upstream source https://github.com/intel/beignet/commits/master - no changes since 1.3.2 https://cgit.freedesktop.org/beignet/ - 3 other changes to the git, but none of them fixed the problem for me It all comes down to Intel devices not being properly detected for OpenCL with message "Beignet: self-test failed: (3, 7, 5) + (5, 7, 3) returned (6, 7, 5)" https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=885423 - this patch fixed issue on Haswell I may be wrong here, but IMHO if it is good enough for Debian should be good enough for Gentoo PS This patch actually made Imagemagick work with OpenCL for me The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2517438cae9831332178378078fc273cb8ffb466 commit 2517438cae9831332178378078fc273cb8ffb466 Author: Marek Szuba <marecki@gentoo.org> AuthorDate: 2018-08-31 13:27:16 +0000 Commit: Marek Szuba <marecki@gentoo.org> CommitDate: 2018-08-31 13:27:16 +0000 dev-libs/beignet: disable optimisations broken on some platforms Certain optimisation introduced in 1.3.2 is now known not to work correctly on Skylake and Haswell systems. Upstream has been notified but has yet to respond. Upstream-Bug: https://bugs.freedesktop.org/show_bug.cgi?id=102137 Closes: https://bugs.gentoo.org/662760 Package-Manager: Portage-2.3.40, Repoman-2.3.9 dev-libs/beignet/beignet-1.3.2-r2.ebuild | 107 +++++++++++++++++++++ ...eignet-1.3.2_disable-doNegAddOptimization.patch | 66 +++++++++++++ 2 files changed, 173 insertions(+) |