Crash after deleting mesh objects while in rendered viewport (Cycles GPU - OpenCL) #73042

Closed
opened 2020-01-11 13:45:10 +01:00 by Claudio D. · 12 comments

System Information
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: Radeon RX Vega ATI Technologies Inc. 4.5.13586 Core Profile Context 19.12.2 26.20.15002.61

Blender Version
Broken: version: 2.82 (sub 6), branch: master, commit date: 2020-01-10 15:30, hash: 1cb938ef2c
Worked: same version on Eevee and Cycles set to render with CPU. Also works with Cycles GPU on version 2.81a

Short description of error
Blender crashes after deleting mesh objects. After further experimenting, seems to happen only if the object deleted is the last mesh object in the scene.

Exact steps for others to reproduce the error

  • Set renderer to Cycles GPU
  • Set viewport to rendered mode
  • Delete all mesh objects in the scene

Crash video default scene:
2020-01-11_13-26-39.mkv

Crash video several objects:
2020-01-11_13-48-36.mkv

**System Information** Operating system: Windows-10-10.0.18362-SP0 64 Bits Graphics card: Radeon RX Vega ATI Technologies Inc. 4.5.13586 Core Profile Context 19.12.2 26.20.15002.61 **Blender Version** Broken: version: 2.82 (sub 6), branch: master, commit date: 2020-01-10 15:30, hash: `1cb938ef2c` Worked: same version on Eevee and Cycles set to render with CPU. Also works with Cycles GPU on version 2.81a **Short description of error** Blender crashes after deleting mesh objects. After further experimenting, seems to happen only if the object deleted is the last mesh object in the scene. **Exact steps for others to reproduce the error** - Set renderer to Cycles GPU - Set viewport to rendered mode - Delete all mesh objects in the scene Crash video default scene: [2020-01-11_13-26-39.mkv](https://archive.blender.org/developer/F8269811/2020-01-11_13-26-39.mkv) Crash video several objects: [2020-01-11_13-48-36.mkv](https://archive.blender.org/developer/F8269820/2020-01-11_13-48-36.mkv)
Author

Added subscriber: @claudio-10

Added subscriber: @claudio-10
Member

Added subscriber: @Jeroen-Bakker

Added subscriber: @Jeroen-Bakker
Member

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

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

Unable to reproduce in Linux with AMD Pro Drivers. I was able to reproduce it in Windows with an old build and 19.12.2 drivers. I rechecked with latest master and I wasn't able to reproduce it anymore. Can you recheck with the latest version?

Error   : EXCEPTION_ACCESS_VIOLATION
Address : 0x00007FF9E27C6CA9
Module  : C:\WINDOWS\System32\DriverStore\FileRepository\u0349464.inf_amd64_789f2a8b5b866ccf\B349558\amdocl64.dll

It crashes in the driver.

Unable to reproduce in Linux with AMD Pro Drivers. I was able to reproduce it in Windows with an old build and 19.12.2 drivers. I rechecked with latest master and I wasn't able to reproduce it anymore. Can you recheck with the latest version? ``` Error : EXCEPTION_ACCESS_VIOLATION Address : 0x00007FF9E27C6CA9 Module : C:\WINDOWS\System32\DriverStore\FileRepository\u0349464.inf_amd64_789f2a8b5b866ccf\B349558\amdocl64.dll ``` It crashes in the driver.
Author

Can you recheck with the latest version?

Both scenarios mentioned still broken on latest version on builder at this point:
Broken: version: 2.82 (sub 6), branch: master, commit date: 2020-01-12 16:23, hash: 0ef881cc57

>>Can you recheck with the latest version? Both scenarios mentioned still broken on latest version on builder at this point: Broken: version: 2.82 (sub 6), branch: master, commit date: 2020-01-12 16:23, hash: `0ef881cc57`
Author

Not sure if useful, but tried it with latest 2.83 builder version and it is also broken:
Broken: version: 2.83 (sub 0), branch: master, commit date: 2020-01-14 06:12, hash: 1bcb2bfd57

Not sure if useful, but tried it with latest 2.83 builder version and it is also broken: Broken: version: 2.83 (sub 0), branch: master, commit date: 2020-01-14 06:12, hash: `1bcb2bfd57`

Changed status from 'Needs User Info' to: 'Needs Developer To Reproduce'

Changed status from 'Needs User Info' to: 'Needs Developer To Reproduce'

Added subscriber: @ZeeKhar

Added subscriber: @ZeeKhar

I have the same problem.
Fun fact, if I start with the rendered viewport (with GPU) without cubes, add one and delete it, I don't have this bug.

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: Radeon (TM) RX 480 Graphics ATI Technologies Inc. 4.5.13596 Core Profile Context 20.5.1 27.20.1017.1011

Blender Version
Broken: version: 2.83.0, branch: master, commit date: 2020-06-03 14:38, hash: 211b6c29f7, type: Release
Broken: version: 2.90.0 Alpha, branch: master, commit date: 2020-06-19 23:28, hash: 874af5301c, type: Release
Worked: version: 2.82 (sub 7), branch: master, commit date: 2020-03-12 05:06, hash: 375c7dc4ca, type: Release

In the debug I have this:

GL API deprecated behavior: glLineWidth uses wide lines (parameter <width> with value '0x0') which are deprecated and do not work outside of the compatibility context
OpenCL error: CL_INVALID_ARG_SIZE in clSetKernelArg( kernel, start_argument_index + current_arg_index, arg1.size, arg1.pointer) (c:\b\win64_cmake_vs2017\win64_cmake_vs2017\blender.git\intern\cycles\device\opencl\device_opencl_impl.cpp:2014)
OpenCL error (-52): CL_INVALID_KERNEL_ARGS in clEnqueueNDRangeKernel
OpenCL error: CL_INVALID_KERNEL_ARGS in clEnqueueNDRangeKernel()
Error   : EXCEPTION_ACCESS_VIOLATION
I have the same problem. Fun fact, if I start with the rendered viewport (with GPU) without cubes, add one and delete it, I don't have this bug. **System Information** Operating system: Windows-10-10.0.19041-SP0 64 Bits Graphics card: Radeon (TM) RX 480 Graphics ATI Technologies Inc. 4.5.13596 Core Profile Context 20.5.1 27.20.1017.1011 **Blender Version** Broken: version: 2.83.0, branch: master, commit date: 2020-06-03 14:38, hash: 211b6c29f7, type: Release Broken: version: 2.90.0 Alpha, branch: master, commit date: 2020-06-19 23:28, hash: 874af5301cdf, type: Release Worked: version: 2.82 (sub 7), branch: master, commit date: 2020-03-12 05:06, hash: 375c7dc4caf4, type: Release In the debug I have this: ``` GL API deprecated behavior: glLineWidth uses wide lines (parameter <width> with value '0x0') which are deprecated and do not work outside of the compatibility context OpenCL error: CL_INVALID_ARG_SIZE in clSetKernelArg( kernel, start_argument_index + current_arg_index, arg1.size, arg1.pointer) (c:\b\win64_cmake_vs2017\win64_cmake_vs2017\blender.git\intern\cycles\device\opencl\device_opencl_impl.cpp:2014) OpenCL error (-52): CL_INVALID_KERNEL_ARGS in clEnqueueNDRangeKernel OpenCL error: CL_INVALID_KERNEL_ARGS in clEnqueueNDRangeKernel() Error : EXCEPTION_ACCESS_VIOLATION ```

Added subscriber: @ThomasDinges

Added subscriber: @ThomasDinges

Changed status from 'Needs Developer To Reproduce' to: 'Archived'

Changed status from 'Needs Developer To Reproduce' 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
5 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#73042
No description provided.