Library changes for Blender 4.0 #109244
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
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
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
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
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
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
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
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
5 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#109244
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Here is the list of all changes to our libraries for the Blender 4.0 release.
there is no temp branch yet for the 4.0 lib work
Summary
Preliminary Libraries
New Libraries
Changed Libraries
To Do
WIP
Done
Done 23-09-26
OpenImageIO 2.4.15
install_linux_packages
script (N/A, keep using version of distro)OpenSSL 3.1.2
install_linux_packages
script (N/A, keep using version of distro)Python 3.10.13
install_linux_packages
script (N/A, keep using version of distro)Sndfile 1.2.2
install_linux_packages
script (N/A, keep using version of distro)WebP 1.3.2
install_linux_packages
script (N/A, keep using version of distro)SDL 2.28.2
1594f7fb95
)install_linux_packages
script (N/A, keep using version of distro)OSL - rebuild for #110974
install_linux_packages
script (N/A)USD 23.05 - with patch to support OpenGL core profile
install_linux_packages
script (N/A)Done - before we tracked dates
embree 4.1.0 - no version change, there is an additional patch to resolve a crasher.
ece704af45
)install_linux_packages
script (N/A, not building it)FFMpeg - no version change, rebuild without libxvid
install_linux_packages
script (N/A)USD 23.05 - no version change, repo got renamed from USD to OpenUSD leading to a URI and package Hash change
4fe7626c49
)install_linux_packages
script (N/A)tiff 4.5.1
install_linux_packages
script (N/A)libxml2 2.10.4
install_linux_packages
script (N/A)Python 3.10.12 (update again after 3.10.11)
install_linux_packages
scriptOpenSSL 3.0.9
install_linux_packages
script (N/A)@mont29 USD recently renamed them selves to OpenUSD leading to an URI/Hash change for the existing 23.05 release, unsure if that's relevant for the linux script, so i'm just pinging you so you're aware.
@LazyDodo Ah thanks, for the heads up. Think the script remains unaffected by that (for now at least), since as far as I can tell neither Fedora nor Arch have updated their package names... Will have to keep an eye on that.
We're bumping llvm to 15.0.x this will likely cause some clang-format changes, so landing this will need some coordination between the platform teams and core to have it all go over smoothly. Unsure how to go about this yet, @ideasman42 given you're on both teams and have a good handle on clang-format can you look into the ramifications of bumping to v15 (for clang format only, OSL being the only other consumer should be ok according to their documentation )
@LazyDodo bumping LLVM to 15.0.7 seems fine, is anything needed from my side?
IGC_LLVM_VERSION
be bumped too?My main ask is for you to check out the formatting changes clang-format does with the V15 version as i'm not familiar enough with how this was setup, so i honestly don't know if it's wrong and needs a .clang-format change or it's doing a better job than v12 and everything is ok already.
Ah, the formatting changes are good as far as I'm concerned.
embree 4.1.0 rebuild with additional patch to resolve a crasher has been added, platform devs please rebuild main when convenient. (this is still in the pipeline for 3.6 as well, but please wait till the patch has landed there, i will add a work item in #104895 for that once the patch landed there)
We will want to rebuild USD for #110474, but not yet since we may discover more issues to be fixed.
When it's ready, just add it to the starting post, I'll take that as it being an actionable work item.
Slightly related to this, historically we kept a list of changes/new/preliminary libs which when a dep needed a second rebuild in a cycle we'd just clear the checkmarks. I'm considering of moving that over to a
todo / wip / done
- style list.In order to
keep some history on LTS releases where the ticket be alive for 2+ years and odds of updating a single dep multiple times (cough python security releases cough) is relatively high, it be good to keep a historic list on when certain work items were completed.
It's nice to have an open work item list near the top of the ticket and a whole bunch of stuff you can ignore nicely separated into its own section
@brecht / @ideasman42 either of you have strong opinions on this?
It's fine with me to separate things like that.
This also seems fine to me.
Regarding the remaining library updates for 4.0, which I think we prefer to before Bcon3 (in less than 2 weeks).
LLVM 15 seems to be the only one that is listed but has no corresponding CMake changes yet. I propose to move that to Blender 4.1 unless there is a specific reason we should upgrade now?
Assuming that's the case, Linux seems to be up to date and for macOS I would only need to update SDL. For Windows there are more libraries to be updated, which I guess @LazyDodo will have time for still?
llvm changes are in #110708 it was done mostly as a favor for the linaro people, i'm ok bumping to 4.1, especially since i saw a critical CVE fly by for zlib that may require a significant time allocation
Feel free to revert
607adbca47
if LLVM 15 is postponed (not critical, but better be consistent).I'd like to mention the following 3 updates for consideration:
@deadpin which OIIO patch are you referring to?
@brecht Need to create a patch from this PR: https://github.com/OpenImageIO/oiio/pull/3984
handy shortcut, you can just add .diff to the end of any github pull
https://github.com/OpenImageIO/oiio/pull/3984.diff
(works for pulls on p.b.o as well)
@deadpin ok, I added WebP 3.1.2 and OIIO 2.4.15 + the patch in #112529 and #112528.
We follow the VFX platform, and there OpenColorIO 2.3 is planned for next year.
If it's still possible, there was another bug that came in last week that requires a small patch to OIIO:
https://patch-diff.githubusercontent.com/raw/OpenImageIO/oiio/pull/3996.diff
Fixes a DDS load issue (https://github.com/OpenImageIO/oiio/issues/3993)