Viewport rendering have no obvious way to cancel #112634

Open
opened 2023-09-20 18:11:35 +02:00 by ManBlender · 15 comments

System Information
Operating system: Windows-10-10.0.22621-SP0 64 Bits
Graphics card: NVIDIA GeForce GTX 1650 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 497.17

Blender Version
Broken: version: 3.5.0, branch: blender-v3.5-release, commit date: 2023-03-29 02:56, hash: 1be25cfff18b
Worked: (newest version of Blender that worked as expected)

Short description of error
Viewport rendering have no obvious way to cancel. This is even more evident if you choose to keep current UI for rendering in preferences.

**System Information** Operating system: Windows-10-10.0.22621-SP0 64 Bits Graphics card: NVIDIA GeForce GTX 1650 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 497.17 **Blender Version** Broken: version: 3.5.0, branch: blender-v3.5-release, commit date: 2023-03-29 02:56, hash: `1be25cfff18b` Worked: (newest version of Blender that worked as expected) **Short description of error** Viewport rendering have no obvious way to cancel. This is even more evident if you choose to keep current UI for rendering in preferences.
ManBlender added the
Priority
Normal
Type
Report
Status
Needs Triage
labels 2023-09-20 18:11:35 +02:00
Member

Hi, thanks for the report. Did I understand correctly that the cancelling render process freezes blender? In that case, I'm not able to confirm the issue.
I suspect this is similar to #98941. Can you confirm?
It may take some time for blender to resume after canceling/interrupting the render process.

Hi, thanks for the report. Did I understand correctly that the cancelling render process freezes blender? In that case, I'm not able to confirm the issue. I suspect this is similar to #98941. Can you confirm? It may take some time for blender to resume after canceling/interrupting the render process.
Pratik Borhade added
Status
Needs Information from User
and removed
Status
Needs Triage
labels 2023-09-21 05:41:57 +02:00
Author

Not exactly, blender is hanged when big project, but the main problem is no option to stop animation in case of function as: View -> Viewport Render Animation - there is no stop button for this or cancel.

Not exactly, blender is hanged when big project, but the main problem is no option to stop animation in case of function as: **View -> Viewport Render Animation** - there is no stop button for this or cancel.
Member

Yes, there is no button in status bar to cancel the viewport render animation
But you could still cancel it by closing the "render window" (X button in top right corner)

Yes, there is no button in status bar to cancel the `viewport render animation` But you could still cancel it by closing the "render window" (`X` button in top right corner)
Author

It was not possible, coz blender was like hanged. The button should be and buttons play/stop should be related to five option to push.

It was not possible, coz blender was like hanged. The button should be and buttons play/stop should be related to five option to push.
Member

Do you expect button like this for canceling the render? or the buttons mentioned in the timeline?

In any case these buttons can not be used when software is not responding.

Do you expect button like [this](/attachments/e3dcca63-412e-4e0a-aee2-1149be06c078) for canceling the render? or the [buttons mentioned in the timeline](/attachments/7054005d-900b-4130-9491-1d82d102a277)? In any case these buttons can not be used when software is not responding.
Author

Yes.. this buttons must be related for this function and when animation. Take point if render window is docked in blender.
The case about hanging is bad and due wrong threading core app and operation area as computation. Separated can still allow operate GUI and kill the computing in this case.

Yes.. this buttons must be related for this function and when animation. Take point if render window is docked in blender. The case about hanging is bad and due wrong threading core app and operation area as computation. Separated can still allow operate GUI and kill the computing in this case.
Member

I guess you're expecting a button in blender's task bar (as shown in first image) but I did not completely understand your last message. Could you rephrase that?

I guess you're expecting a button in blender's task bar (as shown in first image) but I did not completely understand your last message. Could you rephrase that?
Author

Not only task bar near progressbar but also stop must be next to buttons play, now no any reacting when time line is moved here.
Explanation for CPU core thread is complicated coz I don't know well sources code here to be super oriented, but my experience around coding and around Blender GUI cases like hanged interface ("waiting" in top belt when something wrong) show me that something is wrong around app architecture again when multi-core CPU. In short looks like multithreading not working correctly or not exist. Simultaneous multithreading (SMT) must separate GUI, to give option to kill some process and thread. In Blender is impossible - only kill process from OS manager (ctr+alt+del) if something is wrong, coz app not checking status, only focus on computing is always available.
Simple test around can give result that is possible, and multi-core must be ral not like old CPUs and when blender was developed for this time ago..
https://stackoverflow.com/questions/24687694/c-how-to-divide-cpu-work-through-threads-exactly-in-non-parallel-task
https://stackoverflow.com/questions/65428348/c-kill-a-thread-in-destructor

