Split kernel error: failed to load kernel_lamp_emission on 2.93+ #87726

Closed
opened 2021-04-22 20:47:22 +02:00 by Francisco Medina · 8 comments

System Information
Operating system: Linux Mint 20.1 Cinnamon, Linux-5.4.0-72-generic-x86_64-with-debian-bullseye-sid 64 Bits
Graphics card: AMD Radeon RX 570 Series ATI Technologies Inc. 4.5.14735 Core Profile Context 21.10 (Driver: amdgpu 21.10)

Blender Version
Broken: version: 2.93.0 Beta, branch: master, commit date: 2021-04-21 20:15, hash: 0f66dbea90, 3.0.0-932b23782a5e
Worked: 2.83.13 LTS, 2.83.14-d35974cd870b, (all previous LTS at this date)

Short description of error
When trying to switch to Viewport Rendering/Viewport Shading on versions 2.93+ it throws the said error (Split kernel error: failed to load kernel_lamp_emission)

Exact steps for others to reproduce the error

  1. Open Blender
  2. Go to "Render Properties" and switch the engine to Cycles
  3. Switch the "Device" option to GPU Compute
  4. Make sure your graphics card is selected and enabled on Preferences > System
  5. Switch to Viewport Shading or start a normal rendering of the actual default cube
  6. After a couple minutes while compiling the render kernels, Blender should throw "Split kernel error: failed to load kernel_lamp_emission" like in the following image:

crash.png

  • Full Rendering by pressing F12 works fine without issues
  • On Blender 2.92 this issue doesn't takes effect, instead it throws a Segmentation Fault using the same steps, issue regarding this version reported here
  • All LTS versions of Blender at this date runs fine without these problems at all.
  • I don't have a Windows PC with me right now for test, might update in a while if this happens on Windows versions
  • If you attempt to close Blender when this error appears, it hangs forever, forcing a close using the terminal.

Here's my system-info.txt:
system-info2.93.txt

And the console dump if it's useful (made using the args --debug and --debug-cycles)
blenderconsoledump2.93.txt

