LuxCoreRender / LuxCore

LuxCore source repository
Apache License 2.0
1.15k stars 145 forks source link

Luxcore freezes my whole system when running on main GPU #581

Open jiriks74 opened 2 years ago

jiriks74 commented 2 years ago

CPU: AMD Ryzen 5 3600 RAM: 16GB DDR4 3200MHZ GPU0: AMD Radeon RX580 8GB (amd opencl drivers) GPU1: NVIDIA GTX1050 1GB OS: Archlinux (up to date) 3D Software: 2.93.8

When I select OpenCL in plugin settings and select my GPU0 in devices in render panel and start the render, the whole system freezes graphics wise (music, calls, etc keep working). I cannot get any logs as I can't even get to tty.

I tried the latest opencl-amd drivers, I tried older drivers that still work with Blender itself without any problems. I even tried the opensource mesa drivers (LLVM), but they error out on kernel compilation, so I don't even get to the start of the render. On GPU1 it runs without problems both on OpenCL and on CUDA.

Any ideas please?

jiriks74 commented 2 years ago

The mesa compilation error: PathOCL kernel OpenCL program compilation error

jiriks74 commented 2 years ago

Looks that it crashes when I use color ramp

jiriks74 commented 2 years ago

It's not color ramp. It does not freeze when I'm in default scene and looks like everything works when fidleing around with some basic materials, putting in coloramps, etc, but everything falls apart when I use some complex scenes: cycles scenes - they render fine with the GTX1050 but crash on the RX580. The same happens when I use some of the sample scenes, Orange juice for example.