Blender build with cuda failed


#1

CUSTOMBUILD : error : ptxas failed (1) [F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\intern\cycles\kernel
cycles_kernel_cuda.vcxproj]

Thats the error message. From my try to solve the problem i know that i have to use version 9.1 but also tried the lasted version 10. At the end of the compile process the files in cycles/lib are missing but when i copy them in from the official build it works of cause.

The normal build with make full is totally fine and works but only with my cpu.

Sorry to post here to stupid question! Thanks again to LazyDodo for the answer of my last question.


#2

Sounds like the compilation of the cuda kernels went wrong somewhere, but without a more precise build log, it’s a guessing game.


#3

Not sure what you need but here is the build text document. Or what do you need? Thanks for the fast answer!

 extern_ceres.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\extern_ceres.lib
  audaspace.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\audaspace.lib
  makesdna.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\bin\Release\makesdna.exe
  extern_wcwidth.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\extern_wcwidth.lib
  extern_rangetree.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\extern_rangetree.lib
  extern_minilzo.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\extern_minilzo.lib
  audaspace-py.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\audaspace-py.lib
  extern_lzma.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\extern_lzma.lib
  extern_glog.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\extern_glog.lib
  extern_glew.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\extern_glew.lib
  extern_gflags.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\extern_gflags.lib
  bf_dna.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_dna.lib
  extern_cuew.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\extern_cuew.lib
  extern_curve_fit_nd.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\extern_curve_fit_nd.lib
  extern_clew.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\extern_clew.lib
  bf_blenloader.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_blenloader.lib
  bf_alembic.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_alembic.lib
  bf_avi.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_avi.lib
  bf_blenfont.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_blenfont.lib
  bf_blenlib.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_blenlib.lib
  bf_blenkernel.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_blenkernel.lib
  bf_blentranslation.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_blentranslation.lib
  bf_collada.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_collada.lib
  bf_bmesh.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_bmesh.lib
  bf_depsgraph.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_depsgraph.lib
  bf_dna_blenlib.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_dna_blenlib.lib
  bf_editor_armature.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_editor_armature.lib
  bf_editor_animation.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_editor_animation.lib
  bf_editor_curve.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_editor_curve.lib
  bf_editor_gizmo_library.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_editor_gizmo_library.lib
  bf_editor_gpencil.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_editor_gpencil.lib
  bf_editor_interface.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_editor_interface.lib
  bf_editor_io.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_editor_io.lib
  bf_editor_lattice.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_editor_lattice.lib
  makesrna.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\bin\Release\makesrna.exe
  bf_editor_mask.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_editor_mask.lib
  bf_editor_mesh.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_editor_mesh.lib
  bf_editor_metaball.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_editor_metaball.lib
  bf_editor_object.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_editor_object.lib
  bf_editor_physics.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_editor_physics.lib
  bf_rna.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_rna.lib
  bf_editor_render.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_editor_render.lib
  bf_intern_cycles.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_intern_cycles.lib
  bf_editor_scene.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_editor_scene.lib
  bf_editor_screen.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_editor_screen.lib
  bf_editor_sculpt_paint.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_editor_sculpt_paint.lib
  bf_editor_sound.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_editor_sound.lib
  bf_editor_space_action.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_editor_space_action.lib
  bf_editor_space_api.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_editor_space_api.lib
  bf_editor_space_buttons.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_editor_space_buttons.lib
  bf_editor_space_clip.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_editor_space_clip.lib
  bf_editor_space_console.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_editor_space_console.lib
  bf_editor_space_graph.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_editor_space_graph.lib
  bf_editor_space_file.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_editor_space_file.lib
  bf_editor_space_image.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_editor_space_image.lib
  bf_editor_space_info.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_editor_space_info.lib
  bf_editor_space_nla.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_editor_space_nla.lib
  bf_editor_space_node.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_editor_space_node.lib
  bf_editor_space_outliner.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_editor_space_outliner.lib
  bf_editor_space_script.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_editor_space_script.lib
  bf_editor_space_sequencer.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_editor_space_sequencer.lib
  bf_editor_space_statusbar.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_editor_space_statusbar.lib
  bf_editor_space_text.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_editor_space_text.lib
  bf_editor_space_topbar.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_editor_space_topbar.lib
  bf_editor_space_userpref.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_editor_space_userpref.lib
  bf_editor_space_view3d.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_editor_space_view3d.lib
  bf_editor_transform.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_editor_transform.lib
  bf_editor_undo.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_editor_undo.lib
  bf_editor_util.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_editor_util.lib
  bf_editor_uvedit.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_editor_uvedit.lib
  bf_gpencil_modifiers.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_gpencil_modifiers.lib
  bf_ikplugin.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_ikplugin.lib
  bf_imbuf.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_imbuf.lib
  bf_imbuf_cineon.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_imbuf_cineon.lib
  bf_freestyle.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_freestyle.lib
  bf_imbuf_dds.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_imbuf_dds.lib
  bf_imbuf_openexr.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_imbuf_openexr.lib
  bf_imbuf_openimageio.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_imbuf_openimageio.lib
  bf_intern_audaspace.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_intern_audaspace.lib
  bf_intern_clog.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_intern_clog.lib
  bf_intern_dualcon.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_intern_dualcon.lib
  bf_intern_eigen.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_intern_eigen.lib
  bf_intern_elbeem.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_intern_elbeem.lib
  bf_intern_glew_mx.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_intern_glew_mx.lib
  bf_intern_ghost.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_intern_ghost.lib
  bf_intern_guardedalloc.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_intern_guardedalloc.lib
  bf_intern_iksolver.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_intern_iksolver.lib
  bf_intern_itasc.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_intern_itasc.lib
  bf_intern_locale.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_intern_locale.lib
  bf_intern_memutil.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_intern_memutil.lib
  bf_intern_libmv.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_intern_libmv.lib
  bf_intern_mikktspace.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_intern_mikktspace.lib
  bf_intern_rigidbody.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_intern_rigidbody.lib
  bf_intern_openvdb.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_intern_openvdb.lib
  cycles_cubin_cc.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\bin\Release\cycles_cubin_cc.exe
  bf_intern_smoke.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_intern_smoke.lib
  bf_intern_string.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_intern_string.lib
  bf_intern_utfconv.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_intern_utfconv.lib
  bf_modifiers.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_modifiers.lib
  Generating filter_sm_30.cubin
  bf_nodes.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_nodes.lib
  bf_physics.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_physics.lib
  bf_python.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_python.lib
  bf_python_bmesh.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_python_bmesh.lib
  bf_python_ext.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_python_ext.lib
  bf_python_gpu.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_python_gpu.lib
  bf_python_mathutils.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_python_mathutils.lib
  bf_render.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_render.lib
  bf_shader_fx.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_shader_fx.lib
  bf_windowmanager.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_windowmanager.lib
  Der Befehl "C:/Program" ist entweder falsch geschrieben oder
  konnte nicht gefunden werden.
