System crash when using overlay/outline selected on a 64 subdiv default cube on viewport shading #103316

Closed
opened 2022-12-18 12:29:01 +01:00 by jean-martin · 11 comments

System Information
Operating system: Linux-5.15.0-56-lowlatency-x86_64-with-glibc2.35 64 Bits
Graphics card: AMD Radeon RX 6800 XT (navi21, LLVM 15.0.6, DRM 3.49, 5.15.0-56-lowlatency) AMD 4.6 (Core Profile) Mesa 22.3.1 - kisak-mesa PPA, rocm 5.4.1

Blender Version
Broken: version: 3.4.0, branch: blender-v3.4-release, commit date: 2022-12-06 18:46, hash: a95bf1ac01
Worked: never worked with HIP

Short description of error
System freeze then shut down the session and back to login screen when rotating a 64 subdiv default cube with /overlay/outline selected activated

Exact steps for others to reproduce the error
Just subdiv 64 a default cube, go to viewport shading cycles/GPU with /overlay/outline selected activated and try to rotate the cube in the viewport, should crash the system after a few tries.

rocminfo
ROCk module is loaded
=====================    
HSA System Attributes    
=====================    
Runtime Version:         1.1
System Timestamp Freq.:  1000.000000MHz
Sig. Max Wait Duration:  18446744073709551615 (0xFFFFFFFFFFFFFFFF) (timestamp count)
Machine Model:           LARGE                              
System Endianness:       LITTLE                             

==========               
HSA Agents               
==========               
*******Agent 1*******                  
  Name:                    Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz
  Uuid:                    CPU-XX                             
  Marketing Name:          Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz
  Vendor Name:             CPU                                
  Feature:                 None specified                     
  Profile:                 FULL_PROFILE                       
  Float Round Mode:        NEAR                               
  Max Queue Number:        0(0x0)                             
  Queue Min Size:          0(0x0)                             
  Queue Max Size:          0(0x0)                             
  Queue Type:              MULTI                              
  Node:                    0                                  
  Device Type:             CPU                                
  Cache Info:              
    L1:                      32768(0x8000) KB                   
  Chip ID:                 0(0x0)                             
  ASIC Revision:           0(0x0)                             
  Cacheline Size:          64(0x40)                           
  Max Clock Freq. (MHz):   3600                               
  BDFID:                   0                                  
  Internal Node ID:        0                                  
  Compute Unit:            8                                  
  SIMDs per CU:            0                                  
  Shader Engines:          0                                  
  Shader Arrs. per Eng.:   0                                  
  WatchPts on Addr. Ranges:1                                  
  Features:                None
  Pool Info:               
    Pool 1                   
      Segment:                 GLOBAL; FLAGS: FINE GRAINED        
      Size:                    32732384(0x1f374e0) KB             
      Allocatable:             TRUE                               
      Alloc Granule:           4KB                                
      Alloc Alignment:         4KB                                
      Accessible by all:       TRUE                               
    Pool 2                   
      Segment:                 GLOBAL; FLAGS: KERNARG, FINE GRAINED
      Size:                    32732384(0x1f374e0) KB             
      Allocatable:             TRUE                               
      Alloc Granule:           4KB                                
      Alloc Alignment:         4KB                                
      Accessible by all:       TRUE                               
    Pool 3                   
      Segment:                 GLOBAL; FLAGS: COARSE GRAINED      
      Size:                    32732384(0x1f374e0) KB             
      Allocatable:             TRUE                               
      Alloc Granule:           4KB                                
      Alloc Alignment:         4KB                                
      Accessible by all:       TRUE                               
  ISA Info:                
