Blender freezes when I try to stop the render kernel loading process in the viewport (OptiX backend) #74992

Closed
opened 2020-03-21 09:51:36 +01:00 by Pasang Bomjan · 4 comments

System Information
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: GeForce RTX 2060/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 442.59

Blender Version
Broken: version: 2.83 (sub 10), branch: master, commit date: 2020-03-20 19:52, hash: 9607e54985

Short description of error
Blender freezes when I try to stop the render kernel loading process in the viewport. Then I have to force close it.
Final render is somewhat similar case. When I press ESC, it should cancel the operation all together in my opinion.

Exact steps for others to reproduce the error

  • Reset to factory settings.
  • Choose Optix and goto rendered mode in the viewport. Render kernels will start to load.
  • Try to cancel the process by going to shaded mode or by changing to CPU compute mode or something like that
**System Information** Operating system: Windows-10-10.0.18362-SP0 64 Bits Graphics card: GeForce RTX 2060/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 442.59 **Blender Version** Broken: version: 2.83 (sub 10), branch: master, commit date: 2020-03-20 19:52, hash: `9607e54985` **Short description of error** Blender freezes when I try to stop the render kernel loading process in the viewport. Then I have to force close it. Final render is somewhat similar case. When I press ESC, it should cancel the operation all together in my opinion. **Exact steps for others to reproduce the error** - Reset to factory settings. - Choose Optix and goto rendered mode in the viewport. Render kernels will start to load. - Try to cancel the process by going to shaded mode or by changing to CPU compute mode or something like that
Author

Added subscriber: @Pasang

Added subscriber: @Pasang
Bastien Montagne changed title from Blender freezes when I try to stop the render kernel loading process in the viewport to Blender freezes when I try to stop the render kernel loading process in the viewport (OptiX backend) 2020-03-23 10:34:47 +01:00
Patrick Mours was assigned by Bastien Montagne 2020-03-23 10:34:47 +01:00

Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'

Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'
Member

Changed status from 'Needs Developer To Reproduce' to: 'Archived'

Changed status from 'Needs Developer To Reproduce' to: 'Archived'
Member

This is to be expected. Loading the render kernel is one call into the OptiX API and it can take a while to complete (as the status message will tell you). There is no way to abort that because the thread in question does not return back to Blender before it finished (and only Blender will know and attempt to cancel). So while clicking ESC will start the cancelation process, it has to wait for OptiX to return back to Blender before it can follow through. You don't have to force close, you just have to wait for kernels to have finished loading before the cancel goes into effect (then again, this only happens once anyway, kernels are cached for subsequent launches).

This is to be expected. Loading the render kernel is one call into the OptiX API and it can take a while to complete (as the status message will tell you). There is no way to abort that because the thread in question does not return back to Blender before it finished (and only Blender will know and attempt to cancel). So while clicking ESC will start the cancelation process, it has to wait for OptiX to return back to Blender before it can follow through. You don't have to force close, you just have to wait for kernels to have finished loading before the cancel goes into effect (then again, this only happens once anyway, kernels are cached for subsequent launches).
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#74992
No description provided.