Bug 1597356 - Blender crashes on startup with message - 'enable-value-profiling' registered more than once
Summary: Blender crashes on startup with message - 'enable-value-profiling' registered...
Keywords:
Status: CLOSED DUPLICATE of bug 1565659
Alias: None
Product: Fedora
Classification: Fedora
Component: llvm
Version: 28
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Tom Stellard
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1627537 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-07-02 18:34 UTC by Brian Lane
Modified: 2019-03-04 17:29 UTC (History)
15 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-03-04 17:29:08 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Brian Lane 2018-07-02 18:34:17 UTC
Description of problem:
Can't run blender

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

blender-2.79b-3.fc28.x86_64


How reproducible:
Always

Steps to Reproduce:
run blender from a terminal:

$ blender
: CommandLine Error: Option 'enable-value-profiling' registered more than once!
LLVM ERROR: inconsistency in registered CommandLine options


You can work around this by running:

CYCLES_OPENCL_TEST=NONE blender

as explained in this thread:

https://ask.fedoraproject.org/en/question/121807/how-fix-blender-and-run-on-fedora-28/

Comment 1 Elliott Sales de Andrade 2019-03-02 04:32:27 UTC
*** Bug 1627537 has been marked as a duplicate of this bug. ***

Comment 2 Luya Tshimbalanga 2019-03-02 04:41:21 UTC
Hello,
I am not sure how I missed this bug. It looks like beignet and pocl issue. Does it happen with an AMD hardware?
If so, uninstall both beignet and pocl as a workaround. 
I am testing openCL with ROCm repository but the implementation is currently slow when using cycle engine for rendering.

Comment 3 Luya Tshimbalanga 2019-03-02 18:05:14 UTC
Given the message, it looks like a LLVM compiler bug on Fedora 28 as executing Blender of Fedor 29 does not show that problem.

blender
Read prefs: /home/luya/.config/blender/2.79/config/userpref.blend

Blender quit

Assigning the component to llvm.

Comment 4 Brian Lane 2019-03-04 17:04:17 UTC
(In reply to Luya Tshimbalanga from comment #2)
> Hello,
> I am not sure how I missed this bug. It looks like beignet and pocl issue.
> Does it happen with an AMD hardware?
> If so, uninstall both beignet and pocl as a workaround. 
> I am testing openCL with ROCm repository but the implementation is currently
> slow when using cycle engine for rendering.

No this is on an Intel system.

Still happening with blender-2.79b-6.fc28.x86_64

Comment 5 Tom Stellard 2019-03-04 17:17:50 UTC
This error happens when 2 different libLLVM.so are used by the same process.  Uninstalling one of pocl or beignet should fix the issue.  But before you do that, could you paste the output of:

dnf info --installed '*llvm*

Comment 6 Tom Stellard 2019-03-04 17:29:08 UTC
Lets continue this discussion on bug 1565659.

*** This bug has been marked as a duplicate of bug 1565659 ***


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