*******Agent 2*******                  
  Name:                    gfx1030                            
  Uuid:                    GPU-ccee8ce06d46fe56               
  Marketing Name:          AMD Radeon RX 6800 XT              
  Vendor Name:             AMD                                
  Feature:                 KERNEL_DISPATCH                    
  Profile:                 BASE_PROFILE                       
  Float Round Mode:        NEAR                               
  Max Queue Number:        128(0x80)                          
  Queue Min Size:          64(0x40)                           
  Queue Max Size:          131072(0x20000)                    
  Queue Type:              MULTI                              
  Node:                    1                                  
  Device Type:             GPU                                
  Cache Info:              
    L1:                      16(0x10) KB                        
    L2:                      4096(0x1000) KB                    
    L3:                      131072(0x20000) KB                 
  Chip ID:                 29631(0x73bf)                      
  ASIC Revision:           1(0x1)                             
  Cacheline Size:          64(0x40)                           
  Max Clock Freq. (MHz):   2575                               
  BDFID:                   768                                
  Internal Node ID:        1                                  
  Compute Unit:            72                                 
  SIMDs per CU:            2                                  
  Shader Engines:          8                                  
  Shader Arrs. per Eng.:   2                                  
  WatchPts on Addr. Ranges:4                                  
  Features:                KERNEL_DISPATCH 
  Fast F16 Operation:      TRUE                               
  Wavefront Size:          32(0x20)                           
  Workgroup Max Size:      1024(0x400)                        
  Workgroup Max Size per Dimension:
    x                        1024(0x400)                        
    y                        1024(0x400)                        
    z                        1024(0x400)                        
  Max Waves Per CU:        32(0x20)                           
  Max Work-item Per CU:    1024(0x400)                        
  Grid Max Size:           4294967295(0xffffffff)             
  Grid Max Size per Dimension:
    x                        4294967295(0xffffffff)             
    y                        4294967295(0xffffffff)             
    z                        4294967295(0xffffffff)             
  Max fbarriers/Workgrp:   32                                 
  Pool Info:               
    Pool 1                   
      Segment:                 GLOBAL; FLAGS: COARSE GRAINED      
      Size:                    16760832(0xffc000) KB              
      Allocatable:             TRUE                               
      Alloc Granule:           4KB                                
      Alloc Alignment:         4KB                                
      Accessible by all:       FALSE                              
    Pool 2                   
      Segment:                 GROUP                              
      Size:                    64(0x40) KB                        
      Allocatable:             FALSE                              
      Alloc Granule:           0KB                                
      Alloc Alignment:         0KB                                
      Accessible by all:       FALSE                              
  ISA Info:                
    ISA 1                    
      Name:                    amdgcn-amd-amdhsa--gfx1030         
      Machine Models:          HSA_MACHINE_MODEL_LARGE            
      Profiles:                HSA_PROFILE_BASE                   
      Default Rounding Mode:   NEAR                               
      Default Rounding Mode:   NEAR                               
      Fast f16:                TRUE                               
      Workgroup Max Size:      1024(0x400)                        
      Workgroup Max Size per Dimension:
        x                        1024(0x400)                        
        y                        1024(0x400)                        
        z                        1024(0x400)                        
      Grid Max Size:           4294967295(0xffffffff)             
      Grid Max Size per Dimension:
        x                        4294967295(0xffffffff)             
        y                        4294967295(0xffffffff)             
        z                        4294967295(0xffffffff)             
      FBarrier Max Size:       32                                 
