Canceling render in WiP

It takes MINUTES! to cancel raytraced preview and switch it to shaded.
It’s been a painful task before but never THIS long.

Cancelling goes fine here. I’ll need more details, _SystemInfo, other hardware not mentioned in _SystemInfo (CPU mainly).

It took few seconds, usually, but from some time (2-3 releases back) it takes ages.

Rhino 8 SR0 2021-3-2 (Rhino WIP, 8.0.21061.12305, Git hash:master @ ed6027d4eeeabd9b79ea83a1ce634826525561a9)
License type: Commercial, build 2021-03-02
License details: Cloud Zoo
Expires on: 2021-04-16

Windows 10.0.19041 SR0.0 or greater (Physical RAM: 16Gb)

Computer platform: LAPTOP - Plugged in [96% battery remaining]

Non-hybrid graphics configuration.
Primary display and OpenGL: Radeon Pro 560X (AMD) Memory: 4GB, Driver date: 9-10-2020 (M-D-Y). OpenGL Ver: 4.6.13596 Compatibility Profile Context FireGL 27.20.11036.1002
> Integrated accelerated graphics device with 7 adapter port(s)
- Windows Main Display is laptop’s integrated screen or built-in port

OpenGL Settings
Safe mode: Off
Use accelerated hardware modes: On
Redraw scene when viewports are exposed: On

Anti-alias mode: 8x
Mip Map Filtering: Linear
Anisotropic Filtering Mode: High

Vendor Name: ATI Technologies Inc.
Render version: 4.6
Shading Language: 4.60
Driver Date: 9-10-2020
Driver Version: 27.20.11036.1002
Maximum Texture size: 16384 x 16384
Z-Buffer depth: 24 bits
Maximum Viewport size: 16384 x 16384
Total Video Memory: 4 GB

Rhino plugins that do not ship with Rhino
C:\Program Files\Common Files\McNeel\Rhinoceros\7.0\Plug-ins\ClippingBox (4dfff1df-5f09-43ae-a044-77b115244b02)\\Rhino 6\ClippingBox.rhp “ClippingBox”
C:\Program Files\Common Files\McNeel\Rhinoceros\7.0\Plug-ins\CreateQuadMesh (5bf6c0f3-3657-4ad5-834a-bbbb52706a40)\6.0.6914.24116\CreateQuadMesh.rhp “CreateQuadMesh” 6.0.6914.24116
C:\Program Files\Common Files\McNeel\Rhinoceros\7.0\Plug-ins\Rhino 3DM File Version (aa091cb2-d8c0-4944-a17d-b66c80bec4ca)\7.0.7639.20582\RhinoFileVersion.rhp “Rhino 3DM File Version” 7.0.7639.20582

Rhino plugins that ship with Rhino
C:\Program Files\Rhino 8 WIP\Plug-ins\Commands.rhp “Commands” 8.0.21061.12305
C:\Program Files\Rhino 8 WIP\Plug-ins\WebBrowser.rhp “WebBrowser”
C:\Program Files\Rhino 8 WIP\Plug-ins\rdk.rhp “Renderer Development Kit”
C:\Program Files\Rhino 8 WIP\Plug-ins\RPC.rhp “RPC”
C:\Program Files\Rhino 8 WIP\Plug-ins\RhinoRenderCycles.rhp “Rhino Render” 8.0.21061.12305
C:\Program Files\Rhino 8 WIP\Plug-ins\RhinoRender.rhp “Legacy Rhino Render”
C:\Program Files\Rhino 8 WIP\Plug-ins\rdk_etoui.rhp “RDK_EtoUI” 8.0.21061.12305
C:\Program Files\Rhino 8 WIP\Plug-ins\rdk_ui.rhp “Renderer Development Kit UI”
C:\Program Files\Rhino 8 WIP\Plug-ins\NamedSnapshots.rhp “Snapshots”
C:\Program Files\Rhino 8 WIP\Plug-ins\RhinoCycles.rhp “RhinoCycles” 8.0.21061.12305
C:\Program Files\Rhino 8 WIP\Plug-ins\Grasshopper\GrasshopperPlugin.rhp “Grasshopper” 8.0.21061.12305
C:\Program Files\Rhino 8 WIP\Plug-ins\Toolbars\Toolbars.rhp “Toolbars” 8.0.21061.12305
C:\Program Files\Rhino 8 WIP\Plug-ins\3dxrhino.rhp “3Dconnexion 3D Mouse”
C:\Program Files\Rhino 8 WIP\Plug-ins\Displacement.rhp “Displacement”
C:\Program Files\Rhino 8 WIP\Plug-ins\Calc.rhp “Calc”
C:\Program Files\Rhino 8 WIP\Plug-ins\NamedPositions.rhp “Named Position”

I haven’t tested Rhino 8 WIP in quite some time, i’ll have to update since I’m still on Rhino 8 SR0 2021-2-1 (Rhino WIP, 8.0.21032.08305). With that version at least changing away from Raytraced is fast, as is with local 7.x build.

Updated to Rhino 8 SR0 2021-3-8 (Rhino WIP, 8.0.21067.04305), switching back and forth is still snappy (tested with CPU, CUDA, OptiX and OpenCL).

@Piotr do you see the slowness even with just a box in the scene?

I will do some tests later. My nachine is busy at the moment working on a larger scene.

Besides, I was really hoping this problem has gone forever.
Simple 3x2k px raytracing using ViewCapture :frowning:

Why use ViewCapture when _Render will be much better for you: no double memory usage. Full float buffers for saving. And should be pretty much equal in speed.

Already since Rhino 7.

I know, I know, but direct raytrace is giving me immediate update and I am so much used to it when saving views from rendered mode.