Blender Fails to Enter Rendered View with Cycles on GPU #84877

Closed
opened 2021-01-20 01:47:05 +01:00 by Scott Haines · 10 comments

System Information
Operating system: Windows 10 64-bit
Graphics card: 4x RTX 2070 Super

Blender Version
Broken: 2.92.0 Beta, branch: master, commit date: 2021-01-18 17:08, hash: b5c3f26cba, type: Release
Worked: No longer works on versions it used to work on.

Short description of error
Blender can't make it past entering rendered view on Cycles (with GPU). Gets stuck on loading kernels, sometimes integrator, sometimes BVH, sometimes sample 1/xx. Never the same, but always fails to start rendered view. Doesn't matter if it's CUDA or Optix.

blender_debug_output.txt

blender_system_info.txt

Exact steps for others to reproduce the error
Open Blender. Don't do anything, go straight to Cycles with GPU, click on rendered view. Boom! Blender locks up and stops responding.

**System Information** Operating system: Windows 10 64-bit Graphics card: 4x RTX 2070 Super **Blender Version** Broken: 2.92.0 Beta, branch: master, commit date: 2021-01-18 17:08, hash: b5c3f26cba81, type: Release Worked: No longer works on versions it used to work on. **Short description of error** Blender can't make it past entering rendered view on Cycles (with GPU). Gets stuck on loading kernels, sometimes integrator, sometimes BVH, sometimes sample 1/xx. Never the same, but always fails to start rendered view. Doesn't matter if it's CUDA or Optix. [blender_debug_output.txt](https://archive.blender.org/developer/F9588475/blender_debug_output.txt) [blender_system_info.txt](https://archive.blender.org/developer/F9588476/blender_system_info.txt) **Exact steps for others to reproduce the error** Open Blender. Don't do anything, go straight to Cycles with GPU, click on rendered view. Boom! Blender locks up and stops responding.
Author

Added subscriber: @scottiejhaines

Added subscriber: @scottiejhaines

Added subscriber: @rjg

Added subscriber: @rjg

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

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

It if it used to work in older versions but doesn't anymore, this points to a source of the issue outside of Blender. Make sure that you are using a current graphics driver or if the current graphics driver doesn't work properly, test with an older version that is known to work. Also check that the TDR delay is long enough so Windows doesn't reset the graphics driver while you try to render in the viewport.

It if it used to work in older versions but doesn't anymore, this points to a source of the issue outside of Blender. Make sure that you are using a current graphics driver or if the current graphics driver doesn't work properly, test with an older version that is known to work. Also check that the TDR delay is long enough so Windows doesn't reset the graphics driver while you try to render in the viewport.
Author

I feel like I'm exhausting my options. Starting with the most recent, I kept rolling back drivers all the way back to September of last year with no luck. I tried the newest version of blender 2.91.2, 2.91.0, 2.92, etc. I changed my TDR settings to 60, I tried using one GPU at a time, I tried running the monitor at 1920x1080 instead of 4K, I deleted the Optix cache so it would make a new one. I've tried clean installs of drivers. My chipset drivers are up to date. Blender is the only thing that seems to have problems. I can, however, manage to render out the default cube in cycles with GPU. I just can't use rendered view in the viewport.

I feel like I'm exhausting my options. Starting with the most recent, I kept rolling back drivers all the way back to September of last year with no luck. I tried the newest version of blender 2.91.2, 2.91.0, 2.92, etc. I changed my TDR settings to 60, I tried using one GPU at a time, I tried running the monitor at 1920x1080 instead of 4K, I deleted the Optix cache so it would make a new one. I've tried clean installs of drivers. My chipset drivers are up to date. Blender is the only thing that seems to have problems. I can, however, manage to render out the default cube in cycles with GPU. I just can't use rendered view in the viewport.

@scottiejhaines Have you checked if the hardware-accelerated GPU scheduling is enabled in Windows Settings > System > Display > Graphics Settings? Should it be enabled, please try disabling it.

@scottiejhaines Have you checked if the *hardware-accelerated GPU scheduling* is enabled in *Windows Settings > System > Display > Graphics Settings*? Should it be enabled, please try disabling it.
Author

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

Changed status from 'Needs User Info' to: 'Resolved'
Scott Haines self-assigned this 2021-02-07 02:58:26 +01:00
Author

That did it! Thank you. I read this is a new feature in Windows. Would it provide any benefit in Blender, or only cause problems?

That did it! Thank you. I read this is a new feature in Windows. Would it provide any benefit in Blender, or only cause problems?

Added subscriber: @deadpin

Added subscriber: @deadpin

@scottiejhaines That is a good question, it is supposed to reduce the overhead of scheduling (see devblog post ). Our GPU developers will have to look into this. We had reports about this in the past, but I don't know if we can do anything from Blender's side to avoid these issues. There is #85421 where @deadpin already collected several instances where people with multiple GPUs reported issues when this setting is enabled.

@scottiejhaines That is a good question, it is supposed to reduce the overhead of scheduling (see [devblog post ](https://devblogs.microsoft.com/directx/hardware-accelerated-gpu-scheduling/)). Our GPU developers will have to look into this. We had reports about this in the past, but I don't know if we can do anything from Blender's side to avoid these issues. There is #85421 where @deadpin already collected several instances where people with multiple GPUs reported issues when this setting is enabled.
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#84877
No description provided.