ShadeSmooth to Torus caused Blender to Freeze Twice (but now can't reproduce error in same version) #107475

Closed
opened 2023-04-30 03:42:44 +02:00 by Phil-Sawa · 20 comments

System Information
Operating system: Linux Mint 20.3 Cinnamon
Graphics card: NVIDIA Corporation GP107M [GeForce GTX 1050 3 GB Max-Q]
OR Intel Corporation UHD Graphics 630 (Mobile) (prog-if 00 [VGA controller])

Blender Version
Broken: version: 3.5.0, branch: blender-v3.5-release, commit date: 2023-03-29 02:56
Worked: did not check

Short description of error
Made a Mesh Torus fine, but Blender froze twice when I tried to SHADE SMOOTH
Although when i scaled the torus down quite a bit, right clicking and selecting "shade smooth" did not cause the program to freeze on the third try.

Exact steps for others to reproduce the error
add> mesh> Torus
Right click torus > select "shade smooth" Blender Froze twice at this point
Could not reproduce the error on the third try.
The attached file was autosaved at the point right before the torus was "shade smooth"ed

**System Information** Operating system: Linux Mint 20.3 Cinnamon Graphics card: NVIDIA Corporation GP107M [GeForce GTX 1050 3 GB Max-Q] OR Intel Corporation UHD Graphics 630 (Mobile) (prog-if 00 [VGA controller]) **Blender Version** Broken: version: 3.5.0, branch: blender-v3.5-release, commit date: 2023-03-29 02:56 Worked: did not check **Short description of error** Made a Mesh Torus fine, but Blender froze twice when I tried to SHADE SMOOTH Although when i scaled the torus down quite a bit, right clicking and selecting "shade smooth" did not cause the program to freeze on the third try. **Exact steps for others to reproduce the error** add> mesh> Torus Right click torus > select "shade smooth" *Blender Froze twice at this point* Could not reproduce the error on the third try. The attached file was autosaved at the point right before the torus was "shade smooth"ed
Phil-Sawa added the
Priority
Normal
Type
Report
Status
Needs Triage
labels 2023-04-30 03:42:45 +02:00
Author

Not sure if this auto-generated file will help

Not sure if this auto-generated file will help
Member

Hi @Phil-Sawa ! I believe this is might be just shader compiling causing Blender to hang just a little bit. Any more information you can tell us about "Froze"? like if it completely stops responding indefinitely, or it hangs a little bit and resumes normal?

Hi @Phil-Sawa ! I believe this is might be just shader compiling causing Blender to hang just a little bit. Any more information you can tell us about "Froze"? like if it completely stops responding indefinitely, or it hangs a little bit and resumes normal?
YimingWu added
Status
Needs Information from User
and removed
Status
Needs Triage
labels 2023-04-30 08:45:26 +02:00
Author

Indefinitely stopped responding and I couldn't even quit out of it. had to restart or use system monitor to force quit.

Indefinitely stopped responding and I couldn't even quit out of it. had to restart or use system monitor to force quit.
Author

The thing that happened between when I had the two indefinite freezes and when it started working fine was this:
Had a cat sit on & press random keys on my keyboard : )

The thing that happened between when I had the two indefinite freezes and when it started working fine was this: Had a cat sit on & press random keys on my keyboard : )
Author

no joke! that same cat just typed the following:

no joke! that same cat just typed the following:
Author

Oh wait I continued the tutorial where it asks you to duplicate said torus 2 times.

Before I did I made sure I was following the previous step so I right-clicked and selected "Shade Smooth".

Now Blender has frozen indefinitely once again.

Just like the last 2 times, I can't even click the 'x' on the top right corner of the window to close it. It just stays open.

An interesting aside is that after I clicked "shade smooth" I was zooming in to get a closer look at the Torus. That is when the scrolling slowed down so I had to scroll farther to reach the same point I would have before. Tough to explain. The scrolling got slower and slower even though I was moving my finger on the mouse wheel at the same speed. Eventually it just didn't respond to my scrolling at all.

Hope this helps.

