Package Details: blender-2.83-git 2.83.13.r2.gd35974cd870-2

Git Clone URL: https://aur.archlinux.org/blender-2.83-git.git (read-only, click to copy)
Package Base: blender-2.83-git
Description: LTS Maintenance version of blender-v2.83-release branch
Upstream URL: https://blender.org/
Licenses: GPL
Conflicts: blender=2.83
Provides: blender=2.83
Submitter: bartus
Maintainer: bartus
Last Packager: bartus
Votes: 2
Popularity: 0.087600
First Submitted: 2020-05-04 00:28
Last Updated: 2021-05-05 09:12

Dependencies (28)

Required by (53)

Sources (11)

Pinned Comments

bartus commented on 2021-05-05 08:05

Note: This is a non conflicting version of blender-git package tracing blender-v2.83-maintnance branch for blender:2.83 LTS relaease with GPU architecture detected at build time.
This package is also hosted on GitHub.
Use env vars to control build process:
  • DISABLE_CUDA=1 to skip cuda kernel build (cycles+compositor+optix)
  • DISABLE_NINJA=1 to switch build system to make (default:ninja)
  • DISABLE_OPTIX=1 to skip optix device build.
  • DISABLE_USD=1 to skip universal scene descriptor build.
  • 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:
  • export DISABLE_CUDA=1 before build
  • DISABLE_CUDA=1 ~your-aur-helper~
  • makepkg DISABLE_CUDA=1
  • yay -S blender-2.8-git --mflags "DISABLE_CUDA=1"
Yay users warning:

Since yay relies solely on aur-rpc to solve dependencies instead of calling makepkg --sync it can't follow dependencies logic defined in PKGBUILD. That's why it's up to the user to provide dependencies to enable desired features. Optional features includes cuda/optix/usd.

tl;dr; If you want to prebuild cycles kernels, you have to install CUDA beforehand. If you don't have CUDA installed, PKGBUILD will fail unless you disable cuda with DISABLE_CUDA=1, same for optix and usd.

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 this will prolong your build process.

Latest Comments

1 2 3 Next › Last »

bartus commented on 2021-05-05 09:05

@bazza: Those are automagical deps you can disable those if won't use them using env vars: DISABLE_OPTIX=1 DISABLE_USD=1.

Well to ease things out I've pushed optix70 and usd19 to AUR and replace depends+=(optix=7.0 usd=19.01) whit depends+=(optix70 usd19)

Also ported openexr3.patch from blender-git package to be able to build without downgrading openexr to openexr2

bartus commented on 2021-05-05 08:05

Note: This is a non conflicting version of blender-git package tracing blender-v2.83-maintnance branch for blender:2.83 LTS relaease with GPU architecture detected at build time.
This package is also hosted on GitHub.
Use env vars to control build process:
  • DISABLE_CUDA=1 to skip cuda kernel build (cycles+compositor+optix)
  • DISABLE_NINJA=1 to switch build system to make (default:ninja)
  • DISABLE_OPTIX=1 to skip optix device build.
  • DISABLE_USD=1 to skip universal scene descriptor build.
  • 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:
  • export DISABLE_CUDA=1 before build
  • DISABLE_CUDA=1 ~your-aur-helper~
  • makepkg DISABLE_CUDA=1
  • yay -S blender-2.8-git --mflags "DISABLE_CUDA=1"
Yay users warning:

Since yay relies solely on aur-rpc to solve dependencies instead of calling makepkg --sync it can't follow dependencies logic defined in PKGBUILD. That's why it's up to the user to provide dependencies to enable desired features. Optional features includes cuda/optix/usd.

tl;dr; If you want to prebuild cycles kernels, you have to install CUDA beforehand. If you don't have CUDA installed, PKGBUILD will fail unless you disable cuda with DISABLE_CUDA=1, same for optix and usd.

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 this will prolong your build process.

bazza commented on 2021-05-04 15:15

==> Making package: blender-2.83-git 2.83.13.r2.gd35974cd870-1 (Tue May  4 12:07:38 2021)
==> Checking runtime dependencies...
==> Missing dependencies:
  -> usd=19.11
==> Checking buildtime dependencies...
==> Missing dependencies:
  -> optix=7.0
==> ERROR: Could not resolve all dependencies.

Command 'makepkg --force' failed to execute.
:: Try recovering?

bartus commented on 2021-04-22 14:28

@appleboom: Fixed, cuda11.patch was merged into blender-2.83-release branch.

applebloom commented on 2021-01-15 19:53

I get a checksum error on cuda11.patch (https://git.blender.org/gitweb/gitweb.cgi/blender.git/patch/a9644c812fc17b38503828d6edf7d259b6fe0e74). I tried redownloading, same thing. The sum is for me ba8ce3b91d5dc3ea1d458341f494ab7b147de7bd3829e7ea1e7a0e183bee6348.

lamarpavel commented on 2021-01-11 15:32

@bartus: Sweet, thanks for your effort.

bartus commented on 2021-01-06 19:17

@lamarpavel: OK, I've pushed usd19 to AUR: which is just a branch of old AUR/usd package which I would like to bring back to AUR, as community/usd is broken and even not being used by community/blender package (-‸ლ) but ssh aur@aur.archlinux.org restore usd fails with warning that usd already exists in community (╯°益°)╯彡┻━┻

I will update depends array for all relevant blender-* packages shortly.

lamarpavel commented on 2021-01-01 10:25

The required package usd=19.11 is no longer available in the repositories, causing the build to fail early. Unfortunately, the current version usd=20.11-4 is not compatible and the build fails during compilation of source/blender/io/usd/CMakeFiles/bf_usd.dir/intern/usd_writer_mesh.cc.o.

Maybe the simplest solution is to create an aur package of usd-19.11 and add this as source.

berilac commented on 2020-07-30 11:26

@bartus: nice, thanks. That helps

bartus commented on 2020-07-30 11:09

@berilac: btw. you can see the difference when you do stuff like this: https://repl.it/@bartoszek/MidnightbluePopularApplications#main.sh