Not only task bar near progressbar but also stop must be next to buttons play, now no any reacting when time line is moved here. Explanation for CPU core thread is complicated coz I don't know well sources code here to be super oriented, but my experience around coding and around Blender GUI cases like hanged interface ("waiting" in top belt when something wrong) show me that something is wrong around app architecture again when multi-core CPU. In short looks like multithreading not working correctly or not exist. Simultaneous multithreading (SMT) must separate GUI, to give option to kill some process and thread. In Blender is impossible - only kill process from OS manager (ctr+alt+del) if something is wrong, coz app not checking status, only focus on computing is always available. Simple test around can give result that is possible, and multi-core must be ral not like old CPUs and when blender was developed for this time ago.. https://stackoverflow.com/questions/24687694/c-how-to-divide-cpu-work-through-threads-exactly-in-non-parallel-task https://stackoverflow.com/questions/65428348/c-kill-a-thread-in-destructor
Pratik Borhade added
Status
Needs Triage
and removed
Status
Needs Information from User
labels 2023-09-26 14:25:55 +02:00

I guess the progress bar is not shown, because you have playhead moving. In any case, I think that the issue here is rather that blender hang up. I can't reproduce that issue. Please provide .blend file where this happens.

I guess the progress bar is not shown, because you have playhead moving. In any case, I think that the issue here is rather that blender hang up. I can't reproduce that issue. Please provide .blend file where this happens.
Richard Antalik added
Status
Needs Information from User
and removed
Status
Needs Triage
labels 2023-09-27 00:48:58 +02:00

Also check if this happens with alpha build from https://builder.blender.org/download/daily/. You are using version 3.5 which is quite old.

Also check if this happens with alpha build from https://builder.blender.org/download/daily/. You are using version 3.5 which is quite old.
Author

This same on:
Broken: version: 3.6.4, branch: blender-v3.6-release, commit date: 2023-09-25 13:24, hash: 21bfc5e7fe3f

This same on: Broken: version: 3.6.4, branch: blender-v3.6-release, commit date: 2023-09-25 13:24, hash: `21bfc5e7fe3f`

Thanks for checking, but we still need the blend file.

Thanks for checking, but we still need the blend file.
Author

nah.. done. : )
https://recordit.co/AoV0MCjo0j

  • take point, that I'm trying click on GUI in whole process..
nah.. done. : ) https://recordit.co/AoV0MCjo0j - take point, that I'm trying click on GUI in whole process..

Thanks for video. So the UI does not freeze, it just doesn't react to mouse inputs, which works as expected. I can see this being known issue, as this would probably need new/improved design. But if you press ESC key, it will stop rendering...

Will confirm then, but UI module may close this as it is not really a bug.

Thanks for video. So the UI does not freeze, it just doesn't react to mouse inputs, which works as expected. I can see this being known issue, as this would probably need new/improved design. But if you press ESC key, it will stop rendering... Will confirm then, but UI module may close this as it is not really a bug.
Richard Antalik changed title from Problem with stop animation when View Viewport Render Animation to Viewport rendering have no obvious way to cancel 2023-09-30 04:46:52 +02:00
Author

Well.. the project is small, and blender not freezing on this project but on other doing often, then esc can be applied, but right.. I not used esc. In fact the related problem is about separate core GUI manager from other computations to prevent hanging in other cases.
We can find some huge project from https://cloud.blender.org/p/gallery/57e507b80fcf29412d1f1e53 then test on some lower hardware. Most of users have good hardware, but scaling project/hardware not solving the software issues around and main logic of how GUI/computing is organized.

Well.. the project is small, and blender not freezing on this project but on other doing often, then esc can be applied, but right.. I not used esc. In fact the related problem is about separate core GUI manager from other computations to prevent hanging in other cases. We can find some huge project from https://cloud.blender.org/p/gallery/57e507b80fcf29412d1f1e53 then test on some lower hardware. Most of users have good hardware, but scaling project/hardware not solving the software issues around and main logic of how GUI/computing is organized.
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#112634
No description provided.