Blender 3.1a sticks and doesn't render when rendering with Metal GPU on Mac #94858

Open
opened 2022-01-12 21:19:22 +01:00 by cotooleimages@gmail.com · 11 comments

System Information
Operating system: macOS-12.1-arm64-arm-64bit 64 Bits
Graphics card: Apple M1 Max Apple 4.1 Metal - 76.3

Blender Version
Broken: version: 3.1.0 Alpha, branch: master, commit date: 2022-01-10 22:45, hash: 922ae55a16
Worked: This project rendered on the same 3.1a build on the CPU, just not on the GPU.

Short description of error
When I render this scene on the GPU, blender just sticks and doesn't render. (Blender 3.1a has always rendered other scenes perfectly on the GPU.)

Exact steps for others to reproduce the error

  • Open .blend file
  • Render as Image (F12)
    The issue may be at the fault of either the fact that I have displacement on the plane, or that I have 2 render layers
    try1.blend
**System Information** Operating system: macOS-12.1-arm64-arm-64bit 64 Bits Graphics card: Apple M1 Max Apple 4.1 Metal - 76.3 **Blender Version** Broken: version: 3.1.0 Alpha, branch: master, commit date: 2022-01-10 22:45, hash: `922ae55a16` Worked: This project rendered on the same 3.1a build on the CPU, just not on the GPU. **Short description of error** When I render this scene on the GPU, blender just sticks and doesn't render. (Blender 3.1a has always rendered other scenes perfectly on the GPU.) **Exact steps for others to reproduce the error** - Open .blend file - Render as Image (`F12`) The issue may be at the fault of either the fact that I have displacement on the plane, or that I have 2 render layers [try1.blend](https://archive.blender.org/developer/F12802645/try1.blend)

Added subscriber: @BlenderChris

Added subscriber: @BlenderChris

Added subscriber: @iss

Added subscriber: @iss

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

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

Not sure if I understand this report - do you mean, that when you render the image, nothing will happen? Checking here this causes crash, but I waned to clarify before I confirm.

Not sure if I understand this report - do you mean, that when you render the image, nothing will happen? Checking here this causes crash, but I waned to clarify before I confirm.

In #94858#1290454, @iss wrote:
Not sure if I understand this report - do you mean, that when you render the image, nothing will happen? Checking here this causes crash, but I waned to clarify before I confirm.

Yes. That's what I'm meaning. Just simply render the image.

> In #94858#1290454, @iss wrote: > Not sure if I understand this report - do you mean, that when you render the image, nothing will happen? Checking here this causes crash, but I waned to clarify before I confirm. Yes. That's what I'm meaning. Just simply render the image.
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

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

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

Thanks for the report. I get the crash when rendering your scene
Even appear before the the Cycles-X merge. Need to find when exactly it came.

This project rendered on the same 3.1a build on the CPU,

I can reproduce on CPU.

blender.exe         :0x00007FF621CFF700  image_acquire_ibuf
blender.exe         :0x00007FF621CF8150  BKE_image_acquire_ibuf
blender.exe         :0x00007FF6222AC990  Image_size_get
blender.exe         :0x00007FF622DF48F0  ccl::BlenderImageLoader::load_metadata
blender.exe         :0x00007FF623129680  ccl::ImageManager::load_image_metadata
blender.exe         :0x00007FF623128A00  ccl::ImageManager::device_load_image
blender.exe         :0x00007FF623127850  std::_Func_impl_no_alloc<std::_Binder<std::_Unforced,void (__cdecl ccl::ImageManager::*)(ccl::Devic
blender.exe         :0x00007FF62613B340  tbb::internal::function_task<std::function<void __cdecl(void)> >::execute
tbb.dll             :0x00007FFBAF48F690  tbb::recursive_mutex::scoped_lock::internal_try_acquire
tbb.dll             :0x00007FFBAF48F690  tbb::recursive_mutex::scoped_lock::internal_try_acquire
tbb.dll             :0x00007FFBAF4851B0  tbb::interface7::internal::isolate_within_arena
tbb.dll             :0x00007FFBAF48A470  tbb::task_scheduler_init::terminate
tbb.dll             :0x00007FFBAF48DBD0  tbb::thread_bound_filter::try_process_item
tbb.dll             :0x00007FFBAF48DBD0  tbb::thread_bound_filter::try_process_item
ucrtbase.dll        :0x00007FFBC3051B20  configthreadlocale
KERNEL32.DLL        :0x00007FFBC3927020  BaseThreadInitThunk
ntdll.dll           :0x00007FFBC5842630  RtlUserThreadStart```
Thanks for the report. I get the crash when rendering your scene Even appear before the the Cycles-X merge. Need to find when exactly it came. > This project rendered on the same 3.1a build on the CPU, I can reproduce on CPU. ```lines=10 blender.exe :0x00007FF621CFF700 image_acquire_ibuf blender.exe :0x00007FF621CF8150 BKE_image_acquire_ibuf blender.exe :0x00007FF6222AC990 Image_size_get blender.exe :0x00007FF622DF48F0 ccl::BlenderImageLoader::load_metadata blender.exe :0x00007FF623129680 ccl::ImageManager::load_image_metadata blender.exe :0x00007FF623128A00 ccl::ImageManager::device_load_image blender.exe :0x00007FF623127850 std::_Func_impl_no_alloc<std::_Binder<std::_Unforced,void (__cdecl ccl::ImageManager::*)(ccl::Devic blender.exe :0x00007FF62613B340 tbb::internal::function_task<std::function<void __cdecl(void)> >::execute tbb.dll :0x00007FFBAF48F690 tbb::recursive_mutex::scoped_lock::internal_try_acquire tbb.dll :0x00007FFBAF48F690 tbb::recursive_mutex::scoped_lock::internal_try_acquire tbb.dll :0x00007FFBAF4851B0 tbb::interface7::internal::isolate_within_arena tbb.dll :0x00007FFBAF48A470 tbb::task_scheduler_init::terminate tbb.dll :0x00007FFBAF48DBD0 tbb::thread_bound_filter::try_process_item tbb.dll :0x00007FFBAF48DBD0 tbb::thread_bound_filter::try_process_item ucrtbase.dll :0x00007FFBC3051B20 configthreadlocale KERNEL32.DLL :0x00007FFBC3927020 BaseThreadInitThunk ntdll.dll :0x00007FFBC5842630 RtlUserThreadStart```

Added subscriber: @mano-wii

Added subscriber: @mano-wii

In fact there is a problem with tiled images causing a crash that prevents testing the original reported bug.
It is important to know what causes the crash and to report it separately.
I'll keep the file to investigate further.

In fact there is a problem with tiled images causing a crash that prevents testing the original reported bug. It is important to know what causes the crash and to report it separately. I'll keep the file to investigate further.

Thank you very much! I was so stoked when Metal came in but kinda disappointed when I ran into this bug.

Thank you very much! I was so stoked when Metal came in but kinda disappointed when I ran into this bug.
Philipp Oeser removed the
Interest
Render & Cycles
label 2023-02-09 14:03:22 +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
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#94858
No description provided.