Oh wait I continued the tutorial where it asks you to duplicate said torus 2 times. Before I did I made sure I was following the previous step so I right-clicked and selected "Shade Smooth". Now Blender has frozen indefinitely once again. Just like the last 2 times, I can't even click the 'x' on the top right corner of the window to close it. It just stays open. An interesting aside is that after I clicked "shade smooth" I was zooming in to get a closer look at the Torus. That is when the scrolling slowed down so I had to scroll farther to reach the same point I would have before. Tough to explain. The scrolling got slower and slower even though I was moving my finger on the mouse wheel at the same speed. Eventually it just didn't respond to my scrolling at all. Hope this helps.
Author

When I checked system monitor it said Blender was using 10% of the CPU while it was frozen.

Opened Blender again and got as far as duplicating and placing the duplicated Torus once then Blender Froze indefinitely again.

When I checked system monitor it said Blender was using 10% of the CPU while it was frozen. Opened Blender again and got as far as duplicating and placing the duplicated Torus once then Blender Froze indefinitely again.
Author

On my third try today I quit out of Blender (Which system monitor said was using 12 percent while indefinitely Frozen)

Then I re-opened the same file.

Scaled and duplicated to Torus 2 times.

All without a slowdown or Freeze.

No cat sat on the keyboard this time : )

But it works!

On my third try today I quit out of Blender (Which system monitor said was using 12 percent while indefinitely Frozen) Then I re-opened the same file. Scaled and duplicated to Torus 2 times. All without a slowdown or Freeze. No cat sat on the keyboard this time : ) But it works!
Author
No description provided.
Author

Once I was done with the Torus' I moved on to the next part which was a cylinder. Once I clicked "shade smooth" it gave me about 30 seconds before Blender froze indefinitely again.

I ended the task in system monitor, then tried again. This time before I could do anything but scroll Blender froze indefinitely.

Once I was done with the Torus' I moved on to the next part which was a cylinder. Once I clicked "shade smooth" it gave me about 30 seconds before Blender froze indefinitely again. I ended the task in system monitor, then tried again. This time before I could do anything but scroll Blender froze indefinitely.
Author

Tried editing the cylinder and when Blender froze indefinitely this time, it was using 20% of the CPU

Tried editing the cylinder and when Blender froze indefinitely this time, it was using 20% of the CPU
Member

@Phil-Sawa try starting blender with blender -d --debug-gpu and see if it outputs anything weird during the freeze?

@Phil-Sawa try starting blender with `blender -d --debug-gpu` and see if it outputs anything weird during the freeze?
Author

Did a few operations in Blender before I saw this but I will restart now using the code you suggested, @ChengduLittleA

Oh, terminal responded with:

`Command 'blender' not found, but can be installed with:

sudo apt install blender
`

I guess since I didn't install it through apt it doesn't recognize Blender. (I downloaded it from the website)

Do I maybe need to move it from downloads or navigate into downloads to run the command?

__

Nope navigated in terminal to the location but it still gave me the same error code as above.

`phil@CodedoC:~/Documents/Blender3D/blender-3.5.0-linux-x64$ blender -d --debug-gpu

Command 'blender' not found, but can be installed with:

sudo apt install blender
`

__

Did a few operations in Blender before I saw this but I will restart now using the code you suggested, @ChengduLittleA Oh, terminal responded with: `Command 'blender' not found, but can be installed with: sudo apt install blender ` I guess since I didn't install it through apt it doesn't recognize Blender. (I downloaded it from the website) Do I maybe need to move it from downloads or navigate into downloads to run the command? __ Nope navigated in terminal to the location but it still gave me the same error code as above. `phil@CodedoC:~/Documents/Blender3D/blender-3.5.0-linux-x64$ blender -d --debug-gpu Command 'blender' not found, but can be installed with: sudo apt install blender ` __
Author

Woop! Found out I needed to put ./ in front by reading:
https://docs.blender.org/manual/en/latest/advanced/command_line/launch/linux.html

Blender started up from the command line!

__

Woop! Found out I needed to put `./` in front by reading: https://docs.blender.org/manual/en/latest/advanced/command_line/launch/linux.html Blender started up from the command line! __
Author

My Cat Nikkie pressed a few keys for 15 minutes or so and Blender never froze even though I used "shade smooth" but here it is:

My Cat Nikkie pressed a few keys for 15 minutes or so and Blender never froze even though I used "shade smooth" but here it is:
1.1 MiB
Author

I'll hopefully be able to try again tomorrow, remembering to use that command.

I'll hopefully be able to try again tomorrow, remembering to use that command.
Author

No freezes today either

No freezes today either
1.2 MiB
Member

