Cycles GPU crash when switching to Rendered 3DViewport --MacOS 13.1-- AMD Radeon RX 6900 XT #104087

Closed
opened 2023-01-23 12:36:29 +01:00 by Stoil Vatev · 5 comments

System Information
Operating system: macOS-13.1-x86_64-i386-64bit 64 Bits
Graphics card: Metal API AMD Radeon RX 6900 XT 1.2

Blender Version
Broken: version: 3.5.0 Alpha, branch: master, commit date: 2023-01-22 23:55, hash: 93a840360a
Worked: (newest version of Blender that worked as expected)

Short description of error
Instant crash of blender when switching to rendered 3DView.
PS: When switching to CPU there is no crash. Only GPU !

Exact steps for others to reproduce the error
Open empty scene provided below and switch to rendered 3DView.
It doesn't give me a crash report, it just closes the program instantly.
The same happens with Blender 3.4.1

GPU_crash.blend
Screenshot 2023-01-23 at 13.23.44 copy.png

Thanks in advance.

0   libsystem_kernel.dylib        	    0x7ff802e6222a __pthread_kill + 10\
1   libsystem_pthread.dylib       	    0x7ff802e99f7b pthread_kill + 263\
2   libsystem_c.dylib             	    0x7ff802de3d3f __abort + 139\
3   libsystem_c.dylib             	    0x7ff802de3cb4 abort + 138\
4   Blender                       	       0x1121293f5 sigbus_handler.cold.1 + 37\
5   Blender                       	       0x111c896d1 sigbus_handler + 161\
6   libsystem_platform.dylib      	    0x7ff802ec4c1d _sigtramp + 29\
7   CoreFoundation                	    0x7ff802f01bf5 ____NSDictionaryI_new_block_invoke + 381\
8   Metal                         	    0x7ff80c550f23 mdb_page_search + 164\
9   Metal                         	    0x7ff80c54d563 mdb_cursor_first + 62\
10  Metal                         	    0x7ff80c54cb9e mdb_cursor_get + 198\
11  Metal                         	    0x7ff80c54dc72 mdb_page_alloc + 458\
12  Metal                         	    0x7ff80c551293 mdb_page_touch + 100\
13  Metal                         	    0x7ff80c54d8d6 mdb_cursor_touch + 56\
14  Metal                         	    0x7ff80c54b4ae mdb_cursor_put + 593\
15  Metal                         	    0x7ff80c550699 mdb_put + 187\
16  Metal                         	    0x7ff80c439a29 MTLArchiveUsageDB::store(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned int, unsigned int, unsigned long) + 225\
17  Metal                         	    0x7ff80c4abec8 -[_MTLDevice recordBinaryArchiveUsage:] + 246\
18  Metal                         	    0x7ff80c47208f -[_MTLBinaryArchive loadFromURL:error:] + 570\
19  Metal                         	    0x7ff80c475ed1 -[_MTLBinaryArchive airntSerializeToURL:options:error:] + 1412\
20  Blender                       	       0x10a5ce6ba ccl::MetalKernelPipeline::compile() + 5370\
21  Blender                       	       0x10a5ccb6c ccl::ShaderCache::compile_thread_func(int) + 524\
22  Blender                       	       0x10a5d010d void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, ccl::ShaderCache::load_kernel(ccl::DeviceKernel, ccl::MetalDevice*, ccl::MetalPipelineType)::$_1> >(void*) + 45\
23  libsystem_pthread.dylib       	    0x7ff802e9a259 _pthread_start + 125\
24  libsystem_pthread.dylib       	    0x7ff802e95c7b thread_start + 15\```
**System Information** Operating system: macOS-13.1-x86_64-i386-64bit 64 Bits Graphics card: Metal API AMD Radeon RX 6900 XT 1.2 **Blender Version** Broken: version: 3.5.0 Alpha, branch: master, commit date: 2023-01-22 23:55, hash: `93a840360a` Worked: (newest version of Blender that worked as expected) **Short description of error** Instant crash of blender when switching to rendered 3DView. PS: When switching to CPU there is no crash. Only GPU ! **Exact steps for others to reproduce the error** Open empty scene provided below and switch to rendered 3DView. It doesn't give me a crash report, it just closes the program instantly. The same happens with Blender 3.4.1 [GPU_crash.blend](https://archive.blender.org/developer/F14187236/GPU_crash.blend) ![Screenshot 2023-01-23 at 13.23.44 copy.png](https://archive.blender.org/developer/F14187263/Screenshot_2023-01-23_at_13.23.44_copy.png) Thanks in advance. ```Thread 83 Crashed:\ 0 libsystem_kernel.dylib 0x7ff802e6222a __pthread_kill + 10\ 1 libsystem_pthread.dylib 0x7ff802e99f7b pthread_kill + 263\ 2 libsystem_c.dylib 0x7ff802de3d3f __abort + 139\ 3 libsystem_c.dylib 0x7ff802de3cb4 abort + 138\ 4 Blender 0x1121293f5 sigbus_handler.cold.1 + 37\ 5 Blender 0x111c896d1 sigbus_handler + 161\ 6 libsystem_platform.dylib 0x7ff802ec4c1d _sigtramp + 29\ 7 CoreFoundation 0x7ff802f01bf5 ____NSDictionaryI_new_block_invoke + 381\ 8 Metal 0x7ff80c550f23 mdb_page_search + 164\ 9 Metal 0x7ff80c54d563 mdb_cursor_first + 62\ 10 Metal 0x7ff80c54cb9e mdb_cursor_get + 198\ 11 Metal 0x7ff80c54dc72 mdb_page_alloc + 458\ 12 Metal 0x7ff80c551293 mdb_page_touch + 100\ 13 Metal 0x7ff80c54d8d6 mdb_cursor_touch + 56\ 14 Metal 0x7ff80c54b4ae mdb_cursor_put + 593\ 15 Metal 0x7ff80c550699 mdb_put + 187\ 16 Metal 0x7ff80c439a29 MTLArchiveUsageDB::store(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned int, unsigned int, unsigned long) + 225\ 17 Metal 0x7ff80c4abec8 -[_MTLDevice recordBinaryArchiveUsage:] + 246\ 18 Metal 0x7ff80c47208f -[_MTLBinaryArchive loadFromURL:error:] + 570\ 19 Metal 0x7ff80c475ed1 -[_MTLBinaryArchive airntSerializeToURL:options:error:] + 1412\ 20 Blender 0x10a5ce6ba ccl::MetalKernelPipeline::compile() + 5370\ 21 Blender 0x10a5ccb6c ccl::ShaderCache::compile_thread_func(int) + 524\ 22 Blender 0x10a5d010d void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, ccl::ShaderCache::load_kernel(ccl::DeviceKernel, ccl::MetalDevice*, ccl::MetalPipelineType)::$_1> >(void*) + 45\ 23 libsystem_pthread.dylib 0x7ff802e9a259 _pthread_start + 125\ 24 libsystem_pthread.dylib 0x7ff802e95c7b thread_start + 15\```
Author

Added subscriber: @StoilVatev

Added subscriber: @StoilVatev
Member

Added subscribers: @Michael-Jones, @brecht, @PratikPB2123

Added subscribers: @Michael-Jones, @brecht, @PratikPB2123
Member

@brecht @Michael-Jones , can you check?

@brecht @Michael-Jones , can you check?
Michael Jones (Apple) self-assigned this 2023-01-24 18:20:19 +01:00

I tried these repro steps using the same build on a 6900-based Mac and didn't observe a crash. I was able to pan around the classroom scene in live viewport mode as expected, however I did encounter a system restart when trying to do an offline render so clearly something is not quite right. I will investigate further.

I tried these repro steps using the same build on a 6900-based Mac and didn't observe a crash. I was able to pan around the classroom scene in live viewport mode as expected, however I did encounter a system restart when trying to do an offline render so clearly *something* is not quite right. I will investigate further.
Author

Hello,
I tried to render the classroom scene.
The program crashed again but gave me the following report:
Problem Report from Blender.rtf

The version of blender I'm currently using is:
647cffc001
Screenshot 2023-01-27 at 4.20.28.png

Hello, I tried to render the classroom scene. The program crashed again but gave me the following report: [Problem Report from Blender.rtf](https://archive.blender.org/developer/F14201870/Problem_Report_from_Blender.rtf) The version of blender I'm currently using is: 647cffc00163 ![Screenshot 2023-01-27 at 4.20.28.png](https://archive.blender.org/developer/F14201888/Screenshot_2023-01-27_at_4.20.28.png)
Philipp Oeser removed the
Interest
Render & Cycles
label 2023-02-09 14:04:23 +01:00
Blender Bot added
Status
Resolved
and removed
Status
Needs Triage
labels 2023-02-24 17:52:51 +01: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
3 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#104087
No description provided.