Cycles rendering mode crashes the entire program AMD OpenCL #81075

Closed
opened 2020-09-23 03:04:11 +02:00 by Edson · 23 comments

System Information
Operating system: Windows 10 Pro 64 Bit Latest Update
Graphics card: AMD RX 570 8gb

Blender Version
Broken: 2.9
Worked: 2.9

Short description of error
I recently came back to Blender and I'm doing the Donut series by Andrew Price, everything was working fine and I got midway but from one day to another, the entire program freezes and crashes or bugs out when I switch to render view mode in viewport or rendering with f12. I already tried different drivers for my card, older and newer, I play a lot of games and there aren't problems there. I already switched to 2.91 version of Blender, and 2.9, Idk what else to do, I cleanly uninstalled my graphic drivers with DDU even, but it's the same, the program now gives an error with 2.91 tho, it says: "Split kernel error: failed to load kernel_indirect_background". The program is not frozen but I can only see the orange outlines of my objects if selected, there's nothing else in the viewport. The 2.9 version tries to render with GPU Cycles, but I notice strange straight lines showing and red and blue and green pixels that don't look like should belong there, their colors are too bright.

Exact steps for others to reproduce the error
I just switch to rendered view mode and this happens.

**System Information** Operating system: Windows 10 Pro 64 Bit Latest Update Graphics card: AMD RX 570 8gb **Blender Version** Broken: 2.9 Worked: 2.9 **Short description of error** I recently came back to Blender and I'm doing the Donut series by Andrew Price, everything was working fine and I got midway but from one day to another, the entire program freezes and crashes or bugs out when I switch to render view mode in viewport or rendering with f12. I already tried different drivers for my card, older and newer, I play a lot of games and there aren't problems there. I already switched to 2.91 version of Blender, and 2.9, Idk what else to do, I cleanly uninstalled my graphic drivers with DDU even, but it's the same, the program now gives an error with 2.91 tho, it says: "Split kernel error: failed to load kernel_indirect_background". The program is not frozen but I can only see the orange outlines of my objects if selected, there's nothing else in the viewport. The 2.9 version tries to render with GPU Cycles, but I notice strange straight lines showing and red and blue and green pixels that don't look like should belong there, their colors are too bright. **Exact steps for others to reproduce the error** I just switch to rendered view mode and this happens.
Author

Added subscriber: @edson_stich

Added subscriber: @edson_stich

Added subscriber: @abdullahadnan

Added subscriber: @abdullahadnan

Same problem here with RX Vega 64. It says: "Split kernel error: invalid ray state".
I hope we got noticed here and the problem quickly solved.

Same problem here with RX Vega 64. It says: "Split kernel error: invalid ray state". I hope we got noticed here and the problem quickly solved.

Added subscriber: @iss

Added subscriber: @iss

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

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

I saw some reports with RX 580 recently, but I couldn't reproduce on RX 550. But please upload example file so we can check. Try also simpler files, even default cube

I saw some reports with RX 580 recently, but I couldn't reproduce on RX 550. But please upload example file so we can check. Try also simpler files, even default cube
Author
Here's an example file https://pasteall.org/blend/fa586ef8c007452b90ee0e30f02a008f

Added subscriber: @OrsonM

Added subscriber: @OrsonM

RX Vega here, having the same issue since roughly the beginning of the year. Clearing kernel cache works for very basic files, resetting to factory settings doesn't do anything. I get Invalid Ray State error, program crashes, whole system crashes.

Update: Can get the error easily by bumping subsurface all the way to 1 with just the default cube.

Update 2: running latest driver, I think the bug is directly related to drivers. I've read that downgrading to previous drivers fixes the issue, which would also explain the system crashes.

RX Vega here, having the same issue since roughly the beginning of the year. Clearing kernel cache works for very basic files, resetting to factory settings doesn't do anything. I get Invalid Ray State error, program crashes, whole system crashes. Update: Can get the error easily by bumping subsurface all the way to 1 with just the default cube. Update 2: running latest driver, I think the bug is directly related to drivers. I've read that downgrading to previous drivers fixes the issue, which would also explain the system crashes.

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

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

I was not able to reproduce crash.

I would also think this is bug in driver, @edson_stich you can try to clear kernel caches by removing files in %appdata%\Roaming\Blender Foundation\Blender\2.91\cache\kernels

I was not able to reproduce crash. I would also think this is bug in driver, @edson_stich you can try to clear kernel caches by removing files in %appdata%\Roaming\Blender Foundation\Blender\2.91\cache\kernels

Hi, the issue was the drivers!