***Done***   
**System Information** Operating system: Linux-5.15.0-56-lowlatency-x86_64-with-glibc2.35 64 Bits Graphics card: AMD Radeon RX 6800 XT (navi21, LLVM 15.0.6, DRM 3.49, 5.15.0-56-lowlatency) AMD 4.6 (Core Profile) Mesa 22.3.1 - kisak-mesa PPA, rocm 5.4.1 **Blender Version** Broken: version: 3.4.0, branch: blender-v3.4-release, commit date: 2022-12-06 18:46, hash: `a95bf1ac01` Worked: never worked with HIP **Short description of error** System freeze then shut down the session and back to login screen when rotating a 64 subdiv default cube with /overlay/outline selected activated **Exact steps for others to reproduce the error** Just subdiv 64 a default cube, go to viewport shading cycles/GPU with /overlay/outline selected activated and try to rotate the cube in the viewport, should crash the system after a few tries. ``` rocminfo ROCk module is loaded ===================== HSA System Attributes ===================== Runtime Version: 1.1 System Timestamp Freq.: 1000.000000MHz Sig. Max Wait Duration: 18446744073709551615 (0xFFFFFFFFFFFFFFFF) (timestamp count) Machine Model: LARGE System Endianness: LITTLE ========== HSA Agents ========== *******Agent 1******* Name: Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz Uuid: CPU-XX Marketing Name: Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz Vendor Name: CPU Feature: None specified Profile: FULL_PROFILE Float Round Mode: NEAR Max Queue Number: 0(0x0) Queue Min Size: 0(0x0) Queue Max Size: 0(0x0) Queue Type: MULTI Node: 0 Device Type: CPU Cache Info: L1: 32768(0x8000) KB Chip ID: 0(0x0) ASIC Revision: 0(0x0) Cacheline Size: 64(0x40) Max Clock Freq. (MHz): 3600 BDFID: 0 Internal Node ID: 0 Compute Unit: 8 SIMDs per CU: 0 Shader Engines: 0 Shader Arrs. per Eng.: 0 WatchPts on Addr. Ranges:1 Features: None Pool Info: Pool 1 Segment: GLOBAL; FLAGS: FINE GRAINED Size: 32732384(0x1f374e0) KB Allocatable: TRUE Alloc Granule: 4KB Alloc Alignment: 4KB Accessible by all: TRUE Pool 2 Segment: GLOBAL; FLAGS: KERNARG, FINE GRAINED Size: 32732384(0x1f374e0) KB Allocatable: TRUE Alloc Granule: 4KB Alloc Alignment: 4KB Accessible by all: TRUE Pool 3 Segment: GLOBAL; FLAGS: COARSE GRAINED Size: 32732384(0x1f374e0) KB Allocatable: TRUE Alloc Granule: 4KB Alloc Alignment: 4KB Accessible by all: TRUE ISA Info: *******Agent 2******* Name: gfx1030 Uuid: GPU-ccee8ce06d46fe56 Marketing Name: AMD Radeon RX 6800 XT Vendor Name: AMD Feature: KERNEL_DISPATCH Profile: BASE_PROFILE Float Round Mode: NEAR Max Queue Number: 128(0x80) Queue Min Size: 64(0x40) Queue Max Size: 131072(0x20000) Queue Type: MULTI Node: 1 Device Type: GPU Cache Info: L1: 16(0x10) KB L2: 4096(0x1000) KB L3: 131072(0x20000) KB Chip ID: 29631(0x73bf) ASIC Revision: 1(0x1) Cacheline Size: 64(0x40) Max Clock Freq. (MHz): 2575 BDFID: 768 Internal Node ID: 1 Compute Unit: 72 SIMDs per CU: 2 Shader Engines: 8 Shader Arrs. per Eng.: 2 WatchPts on Addr. Ranges:4 Features: KERNEL_DISPATCH Fast F16 Operation: TRUE Wavefront Size: 32(0x20) Workgroup Max Size: 1024(0x400) Workgroup Max Size per Dimension: x 1024(0x400) y 1024(0x400) z 1024(0x400) Max Waves Per CU: 32(0x20) Max Work-item Per CU: 1024(0x400) Grid Max Size: 4294967295(0xffffffff) Grid Max Size per Dimension: x 4294967295(0xffffffff) y 4294967295(0xffffffff) z 4294967295(0xffffffff) Max fbarriers/Workgrp: 32 Pool Info: Pool 1 Segment: GLOBAL; FLAGS: COARSE GRAINED Size: 16760832(0xffc000) KB Allocatable: TRUE Alloc Granule: 4KB Alloc Alignment: 4KB Accessible by all: FALSE Pool 2 Segment: GROUP Size: 64(0x40) KB Allocatable: FALSE Alloc Granule: 0KB Alloc Alignment: 0KB Accessible by all: FALSE ISA Info: ISA 1 Name: amdgcn-amd-amdhsa--gfx1030 Machine Models: HSA_MACHINE_MODEL_LARGE Profiles: HSA_PROFILE_BASE Default Rounding Mode: NEAR Default Rounding Mode: NEAR Fast f16: TRUE Workgroup Max Size: 1024(0x400) Workgroup Max Size per Dimension: x 1024(0x400) y 1024(0x400) z 1024(0x400) Grid Max Size: 4294967295(0xffffffff) Grid Max Size per Dimension: x 4294967295(0xffffffff) y 4294967295(0xffffffff) z 4294967295(0xffffffff) FBarrier Max Size: 32 ***Done*** ```
Author

