Cycles OpenCL - Broken kernels w/RX Vega 64 - Blender 2.92.0 #85520

Closed
opened 2021-02-10 16:50:40 +01:00 by Leonardo Vallone · 25 comments

CPU AMD FX-9590
Chipset 990FX
OS Windows 10 Pro
Videocard RX Vega 64

Blender Version
Broken: Blender ? to 2.92.0
Working: Blender 2.83.14 ?

Short description of error
Cycles GPU OpenCL rendering not working with RX Vega 64. Blender reported kernel compilation errors either for viewport and offline modes.

Exact steps for others to reproduce the error
Default cube scene not working

Viewport_blender_system_info.txt

Viewport_blender_debug_output.txt

CPU AMD FX-9590 Chipset 990FX OS Windows 10 Pro Videocard RX Vega 64 **Blender Version** Broken: Blender ? to 2.92.0 Working: Blender 2.83.14 ? **Short description of error** Cycles GPU OpenCL rendering not working with RX Vega 64. Blender reported kernel compilation errors either for viewport and offline modes. **Exact steps for others to reproduce the error** Default cube scene not working [Viewport_blender_system_info.txt](https://archive.blender.org/developer/F9910572/Viewport_blender_system_info.txt) [Viewport_blender_debug_output.txt](https://archive.blender.org/developer/F9910571/Viewport_blender_debug_output.txt)

Added subscriber: @Leo_V

Added subscriber: @Leo_V

#86647 was marked as duplicate of this issue

#86647 was marked as duplicate of this issue
Leonardo Vallone changed title from Cycles broken with RX Vega64 - Blender 2.90 - 91.2 to Fix Cycles - Broken kernels w/RX Vega 64 - Blender 2.90 - 91.2 2021-02-11 00:17:22 +01:00

Added subscriber: @rjg

Added subscriber: @rjg

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'

Please open Blender's installation directory and double click on the blender_debug_gpu.cmd. This will start Blender in debug mode and create log files. Try to make Blender fail to render again. Once it does, close Blender. The Windows Explorer should open and show you up to two files, a debug log and the system information. Add them to your bug report by clicking on the upload button as shown in the screenshot below or via drag and drop.

2019_12_04_upload_icon_developer_blender_org.png

Please open Blender's installation directory and double click on the `blender_debug_gpu.cmd`. This will start Blender in debug mode and create log files. Try to make Blender fail to render again. Once it does, close Blender. The Windows Explorer should open and show you up to two files, a debug log and the system information. Add them to your bug report by clicking on the upload button as shown in the screenshot below or via drag and drop. ![2019_12_04_upload_icon_developer_blender_org.png](https://archive.blender.org/developer/F8190038/2019_12_04_upload_icon_developer_blender_org.png)

This comment was removed by @Leo_V

*This comment was removed by @Leo_V*

Changed status from 'Needs User Info' to: 'Needs Triage'

Changed status from 'Needs User Info' to: 'Needs Triage'

Added subscriber: @mano-wii

Added subscriber: @mano-wii

Seeing the files I found this error:
Split kernel error: failed to load kernel_indirect_background

That reminds me #84461 (Cycles: Split kernel error with OpenCL)

But you tested different drivers, one of which is from 2019 and still didn't work!
It is interesting to note that it works in blender 2.83 so it looks like a regression.
Is this with the latest driver?

Does the problem happen in the viewport preview and in the final render?

Seeing the files I found this error: `Split kernel error: failed to load kernel_indirect_background` That reminds me #84461 (Cycles: Split kernel error with OpenCL) But you tested different drivers, one of which is from 2019 and still didn't work! It is interesting to note that it works in blender 2.83 so it looks like a regression. Is this with the latest driver? Does the problem happen in the viewport preview and in the final render?

Adding last driver version Radeon-Software-Adrenalin-2020-21.2.2-Win10-64Bit-Feb11-Non-WHQL to the list.

blender_system_info.txt

blender_debug_output.txt

Adding last driver version Radeon-Software-Adrenalin-2020-21.2.2-Win10-64Bit-Feb11-Non-WHQL to the list. [blender_system_info.txt](https://archive.blender.org/developer/F9811942/blender_system_info.txt) [blender_debug_output.txt](https://archive.blender.org/developer/F9811941/blender_debug_output.txt)
Leonardo Vallone changed title from Fix Cycles - Broken kernels w/RX Vega 64 - Blender 2.90 - 91.2 to Cycles OpenCL - Broken kernels w/RX Vega 64 - Blender 2.90 - 91.2 2021-02-20 00:30:05 +01:00

Tried with Radeon-Software-Adrenalin-2020-21.2.3-Win10-64bit-Feb22-Non-WHQL and viewport rendering is still failing. (Blender 2.91.2)

I could offline render (F12) the default cube this time, tried the Barcelona Pavillon and a heavier scene I´m working on and offline render seems to work.

Viewport rendering is not working for sure, same kernel_indirect_background error.

I´m already reporting this as a driver bug to AMD.

blender_system_info.txt

blender_debug_output.txt

Tried with Radeon-Software-Adrenalin-2020-21.2.3-Win10-64bit-Feb22-Non-WHQL and viewport rendering is still failing. (Blender 2.91.2) I could offline render (F12) the default cube this time, tried the Barcelona Pavillon and a heavier scene I´m working on and offline render seems to work. Viewport rendering is not working for sure, same kernel_indirect_background error. I´m already reporting this as a driver bug to AMD. [blender_system_info.txt](https://archive.blender.org/developer/F9830473/blender_system_info.txt) [blender_debug_output.txt](https://archive.blender.org/developer/F9830472/blender_debug_output.txt)

Added subscriber: @tarnith

Added subscriber: @tarnith

Also getting this bug with OpenCL rendering on AMD GPU with 2.92

Same setup works on 2.83 LTS

System Info
Operating system: Windows 10 Pro
CPU: Intel Xeon E5-2670
MB: Supermicro X9SRA
Ram: Samsung 16GB DDR3ECC FBDIMM 1033
Graphics card: AMD/ASUS R9 390 Strix 8GB
Graphics Driver: AMD Pro driver 2020.1027.1104.19925

Blender Version
Broken: 2.92.0

Short description of error
GPU rendering fails with a split kernel error ... Split kernel error: failed to load kernel_indirect_background
....Compiling render kernels
...Split kernel error: failed to load kernel_indirect_background
Cube doesn't render
Changing modes causes freeze
{F9842780}
blender_system_info.txt
Configure the user preferences to use OpenCL
Set the Device to GPU in the Render Properties
Set viewport to rendered (causes failed to load kernel)
Change viewport to any other mode and it locks until terminated

Also getting this bug with OpenCL rendering on AMD GPU with 2.92 Same setup works on 2.83 LTS **System Info** Operating system: Windows 10 Pro CPU: Intel Xeon E5-2670 MB: Supermicro X9SRA Ram: Samsung 16GB DDR3ECC FBDIMM 1033 Graphics card: AMD/ASUS R9 390 Strix 8GB Graphics Driver: AMD Pro driver 2020.1027.1104.19925 **Blender Version** Broken: 2.92.0 **Short description of error** GPU rendering fails with a split kernel error ... Split kernel error: failed to load kernel_indirect_background ....Compiling render kernels ...Split kernel error: failed to load kernel_indirect_background Cube doesn't render Changing modes causes freeze **{[F9842780](https://archive.blender.org/developer/F9842780/blender_debug_output.txt)}** [blender_system_info.txt](https://archive.blender.org/developer/F9842788/blender_system_info.txt) Configure the user preferences to use OpenCL Set the Device to GPU in the Render Properties Set viewport to rendered (causes failed to load kernel) Change viewport to any other mode and it locks until terminated

Problem persists with Blender 2.92.0

blender_system_info.txt

blender_debug_output.txt

Problem persists with Blender 2.92.0 [blender_system_info.txt](https://archive.blender.org/developer/F9860089/blender_system_info.txt) [blender_debug_output.txt](https://archive.blender.org/developer/F9860088/blender_debug_output.txt)
Leonardo Vallone changed title from Cycles OpenCL - Broken kernels w/RX Vega 64 - Blender 2.90 - 91.2 to Cycles OpenCL - Broken kernels w/RX Vega 64 - Blender 2.90.0 to 2.92.0 2021-03-02 13:02:42 +01:00

Adding new logs:

Default cubes scene, viewport (Split kernel error: failed to load kernel_indirect_background)

Viewport_blender_system_info.txt

Viewport_blender_debug_output.txt

LoneMonk scene, offline rendering/F12 (OpenCL error (-46): CL_INVALID_KERNEL_NAME)

Offline_blender_system_info.txt

Offline_blender_debug_output.txt

Adding new logs: Default cubes scene, viewport (Split kernel error: failed to load kernel_indirect_background) [Viewport_blender_system_info.txt](https://archive.blender.org/developer/F9896787/Viewport_blender_system_info.txt) [Viewport_blender_debug_output.txt](https://archive.blender.org/developer/F9896786/Viewport_blender_debug_output.txt) LoneMonk scene, offline rendering/F12 (OpenCL error (-46): CL_INVALID_KERNEL_NAME) [Offline_blender_system_info.txt](https://archive.blender.org/developer/F9896789/Offline_blender_system_info.txt) [Offline_blender_debug_output.txt](https://archive.blender.org/developer/F9896788/Offline_blender_debug_output.txt)

Adding report for Radeon-Pro-Software-Enterprise-21.q1-Win10 driver.

Radeon software UI reports 03-Feb-21 version for RX Vega 64.

Viewport rendering is not working.

Offline (f12) rendering seems to be partially working. Default cube and Barcelona Pavilion rendered ok, Lonely Monk failed.

Adding logs:

Viewport, Default Cube Scene (Split kernel error: failed to load kernel_indirect_background)

Viewport_Pro_blender_system_info.txt

Viewport_Pro_blender_debug_output.txt

Offline (F12), Lonely Monk (OpenCL error (-46): CL_INVALID_KERNEL_NAME)

Offline_Pro_blender_system_info.txt

Offline_Pro_blender_debug_output.txt

Adding report for Radeon-Pro-Software-Enterprise-21.q1-Win10 driver. Radeon software UI reports 03-Feb-21 version for RX Vega 64. Viewport rendering is not working. Offline (f12) rendering seems to be partially working. Default cube and Barcelona Pavilion rendered ok, Lonely Monk failed. Adding logs: Viewport, Default Cube Scene (Split kernel error: failed to load kernel_indirect_background) [Viewport_Pro_blender_system_info.txt](https://archive.blender.org/developer/F9910560/Viewport_Pro_blender_system_info.txt) [Viewport_Pro_blender_debug_output.txt](https://archive.blender.org/developer/F9910559/Viewport_Pro_blender_debug_output.txt) Offline (F12), Lonely Monk (OpenCL error (-46): CL_INVALID_KERNEL_NAME) [Offline_Pro_blender_system_info.txt](https://archive.blender.org/developer/F9910563/Offline_Pro_blender_system_info.txt) [Offline_Pro_blender_debug_output.txt](https://archive.blender.org/developer/F9910562/Offline_Pro_blender_debug_output.txt)

Adding report for Radeon-Software-Adrenalin-2020-21.3.1-Win10-64Bit-Mar24-WHQL driver.

Viewport rendering is not working.

Offline (f12) rendering seems to be working. Default Cube, Barcelona Pavilion and Lonely Monk tests rendered ok.

Adding logs:

Viewport, Default Cube Scene (Split kernel error: failed to load kernel_indirect_background)

Viewport_blender_system_info.txt

Viewport_blender_debug_output.txt

Offline (F12), no error logs.

Adding report for Radeon-Software-Adrenalin-2020-21.3.1-Win10-64Bit-Mar24-WHQL driver. Viewport rendering is not working. Offline (f12) rendering seems to be working. Default Cube, Barcelona Pavilion and Lonely Monk tests rendered ok. Adding logs: Viewport, Default Cube Scene (Split kernel error: failed to load kernel_indirect_background) [Viewport_blender_system_info.txt](https://archive.blender.org/developer/F9910569/Viewport_blender_system_info.txt) [Viewport_blender_debug_output.txt](https://archive.blender.org/developer/F9910568/Viewport_blender_debug_output.txt) Offline (F12), no error logs.

I´m not having luck with relatively big scenes in 2.83.13.

Rolling back to 2.82a which seems to be more stable for Cycles rendering on this setup at the moment.

I´m not having luck with relatively big scenes in 2.83.13. Rolling back to 2.82a which seems to be more stable for Cycles rendering on this setup at the moment.

2.82a seems to was fine, now I´m using 2.90.0 which seems to work ok too (what happened ??)

2.82a seems to was fine, now I´m using 2.90.0 which seems to work ok too (what happened ??)
Leonardo Vallone changed title from Cycles OpenCL - Broken kernels w/RX Vega 64 - Blender 2.90.0 to 2.92.0 to Cycles OpenCL - Broken kernels w/RX Vega 64 - Blender 2.92.0 2021-04-15 19:09:40 +02:00

Using 2.82a proved to be the best to workaround the issue here.

2.83.14 Seems to be working fine, I´ll update if further testing shows the opposite.

Using 2.82a proved to be the best to workaround the issue here. 2.83.14 Seems to be working fine, I´ll update if further testing shows the opposite.

2.93 Is working great at the moment

2.93 Is working great at the moment
Member

Added subscriber: @ankitm

Added subscriber: @ankitm
Member

In #85520#1170315, @Leo_V wrote:
2.93 Is working great at the moment

Can we close it then ?

> In #85520#1170315, @Leo_V wrote: > 2.93 Is working great at the moment Can we close it then ?

Yes please, rock solid so far, exterior archviz w/foliage work made without a problem.

Yes please, rock solid so far, exterior archviz w/foliage work made without a problem.
Member

Changed status from 'Needs Triage' to: 'Resolved'

Changed status from 'Needs Triage' to: 'Resolved'
Ankit Meel self-assigned this 2021-06-22 23:02:13 +02:00
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
6 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#85520
No description provided.