Package Details: blender-git 3.0.r106621.g7b62a542308-1

Git Clone URL: https://aur.archlinux.org/blender-git.git (read-only, click to copy)
Package Base: blender-git
Description: A fully integrated 3D graphics creation suite (development)
Upstream URL: https://blender.org/
Licenses: GPL
Conflicts: blender
Provides: blender
Submitter: stativ
Maintainer: fbrennan (bartus)
Last Packager: bartus
Votes: 70
Popularity: 0.083984
First Submitted: 2013-12-05 10:11
Last Updated: 2021-06-10 16:45

Dependencies (33)

Required by (53)

Sources (8)

Pinned Comments

bartus commented on 2021-02-22 08:00

This package is also hosted on GitHub.
Use env vars to control build process:
  • FRAGMENT="#{commit,tag,branch}=..." for making bisect build.
  • CUDA_ARCH="sm_xx sm_yy" to build for a specific Cuda arch, supports multiple values.
  • MAKEFLAGS="xxx" to override default make flags (check oom-killer disclaimer below)
Usage cases:
  • makepkg CUDA_ARCH=sm_52
  • yay -S blender-git --mflags "CUDA_ARCH=sm_52"
Optional features, defined at build time base on installed packages:
Disclaimer:

If you want to prebuild cycles/compositor kernels, you have to install cuda beforehand. If you don't have cuda installed, PKGBUILD will silently discard cycles/compositor cuda kernel build.

Same goes with usd,optix,openimagedenoise features.

Out of memory killer.

You may use ninja-mem to prevent oom-killer when building on system with low memory to core ratio.

To activate use MAKEFLAGS+=" -m75" where 75 is the percentage upper threshold of memory usage when new build jobs is postponed.

Or simply lower the make jobs count in "MAKEFLAGS" variable, but bear in mind this will prolong your build process.

Latest Comments

1 2 3 4 5 6 ... Next › Last »

bartus commented on 2021-06-01 09:18

@Sinasta @mahjong open{colorio,imageio, shadinglanguage}-qfix requires a rebuild against latest community\openexr if you're using rebuild-detector and doesn't get notifications about this, please contact @kuteta. I'll pop the pkgrel to trigger rebuild when I'm back. When community/blender finally gets updated to 2.93 those -qfix shananigans will be over.

mahjong commented on 2021-06-01 07:46

Same issue as @Sinasta

Sinasta commented on 2021-05-20 10:30

getting this error when trying to compile the new version:

[225/4634] Generating node_scatter_volume.oso FAILED: intern/cycles/kernel/shaders/node_scatter_volume.oso cd /var/tmp/pamac-build-sinasta/blender-git/src/build/intern/cycles/kernel/shaders && /opt/osl/bin/oslc -q -O2 -I"/var/tmp/pamac-build-sinasta/blender-git/src/blender/intern/cycles/kernel/shaders" -I"/opt/osl/share/OSL/shaders" -o /var/tmp/pamac-build-sinasta/blender-git/src/build/intern/cycles/kernel/shaders/node_scatter_volume.oso /var/tmp/pamac-build-sinasta/blender-git/src/blender/intern/cycles/kernel/shaders/node_scatter_volume.osl /opt/osl/bin/oslc: error while loading shared libraries: libOpenEXR-3_0.so.27: cannot open shared object file: No such file or directory [226/4634] Building CXX object intern/cycles/kernel/CMakeFiles/cycles_kernel.dir/kernels/cpu/kernel_split_avx2.cpp.o [227/4634] Building CXX object intern/cycles/kernel/CMakeFiles/cycles_kernel.dir/kernels/cpu/kernel_split.cpp.o [228/4634] Building CXX object intern/cycles/kernel/CMakeFiles/cycles_kernel.dir/kernels/cpu/kernel.cpp.o [229/4634] Building CXX object intern/cycles/kernel/CMakeFiles/cycles_kernel.dir/kernels/cpu/kernel_split_sse41.cpp.o [230/4634] Building CXX object intern/cycles/kernel/CMakeFiles/cycles_kernel.dir/kernels/cpu/kernel_sse41.cpp.o [231/4634] Building CXX object intern/cycles/kernel/CMakeFiles/cycles_kernel.dir/kernels/cpu/kernel_split_sse3.cpp.o [232/4634] Building CXX object intern/cycles/kernel/CMakeFiles/cycles_kernel.dir/kernels/cpu/kernel_sse3.cpp.o [233/4634] Building CXX object intern/cycles/kernel/osl/CMakeFiles/cycles_kernel_osl.dir/osl_services.cpp.o ninja: build stopped: subcommand failed. ==> ERROR: A failure occurred in build(). Aborting...