**System Information** Operating system: Linux Mint 20.1 Cinnamon, Linux-5.4.0-72-generic-x86_64-with-debian-bullseye-sid 64 Bits Graphics card: AMD Radeon RX 570 Series ATI Technologies Inc. 4.5.14735 Core Profile Context 21.10 (Driver: amdgpu 21.10) **Blender Version** Broken: version: 2.93.0 Beta, branch: master, commit date: 2021-04-21 20:15, hash: `0f66dbea90`, 3.0.0-932b23782a5e Worked: 2.83.13 LTS, 2.83.14-d35974cd870b, (all previous LTS at this date) **Short description of error** When trying to switch to Viewport Rendering/Viewport Shading on versions 2.93+ it throws the said error (Split kernel error: failed to load kernel_lamp_emission) **Exact steps for others to reproduce the error** 1) Open Blender 2) Go to "Render Properties" and switch the engine to Cycles 3) Switch the "Device" option to GPU Compute 4) Make sure your graphics card is selected and enabled on Preferences > System 5) Switch to Viewport Shading or start a normal rendering of the actual default cube 6) After a couple minutes while compiling the render kernels, Blender should throw "Split kernel error: failed to load kernel_lamp_emission" like in the following image: ![crash.png](https://archive.blender.org/developer/F10032824/crash.png) - Full Rendering by pressing F12 works fine without issues - On Blender 2.92 this issue doesn't takes effect, instead it throws a Segmentation Fault using the same steps, issue regarding this version reported [here ](https://developer.blender.org/T87724) - All LTS versions of Blender at this date runs fine without these problems at all. - I don't have a Windows PC with me right now for test, might update in a while if this happens on Windows versions - If you attempt to close Blender when this error appears, it hangs forever, forcing a close using the terminal. Here's my system-info.txt: [system-info2.93.txt](https://archive.blender.org/developer/F10032850/system-info2.93.txt) And the console dump if it's useful (made using the args --debug and --debug-cycles) [blenderconsoledump2.93.txt](https://archive.blender.org/developer/F10032851/blenderconsoledump2.93.txt)

Added subscriber: @PANCHO7532

Added subscriber: @PANCHO7532

Added subscriber: @enenra

Added subscriber: @enenra

System Information
Operating system: Linux-5.12.1-custom-x86_64-AMD_Ryzen_5_5600X_6-Core_Processor-with-glibc2.33 64 Bits
Graphics card: AMD Radeon (TM) RX 480 Graphics (POLARIS10, DRM 3.40.0, 5.12.1-custom, LLVM 11.1.0) AMD 4.6 (Core Profile) Mesa 21.0.3

Blender Version
Broken: version: 3.0.0 Alpha, branch: master, commit date: 2021-05-04 14:46, hash: f8f6e0b256
Broken: version: 2.93.0 Beta, branch: master, commit date: 2021-05-03 20:45, hash: 874c70d088
Worked: version: 2.83.13, branch: master, commit date: 2021-03-09 07:21, hash: bb50046730

Short description of error
I have the exact same issue.

./blender --debug-gpu
Writing userprefs: '/home/sanjuro/.config/blender/3.0/config/userpref.blend' ok
Writing userprefs: '/home/sanjuro/.config/blender/3.0/config/userpref.blend' ok
Cycles: compiling OpenCL program split_subsurface_scatter...
Cycles: compiling OpenCL program split_direct_lighting...
Cycles: compiling OpenCL program split_indirect_background...
Cycles: compiling OpenCL program split_do_volume...
Cycles: compiling OpenCL program split_shader_eval...
Cycles: compiling OpenCL program split_lamp_emission...
Cycles: compiling OpenCL program split_holdout_emission_blurring_pathtermination_ao...
Cycles: compiling OpenCL program split_shadow_blocked_dl...
Cycles: compiling OpenCL program split_shadow_blocked_ao...
Cycles: compiling OpenCL program split_bundle...
Cycles: compiling OpenCL program base...
Cycles: compiling OpenCL program background...
Kernel compilation of split_subsurface_scatter finished in 1.14s.
Kernel compilation of base finished in 0.59s.
Kernel compilation of split_direct_lighting finished in 1.16s.
Kernel compilation of split_indirect_background finished in 1.17s.
Kernel compilation of split_do_volume finished in 1.15s.
Kernel compilation of split_shader_eval finished in 1.13s.
Kernel compilation of split_lamp_emission finished in 1.13s.
Kernel compilation of split_holdout_emission_blurring_pathtermination_ao finished in 1.41s.
Kernel compilation of split_shadow_blocked_dl finished in 1.49s.
Kernel compilation of split_shadow_blocked_ao finished in 1.49s.
Kernel compilation of split_bundle finished in 2.61s.
Kernel compilation of background finished in 16.32s.
Cycles: compiling OpenCL program split_subsurface_scatter...
Cycles: compiling OpenCL program split_direct_lighting...
Cycles: compiling OpenCL program split_indirect_background...
Cycles: compiling OpenCL program split_shader_eval...
Cycles: compiling OpenCL program split_lamp_emission...
Cycles: compiling OpenCL program split_holdout_emission_blurring_pathtermination_ao...
Cycles: compiling OpenCL program split_shadow_blocked_dl...
Cycles: compiling OpenCL program split_shadow_blocked_ao...
Cycles: compiling OpenCL program split_bundle...
Split kernel error: failed to load kernel_lamp_emission
**System Information** Operating system: Linux-5.12.1-custom-x86_64-AMD_Ryzen_5_5600X_6-Core_Processor-with-glibc2.33 64 Bits Graphics card: AMD Radeon (TM) RX 480 Graphics (POLARIS10, DRM 3.40.0, 5.12.1-custom, LLVM 11.1.0) AMD 4.6 (Core Profile) Mesa 21.0.3 **Blender Version** Broken: version: 3.0.0 Alpha, branch: master, commit date: 2021-05-04 14:46, hash: `f8f6e0b256` Broken: version: 2.93.0 Beta, branch: master, commit date: 2021-05-03 20:45, hash: `874c70d088` Worked: version: 2.83.13, branch: master, commit date: 2021-03-09 07:21, hash: `bb50046730` **Short description of error** I have the exact same issue. ``` ./blender --debug-gpu Writing userprefs: '/home/sanjuro/.config/blender/3.0/config/userpref.blend' ok Writing userprefs: '/home/sanjuro/.config/blender/3.0/config/userpref.blend' ok Cycles: compiling OpenCL program split_subsurface_scatter... Cycles: compiling OpenCL program split_direct_lighting... Cycles: compiling OpenCL program split_indirect_background... Cycles: compiling OpenCL program split_do_volume... Cycles: compiling OpenCL program split_shader_eval... Cycles: compiling OpenCL program split_lamp_emission... Cycles: compiling OpenCL program split_holdout_emission_blurring_pathtermination_ao... Cycles: compiling OpenCL program split_shadow_blocked_dl... Cycles: compiling OpenCL program split_shadow_blocked_ao... Cycles: compiling OpenCL program split_bundle... Cycles: compiling OpenCL program base... Cycles: compiling OpenCL program background... Kernel compilation of split_subsurface_scatter finished in 1.14s. Kernel compilation of base finished in 0.59s. Kernel compilation of split_direct_lighting finished in 1.16s. Kernel compilation of split_indirect_background finished in 1.17s. Kernel compilation of split_do_volume finished in 1.15s. Kernel compilation of split_shader_eval finished in 1.13s. Kernel compilation of split_lamp_emission finished in 1.13s. Kernel compilation of split_holdout_emission_blurring_pathtermination_ao finished in 1.41s. Kernel compilation of split_shadow_blocked_dl finished in 1.49s. Kernel compilation of split_shadow_blocked_ao finished in 1.49s. Kernel compilation of split_bundle finished in 2.61s. Kernel compilation of background finished in 16.32s. Cycles: compiling OpenCL program split_subsurface_scatter... Cycles: compiling OpenCL program split_direct_lighting... Cycles: compiling OpenCL program split_indirect_background... Cycles: compiling OpenCL program split_shader_eval... Cycles: compiling OpenCL program split_lamp_emission... Cycles: compiling OpenCL program split_holdout_emission_blurring_pathtermination_ao... Cycles: compiling OpenCL program split_shadow_blocked_dl... Cycles: compiling OpenCL program split_shadow_blocked_ao... Cycles: compiling OpenCL program split_bundle... Split kernel error: failed to load kernel_lamp_emission ```

Added subscriber: @mano-wii

Added subscriber: @mano-wii

Thanks for the report.
We are aware of this problem.
It has been reported before in #84461 (Cycles: Split kernel error with OpenCL).

This appears to be a limitation of AMD graphics drivers.
The cycles development team is looking for an alternative solution.

Thanks for the report. We are aware of this problem. It has been reported before in #84461 (Cycles: Split kernel error with OpenCL). This appears to be a limitation of AMD graphics drivers. The cycles development team is looking for an alternative solution.

Closed as duplicate of #84461

Closed as duplicate of #84461

Added subscriber: @SonidosEnArmonia

Added subscriber: @SonidosEnArmonia

Until amd or blender fixes this, I suggest you try this:
Go into render view until you get the kernel errors. THen click on solid mode and wait several minutes until blender responds. It may seem its not responsive but it might be compiling the renders under the hood. After some minutes the kernels might be compiled and you blender becomes responsive again. Go again into render mode and it should work ( or maybe you should do this a couple of times. Volumetrics though don't work no matter what you do in my exp.

Until amd or blender fixes this, I suggest you try this: Go into render view until you get the kernel errors. THen click on solid mode and wait several minutes until blender responds. It may seem its not responsive but it might be compiling the renders under the hood. After some minutes the kernels might be compiled and you blender becomes responsive again. Go again into render mode and it should work ( or maybe you should do this a couple of times. Volumetrics though don't work no matter what you do in my exp.
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#87726
No description provided.