Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-05-25Merge branch 'blender-v2.83-release'Campbell Barton
2020-05-25CMake: disable WITH_USD with blender_lite configurationsCampbell Barton
2020-05-25Deps: ffmpeg 4.2.3 + codecs updateRay Molenkamp
This diff updates: FFmpeg : 4.3.2 libogg : 1.3.4 flac : 1.3.3 vpx : 1.8.2 xvid : 1.3.7 x264 : 33f9e1474613f59392be5ab6a7e7abf60fa63622 x264 seemingly has given up on even providing snapshots and has been updated to the latest hash available at this time. faad has been removed since ffmpeg has not supported it since 2010.
2020-05-24Deps : XR_OpenXR_SDK 1.0.8Ray Molenkamp
2020-05-24deps: SDL 2.0.12Ray Molenkamp
2020-05-24Deps: OpenSubDiv 3.4.3Ray Molenkamp
2020-05-23Deps: Freetype 2.10.2Ray Molenkamp
2020-05-23deps: OpenAL 1.20.1Ray Molenkamp
2020-05-19Properly fix: T71040 / T58983 Ocean Modifier crashes at high resolutionsRay Molenkamp
For a more detailed description of the issue see the commit message for rB497cd3d7dd6e497be484eb78a8ddb23f53b20343 This change moves fftw to a shared library and reverts the bandaid we did for 2.83.
2020-05-19win/deps: generate sndfiles import library with ms lib toolRay Molenkamp
Unsure what it is that upsets it so much, but when linking both sndfile and fftw dynamically, the linker gets confused and thinks that fftw is importing sf_close from the blender binary (which makes *NO* sense) leading to a start-up error. Generating the import library from the .def file using the ms lib tool creates an import library that works fine.
2020-05-19Merge remote-tracking branch 'origin/blender-v2.83-release'Ray Molenkamp
2020-05-19Fix: T71040 / T58983 Ocean Modifier crashes at high resolutionsRay Molenkamp
This is not as much a fix as a work around, but given the real involves replacing how we build fftw, it is not eligible for 2.83 which is in BCON3 already. The root of the issue lies with (how we build) fftw3 The first issue is: fftw does not build with MSVC, there are other dependencies that are not compatible with MSVC and for those we build the libraries required with mingw64, same for fftw The second issue is: for reasons unknown we really really really liked all deps to link statically so wherever possible we did so. Now during the building of the fftw it linked a few symbols from libgcc (which we do not ship) like __chkstk_ms, for which we passed some flags to stop generating calls to it. Problem solved! There is no way this could possibly turn around and bite us in the rear. fast forward to today mystery crashes that look like a race condition. What is happening is, we tell the linker that each thread will require a 2-megabyte stack, now if every thread immediately allocated 2 megs, that be 'rough' on the memory usage. So, what happens is (for all apps not just blender), 2 megs are reserved but not backed by any real memory and the first page is allocated for use by the stack, now as the stack grows, it will eventually grow out of that first page, and end up in an area that has not been allocated yet, to deal with that the allocated page is followed by a guard page, someone touches the guard page it's time to grow the stack! Meanwhile in FFTW is it's doing substantial allocation using alloca (up to 64 kb) on the stack, jumping over the guard page, and ending up in reserved but not yet committed memory, causing an access violation. Now if you think, that doesn't sound right! something should have protected us from that! You are correct! That thing was __chkstk_ms which we disabled. Given we do not want a dependency on libgcc while building with MSVC the proper solution is to build fftw as a shared library which will statically link any bits and pieces it needs, however that change is a little bit too big to be doing in BCON3. So as a work around, we change the size the stack grows from 8k to 68k which gives fftw a little bit more wiggle room to keep it out of trouble most of the time. Note this only sidesteps the issue, this may come up again if the conditions are just right, and a proper solution will need to be implemented for 2.90.
2020-05-12Merge branch 'blender-v2.83-release'Brecht Van Lommel
2020-05-12Fix CMake using different OpenEXR / USD includes and libraries in some casesBrecht Van Lommel
Search for all potential library names in each directory, otherwise e.g. libImath-2_2.a from a system directory will be preferred over libImath.a even if we specified a directory.
2020-05-11Windows: Re-enable incremental linkingRay Molenkamp
It was disabled in D7520 to keep the pdb's from growing out of control however the increased link time is just not worth it. I'll keep an eye on the dailies and see if we have to come up with a different solution.
2020-05-09deps/windows: Fix wrong crt for libjpeg and pthreadsRay Molenkamp
The msvc linker had been warning about libcmt being dragged in for a bit, finally tracked the issue down to the deps of jpeg and pthreads which both ignored our cflags. this diff changes them both to use the dynamic crt rather than the static one so they'll be in line with all our other libraries.
2020-05-08Install_deps: Add support to compile TBB when we cannot find version.Bastien Montagne
We now want to use fairly recent TBB (2018 at least?), so distro a bit old will not have required package anymore... Tested with Debian, other distro "should work" (c), but tests there are much welcome! ;)
2020-05-08install_deps: Fix (unreported) typo in OpenXR build code.Bastien Montagne
Was breaking up proper behavior of 'need to rebuild' checks for that lib.
2020-05-08install_deps: Fix (unreported) broken logic in OIIO building.Bastien Montagne
Not sure where that code was comming from, but it was breaking the cleanup/update_deps logic...
2020-05-08install_deps: Fix (unreported) broken Boost source URL.Bastien Montagne
2020-05-08Cleanup: install_deps: Simplify the 'no distro' code a bit.Bastien Montagne
We never deal with packages then, and only ever build (if we do anything), no reason to make things more complicated than needed...
2020-05-08install_deps: Fix (unreported) bad handling of deps between libs.Bastien Montagne
Previous code would forec built libs to always be rebuilt when one of their deps was using a package. While this could be useful when said package was actually updated, this generates way too much false positives. Now only rebuild a built lib when we actually switch from built to package for one of its deps.
2020-05-05Merge branch 'blender-v2.83-release'Brecht Van Lommel
2020-05-05Fix build with precompiled libraries picking up OpenEXR from install_deps.shBrecht Van Lommel
2020-05-04Windows: Silence LNK4099 warning.Ray Molenkamp
Ever since debug symbols were added for release builds the linker has been on the chatty side about symbols being missing for our binary libs. There's currently no plans to supply those, so best for the linker not to warn us about them.
2020-05-04Windows: Move tbb to being dynamic libraryRay Molenkamp
Static tbb has always been frowned upon [1] sofar it has worked for us but given our reliance on tbb is about to increase (D7475), I'd like to move the library to more supported configuration. Which means moving it to be a dynamic library The libs part of this change is in rBL62416 Reviewed By: Brecht Differential Revision: https://developer.blender.org/D7570
2020-05-01Windows: Support backtraces on release builds.Ray Molenkamp
This diff add supports for crash logs on windows for release builds. This can be toggled on/off with the `WITH_WINDOWS_PDB` cmake option. by default it is on. Things to take into consideration: Release builds are hightly optimized and the resulting backtraces can be wrong/misleading, take the backtrace as a general area where the problem resides rather than an exact location. By default we ship a minimized symbol file that can only resolve the function names. This was chosen to strike a balance between growth in size of the download vs functionality gained. If more detailed information is required such as source file + line number information a full pdb can be shipped by setting `WITH_WINDOWS_STRIPPED_PDB` to off. Differential Revision: https://developer.blender.org/D7520 Reviewed by: brecht
2020-05-01Cleanup: rename WITH_X11 to WITH_GHOST_X11Campbell Barton
Matches WITH_GHOST_{SDL|WAYLAND}
2020-04-30Revert "Windows: Support backtraces on release builds."Ray Molenkamp
Issues with older cmake.
2020-04-30Fix: Windows build bot script errorRay Molenkamp
Partial revert of D7520
2020-04-30Windows: Support backtraces on release builds.Ray Molenkamp
This diff add supports for crash logs on windows for release builds. This can be toggled on/off with the `WITH_WINDOWS_PDB` cmake option. by default it is on. Things to take into consideration: Release builds are hightly optimized and the resulting backtraces can be wrong/misleading, take the backtrace as a general area where the problem resides rather than an exact location. By default we ship a minimized symbol file that can only resolve the function names. This was chosen to strike a balance between growth in size of the download vs functionality gained. If more detailed information is required such as source file + line number information a full pdb can be shipped by setting `WITH_WINDOWS_STRIPPED_PDB` to off. The Release in the title of this diff refers to the release build type, not the official blender releases. Initially this will only be enabled for nightly build bot versions of blender, official releases as of now will not ship with symbols. Differential Revision: https://developer.blender.org/D7520 Reviewed by: brecht
2020-04-30Task: Use TBB as Task SchedulerBrecht Van Lommel
This patch enables TBB as the default task scheduler. TBB stands for Threading Building Blocks and is developed by Intel. The library contains several threading patters. This patch maps blenders BLI_task_* function to their counterpart. After this patch we can add more patterns. A promising one is TBB:graph that can be used for depsgraph, draw manager and compositor. Performance changes depends on the actual hardware. It was tested on different hardwares from laptops to workstations and we didn't detected any downgrade of the performance. * Linux Xeon E5-2699 v4 got FPS boost from 12 to 17 using Spring's 04_010_A.anim.blend. * AMD Ryzen Threadripper 2990WX 32-Core Animation playback goes from 9.5-10.5 FPS to 13.0-14.0 FPS on Agent 327 , 10_03_B.anim.blend. Reviewed By: brecht, sergey Differential Revision: https://developer.blender.org/D7475
2020-04-30GHOST: initial Wayland supportChristian Rauch
Usable with the CMake option 'WITH_GHOST_WAYLAND' The following functionality is working: - Building with X11 and Wayland at the same time, wayland is used when available. - Keyboard, pointer handling. - Cursor handling. - Dedicated off-screen windows. - Drag & drop. - Copy & paste. - Pointer grabbing. See D6567 for further details.
2020-04-29Merge branch 'blender-v2.83-release'Bastien Montagne
2020-04-29Windows: Fix RelWithDebInfo missing symbol informationRay Molenkamp
issue introduced in rB55a2682348df94d0ff2f57d786b7a557312d0345
2020-04-29Fix Python bz2 module failing to import on older macOS versionsBrecht Van Lommel
Found by failing bundled modules test. The bz2 library was compiled without proper minimum SDK version flags.
2020-04-29Merge branch 'blender-v2.83-release'Bastien Montagne
2020-04-29nstall_deps: USD: Add root usd library directory to build args.Anthony Edlin
Add root usd library directory to build arguments, same as other libraries. Also fix error/typo in compile_USD regarding _is_building. Reviewed By: mont29 Differential Revision: https://developer.blender.org/D7563
2020-04-27CMake: add WITH_LINKER_LLD option for unix platformsNathan Craddock
Can give considerably faster linking, especially for debug builds. This may be enabled by default but needs to be more thoroughly tested.
2020-04-20Windows: Add sccache support.Ray Molenkamp
sccache [1] is one of the few ccache like solutions that will work on windows. sccache support can be enabled with the `WITH_WINDOWS_SCCACHE` cmake option however it will only will work with ninja as the build system, msbuild is not supported currently. Advanced option, developes are expected to obtain and configure sccache on their own. ``` Full build no cache 1428.90s (100.00%) Full build cached 434.34s ( 30.40%) ``` [1] https://github.com/mozilla/sccache Reviewed By: nicholas_rishel, Brecht Differential Revision: https://developer.blender.org/D7466
2020-04-07Build: use -no-pie for portable builds on LinuxBrecht Van Lommel
Otherwise file browsers do not recognize the Blender executable. This is already done for official releases. We leave it off for non-portable builds, since that's how Linux distribution packages will typically build Blender and we can continue to follow the OS default there. Using a file browser to launch executables from e.g. /usr/bin would be rare as wel. Differential Revision: https://developer.blender.org/D7363
2020-04-06Fix T75357: USD export broken on windowsRay Molenkamp
Path to the jsons was wrong so they were not copied
2020-04-05Build: hide USD symbols, make Blender symbols visible againBrecht Van Lommel
Following up to b555b8d. Building Blender with hidden symbols but using libraries with visible symbols was giving linker warnings, specifically for USD. So revert that for now, as it was not needed for the bugfix. Hide USD symbols (some of which are not in the USD namespace) to avoid potential conflicts. May potentially help with AMD OpenCL issues in T74262.
2020-04-02Fix Linux link error with pcre after recent changes, must use absolute pathBrecht Van Lommel
2020-04-02Fix link error on Linux buildbot with libxml2Brecht Van Lommel
On macOS this is part of the collada folder, but for Linux xml2 is in its own folder for precompiled libraries.
2020-04-02Fix (harmless) PCRE not found warning when configuring CMake on LinuxBrecht Van Lommel
Differential Revision: https://developer.blender.org/D7309
2020-04-02Cleanup: simplify Linux buildbot config, where default values already matchBrecht Van Lommel
Ref D7309
2020-03-31make.bat: Improve messaging when not detecting MSVCRay Molenkamp
Inspired by @mrwhite in D7295
2020-03-31Build: hide most symbols on macOS on Linux to avoid conflictsBrecht Van Lommel
This means symbols from Blender itself and most external libraries. We can't just hide all because that breaks some libraries. The better solution would be to rebuild all library dependencies with hidden visibility. Fixes T75223: Luxrender add-on failing to load on macOS
2020-03-27Install_deps: Do not wipe out `WITH_PYTHON` CMake options.Bastien Montagne
This is annoying when one want to use system python and hence disables the `WITH_PYTHON_INSTALL` options...