and this error when trying to start Blender:

blender: error while loading shared libraries: libIex-3_0.so.27: cannot open shared object file: No such file or directory

sausix commented on 2021-03-02 19:44

@carlosnewmusic Use MAKEFLAGS to reduce memory assignment. This is mostly described below.

Less threads or just a specific cuda kernel solves that issue. The kernels consume around 3GB RAM each.

carlosnewmusic commented on 2021-03-02 16:22

when compiling it leaves the system frozen using all available ram and swap

sausix commented on 2021-02-22 14:34

@bartus Don't know the exact reason, but PKGBUILD was stuck to some older version: pkgver=2.93.r103953.gbc851700a61 which did not yet had the extra opt paths.

Even after deletion of PKGBUILD it was recreated with that older version. Maybe some AUR helper bug (yay).

A clean build helped.

I had installed the qfix-packages manually before updating blender-git so i did not realize the old PKGBUILD.

Sorry and thanks for helping!

There are other problems and i will open an issue at github.

bartus commented on 2021-02-22 08:00

This package is also hosted on GitHub.
Use env vars to control build process:
  • FRAGMENT="#{commit,tag,branch}=..." for making bisect build.
  • CUDA_ARCH="sm_xx sm_yy" to build for a specific Cuda arch, supports multiple values.
  • MAKEFLAGS="xxx" to override default make flags (check oom-killer disclaimer below)
Usage cases:
  • makepkg CUDA_ARCH=sm_52
  • yay -S blender-git --mflags "CUDA_ARCH=sm_52"
Optional features, defined at build time base on installed packages:
Disclaimer:

If you want to prebuild cycles/compositor kernels, you have to install cuda beforehand. If you don't have cuda installed, PKGBUILD will silently discard cycles/compositor cuda kernel build.

Same goes with usd,optix,openimagedenoise features.

Out of memory killer.

You may use ninja-mem to prevent oom-killer when building on system with low memory to core ratio.

To activate use MAKEFLAGS+=" -m75" where 75 is the percentage upper threshold of memory usage when new build jobs is postponed.

Or simply lower the make jobs count in "MAKEFLAGS" variable, but bear in mind this will prolong your build process.

bartus commented on 2021-02-22 07:45

@sausix: Strange, as I explicitly popped up pkgrel for openshadinglanguage-qfix to trigger rebuild ( ಠ ʖ̯ ಠ) ###

Also weird, that cmake fails to find oiio since it has direct path to oiio provided in -DOPENIMAGEIO_ROOT_DIR=/opt/oiio switch. ###

Could you please add --trace-expand to cmake call and check blender-git-*-build.log for FindOpenImageIO.cmake lines.

##patch

Apply with git apply -v <(curl -s http://ix.io/2QiQ) in blender-git clone.

To get blender-git*-build.log build with makepkg -L

Then search for those lines blender-git*-build.log :

...
/build/blender-git/src/blender/build_files/cmake/Modules/FindOpenImageIO.cmake(42):  FIND_LIBRARY(OPENIMAGEIO_LIBRARY NAMES OpenImageIO HINTS /opt/oiio;/opt/lib/oiio PATH_SUFFIXES lib64 lib )
...
/usr/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake(480):  string(APPEND DETAILS [/opt/oiio/lib/libOpenImageIO.so] )
...

btw. If you want to post blender-git*-build.log use ix.io

sausix commented on 2021-02-21 15:07

Thanks for previous fixing!

openshadinglanguage-qfix was not updated/triggered somehow and still provided /usr/bin/oslc which was not working anymore because of newer libclang-cpp.so.

After forcing a reinstall of all your *-qfix packages, it seems like that blender-git does not find the libs in the new destinations below /opt.

CMake Error at CMakeLists.txt:926 (message):
  Cycles requires WITH_OPENIMAGEIO, the library may not have been found.
  Configure OIIO or disable WITH_CYCLES

bartus commented on 2021-02-15 20:48

@sausix: This is due to conflict between open{image,color}io witch was rebuild using different version ( openimageio<-opencolorio1 not opencolorio=2 )

Should be fixed now ( using openimageio-qfix since community/openimageio get rebuild against opencolorio=2 )