Humm if there's no problem now then we could probably consider this not a bug?

Humm if there's no problem now then we could probably consider this not a bug?
Author

Yeah not a but sounds like a plan,

It didn't crashe today either but terminal had some errors:

phil@CodedoC:~/Documents/Blender3D/blender-3.5.0-linux-x64$ ./blender -d --debug-gpu
Switching to fully guarded memory allocator.
Blender 3.5.0
Build: 2023-03-29 06:35:04 Linux release
argv[0] = ./blender
argv[1] = -d
argv[2] = --debug-gpu
Read prefs: /home/phil/.config/blender/3.5/config/userpref.blend
INFO (gpu.debug): Notification : Successfully hooked OpenGL debug callback using OpenGL 4.3
INFO (gpu.debug): Notification : Successfully hooked OpenGL debug callback using OpenGL 4.3
INFO (gpu.debug): Notification : Performing HiZ clear just to update the depth clear value

Read blend: /home/phil/Documents/Blender3D/MincraftBlockAndSwortTutorialsYoutubeCGfastTrack/swordTip.blend
INFO (gpu.debug): Notification : Performing HiZ clear just to update the depth clear value

INFO (gpu.debug): Notification : Performing HiZ clear just to update the depth clear value

... (a ton of the same error)

INFO (gpu.debug): Notification : memory mapping a busy "miptree" BO stalled and took 0.116 ms.

INFO (gpu.debug): Notification : memory mapping a busy "miptree" BO stalled and took 0.163 ms.

INFO (gpu.debug): Notification : memory mapping a busy "miptree" BO stalled and took 2.108 ms.

INFO (gpu.debug): Notification : memory mapping a busy "miptree" BO stalled and took 0.242 ms.

INFO (gpu.debug): Notification : memory mapping a busy "miptree" BO stalled and took 0.013 ms.

INFO (gpu.debug): Notification : memory mapping a busy "miptree" BO stalled and took 0.016 ms.

INFO (gpu.debug): Notification : memory mapping a busy "miptree" BO stalled and took 6.859 ms.

Info: Saved "swordTip.blend"

INFO (gpu.debug): Notification : Performing HiZ clear just to update the depth clear value

INFO (gpu.debug): Notification : Successfully hooked OpenGL debug callback using OpenGL 4.3
INFO (gpu.debug): Notification : Performing HiZ clear just to update the depth clear value

INFO (gpu.debug): Notification : Performing HiZ clear just to update the depth clear value

INFO (gpu.debug): Notification : Performing HiZ clear just to update the depth clear value

INFO (gpu.debug): Notification : Performing HiZ clear just to update the depth clear value

INFO (gpu.debug): Notification : Performing HiZ clear just to update the depth clear value

INFO (gpu.debug): Notification : Performing HiZ clear just to update the depth clear value

INFO (gpu.debug): Notification : Successfully hooked OpenGL debug callback using OpenGL 4.3
INFO (gpu.debug): Notification : Performing HiZ clear just to update the depth clear value

INFO (gpu.debug): Notification : Successfully hooked OpenGL debug callback using OpenGL 4.3
ERROR (gpu.debug): Cube Shadow Maps > psl->shadow_pass : Feedback loop: Trying to bind a texture (DRW_tex) with mip range 0-0 but mip 0 is attached to the active framebuffer (shadow_fb)

ERROR (gpu.debug): Cube Shadow Maps > psl->shadow_pass : Feedback loop: Trying to bind a texture (DRW_tex) with mip range 0-0 but mip 0 is attached to the active framebuffer (shadow_fb)

ERROR (gpu.debug): Cube Shadow Maps > psl->shadow_pass : Feedback loop: Trying to bind a texture (DRW_tex) with mip range 0-0 but mip 0 is attached to the active framebuffer (shadow_fb)

ERROR (gpu.debug): Cube Shadow Maps > psl->shadow_pass : Feedback loop: Trying to bind a texture (DRW_tex) with mip range 0-0 but mip 0 is attached to the active framebuffer (shadow_fb)

ERROR (gpu.debug): Cube Shadow Maps > psl->shadow_pass : Feedback loop: Trying to bind a texture (DRW_tex) with mip range 0-0 but mip 0 is attached to the active framebuffer (shadow_fb)

