nalexandru / BlenderCompat

Windows 7 support for Blender 3.x and newer
BSD 3-Clause "New" or "Revised" License
248 stars 23 forks source link

Error when using CUDA in Cycles #3

Closed Sergiarius closed 2 years ago

Sergiarius commented 2 years ago

When I trying to use Cycles with CUDA (gpu+processor) active - it shows this error изображение_2021-11-29_173733 and also don't render any lights(in any other versions of blender it works(on win 10-11, or those that earlier, that could work on win 7 too) (works only GPU compute without CUDA When i tried to build it - error appears on trying to patch files apply bcompat7.patch image also even if i will not try to patch it, but just update and use make/make.bat i'll have this error image It could be great if any of those errors can be solved, because, with CUDA it really works faster(even if it with processor)

nalexandru commented 2 years ago

The CUDA error is because the binary i uploaded was compiled with CUDA 11.3 which doesn't have support for targetting cards with compute capability 3.0, so the kernel wasn't built. I will build it with CUDA 10 also.

I was unable to reproduce the patch error. Did you make any modifications to the files before applying the patch ?

Sergiarius commented 2 years ago

No, Any. Also, i tried to patch WITH upade(and without ofc) - same result

nalexandru commented 2 years ago

I wasn't able to make a full build with CUDA 10 because nvcc crashes with an internal error on the sm7.5 kernel, however i managed to build the kernel for GPUs with compute capability 3.0. I've uploaded the binaries here: https://1drv.ms/u/s!AhpnXywMA4U1mTF-F-k19I17fE51.

Sergiarius commented 2 years ago

Thanks for fix and for this project at all. :)