Page MenuHome

Blender Fails to Enter Rendered View with Cycles on GPU
Closed, ResolvedPublic


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.

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.

Event Timeline

Robert Guetzkow (rjg) changed the task status from Needs Triage to Needs Information from User.Jan 20 2021, 10:13 AM

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.

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.

@Scott Haines (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.

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?

@Scott Haines (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 T85421 where @Jesse Y (deadpin) already collected several instances where people with multiple GPUs reported issues when this setting is enabled.