Multiresolution Crashes when applying the 6th subdivision #115952

Open
opened 2023-12-08 19:09:12 +01:00 by Sven Reinold · 13 comments

Operating system: Windows 10 64 bit
Intel Core i7 8700K
64GB RAM
Graphics card: Nvidia RTX 3060 12GB

Blender Version
Broken: 3.6.5.
Worked: I don't know, since i made the model in 3.6.5.

Crash when applying the 6th subdivision to the mesh.

I have a model that needs enough details for sculpting. 5 subdivisions are not enough. 18 million polygons are not the amount i need to get skin details. 72 million would be the next step but it crashes halfway. Is 72 million too much for my Graphics card? It sits at 3.6 GB VRAM and 4.2 GB RAM.

Operating system: Windows 10 64 bit Intel Core i7 8700K 64GB RAM Graphics card: Nvidia RTX 3060 12GB **Blender Version** Broken: 3.6.5. Worked: I don't know, since i made the model in 3.6.5. Crash when applying the 6th subdivision to the mesh. I have a model that needs enough details for sculpting. 5 subdivisions are not enough. 18 million polygons are not the amount i need to get skin details. 72 million would be the next step but it crashes halfway. Is 72 million too much for my Graphics card? It sits at 3.6 GB VRAM and 4.2 GB RAM.
Sven Reinold added the
Type
Report
Status
Needs Triage
Priority
Normal
labels 2023-12-08 19:09:13 +01:00

How much RAM do you have? On linux with RTX3060 and 48GB RAM it does not crash, but fails to render mesh... with GPU subdiv disabled I get crash, but probably because system is out of memory.

How much RAM do you have? On linux with RTX3060 and 48GB RAM it does not crash, but fails to render mesh... with GPU subdiv disabled I get crash, but probably because system is out of memory.
Author

How much RAM do you have? On linux with RTX3060 and 48GB RAM it does not crash, but fails to render mesh... with GPU subdiv disabled I get crash, but probably because system is out of memory.

I wrote that i have 64 GB RAM. I monitored my RAM and it went up to 55%.

> How much RAM do you have? On linux with RTX3060 and 48GB RAM it does not crash, but fails to render mesh... with GPU subdiv disabled I get crash, but probably because system is out of memory. I wrote that i have 64 GB RAM. I monitored my RAM and it went up to 55%.

Unfortunately, that doesn't necessarily tell the full story. At such high subd levels, multiple GB of memory can be allocated at once. In such case OS can say "nope" and Blender just gives up.

In any case, I have tried checking this with debugger and it worked without crash (even though mesh was broken). But this was with 4.1 alpha. Please check if this hapens with alpha build from https://builder.blender.org/download/daily/

Unfortunately, that doesn't necessarily tell the full story. At such high subd levels, multiple GB of memory can be allocated at once. In such case OS can say "nope" and Blender just gives up. In any case, I have tried checking this with debugger and it worked without crash (even though mesh was broken). But this was with 4.1 alpha. Please check if this hapens with alpha build from https://builder.blender.org/download/daily/

Checked with 3.6, still don't get crash though. Not even sure if this is out of memory issue, since half of the mesh uses only about 20G of memory...

Checked with 3.6, still don't get crash though. Not even sure if this is out of memory issue, since half of the mesh uses only about 20G of memory...
Author

It's definitely not an out of memory issue. Blender 4.1 alpha closes just like the other versions. The resource monitor show a peak of 56% of 64GB RAM. It's just a closing without a error message.

-I saw that sculpt mode uses less memory so i tried the subdivision there and it worked. I have a 77.5 million mesh with 6.43GiB RAM and 8.4 GiB of VRAM. The problem is the viewport that seems to cause the crash.

It's definitely not an out of memory issue. Blender 4.1 alpha closes just like the other versions. The resource monitor show a peak of 56% of 64GB RAM. It's just a closing without a error message. -I saw that sculpt mode uses less memory so i tried the subdivision there and it worked. I have a 77.5 million mesh with 6.43GiB RAM and 8.4 GiB of VRAM. The problem is the viewport that seems to cause the crash.

@PratikPB2123 Can you check?

@PratikPB2123 Can you check?
Member

Hi, I can confirm the crash with 6 levels of subdivision. Release build did not generate crash info, I'll check debug build

Hi, I can confirm the crash with 6 levels of subdivision. Release build did not generate crash info, I'll check debug build
Member

In debug mode, I got an exception in nvoglv64.dll(is part of Nvidia drivers). So is it due to GPU subdivision?

In debug mode, I got an exception in `nvoglv64.dll`(is part of Nvidia drivers). So is it due to GPU subdivision?
Member

@atdynax , can you check without GPU subdivision? (without GPU subdiv: my system got frozen and had to do restart at 6 levels)

Maybe code profiling tool will help us to identify the problem

@atdynax , can you check without GPU subdivision? (without GPU subdiv: my system got frozen and had to do restart at 6 levels) Maybe code profiling tool will help us to identify the problem
Pratik Borhade added
Status
Needs Information from User
and removed
Status
Needs Triage
labels 2023-12-13 10:42:09 +01:00
Author

@PratikPB2123 I don't use GPU subdivision. So my problem is without GPU-Subdiv. I had to search for it because i had no idea what it is.

@PratikPB2123 I don't use GPU subdivision. So my problem is without GPU-Subdiv. I had to search for it because i had no idea what it is.
Blender Bot added
Status
Archived
and removed
Status
Needs Information from User
labels 2023-12-13 19:17:46 +01:00
Blender Bot added
Status
Needs Triage
and removed
Status
Archived
labels 2023-12-13 19:19:10 +01:00
Member

Since exception occurred in nvoglv64.dll I would relate it with NVIDIA drivers.
Can you share crash log generated on your device?:

Please open Blender's installation directory and double click on the blender_debug_gpu.cmd. This will start Blender in debug mode and create log files. Try to reproduce the
error again. Once it crashes or you close Blender manually the Windows Explorer should open and show you up to two files, a debug log and the system information. Add them
to your bug report by clicking on the upload button as shown in the screenshot below or via drag and drop. Please also upload the crash log located in C:\Users\[your username]\AppData\Local\Temp\[project name].crash.txt (or simply type %TEMP% into the path bar of the Windows Explorer).2019_12_04_upload_icon_developer_blender_org.png

Since exception occurred in `nvoglv64.dll` I would relate it with NVIDIA drivers. Can you share crash log generated on your device?: > Please open Blender's installation directory and double click on the `blender_debug_gpu.cmd`. This will start Blender in debug mode and create log files. Try to reproduce the error again. Once it crashes or you close Blender manually the Windows Explorer should open and show you up to two files, a debug log and the system information. Add them to your bug report by clicking on the upload button as shown in the screenshot below or via drag and drop. Please also upload the crash log located in `C:\Users\[your username]\AppData\Local\Temp\[project name].crash.txt` (or simply type `%TEMP%` into the path bar of the Windows Explorer).![2019_12_04_upload_icon_developer_blender_org.png](https://archive.blender.org/developer/F8190038/2019_12_04_upload_icon_developer_blender_org.png)
Pratik Borhade added
Status
Needs Information from User
and removed
Status
Needs Triage
labels 2023-12-14 07:01:38 +01:00
Member

Unfortunately stack trace is empty. Confirming anyways since I'm able to replicate the crash.
Modelling/EEVEE devs may able to figure out the problem here.

Unfortunately stack trace is empty. Confirming anyways since I'm able to replicate the crash. Modelling/EEVEE devs may able to figure out the problem here.
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
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#115952
No description provided.