Package Details: blender-2.83-git 2.83.19.r1.gb84159e4410-1

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
Provides: blender
Submitter: bartus
Maintainer: bartus
Last Packager: bartus
Votes: 2
Popularity: 0.000018
First Submitted: 2020-05-04 00:28 (UTC)
Last Updated: 2022-02-16 19:37 (UTC)

Required by (53)

Sources (13)

Pinned Comments

bartus commented on 2022-03-14 10:30 (UTC)

Sorry lads, I'm at the Polish Ukraine border helping allocate refugees. Expect no update until this hell is over, wish us luck. Have no time nor access to my rig and AUR keys to test/post updates. If you have a patch, ping me on email - I'll add you as co-maintainer. Posted with my old script - https://github.com/bartoszek/aur-post

bartus commented on 2021-05-05 08:05 (UTC)

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

bartus commented on 2022-03-14 10:30 (UTC)

Sorry lads, I'm at the Polish Ukraine border helping allocate refugees. Expect no update until this hell is over, wish us luck. Have no time nor access to my rig and AUR keys to test/post updates. If you have a patch, ping me on email - I'll add you as co-maintainer. Posted with my old script - https://github.com/bartoszek/aur-post

bartus commented on 2021-05-23 10:23 (UTC)

@bazza: you have some problem I can help, or just shit posting?

bazza commented on 2021-05-22 21:57 (UTC)

Already version 2.8.15... Maybe it would be a good version blender-lts-bin being that it still takes a year to this version.

bartus commented on 2021-05-05 09:05 (UTC) (edited on 2021-05-05 09:07 (UTC) by bartus)

@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 (UTC)

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 (UTC) (edited on 2021-05-04 15:15 (UTC) by bazza)

==> 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 (UTC)

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

applebloom commented on 2021-01-15 19:53 (UTC) (edited on 2021-01-15 19:56 (UTC) by applebloom)

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 (UTC)

@bartus: Sweet, thanks for your effort.

bartus commented on 2021-01-06 19:17 (UTC) (edited on 2021-01-06 19:20 (UTC) by bartus)

@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 (UTC)

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 (UTC)

@bartus: nice, thanks. That helps

bartus commented on 2020-07-30 11:09 (UTC) (edited on 2020-07-30 11:14 (UTC) by bartus)

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

berilac commented on 2020-07-30 11:00 (UTC)

@bartus: very much appreciated, and sorry for the trouble.

bartus commented on 2020-07-30 10:54 (UTC)

@berilac: there are two distinct expansion of array in bash, @ and *. First preserves White spaces, second don't. https://repl.it/@bartoszek/MidnightbluePopularApplications#main.sh

berilac commented on 2020-07-30 10:43 (UTC) (edited on 2020-07-30 10:45 (UTC) by berilac)

@bartus: Right, looks like bash requires slightly different syntax for the expansion. echo "${_SOME_VAR[@]}"

So my bad, the variables should have been set fine, and I was just not echoing them out properly :/ Sorry

berilac commented on 2020-07-30 10:34 (UTC)

@bartus: https://repl.it/repls/MidnightbluePopularApplications Horribly simple.

bartus commented on 2020-07-30 10:18 (UTC) (edited on 2020-07-30 10:24 (UTC) by bartus)

@berilac: could you perhaps post your test script to repl.it so I can look into it?

berilac commented on 2020-07-30 10:15 (UTC)

@bartus: It intrigued me as well. Just ran quick bash script test. Same issue. only gets set first time, and also if more than one item is in the list the first time, only the first is stored.

...OK, it looks like bash and sh do not do what we expect, but zsh does.

berilac commented on 2020-07-30 10:07 (UTC)

@bartus: only that the arrays were seemingly not expanding at all, after the first on line 13.

I have no idea why. I'm trying to read around the topic to see if it's something in my system config.

bartus commented on 2020-07-30 10:05 (UTC)

@berilac: could you elaborate further on _CMAKE_FLAGS array expansion, I'm curious.

berilac commented on 2020-07-30 10:01 (UTC) (edited on 2020-07-30 10:01 (UTC) by berilac)

@bartus: thanks again! I guess you're suggesting building v2.90 then? :)

Other than that, I was echoing out $_CMAKE_FLAGS each time it was altered with +=( some_text ) and found that the parenthesis lists were not altering the flags.

I changed the lists to single-quotes (and double-quotes where it included as expression) and now it compiles further than before, but ends up hitting a similar error later.

Gonna try v2.90

bartus commented on 2020-07-30 09:33 (UTC) (edited on 2020-07-30 09:57 (UTC) by bartus)

@berilac: I found the problem - after cuda:11 landed in Arch/community it has deprecated sm_30, which is the default build arch for optix device. It's already fixed in blender-v2.90-release

