Page MenuHome

Cycles render hangs on Linux and AMD Radeon RX 5700 XT
Confirmed, HighPublicBUG


System Information
Operating system: Linux-5.3.0-40-generic-x86_64-with-Ubuntu-19.10-eoan 64 Bits
Graphics card: AMD Radeon RX 5700 XT (NAVI10, DRM 3.33.0, 5.3.0-40-generic, LLVM 9.0.0) X.Org 4.5 (Core Profile) Mesa 19.2.8

Blender Version
Broken: version: 2.83 (sub 5), branch: master, commit date: 2020-02-27 09:54, hash: rB830a45a18a71
Worked: 2.81

Short description of error
Blender fails to render using GPU

Exact steps for others to reproduce the error
blender --factory-startup > set render engine to Cycles > Set Device to GPU > Preferences - System - OpenCL > Render

Render fails with an error:

Split kernel error: failed to load kernel_path_init

Related Objects

Event Timeline

@Brecht Van Lommel (brecht) Thanks for fixing this. How do I test for these errors in future?

Rendering with OpenCL would help find them, if you have an AMD card. Normally we'd catch this quite quickly since I have an AMD card that I test with often, but I still didn't get this error (probably due to different driver version).

In that case do you recommend to always test explicitly?

This fixed the error. Thanks for the quick fix Brecht! However now the render hangs indefinitely, without the black info bar at the top (the one that says how many samples are done, etc.) The render simply does not start, I don't know what to give you because there's no error out of the terminal or anything.

Brecht Van Lommel (brecht) renamed this task from Split kernel error: failed to load kernel_path_init to Cycles render hangs on Linux and AMD Radeon RX 5700 XT.Feb 28 2020, 2:28 PM
Brecht Van Lommel (brecht) reopened this task as Confirmed.
Brecht Van Lommel (brecht) removed Brecht Van Lommel (brecht) as the assignee of this task.
Brecht Van Lommel (brecht) triaged this task as High priority.

@Charlie Jolly (charlie), whenever making changes to the Cycles kernel, we should always test Cycles GPU rendering.

Is there anything I could do to help?

If you build Blender yourself, you could try to git bisect to find the specific commit that caused the issue. That can be quite time consuming of course.

Otherwise we will look at it before the 2.83 release.

should I mark commits that fail with Split kernel error: failed to load kernel_path_init bad or just the ones that hangs? The last time I tried to bisect, I marked those as good, git wasn't able to find the right commit.

You can use git bisect skip for those.

According to git bisect: ec62413f803ee506633f0e52d1e52b0980c0ed0d is the first bad commit.

Hope this helps.

Brecht Van Lommel (brecht) changed the subtype of this task from "Report" to "Bug".Mon, Mar 9, 5:34 PM

Thanks. Unfortunately, that's not the specific commit that would have caused it, but maybe with skipping it wasn't able to find something closer.

I agree it's a bit weird since there are no cycles-specific files edited in that commit, but I don't get the error when building with the commit before that. Or earlier. I'm only having problems after that specific commit. So maybe git bisect was on to something and this is something that could be looked at.

Hi Brecht, is there anything else I could do to help at this point?