... (a ton of the same error)
Yeah not a but sounds like a plan, It didn't crashe today either but terminal had some errors: ``` phil@CodedoC:~/Documents/Blender3D/blender-3.5.0-linux-x64$ ./blender -d --debug-gpu Switching to fully guarded memory allocator. Blender 3.5.0 Build: 2023-03-29 06:35:04 Linux release argv[0] = ./blender argv[1] = -d argv[2] = --debug-gpu Read prefs: /home/phil/.config/blender/3.5/config/userpref.blend INFO (gpu.debug): Notification : Successfully hooked OpenGL debug callback using OpenGL 4.3 INFO (gpu.debug): Notification : Successfully hooked OpenGL debug callback using OpenGL 4.3 INFO (gpu.debug): Notification : Performing HiZ clear just to update the depth clear value Read blend: /home/phil/Documents/Blender3D/MincraftBlockAndSwortTutorialsYoutubeCGfastTrack/swordTip.blend INFO (gpu.debug): Notification : Performing HiZ clear just to update the depth clear value INFO (gpu.debug): Notification : Performing HiZ clear just to update the depth clear value ... (a ton of the same error) INFO (gpu.debug): Notification : memory mapping a busy "miptree" BO stalled and took 0.116 ms. INFO (gpu.debug): Notification : memory mapping a busy "miptree" BO stalled and took 0.163 ms. INFO (gpu.debug): Notification : memory mapping a busy "miptree" BO stalled and took 2.108 ms. INFO (gpu.debug): Notification : memory mapping a busy "miptree" BO stalled and took 0.242 ms. INFO (gpu.debug): Notification : memory mapping a busy "miptree" BO stalled and took 0.013 ms. INFO (gpu.debug): Notification : memory mapping a busy "miptree" BO stalled and took 0.016 ms. INFO (gpu.debug): Notification : memory mapping a busy "miptree" BO stalled and took 6.859 ms. Info: Saved "swordTip.blend" INFO (gpu.debug): Notification : Performing HiZ clear just to update the depth clear value INFO (gpu.debug): Notification : Successfully hooked OpenGL debug callback using OpenGL 4.3 INFO (gpu.debug): Notification : Performing HiZ clear just to update the depth clear value INFO (gpu.debug): Notification : Performing HiZ clear just to update the depth clear value INFO (gpu.debug): Notification : Performing HiZ clear just to update the depth clear value INFO (gpu.debug): Notification : Performing HiZ clear just to update the depth clear value INFO (gpu.debug): Notification : Performing HiZ clear just to update the depth clear value INFO (gpu.debug): Notification : Performing HiZ clear just to update the depth clear value INFO (gpu.debug): Notification : Successfully hooked OpenGL debug callback using OpenGL 4.3 INFO (gpu.debug): Notification : Performing HiZ clear just to update the depth clear value INFO (gpu.debug): Notification : Successfully hooked OpenGL debug callback using OpenGL 4.3 ERROR (gpu.debug): Cube Shadow Maps > psl->shadow_pass : Feedback loop: Trying to bind a texture (DRW_tex) with mip range 0-0 but mip 0 is attached to the active framebuffer (shadow_fb) ERROR (gpu.debug): Cube Shadow Maps > psl->shadow_pass : Feedback loop: Trying to bind a texture (DRW_tex) with mip range 0-0 but mip 0 is attached to the active framebuffer (shadow_fb) ERROR (gpu.debug): Cube Shadow Maps > psl->shadow_pass : Feedback loop: Trying to bind a texture (DRW_tex) with mip range 0-0 but mip 0 is attached to the active framebuffer (shadow_fb) ERROR (gpu.debug): Cube Shadow Maps > psl->shadow_pass : Feedback loop: Trying to bind a texture (DRW_tex) with mip range 0-0 but mip 0 is attached to the active framebuffer (shadow_fb) ERROR (gpu.debug): Cube Shadow Maps > psl->shadow_pass : Feedback loop: Trying to bind a texture (DRW_tex) with mip range 0-0 but mip 0 is attached to the active framebuffer (shadow_fb) ... (a ton of the same error) ```
Member

This is the same error I believe to #107494 (comment) . So will close this one :).

This is the same error I believe to https://projects.blender.org/blender/blender/issues/107494#issuecomment-932150 . So will close this one :).
Blender Bot added
Status
Archived
and removed
Status
Needs Information from User
labels 2023-05-17 07:23:49 +02: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
2 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#107475
No description provided.