Ask Your Question

Problem with several OpenCL implementations and blender

asked 2018-05-06 12:34:52 -0500

campino gravatar image


I am trying to get blender to use my nVidia GPU, instead of the Intel one. I managed to start glxgears with the nVidia GPU (so, I am one step closer than last time I tried). However, when I start blender and open the system preferences, I get

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

and blender quits.

This is a known bug. The pocl authors discuss it here: LLVM developers discuss it here:

If I understand the problem correctly, several OpenCL implementations are being loaded in order to check which one is the best to use. All of them load LLVM, which leads to problems because the command line option 'enable-value-profiling' is registered once for each OpenCL implementation. Thereby this will happen for every program which uses OpenCL.

I have icd files for intel-beignet, mesa and pocl.

None of the bug reports I linked mentioned a work around, however, given that both threads are about 5 month old, I can not imagine that no one fixed the problem. So, is there a workaround? Can I uninstall some OpenCL implementations? If so, which?

edit retag flag offensive close merge delete


Open the bug in redhat bugzilla...

davidva gravatar imagedavidva ( 2018-05-09 23:38:31 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2018-05-26 21:21:13 -0500

GnotC gravatar image

Uninstall pocl & beignet. (See the bug report here; thread includes this as a workaround)

edit flag offensive delete link more

Question Tools


Asked: 2018-05-06 12:34:52 -0500

Seen: 455 times

Last updated: May 06 '18