MacOS ARM64 builds have issues saving WEBP images from 32bpp buffers #105006

Open
opened 2023-02-21 06:32:14 +01:00 by Jesse Yurkovich · 0 comments

System Information
Operating system: MacOS ARM64 buildbot

Blender Version
Broken: 3.6 main 7699c7407d
Worked: n/a

Short description of error
The newly added imbuf_save is failing for certain scenarios but only on MacOS ARM64 builds.

This is a tracking bug so we can investigate the issue and re-enable the tests.

Exact steps for others to reproduce the error

  • Uncomment the 2 WebP tests in tests/python/bl_imbuf_save.py
  • Run and observe large deviations in expected pixel values:

The first failure seems entirely incorrect while the second exceeds our 1% failure threshold @ 0.016.

webp-rgb-70__from__rgba32.webp
  Mean error = 0.0058668
  RMS error = 0.01072
  Peak SNR = 39.3961
  Max error  = 0.0862745 @ (77, 45, G)  values are 0.04705883, 0.043137256, 0.0627451 vs 0.13333334, 0.12941177, 0.14901961
  9791 pixels (59.8%) over 1e-06
  2354 pixels (14.4%) over 0.016


webp-rgba-70__from__rgba32.webp
  Mean error = 0.00128407
  RMS error = 0.00366359
  Peak SNR = 48.7219
  Max error  = 0.054902 @ (112, 62, R)  values are 0.5058824, 0.25882354, 0.50980395, 1 vs 0.56078434, 0.3137255, 0.5647059, 1
  5139 pixels (31.4%) over 1e-06
  312 pixels (1.9%) over 0.016
FAILURE
**System Information** Operating system: MacOS ARM64 buildbot **Blender Version** Broken: 3.6 main 7699c7407d08e79580c36554206f14310f0f56c9 Worked: n/a **Short description of error** The newly added `imbuf_save` is failing for certain scenarios but only on MacOS ARM64 builds. This is a tracking bug so we can investigate the issue and re-enable the tests. **Exact steps for others to reproduce the error** - Uncomment the 2 WebP tests in `tests/python/bl_imbuf_save.py` - Run and observe large deviations in expected pixel values: The first failure seems entirely incorrect while the second exceeds our 1% failure threshold @ 0.016. ``` webp-rgb-70__from__rgba32.webp Mean error = 0.0058668 RMS error = 0.01072 Peak SNR = 39.3961 Max error = 0.0862745 @ (77, 45, G) values are 0.04705883, 0.043137256, 0.0627451 vs 0.13333334, 0.12941177, 0.14901961 9791 pixels (59.8%) over 1e-06 2354 pixels (14.4%) over 0.016 webp-rgba-70__from__rgba32.webp Mean error = 0.00128407 RMS error = 0.00366359 Peak SNR = 48.7219 Max error = 0.054902 @ (112, 62, R) values are 0.5058824, 0.25882354, 0.50980395, 1 vs 0.56078434, 0.3137255, 0.5647059, 1 5139 pixels (31.4%) over 1e-06 312 pixels (1.9%) over 0.016 FAILURE ```
Jesse Yurkovich added the
Module
Core
Priority
Normal
Status
Confirmed
Type
Report
labels 2023-02-21 06:35:31 +01:00
Jesse Yurkovich self-assigned this 2023-02-21 06:41:05 +01:00
Bastien Montagne added
Type
Bug
and removed
Type
Report
labels 2023-02-22 10:17:06 +01:00
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
1 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#105006
No description provided.