Cycles OpenCL crash on GPU Compute render. #76983

Closed
opened 2020-05-23 01:36:36 +02:00 by Izydor Czajka · 4 comments

System Information
CPU: AMD Ryzen 7 3800X @ 3.9 GHz
RAM: G.Skill DDR4 2x8GB 3600MHz CL16
Mobo: MSI B450M PRO-VDH MAX
Operating system: Windows 10 Enterprise LTSC
Graphics card: Gigabyte Aorus RX 580 8GB
GPU Driver: Adrenalin 20.4.2

Blender Version
Broken: 2.79, 2.80, 2.81, 2.82a, 2.83, 2.90
Worked: none so far

Short description of error
Cycles fails to compile all the kernels to render the viewport or the final render and crashes when using GPU Compute. This happens regardless of the scene geometry. I'm not providing any .blend files because the default cube is enough to cause the crash.
After selecting the GPU Compute option and Cycles for the viewport render the top left of the screen shows information that it's loading kernels, after which the console window shows that it's throwing Access Violation exceptions, either in the KERNELBASE.dll file or amdocl64.dll file.
The viewport gets glitchy and after a while of Cycles attempting to compile all the kernels for the OpenCL render it gives up, throws one more exception and the application crashes.

It's pretty inconsistent, because sometimes it does manage to render the scene although it's pretty uncommon but still throws these Access Violation exceptions. It's also inconsistent due to the fact that sometimes it throws it from KERNELBASE.dll and sometimes amdocl64.dll.

What is consistent is the fact it always throws this exception when compiling the split_bundle OpenCL program.

Exact steps for others to reproduce the error

  1. Go to User Preferences->System and select OpenCL.
  2. Check the RX 580.
  3. Open the Render Properties panel and select Cycles with the Supported feature set and set it to GPU Compute.
  4. Blender should now crash in a matter of a minute or two.

Note that I also tried running the LuxCore renderer and I ran into the same issue. The graphics card is not faulty and I'm using the latest drivers.
Funnily enough, LuxMark uses LuxCore and somehow manages to complete the benchmark with the graphics card using OpenCL.

system-info.txt

**System Information** CPU: AMD Ryzen 7 3800X @ 3.9 GHz RAM: G.Skill DDR4 2x8GB 3600MHz CL16 Mobo: MSI B450M PRO-VDH MAX Operating system: Windows 10 Enterprise LTSC Graphics card: Gigabyte Aorus RX 580 8GB GPU Driver: Adrenalin 20.4.2 **Blender Version** Broken: 2.79, 2.80, 2.81, 2.82a, 2.83, 2.90 Worked: none so far **Short description of error** Cycles fails to compile all the kernels to render the viewport or the final render and crashes when using GPU Compute. This happens regardless of the scene geometry. I'm not providing any .blend files because the default cube is enough to cause the crash. After selecting the GPU Compute option and Cycles for the viewport render the top left of the screen shows information that it's loading kernels, after which the console window shows that it's throwing Access Violation exceptions, either in the `KERNELBASE.dll` file or `amdocl64.dll` file. The viewport gets glitchy and after a while of Cycles attempting to compile all the kernels for the OpenCL render it gives up, throws one more exception and the application crashes. It's pretty inconsistent, because sometimes it does manage to render the scene although it's pretty uncommon but still throws these Access Violation exceptions. It's also inconsistent due to the fact that sometimes it throws it from `KERNELBASE.dll` and sometimes `amdocl64.dll`. What is consistent is the fact it always throws this exception when compiling the `split_bundle` OpenCL program. **Exact steps for others to reproduce the error** 1. Go to User Preferences->System and select OpenCL. 2. Check the RX 580. 3. Open the Render Properties panel and select Cycles with the Supported feature set and set it to GPU Compute. 4. Blender should now crash in a matter of a minute or two. Note that I also tried running the LuxCore renderer and I ran into the same issue. The graphics card is not faulty and I'm using the latest drivers. Funnily enough, LuxMark uses LuxCore and somehow manages to complete the benchmark with the graphics card using OpenCL. [system-info.txt](https://archive.blender.org/developer/F8548648/system-info.txt)
Author

Added subscriber: @ClaymoreTF2

Added subscriber: @ClaymoreTF2

Added subscriber: @iss

Added subscriber: @iss

Can not reproduce with
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: Radeon RX550/550 Series ATI Technologies Inc. 4.5.13586 Core Profile Context 19.12.2 26.20.15002.61

Looking at #73444 it was merged, so I will merge this one as well.

Can not reproduce with Operating system: Windows-10-10.0.18362-SP0 64 Bits Graphics card: Radeon RX550/550 Series ATI Technologies Inc. 4.5.13586 Core Profile Context 19.12.2 26.20.15002.61 Looking at #73444 it was merged, so I will merge this one as well.

Closed as duplicate of #65924

Closed as duplicate of #65924
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
2 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#76983
No description provided.