LuxCoreRender / BlendLuxCore

Blender Integration for LuxCore
GNU General Public License v3.0
727 stars 91 forks source link

Activating BlendLuxCore in Blender 3.x causes Cycles / Optix to no longer work #745

Open SteffenDuenner opened 2 years ago

SteffenDuenner commented 2 years ago

As soon as the BlendLuxCore addon is loaded I can no longer render with Cycles GPU (Optix) in Linux. Haven't had a chance to give it a try under Windows though. I get this error msg:

Screenshot from 2021-12-28 13-03-55

Originally posted by @SteffenDuenner in https://github.com/LuxCoreRender/BlendLuxCore/issues/742#issuecomment-1002063839

I confirmed this on 2 different setups (1 Laptop with an RTX 2070 Super / Intel CPU and 1 desktop with a GTX 1080ti / Threadripper CPU). As soon as the BlendLuxCore Addon is unloaded Cycles works as it should. As soon as BlendLuxCore is loaded I can only use Cycles CPU.

SteffenDuenner commented 2 years ago

Quick update. If I set Cycles to use CUDA instead of Optix Blender just immediately closes when using Cycles / GPU instead of displaying the error message above.

SteffenDuenner commented 2 years ago

Another update: This doesn't happen in Windows. Everything works fine there.

difrkaguilar commented 2 years ago

Confirmed in Fedora 35 using Luxcore 2.61 and Blender 3.0

SteffenDuenner commented 2 years ago

While trying to compile LuxCore on Linux I noticed that it was using Optix 7.1.0 (which is ancient). I guess this causes the problems mentioned above? Blender master is on 7.3.0 or 7.4.0 AFAIK.

SteffenDuenner commented 2 years ago

Is anyone here actually using BlendLuxCore in Blender > 3.0 on Linux?

bogatkaj commented 1 year ago

Is anyone here actually using BlendLuxCore in Blender > 3.0 on Linux?

Yep, over here but also didn't work for me, getting instant "OptixAccel CUDA program compilation error"

But Cycles (OptiX) still works for me

PC: AMD Ryzen 1700X 16GB RAM NVidia RTX 3060 (12 GB)

OS: Linux Mint 20.3 Cinnamon -> Kernel 5.4.0-131-generic Blender 3.4.0 + BlendLuxCore 2.61 alpha0

SteffenDuenner commented 1 year ago

Hmm... so sad to see LuxCore go the way of the dodo :(