Bug 1458595 - Beignet crashes clinfo and blender 2.78c in Fedora 26
Summary: Beignet crashes clinfo and blender 2.78c in Fedora 26
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: beignet
Version: 26
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Igor Gnatenko
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1471333 (view as bug list)
Depends On:
Blocks: 1463918
TreeView+ depends on / blocked
 
Reported: 2017-06-04 18:41 UTC by Dave Kline
Modified: 2017-07-16 20:21 UTC (History)
7 users (show)

Fixed In Version: beignet-1.3.1-3.git20170622.36f6a8b.fc26
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-07-16 20:21:57 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Dave Kline 2017-06-04 18:41:58 UTC
Description of problem:

Hello,
After a recent update of mesa/llvm video packages, applications like clinfo and blender crash. I'm using an XPS 13 9350 with an Intel GPU. After searching for a while, I found a blender thread that matched my issue: 

https://developer.blender.org/T51440

Blender 2.78c (downloaded from blender.org) fails upon startup with:

blender: /usr/include/llvm/Support/Casting.h:236: typename llvm::cast_retty<X, Y*>::ret_type llvm::cast(Y*) [with X = llvm::CompositeType; Y = llvm::Type; typename llvm::cast_retty<X, Y*>::ret_type = llvm::CompositeType*]: Assertion `isa<X>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
Aborted (core dumped)

In short, removing Fedora 26's current version of beignet fixes the blender and clinfo crashes. 

Version-Release number of selected component (if applicable):

 beignet        x86_64        1.3.1-2.fc26         updates-testing        4.7 M

Steps to Reproduce:
1. Install beignet 1.3.1 alongside updated mesa/llvm 4.x packages
2. Observe clinfo crashes and blender crashes 

Additional info:

Perhaps related: https://bugzilla.redhat.com/show_bug.cgi?id=1434911

Comment 1 Nelson Benitez 2017-06-21 17:04:29 UTC
I'm having same issue with Fedora 26, Openshot uses blender for "animated title" feature which is not working currently because of this bug.

Comment 2 Dave Kline 2017-06-22 13:47:10 UTC
Hi Nelson. You can workaround the issue with "rpm -e beignet". After doing so, clinfo and blender work fine for me.

Comment 3 Fedora Update System 2017-07-14 09:44:35 UTC
beignet-1.3.1-3.git20170622.36f6a8b.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-10cd9f1c4c

Comment 4 Dave Kline 2017-07-14 12:33:49 UTC
After running: 

sudo rpm -Uvh https://kojipkgs.fedoraproject.org//packages/beignet/1.3.1/3.git20170622.36f6a8b.fc26/x86_64/beignet-1.3.1-3.git20170622.36f6a8b.fc26.x86_64.rpm

Blender and clinfo no longer crash. Thanks!

Comment 5 Germano Massullo 2017-07-14 12:42:24 UTC
(In reply to Dave Kline from comment #4)
> After running: 
> 
> sudo rpm -Uvh
> https://kojipkgs.fedoraproject.org//packages/beignet/1.3.1/3.git20170622.
> 36f6a8b.fc26/x86_64/beignet-1.3.1-3.git20170622.36f6a8b.fc26.x86_64.rpm
> 
> Blender and clinfo no longer crash. Thanks!

You may want to test and leave karma feedback to new beignet update
https://bodhi.fedoraproject.org/updates/FEDORA-2017-10cd9f1c4c
Keep in mind that beignet is blacklisted in darktable, so it is not used, but the new update will prevent other users from getting crashes while darktable looks for OpenCL devices/drivers on startup

Comment 6 Fedora Update System 2017-07-14 22:56:51 UTC
beignet-1.3.1-3.git20170622.36f6a8b.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-10cd9f1c4c

Comment 7 Igor Gnatenko 2017-07-15 08:04:27 UTC
*** Bug 1471333 has been marked as a duplicate of this bug. ***

Comment 8 Fedora Update System 2017-07-16 20:21:57 UTC
beignet-1.3.1-3.git20170622.36f6a8b.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.