Rendering with all collections disabled throws OpenCL error #90677

Closed
opened 2021-08-14 22:26:32 +02:00 by Joshua Blömer · 10 comments

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: Radeon (TM) RX 480 Graphics ATI Technologies Inc. 4.5.14830 Core Profile Context 21.Q2 27.20.21026.6

Blender Version
Broken: version: 2.93.1, branch: master, commit date: 2021-06-22 05:57, hash: 1b8d33b18c
Worked: (newest version of Blender that worked as expected)

Short description of error
Disabling Render visibility for all collections causes OpenCL error (-52): CL_INVALID_KERNEL_ARGS in clEnqueueNDRangeKernel when rendering with cycles and OpenCL GPU instead of rendering a blank image

Exact steps for others to reproduce the error

  • Open a new blend file
  • Change render engine to cycles and render device to GPU
  • Disable the render visibility of the collection
  • Press render
**System Information** Operating system: Windows-10-10.0.19041-SP0 64 Bits Graphics card: Radeon (TM) RX 480 Graphics ATI Technologies Inc. 4.5.14830 Core Profile Context 21.Q2 27.20.21026.6 **Blender Version** Broken: version: 2.93.1, branch: master, commit date: 2021-06-22 05:57, hash: `1b8d33b18c` Worked: (newest version of Blender that worked as expected) **Short description of error** Disabling Render visibility for all collections causes `OpenCL error (-52): CL_INVALID_KERNEL_ARGS in clEnqueueNDRangeKernel` when rendering with cycles and OpenCL GPU instead of rendering a blank image **Exact steps for others to reproduce the error** * Open a new blend file * Change render engine to cycles and render device to GPU * Disable the render visibility of the collection * Press render
Author

Added subscriber: @JYoshi

Added subscriber: @JYoshi
Contributor

Added subscriber: @IyadAhmed

Added subscriber: @IyadAhmed
Contributor

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

Changed status from 'Needs Triage' to: 'Confirmed'
Contributor

Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: Radeon RX 5500 XT ATI Technologies Inc. 4.5.14742 Core Profile Context 21.7.2 27.20.22021.1002

Confirmed on 2.93.1 LTS
version: 2.93.1, branch: master, commit date: 2021-06-22 05:57, hash: 1b8d33b18c, type: release
build date: 2021-06-22, 23:47:42
platform: Windows

and master

version: 3.0.0 Alpha, branch: master, commit date: 2021-08-14 20:50, hash: d5261e973b, type: Release
build date: 2021-08-14, 22:22:25
platform: 'Windows-10-10.0.19041-SP0'

image.png

Operating system: Windows-10-10.0.19041-SP0 64 Bits Graphics card: Radeon RX 5500 XT ATI Technologies Inc. 4.5.14742 Core Profile Context 21.7.2 27.20.22021.1002 Confirmed on 2.93.1 LTS version: 2.93.1, branch: master, commit date: 2021-06-22 05:57, hash: 1b8d33b18c2f, type: release build date: 2021-06-22, 23:47:42 platform: Windows and master version: 3.0.0 Alpha, branch: master, commit date: 2021-08-14 20:50, hash: d5261e973b56, type: Release build date: 2021-08-14, 22:22:25 platform: 'Windows-10-10.0.19041-SP0' ![image.png](https://archive.blender.org/developer/F10281463/image.png)
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

Can confirm as well

Since the issue is GPU specific, I am adding #eevee_viewport tag

System Information

Graphics card : AMD Radeon(TM) 535 ATI Technologies .```
Can confirm as well Since the issue is GPU specific, I am adding #eevee_viewport tag **System Information** ```Operating system : Windows-10-10.0.18362-SP0 64 Bits Graphics card : AMD Radeon(TM) 535 ATI Technologies .```

Added subscriber: @ThomasDinges

Added subscriber: @ThomasDinges

Changed status from 'Confirmed' to: 'Archived'

Changed status from 'Confirmed' 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/
Member

OpenCL rendering support was removed in Blender 3.0.

Hi Thomas. But this issue can be easily reproduced on "LTS".

> OpenCL rendering support was removed in Blender 3.0. Hi Thomas. But this issue can be easily reproduced on "LTS".
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#90677
No description provided.