I've cherry-picked the beforemention commit, it should now work with cuda:11 (tested with makepkg CUDA_ARCH=sm_53

berilac commented on 2020-07-30 09:20 (UTC)

@bartus: thanks, but setting that leads to the following. I've got gtx 960M (sm_50), which apparently is now old enough to be deprecated soon :/ Looks like CUDA_ARCH is not setting correctly? and it's now first trying sm_30... I'm digging into this myself as well.

$> makepkg CUDA_ARCH=sm_50

[  3% | 151<5<4045 | 14.1bps ] Generating kernel_optix.ptx
FAILED: intern/cycles/kernel/kernel_optix.ptx 
cd /tmp/makepkg/blender-2.83-git/src/blender/intern/cycles/kernel && /opt/cuda/bin/nvcc --ptx -arch=sm_30 -I /opt/optix/include -I /tmp/makepkg/blender-2.83-git/src/blender/intern/cycles/kernel/.. -I /tmp/makepkg/blender-2.83-git/src/blender/intern/cycles/kernel/kernels/cuda --use_fast_math -o /tmp/makepkg/blender-2.83-git/src/build/intern/cycles/kernel/kernel_optix.ptx kernels/optix/kernel_optix.cu
nvcc fatal   : Value 'sm_30' is not defined for option 'gpu-architecture'
[  3% | 152<4<4045 | 4.1bps ] Generating filter_sm_50.cubin
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35', 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).

bartus commented on 2020-07-29 23:50 (UTC)

@berilac: this looks like some strange artifact form nvcc_arch selection logic. Could you build with makepkg CUDA_ARCH=sm_xx whare xx is your GPU cuda compute capability: https://developer.nvidia.com/cuda-gpus#compute (example geforce980=sm_52)

berilac commented on 2020-07-29 22:57 (UTC) (edited on 2020-07-29 22:57 (UTC) by berilac)

Getting this odd error...

In file included from /build/blender-2.83-git/src/blender/intern/cycles/kernel/kernels/cuda/filter.cu:21:
/build/blender-2.83-git/src/blender/intern/cycles/kernel/kernels/cuda/kernel_config.h:87:4: error: #error "Unknown or unsupported CUDA architecture, can't determine launch bounds"
   87 | #  error "Unknown or unsupported CUDA architecture, can't determine launch bounds"
      |    ^~~~~
/build/blender-2.83-git/src/blender/intern/cycles/kernel/kernels/cuda/kernel_config.h:110:62: error: division by zero in #if
  110 |         (CUDA_THREADS_BLOCK_WIDTH * CUDA_THREADS_BLOCK_WIDTH * CUDA_KERNEL_MAX_REGISTERS) > \

DarkStar1997 commented on 2020-07-25 16:17 (UTC)

Hi @bartus, I think it happened because I edited the PKGBUILD to turn on -DWITH_PYTHON_MODULE=ON. On removing it fixes the issue. But then I now I am getting libosdCPU.so.3.4.0 not found, same for libosdGPU.so.3.4.0 and libGLEW.so.2.1 I am getting this error with blender-2.90-git as well and I have checked that I have libosdCPU.so.3.4.3, libosdGPU.so.3.4.3, libGLEW.so.2.2 Any way to solve this?

bartus commented on 2020-07-24 17:04 (UTC) (edited on 2020-07-24 17:05 (UTC) by bartus)

@DarkStar1997: strange, this shouldn't happen. Could you please post full package log makepkg --log; ix blender-2.83-git*package.log

You should have this line in blender-2.83-git*package.log

Installing: [...]/blender-2.83-git/pkg/blender-2.83-git/usr/share/applications/blender.desktop

DarkStar1997 commented on 2020-07-24 06:58 (UTC)

I am facing the following error during the installation:

-- Installing: /home/rohan/blender-2.83-git/pkg/blender-2.83-git/usr/lib64/python3.8/site-packages/2.83/datafiles/usd/usdImagingGL/resources/plugInfo.json
==> add -2.83 suffix to desktop shortcut
sed: can't read /home/rohan/blender-2.83-git/pkg/blender-2.83-git/usr/share/applications/blender.desktop: No such file or directory
==> ERROR: A failure occurred in package().
    Aborting...

bartus commented on 2020-05-24 08:52 (UTC) (edited on 2020-05-24 08:53 (UTC) by bartus)

blender-2.83 is the binary name in this package.

Package also provides desktop shortcut which is visible in your desktop environment.

You can always use pacman -Ql package_name|grep bin to list binaries in the package.

Tanghe commented on 2020-05-22 12:10 (UTC) (edited on 2020-05-22 12:27 (UTC) by Tanghe)

What command to launch ? if i search for occurences of blender on my seystem i get nothing.