Page MenuHome

Baking with GPU completely ruins baked normals
Closed, ArchivedPublic

Description

System Information
Operating system: macOS Monterey Cheese
Graphics card: Apple M1 SOC (16 GB, 18-core GPU)
Other GPU notes: I have CPU+GPU selected in user preferences under System

Blender Version
Broken: 3.1
Worked: N/A

Short description of error
GPU compute will break all normal map texture bakes.

Exact steps for others to reproduce the error
I am working on baking high detail assets to low poly game assets. I spent a lot of time wondering why my bakes were ruining my normal maps. Turns out, GPU cannot be used to bake to texture maps. There weren't any warnings or errors and the baking interface was still present. I think it'd be nice if there was a warning or if the menu was grayed out with a tooltip telling the user to switch to CPU. It still bakes, but it bakes to a flat, mushy looking texture with completely wrong normals.

Event Timeline

Germano Cavalcante (mano-wii) changed the task status from Needs Triage to Needs Information from User.Jan 24 2022, 5:19 PM

I cannot replicate the problem.
GPU and CPU work the same in my case.
Here the file I tested:

Please, be sure to provide a .blend file with exact steps to reproduce the problem.


System Information
Operating system: macOS-12.1-arm64-arm-64bit 64 Bits
Graphics card: Apple M1 Apple 4.1 Metal - 76.3

Please note, I am using a combination of CPU and GPU in user preferences. I am on macOS Monterey running on an Apple Silicon M1 SOC. This is the original M1, not M1 max or M1 pro. The included normal map is the result of a CPU+GPU combined bake on my system with Blender master branch compiled with exact official instructions using make. If you bake it yourself, you may see that there are many more details captured by the bake than when I baked it. This is the issue. It seems to ignore bump texture normals and other details. Blender 3.1 Alpha bakes the top half of the image correctly, Blender master breaks the whole image.

Using the attached file and rendering with CPU+GPU and i got this bake result:

Is this the expected result?

Many bugs are fixed between the official releases. Please try the latest development snapshot of blender: https://builder.blender.org/download

No activity for more than a week. As per the tracker policy we assume the issue is gone and can be closed.

Thanks for the report. If the problem persists we can reopen this report and include the required information.

Using the attached file and rendering with CPU+GPU and i got this bake result:

Is this the expected result?

Many bugs are fixed between the official releases. Please try the latest development snapshot of blender: https://builder.blender.org/download

Can confirm. Seems to be fixed in 3.2.0 Alpha. This is the expected result. Thanks for taking the time to test this.

Blender 3.1 is also having fixes, it should be fixed there too.