Package Details: blender-develop-git 2.91.r98801.gb522e834ec3-1

Git Clone URL: https://aur.archlinux.org/blender-develop-git.git (read-only, click to copy)
Package Base: blender-develop-git
Description: Development version of Blender (non-conflicting version)
Upstream URL: https://blender.org/
Licenses: GPL
Conflicts: blender=2.91
Provides: blender=2.91
Submitter: bartus
Maintainer: bartus
Last Packager: bartus
Votes: 12
Popularity: 0.77
First Submitted: 2020-05-04 01:47
Last Updated: 2020-08-09 14:13

Dependencies (27)

Required by (52)

Sources (8)

Pinned Comments

bartus commented on 2020-01-16 16:01

Current packages state (non-conflicting ones):

bartus commented on 2019-04-10 11:40

Note: This is a non conflicting version of blender-git package 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

« First ‹ Previous 1 2 3 4 5 6 7 8 Next › Last »

bartus commented on 2018-11-26 00:08

@hugegameartgd: blender-2.8 --debug-gpu

hugegameartgd commented on 2018-11-25 16:53

Blender freezes for me (does also happen with the official downloads).

kingcreole commented on 2018-11-23 07:21

oh, i never said thank you, thank you @bartus :)

bartus commented on 2018-11-21 12:50

@nepro2k: fixed.

netpro2k commented on 2018-11-21 06:28

The blender-addons and blender-addons-contrib repos both have a blender2.8 branch as well which this should probably use since it contains addons updated for the 2.8 version of blender.

Maybe use this from the official makefile? https://github.com/sobotka/blender/blob/blender2.8/GNUmakefile#L461-L463

bartus commented on 2018-10-25 13:51

@wojtex: I haven't got any issues when using blender-2.8 build against llvm7 did you encounter a problem, or is your rationale that blender build-deps pulls llvm6 by default?

wojtex commented on 2018-10-17 21:25

Hi. It seems that blender needs LLVM6 to build, so maybe add llvm6-libs to deps : - )

And thanks for maintaining this and other packages!

bartus commented on 2018-08-31 12:24

@kingcreole: looks like cmake<>cuda issue in arch repo. For now, just enforce sm_50 (here is PKGBUILD for you ;). If the problem prevails, I will have to drop autoselect Cuda arch ;(

kingcreole commented on 2018-08-30 20:53

thank you, for me it shows


-- Found CUDA: /opt/cuda (found version "9.2") 
-- CUDA nvcc = /opt/cuda/bin/nvcc
-- Automatic GPU detection failed. Building for common architectures.
-- Autodetected CUDA architecture(s): 3.0;3.5;5.0;5.2;6.0;6.1;7.0;7.0+PTX
-- Enabling CUDA support (version: 9.2, archs: sm_30 sm_35 sm_50 sm_52 sm_60 sm_61 sm_70 compute_70)

bartus commented on 2018-08-30 20:02

@kingcreole: please look at the build log if autodetect is working for cuda

-- Found CUDA: /opt/cuda (found version "9.2") 
-- CUDA nvcc = /opt/cuda/bin/nvcc
-- Autodetected CUDA architecture(s):  5.0
-- Enabling CUDA support (version: 9.2, archs: sm_50)

In case it isn't, remove this line form prepare() function. git apply ${srcdir}/SelectCudaComputeArch.patch