Page MenuHome

Cycles GPU render crashes in 2.92, 2.93 on Ubuntu with rx580
Needs Triage, NormalPublic

Description

System Information
Operating system: Ubuntu 20.04.1 LTS and popOS 20.10
Graphics card: Radeon RX 580

Blender Version
Broken: 2.93.0 Alpha, branch: master, commit date: 2021-01-27 04:28, hash: fc669a4c3ec0
2.92.0 Beta

Worked: 2.83.1, 2.90.1, 2.91.2

Short description of error
Blender crashes in 2.92 and 2.93 when loading render kernels in cycles GPU render.

Tried both download from blender.org and build from master. Older versions works fine.

Exact steps for others to reproduce the error

  1. Preferences / System, select OpenCL and RX580
  2. Set render engine to Cycles and GPU Compute
  3. Set viewport to rendered or press F12 to render

    .... Starts loading render kernels and blender crashes

Event Timeline

I don't know if it can help, but I see in the logs some messages of "not found in cache" and "not found on disk" so...
Try to delete the cache files in /home/svend/.cache/ in order to recreate them.

Germano Cavalcante (mano-wii) changed the task status from Needs Triage to Needs Information from User.Jan 29 2021, 1:57 PM

Did deleting the cache files make any difference?

Thanks for the suggestion!! I was wondering where the render kernels where saved and completely missed the cycles folder next to the blender folder.

No unfortunately not. Deleting the kernels; 2.92, 2.93 still crashes. 2.83 and 2.90 fine. 2.91 works but writes “Split kernel error: failed to load kernel_lamp_emmission” in the view port while building the kernel and you have to “reload” it by clicking another view and then back to render view. After this it works fine.

I thought maybe the load kernel_lamp_emmission might also be the problem in 2.92-3 because it was in the debug_output file ??!?

Tried everything I could think if incl removing/installing the AMD OpenCL driver from both version 20.10 and 20.40. Did also delete everything in cache as sugested, not just kernels .

Can anyone confirm that they can make the cycles GPU render kernels in ubuntu with a rx580 (or similar amd card) in either 2.92 or 2.93? If so I’ll try a fresh system install.

Thanks for the help and have a nice weekend when you get to it :)

Germano Cavalcante (mano-wii) changed the task status from Needs Information from User to Needs Triage.Jan 29 2021, 2:21 PM

This “Split kernel error: failed to load kernel_lamp_emmission” is a known issue that appeared in recent AMD drivers for this GPU.
The strange thing is that this problem has only been seen in windows.
See T84461: Cycles: Split kernel error with OpenCL

So I'm not sure if it's a duplicate.

The machine is actually a MacPro so I guess we have a full circle ;)
(and yes I am booting directly in to ubuntu/pop, not a virtual machine or whatever.)

Not sure either. One difference to T84461 is that even though I get the same error it actually works in 2.91 in my case. It was rendering happy as Larry for 5-6 hours the other day. Do you know what exactly the kernel_lamp_emmission does? Maybe my renders didn’t actually need it. I’ll be happy to run a test render if it can help.

Tried a completely fresh Pop OS 20.10 install and OpenCL from 20.40. Same result :(

2.83.12 works
2.91.2 Split kernel error: failed to load kernel_lamp_emmission, but appears to work fine when kernels are loaded again.
2.92.0 Crash

Maybe T84579 is the same problem??