Compute device type error

I’ve been searching for days and have not come up with and answer. After compiling and running Blender 2.8 I get the error

WARN (bpy.rna): /home/andrew/blender-git/blender/source/blender/python/intern/bpy_rna.c:1419 pyrna_enum_to_py: current value ‘1’ matches no enum in ‘CyclesPreferences’, ‘(null)’, ‘compute_device_type’

And of course with this, I have no GPU available. Of course downloading from Blender.org everything works fine. I have been building and rebuilding, doing make updates, rechecking dependencies and so on. There has to be something simple I’m missing.

Linux Mint 19.1

It means you are building with CUDA support. For that you need to install the CUDA toolkit. Version 9.1 for most cards, or 10.0 for the latest RTX cards.

Thank you. Never built anything before (except Blender several times now). For a beginner, this does not appear on the Wiki as something to look out for. Downloaded the toolkit from the repositories and everything worked as expected. Thanks again.

1 Like