CUSTOMBUILD : error : ptxas failed (1) [F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\intern\cycles\kernel\cycles_kernel_cuda.vcxproj]
  
  Building F:/blender-2.8-git/blender/intern/cycles/kernel/kernels/cuda/filter.cu
  "C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.0/bin/ptxas" C:\Users\Scham\AppData\Local\Temp/3d3e-1eef-f910-dba8 -o F:/blender-2.8-git/build_windows_Release_x64_vc15_Release/intern/cycles/kernel/filter_sm_30.cubin --gpu-name sm_30 -m64 --verbose
  Generating buildinfo.h_fake, buildinfo.h
  cycles_bvh.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\cycles_bvh.lib
  cycles_device.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\cycles_device.lib
  cycles_graph.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\cycles_graph.lib
  cycles_kernel.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\cycles_kernel.lib
  cycles_kernel_osl.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\cycles_kernel_osl.lib
  cycles_render.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\cycles_render.lib
  cycles_subd.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\cycles_subd.lib
  msgfmt.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\bin\Release\msgfmt.exe
  cycles_util.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\cycles_util.lib
  datatoc.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\bin\Release\datatoc.exe
  datatoc_icon.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\bin\Release\datatoc_icon.exe
  buildinfo.c
  bf_intern_opensubdiv.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_intern_opensubdiv.lib
  extern_bullet.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\extern_bullet.lib
  bf_intern_opencolorio.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_intern_opencolorio.lib
  bf_gpu.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_gpu.lib
  bf_draw.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_draw.lib
  bf_compositor.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_compositor.lib
  buildinfoobj.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\source\creator\buildinfoobj.dir\Release\buildinfoobj.lib
  bf_editor_datafiles.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\lib\Release\bf_editor_datafiles.lib
  buildinfo.c
     Bibliothek "F:/blender-2.8-git/build_windows_Release_x64_vc15_Release/bin/Release/blender.lib" und Objekt "F:/blender-2.8-git/build_windows_Release_x64_vc15_Release/bin/Release/blender.exp" werden erstellt.
  blender.vcxproj -> F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\bin\Release\blender.exe

Build FAILED.

CUSTOMBUILD : error : ptxas failed (1) [F:\blender-2.8-git\build_windows_Release_x64_vc15_Release\intern\cycles\kernel\cycles_kernel_cuda.vcxproj]
    0 Warning(s)
    1 Error(s)

Time Elapsed 00:00:18.11

#4

merged some changes to 2.8, please pull and try again.


#5

Thank you again! runs perfectly now!


#6

hello, i have a problem with my Quadro 4000


#7

If you’re building Blender yourself on Windows using the basic instructions on the wiki, I ran into the same thing when doing “build full” and found that “build release” was required to build the cuda stuff and make something other than “None” show up as you’re seeing.


#8

The quadro 4000 is a sm_20 card, which is no longer supported. (nvidia dropped support for it in cuda, so we dropped support for it in our codebase as well )