Added subscriber: @jean-martin-barbut

Added subscriber: @jean-martin-barbut
Member

Added subscriber: @OmarEmaraDev

Added subscriber: @OmarEmaraDev
Member

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

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

After the crash happens, can you reboot the system and attach the output of sudo journalctl -b -1?
If you can login again without a reboot, can you attach the output of sudo dmesg?

After the crash happens, can you reboot the system and attach the output of `sudo journalctl -b -1`? If you can login again without a reboot, can you attach the output of `sudo dmesg`?

Added subscriber: @Jonathan-61

Added subscriber: @Jonathan-61
Author

Here is the output of sudo dmesg

Note that I had a similar crash on ubuntu 20.04.5 + all previous HIP compatible versions of Blender but there is a "change" : before Ubuntu 22.04.1 and Blender 3.4, I had to reboot the computer. Now it "just" automatically put me back on the Ubuntu login screen.

dmesg.txt

Here is the output of ```sudo dmesg``` Note that I had a similar crash on ubuntu 20.04.5 + all previous HIP compatible versions of Blender but there is a "change" : before Ubuntu 22.04.1 and Blender 3.4, I had to reboot the computer. Now it "just" automatically put me back on the Ubuntu login screen. [dmesg.txt](https://archive.blender.org/developer/F14083097/dmesg.txt)

Added subscriber: @mod_moder

Added subscriber: @mod_moder

You subdivide the cube 64 times as a modifier
Or in edit mode?
There is a difference, the first - changes the degree of quantity, the second - multiplies.
If you were trying to do it as exponentiation, then it's just a memory size issue, I don't think any server today could fit a cube into 64 subdivision powers...

You subdivide the cube 64 times as a modifier Or in edit mode? There is a difference, the first - changes the degree of quantity, the second - multiplies. If you were trying to do it as exponentiation, then it's just a memory size issue, I don't think any server today could fit a cube into 64 subdivision powers...
Member

This is basically the same as #100353, #96408, #98907. Which is most likely an issue with the kernel driver itself. So probably nothing we can do in Blender itself from our side.

This is basically the same as #100353, #96408, #98907. Which is most likely an issue with the kernel driver itself. So probably nothing we can do in Blender itself from our side.
Member

Closed as duplicate of #100353

Closed as duplicate of #100353
Author

In #103316#1464401, @mod_moder wrote:
You subdivide the cube 64 times as a modifier
Or in edit mode?
There is a difference, the first - changes the degree of quantity, the second - multiplies.
If you were trying to do it as exponentiation, then it's just a memory size issue, I don't think any server today could fit a cube into 64 subdivision powers...

Right click in edit mode. And I have the bug on simple objects (but more complex than a cube). If I do this 64 subdived default cube on the same computer on mac/metal or windows/hip (I have a triple boot) , everything is fine. It happens at a time (can't say exactly when) where I suppose I reach and pass a certain amount of geometry. I've never used yet a 64x subdiv modifier !

For instance this object would also crash, it's a subdiv 3 modifier (but not in mac/metal or windows10) :

Capture d’écran 2022-12-22 à 15.11.16.png

> In #103316#1464401, @mod_moder wrote: > You subdivide the cube 64 times as a modifier > Or in edit mode? > There is a difference, the first - changes the degree of quantity, the second - multiplies. > If you were trying to do it as exponentiation, then it's just a memory size issue, I don't think any server today could fit a cube into 64 subdivision powers... Right click in edit mode. And I have the bug on simple objects (but more complex than a cube). If I do this 64 subdived default cube on the same computer on mac/metal or windows/hip (I have a triple boot) , everything is fine. It happens at a time (can't say exactly when) where I suppose I reach and pass a certain amount of geometry. I've never used yet a 64x subdiv modifier ! For instance this object would also crash, it's a subdiv 3 modifier (but not in mac/metal or windows10) : ![Capture d’écran 2022-12-22 à 15.11.16.png](https://archive.blender.org/developer/F14083461/Capture_d_e_cran_2022-12-22_a__15.11.16.png)
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#103316
No description provided.