Texture baking produces only empty textures in 3.4.1 #103859

Closed
opened 2023-01-13 12:16:35 +01:00 by Erik Arndt · 19 comments

System Information
Operating system: Ubuntu 20.04.4 LTS
Graphics card: NVIDIA GeForce RTX 3070

Blender Version
Broken: 3.4.1
Worked: 2 months ago?

Short description of error

Texture baking will finish immediately saying "Baking map saved to internal image, save it externally or pack it
" but only produce an empty texture.

Projects that are somewhat older, still seem to work.

Exact steps for others to reproduce the error
Based on the default startup or an attached .blend file (as simple as possible).
Go to shading, select image texture node, press bake.

NotBaking.blend

**System Information** Operating system: Ubuntu 20.04.4 LTS Graphics card: NVIDIA GeForce RTX 3070 **Blender Version** Broken: 3.4.1 Worked: 2 months ago? **Short description of error** Texture baking will finish immediately saying "Baking map saved to internal image, save it externally or pack it " but only produce an empty texture. Projects that are somewhat older, still seem to work. **Exact steps for others to reproduce the error** Based on the default startup or an attached .blend file (as simple as possible). Go to shading, select image texture node, press bake. [NotBaking.blend](https://archive.blender.org/developer/F14147725/NotBaking.blend)
Author

Added subscriber: @Erik-Arndt

Added subscriber: @Erik-Arndt
Author

Ok, I just did a regular rendering and got the error message "OpenImageDenoiser is not supported on this CPU".

I turned denoising off and now texture baking works again. I think it would be good if such an error message would be shown during texture baking too.

Ok, I just did a regular rendering and got the error message "OpenImageDenoiser is not supported on this CPU". I turned denoising off and now texture baking works again. I think it would be good if such an error message would be shown during texture baking too.
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

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

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

Thx reporting!

This could be improved, yes.
I think you would be getting this message with logging? https://docs.blender.org/manual/en/3.5/advanced/command_line/arguments.html#logging-options

Just to be clear though, does regular rendering finish (just without denoising?) Or does that produce blank images as well?
(if rendering has this "workaround" / "feature drop" then baking should probably have it as well...)

Thx reporting! This could be improved, yes. I think you would be getting this message with logging? https://docs.blender.org/manual/en/3.5/advanced/command_line/arguments.html#logging-options Just to be clear though, does regular rendering finish (just without denoising?) Or does that produce blank images as well? (if rendering has this "workaround" / "feature drop" then baking should probably have it as well...)
Author

Yes that's the terminal output:

blender --log

Error: '--log' no args given.
Read prefs: /home/generic_user/.config/blender/3.4/config/userpref.blend
Reloading external rigs...
Reloading external metarigs...
Read blend: /home/generic_user/Downloads/NotBaking.blend
WARN (bpy.rna): source/blender/python/intern/bpy_rna.c:1335 pyrna_enum_to_py: current value '4' matches no enum in 'CyclesRenderSettings', '', 'denoiser'
WARN (bpy.rna): source/blender/python/intern/bpy_rna.c:1335 pyrna_enum_to_py: current value '4' matches no enum in 'CyclesRenderSettings', '', 'denoiser'
WARN (bpy.rna): source/blender/python/intern/bpy_rna.c:1335 pyrna_enum_to_py: current value '4' matches no enum in 'CyclesRenderSettings', '', 'denoiser'
WARN (bpy.rna): source/blender/python/intern/bpy_rna.c:1335 pyrna_enum_to_py: current value '4' matches no enum in 'CyclesRenderSettings', '', 'denoiser'
WARN (bpy.rna): source/blender/python/intern/bpy_rna.c:1335 pyrna_enum_to_py: current value '4' matches no enum in 'CyclesRenderSettings', '', 'denoiser'
WARN (bpy.rna): source/blender/python/intern/bpy_rna.c:1335 pyrna_enum_to_py: current value '4' matches no enum in 'CyclesRenderSettings', '', 'denoiser'
WARN (bpy.rna): source/blender/python/intern/bpy_rna.c:1335 pyrna_enum_to_py: current value '4' matches no enum in 'CyclesRenderSettings', '', 'denoiser'
WARN (bpy.rna): source/blender/python/intern/bpy_rna.c:1335 pyrna_enum_to_py: current value '4' matches no enum in 'CyclesRenderSettings', '', 'denoiser'
WARN (bpy.rna): source/blender/python/intern/bpy_rna.c:1335 pyrna_enum_to_py: current value '4' matches no enum in 'CyclesRenderSettings', '', 'denoiser'
WARN (bpy.rna): source/blender/python/intern/bpy_rna.c:1335 pyrna_enum_to_py: current value '4' matches no enum in 'CyclesRenderSettings', '', 'denoiser'
WARN (bpy.rna): source/blender/python/intern/bpy_rna.c:1335 pyrna_enum_to_py: current value '4' matches no enum in 'CyclesRenderSettings', '', 'denoiser'
WARN (bpy.rna): source/blender/python/intern/bpy_rna.c:1335 pyrna_enum_to_py: current value '4' matches no enum in 'CyclesRenderSettings', '', 'denoiser'
WARN (bpy.rna): source/blender/python/intern/bpy_rna.c:1335 pyrna_enum_to_py: current value '4' matches no enum in 'CyclesRenderSettings', '', 'denoiser'
WARN (bpy.rna): source/blender/python/intern/bpy_rna.c:1335 pyrna_enum_to_py: current value '4' matches no enum in 'CyclesRenderSettings', '', 'denoiser'
WARN (bpy.rna): source/blender/python/intern/bpy_rna.c:1335 pyrna_enum_to_py: current value '4' matches no enum in 'CyclesRenderSettings', '', 'denoiser'
WARN (bpy.rna): source/blender/python/intern/bpy_rna.c:1335 pyrna_enum_to_py: current value '4' matches no enum in 'CyclesRenderSettings', '', 'denoiser'
WARN (bpy.rna): source/blender/python/intern/bpy_rna.c:1335 pyrna_enum_to_py: current value '4' matches no enum in 'CyclesRenderSettings', '', 'denoiser'
WARN (bpy.rna): source/blender/python/intern/bpy_rna.c:1335 pyrna_enum_to_py: current value '4' matches no enum in 'CyclesRenderSettings', '', 'denoiser'
WARN (bpy.rna): source/blender/python/intern/bpy_rna.c:1335 pyrna_enum_to_py: current value '4' matches no enum in 'CyclesRenderSettings', '', 'denoiser'
WARN (bpy.rna): source/blender/python/intern/bpy_rna.c:1335 pyrna_enum_to_py: current value '4' matches no enum in 'CyclesRenderSettings', '', 'denoiser'
WARN (bpy.rna): source/blender/python/intern/bpy_rna.c:1335 pyrna_enum_to_py: current value '4' matches no enum in 'CyclesRenderSettings', '', 'denoiser'
WARN (bpy.rna): source/blender/python/intern/bpy_rna.c:1335 pyrna_enum_to_py: current value '4' matches no enum in 'CyclesRenderSettings', '', 'denoiser'
WARN (bpy.rna): source/blender/python/intern/bpy_rna.c:1335 pyrna_enum_to_py: current value '4' matches no enum in 'CyclesRenderSettings', '', 'denoiser'
WARN (bpy.rna): source/blender/python/intern/bpy_rna.c:1335 pyrna_enum_to_py: current value '4' matches no enum in 'CyclesRenderSettings', '', 'denoiser'
WARN (bpy.rna): source/blender/python/intern/bpy_rna.c:1335 pyrna_enum_to_py: current value '4' matches no enum in 'CyclesRenderSettings', '', 'denoiser'
WARN (bpy.rna): source/blender/python/intern/bpy_rna.c:1335 pyrna_enum_to_py: current value '4' matches no enum in 'CyclesRenderSettings', '', 'denoiser'
OpenImageDenoiser is not supported on this CPU: missing SSE 4.1 support

Refer to the Cycles GPU rendering documentation for possible solutions:
https://docs.blender.org/manual/en/latest/render/cycles/gpu_rendering.html

No device available to denoise on
WARN (bpy.rna): source/blender/python/intern/bpy_rna.c:1335 pyrna_enum_to_py: current value '4' matches no enum in 'CyclesRenderSettings', '', 'denoiser'
Info: Baking map saved to internal image, save it externally or pack it

WARN (bpy.rna): source/blender/python/intern/bpy_rna.c:1335 pyrna_enum_to_py: current value '4' matches no enum in 'CyclesRenderSettings', '', 'denoiser'

I also noticed, and it seems to match with "current value '4' matches no enum in 'CyclesRenderSettings', '', 'denoiser'" that the denoiser in the viewport settings has the "Automatic" option, while the render settings doesn't:

Screenshot from 2023-01-16 11-53-57.png

And no, rendering and baking won't even start, both produce an empty image.

Yes that's the terminal output: ``` blender --log Error: '--log' no args given. Read prefs: /home/generic_user/.config/blender/3.4/config/userpref.blend Reloading external rigs... Reloading external metarigs... Read blend: /home/generic_user/Downloads/NotBaking.blend WARN (bpy.rna): source/blender/python/intern/bpy_rna.c:1335 pyrna_enum_to_py: current value '4' matches no enum in 'CyclesRenderSettings', '', 'denoiser' WARN (bpy.rna): source/blender/python/intern/bpy_rna.c:1335 pyrna_enum_to_py: current value '4' matches no enum in 'CyclesRenderSettings', '', 'denoiser' WARN (bpy.rna): source/blender/python/intern/bpy_rna.c:1335 pyrna_enum_to_py: current value '4' matches no enum in 'CyclesRenderSettings', '', 'denoiser' WARN (bpy.rna): source/blender/python/intern/bpy_rna.c:1335 pyrna_enum_to_py: current value '4' matches no enum in 'CyclesRenderSettings', '', 'denoiser' WARN (bpy.rna): source/blender/python/intern/bpy_rna.c:1335 pyrna_enum_to_py: current value '4' matches no enum in 'CyclesRenderSettings', '', 'denoiser' WARN (bpy.rna): source/blender/python/intern/bpy_rna.c:1335 pyrna_enum_to_py: current value '4' matches no enum in 'CyclesRenderSettings', '', 'denoiser' WARN (bpy.rna): source/blender/python/intern/bpy_rna.c:1335 pyrna_enum_to_py: current value '4' matches no enum in 'CyclesRenderSettings', '', 'denoiser' WARN (bpy.rna): source/blender/python/intern/bpy_rna.c:1335 pyrna_enum_to_py: current value '4' matches no enum in 'CyclesRenderSettings', '', 'denoiser' WARN (bpy.rna): source/blender/python/intern/bpy_rna.c:1335 pyrna_enum_to_py: current value '4' matches no enum in 'CyclesRenderSettings', '', 'denoiser' WARN (bpy.rna): source/blender/python/intern/bpy_rna.c:1335 pyrna_enum_to_py: current value '4' matches no enum in 'CyclesRenderSettings', '', 'denoiser' WARN (bpy.rna): source/blender/python/intern/bpy_rna.c:1335 pyrna_enum_to_py: current value '4' matches no enum in 'CyclesRenderSettings', '', 'denoiser' WARN (bpy.rna): source/blender/python/intern/bpy_rna.c:1335 pyrna_enum_to_py: current value '4' matches no enum in 'CyclesRenderSettings', '', 'denoiser' WARN (bpy.rna): source/blender/python/intern/bpy_rna.c:1335 pyrna_enum_to_py: current value '4' matches no enum in 'CyclesRenderSettings', '', 'denoiser' WARN (bpy.rna): source/blender/python/intern/bpy_rna.c:1335 pyrna_enum_to_py: current value '4' matches no enum in 'CyclesRenderSettings', '', 'denoiser' WARN (bpy.rna): source/blender/python/intern/bpy_rna.c:1335 pyrna_enum_to_py: current value '4' matches no enum in 'CyclesRenderSettings', '', 'denoiser' WARN (bpy.rna): source/blender/python/intern/bpy_rna.c:1335 pyrna_enum_to_py: current value '4' matches no enum in 'CyclesRenderSettings', '', 'denoiser' WARN (bpy.rna): source/blender/python/intern/bpy_rna.c:1335 pyrna_enum_to_py: current value '4' matches no enum in 'CyclesRenderSettings', '', 'denoiser' WARN (bpy.rna): source/blender/python/intern/bpy_rna.c:1335 pyrna_enum_to_py: current value '4' matches no enum in 'CyclesRenderSettings', '', 'denoiser' WARN (bpy.rna): source/blender/python/intern/bpy_rna.c:1335 pyrna_enum_to_py: current value '4' matches no enum in 'CyclesRenderSettings', '', 'denoiser' WARN (bpy.rna): source/blender/python/intern/bpy_rna.c:1335 pyrna_enum_to_py: current value '4' matches no enum in 'CyclesRenderSettings', '', 'denoiser' WARN (bpy.rna): source/blender/python/intern/bpy_rna.c:1335 pyrna_enum_to_py: current value '4' matches no enum in 'CyclesRenderSettings', '', 'denoiser' WARN (bpy.rna): source/blender/python/intern/bpy_rna.c:1335 pyrna_enum_to_py: current value '4' matches no enum in 'CyclesRenderSettings', '', 'denoiser' WARN (bpy.rna): source/blender/python/intern/bpy_rna.c:1335 pyrna_enum_to_py: current value '4' matches no enum in 'CyclesRenderSettings', '', 'denoiser' WARN (bpy.rna): source/blender/python/intern/bpy_rna.c:1335 pyrna_enum_to_py: current value '4' matches no enum in 'CyclesRenderSettings', '', 'denoiser' WARN (bpy.rna): source/blender/python/intern/bpy_rna.c:1335 pyrna_enum_to_py: current value '4' matches no enum in 'CyclesRenderSettings', '', 'denoiser' WARN (bpy.rna): source/blender/python/intern/bpy_rna.c:1335 pyrna_enum_to_py: current value '4' matches no enum in 'CyclesRenderSettings', '', 'denoiser' OpenImageDenoiser is not supported on this CPU: missing SSE 4.1 support Refer to the Cycles GPU rendering documentation for possible solutions: https://docs.blender.org/manual/en/latest/render/cycles/gpu_rendering.html No device available to denoise on WARN (bpy.rna): source/blender/python/intern/bpy_rna.c:1335 pyrna_enum_to_py: current value '4' matches no enum in 'CyclesRenderSettings', '', 'denoiser' Info: Baking map saved to internal image, save it externally or pack it WARN (bpy.rna): source/blender/python/intern/bpy_rna.c:1335 pyrna_enum_to_py: current value '4' matches no enum in 'CyclesRenderSettings', '', 'denoiser' ``` I also noticed, and it seems to match with "current value '4' matches no enum in 'CyclesRenderSettings', '', 'denoiser'" that the denoiser in the viewport settings has the "Automatic" option, while the render settings doesn't: ![Screenshot from 2023-01-16 11-53-57.png](https://archive.blender.org/developer/F14152758/Screenshot_from_2023-01-16_11-53-57.png) And no, rendering and baking won't even start, both produce an empty image.
Member

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

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

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

Changed status from 'Needs Triage' to: 'Archived'

Changed status from 'Needs Triage' to: 'Archived'
Member

OpenImageDenoiser is not supported on this CPU: missing SSE 4.1 support

Hi, as said in the message, for OpenImageDenoiser to work, CPU with SSE 4.1 and up are required.
Rendering/baking is still possible on older CPUs without OpenImageDenoiser. see: #96651#1326281
Closing this ticket for now.
If there is any misunderstanding, feel free to comment or reopen the ticket.

> OpenImageDenoiser is not supported on this CPU: missing SSE 4.1 support Hi, as said in the message, for OpenImageDenoiser to work, CPU with SSE 4.1 and up are required. Rendering/baking is still possible on older CPUs without OpenImageDenoiser. see: #96651#1326281 Closing this ticket for now. If there is any misunderstanding, feel free to comment or reopen the ticket.
Author

Could you please read my description again?

The problem was never that the denoiser doesn't work, but that you don't get any warning when baking. You press bake and nothing happens. It took me a week to notice by coincidence that it was because an unsupported feature is turned on by default.

Could you please read my description again? The problem was never that the denoiser doesn't work, but that you don't get any warning when baking. You press bake and nothing happens. It took me a week to notice by coincidence that it was because an unsupported feature is turned on by default.
Member

Changed status from 'Archived' to: 'Needs Developer To Reproduce'

Changed status from 'Archived' to: 'Needs Developer To Reproduce'
Member

Added subscriber: @ThomasDinges

Added subscriber: @ThomasDinges
Member

@ThomasDinges hi, can we add a warning message which is more visible?

@ThomasDinges hi, can we add a warning message which is more visible?

Changed status from 'Needs Developer To Reproduce' to: 'Confirmed'

Changed status from 'Needs Developer To Reproduce' to: 'Confirmed'

I checked and there is an error when rendering, but indeed for baking this is only reported to the console. grafik.png

While this can be improved, in practise we will likely require SSE4 for all of Blender sometimes this year, so wouldn't spend time on this now.

@Erik-Arndt I am curious what CPU do you use?

I checked and there is an error when rendering, but indeed for baking this is only reported to the console. ![grafik.png](https://archive.blender.org/developer/F14196233/grafik.png) While this can be improved, in practise we will likely require SSE4 for all of Blender sometimes this year, so wouldn't spend time on this now. @Erik-Arndt I am curious what CPU do you use?
Author

I ran this Blender instance in a VM.

I ran this Blender instance in a VM.

Changed status from 'Confirmed' to: 'Archived'

Changed status from 'Confirmed' to: 'Archived'

I guess your host CPU is capable of SSE4 but in the vm it's emulated without it. Not a configuration we officially support. Therefore I am closing this.

I guess your host CPU is capable of SSE4 but in the vm it's emulated without it. Not a configuration we officially support. Therefore I am closing this.
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
4 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#103859
No description provided.