Page MenuHome

Cycles GPU Compute baking often fails
Open, NormalPublic

Description

System Information

Operating system: Windows 10 Home 64
Graphics card: NVIDIA GeForce GTX 860M

Blender Version

Broken: 2.80 Beta (all)


Worked: 2.79b

Short description of error

When using CUDA and Cycles GPU Compute to bake textures, it usually fails halfway through the process resulting in half-baked textures with horizontal lines through them, like the one displayed below.

In each subsequent attempt, the bake fails immediately resulting in errors like below. It won't bake again unless I use CPU or restart Blender, but I can't recall it ever baking fully with GPU Compute even after restarting.

Exact steps for others to reproduce the error

  1. Select CUDA from Edit > Preferences > System > General > Cycles Compute Device
  2. Check any or all devices
  3. Use following settings:
  4. Bake

Details

Type
Bug

Event Timeline

I can't reproduce with 21523b5 under ubuntu 16.04 with a titan black. Can you upload a .blend file with the issue ?

Sure. Try this one. I also packed the resulting texture. If I try to bake it again, it fails and throws an error.

No error. Correct baking, here.
It reminds to me problems at first attempts of hybrid rendering.

Does it work if you only use Graphic Card as CUDA device ?

Just gave that a try. No luck. Actually, it failed immediately.

This appears in the taskbar:

Win 10 Pro, gtx 1080

First bake give me an image like the one OP demonstrated, with scan-line like effect, bad bake.

Second try give me nothing. And my viewport cycle straight out vanishes, give me only the GL layer where I can see the light objects and cameras, selection outline, etc.

It also throws an error: "CUDA error at cuCtxCreate: Illegal address", but then reports "Baking map saved to internal image, save it..."

dev369 (dev369) awarded a token.