So in a 2 step process I was able to solve the issue for me. First completely cleaning up all driver update junk with the [Radeon Cleanup Utility ]]. Next step was to download the [ https:*www.amd.com/en/technologies/radeon-pro-software | Radeon Pro Software Enterprise Driver , which you can download from a list of drivers once you input the hardware you have. The driver version I downloaded is 20.Q3.1 and it works really well.

Hi, the issue was the drivers! So in a 2 step process I was able to solve the issue for me. First completely cleaning up all driver update junk with the [Radeon Cleanup Utility ]]. Next step was to download the [[ https:*www.amd.com/en/technologies/radeon-pro-software | Radeon Pro Software Enterprise Driver ](https:*www.amd.com/en/support/kb/faq/gpu-601), which you can download from a list of drivers once you input the hardware you have. The driver version I downloaded is 20.Q3.1 and it works really well.
Author

In #81075#1026667, @iss wrote:
I was not able to reproduce crash.

I would also think this is bug in driver, @edson_stich you can try to clear kernel caches by removing files in %appdata%\Roaming\Blender Foundation\Blender\2.91\cache\kernels

Thank you so much! This finally worked! I deleted every file in there and I had other folders for previous versions but I deleted them too, you were of great help!

Also Rodrigo, I tried those drivers before but they didn't make a difference, it was so weird, but thanks for your suggestions too.

Edit: omg, sorry, it didn't work, I thought it did, but it was just my CPU rendering, it's still bugged :l, in System preferences I have OpenCL and only my GPU is checked, if I change back to Solid mode, the program crashes.
donut.jpg
donut2.jpg
donut3.jpg

> In #81075#1026667, @iss wrote: > I was not able to reproduce crash. > > I would also think this is bug in driver, @edson_stich you can try to clear kernel caches by removing files in %appdata%\Roaming\Blender Foundation\Blender\2.91\cache\kernels Thank you so much! This finally worked! I deleted every file in there and I had other folders for previous versions but I deleted them too, you were of great help! Also Rodrigo, I tried those drivers before but they didn't make a difference, it was so weird, but thanks for your suggestions too. Edit: omg, sorry, it didn't work, I thought it did, but it was just my CPU rendering, it's still bugged :l, in System preferences I have OpenCL and only my GPU is checked, if I change back to Solid mode, the program crashes. ![donut.jpg](https://archive.blender.org/developer/F8944992/donut.jpg) ![donut2.jpg](https://archive.blender.org/developer/F8944994/donut2.jpg) ![donut3.jpg](https://archive.blender.org/developer/F8945014/donut3.jpg)

Added subscriber: @GuillermoEspertino

Added subscriber: @GuillermoEspertino

Blender 2.91 on Windows 10, official build from blender.org
Using the Pro Enterprise drivers, version 20.10.27.03-200826a-358464C-RadeonProEnterprise

In my case I cannot turn on GPU rendering in cycles as it will hardlock the computer completely (this has been the case since 2.83 and both the regular drivers and the Pro Enterprise ones do the same, updated or not.

Blender 2.91 on Windows 10, official build from blender.org Using the Pro Enterprise drivers, version 20.10.27.03-200826a-358464C-RadeonProEnterprise In my case I cannot turn on GPU rendering in cycles as it will hardlock the computer completely (this has been the case since 2.83 and both the regular drivers and the Pro Enterprise ones do the same, updated or not.

Added subscriber: @mano-wii

Added subscriber: @mano-wii

It doesn't crash with me, but it has a problem of Split kernel error: failed to load kernel_lamp_emission
The GPU rendering of the example file worked without problems.


Radeon (TM) RX 480 Graphics ATI Technologies Inc. 4.5.14757 Core Profile/Debug Context 20.11.2 27.20.14501.18003

It doesn't crash with me, but it has a problem of `Split kernel error: failed to load kernel_lamp_emission` The GPU rendering of the example file worked without problems. --- Radeon (TM) RX 480 Graphics ATI Technologies Inc. 4.5.14757 Core Profile/Debug Context 20.11.2 27.20.14501.18003

Added subscriber: @claudiotellis-2

Added subscriber: @claudiotellis-2

Hi,
I've had the same issue of rendering in cycles using RX480 8GB DDR5 GPU and Blenders 2.93.1
i rolled back my GPU drivers to Radeon Software Adrenalin 2020 Edition 19.12.2
link below.
https://www.amd.com/en/support/kb/release-notes/rn-rad-win-19-12-2

and its working perfectly now.
do try it and see if it helps.

Hi, I've had the same issue of rendering in cycles using RX480 8GB DDR5 GPU and Blenders 2.93.1 i rolled back my GPU drivers to Radeon Software Adrenalin 2020 Edition 19.12.2 link below. https://www.amd.com/en/support/kb/release-notes/rn-rad-win-19-12-2 and its working perfectly now. do try it and see if it helps.
Author

Thanks for your suggestion, I just tried it, and unfortunately it doesn't work, now it crashes in "Updating Device" no matter what I do :/, I uninstalled my updated drivers with DDU in safe mode, and installed the ones you suggested, but it's the same.

Thanks for your suggestion, I just tried it, and unfortunately it doesn't work, now it crashes in "Updating Device" no matter what I do :/, I uninstalled my updated drivers with DDU in safe mode, and installed the ones you suggested, but it's the same.

Added subscriber: @ThomasDinges

Added subscriber: @ThomasDinges

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

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

OpenCL rendering support was removed in Blender 3.0.
The combination of the limited Cycles kernel implementation, driver bugs, and stalled OpenCL standard
has made maintenance too difficult. Thanks for your report, but it's unlikely that there will be further fixes for OpenCL.

For AMD GPUs, there is a new backend based on the HIP platform.
In Blender 3.0, this is supported on Windows with RDNA and RDNA2 generation discrete graphics cards.
It includes Radeon RX 5000 and RX 6000 series GPUs. Driver version Radeon Pro 21.Q4 or newer is required.

https://wiki.blender.org/wiki/Reference/Release_Notes/3.0/Cycles
https://code.blender.org/2021/11/next-level-support-for-amd-gpus/

OpenCL rendering support was removed in Blender 3.0. The combination of the limited Cycles kernel implementation, driver bugs, and stalled OpenCL standard has made maintenance too difficult. Thanks for your report, but it's unlikely that there will be further fixes for OpenCL. For AMD GPUs, there is a new backend based on the HIP platform. In Blender 3.0, this is supported on Windows with RDNA and RDNA2 generation discrete graphics cards. It includes Radeon RX 5000 and RX 6000 series GPUs. Driver version Radeon Pro 21.Q4 or newer is required. https://wiki.blender.org/wiki/Reference/Release_Notes/3.0/Cycles https://code.blender.org/2021/11/next-level-support-for-amd-gpus/
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
8 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#81075
No description provided.