@berilac: could you elaborate further on _CMAKE_FLAGS array expansion, I'm curious.
Search Criteria
Package Details: blender-2.83-git 2.83.20.r0.ga56e2faeb7a-1
Package Actions
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.000000 |
First Submitted: | 2020-05-04 00:28 (UTC) |
Last Updated: | 2024-03-23 23:16 (UTC) |
Dependencies (28)
- alembic (alembic-gitAUR)
- embree
- ffmpeg (ffmpeg-intel-full-gitAUR, ffmpeg-nvcodec-11-1-gitAUR, ffmpeg-amd-fullAUR, ffmpeg-obsAUR, ffmpeg-amd-full-gitAUR, ffmpeg-cudaAUR, ffmpeg-decklinkAUR, ffmpeg-fullAUR, ffmpeg-gitAUR, ffmpeg-full-gitAUR, ffmpeg-headlessAUR, ffmpeg-ffplayoutAUR, ffmpeg-libfdk_aacAUR)
- fftw (fftw-amdAUR)
- freetype2 (freetype2-gitAUR, freetype2-qdoledAUR, freetype2-macosAUR)
- libgl (nvidia-340xx-utilsAUR, amdgpu-pro-oglpAUR, libglvnd-gitAUR, libglvnd)
- libpng (libpng-gitAUR, libpng-apngAUR)
- libtiff (libtiff-gitAUR, libtiff-lercAUR)
- libxi (libxi-gitAUR)
- openal (openal-gitAUR)
- opencollada
- opencolorio1AUR
- openexr (openexr-gitAUR)
- openimagedenoise (openimagedenoise-gitAUR)
- openimageio (openimageio-gitAUR)
- openjpeg2 (openjpeg-gitAUR)
- openshadinglanguage
- opensubdiv
- openvdb
- python (python37AUR, python311AUR, python310AUR)
- python-numpy (python-numpy-flameAUR, python-numpy-mkl-binAUR, python-numpy-gitAUR, python-numpy-mklAUR)
- boost (boost-gitAUR) (make)
- cmake (cmake-gitAUR) (make)
- git (git-gitAUR) (make)
- llvm (llvm-rocm-gitAUR, llvm-gitAUR, llvm-minimal-gitAUR) (make)
- mesa (mesa-nightly-nvk-rusticl-intelrt-gitAUR, amdonly-gaming-mesa-gitAUR, mesa-gitAUR, mesa-minimal-gitAUR, mesa-amber) (make)
- ninja (ninja-kitwareAUR, ninja-memAUR, ninja-fuchsia-gitAUR, ninja-gitAUR, ninja-jobserverAUR) (make)
- cuda (cuda11.1AUR) (optional) – CUDA support in Cycles
Required by (61)
- amino-git (requires blender) (optional)
- anja-git (requires blender) (make)
- arx-libertatis (requires blender) (optional)
- arx-libertatis-git (requires blender) (optional)
- blender-ac3d (requires blender)
- blender-better-collada-git (requires blender)
- blender-dream-textures (requires blender)
- blender-dream-textures-git (requires blender)
- blender-plugin-animation-nodes-git (requires blender)
- blender-plugin-apply-modifier-for-object-with-shape-keys-git (requires blender)
- blender-plugin-blenderseed-git (requires blender)
- blender-plugin-blendrig-git (requires blender)
- blender-plugin-bligify (requires blender)
- blender-plugin-bullet-constraints-builder (requires blender)
- blender-plugin-cad-sketcher-git (requires blender)
- blender-plugin-cork (requires blender)
- blender-plugin-cubesurfer (requires blender)
- blender-plugin-edgeflow (requires blender)
- blender-plugin-edgeflow-git (requires blender)
- blender-plugin-fspy (requires blender)
- blender-plugin-gaffer-git (requires blender)
- blender-plugin-gcode-reader (requires blender)
- blender-plugin-geometry-script (requires blender)
- blender-plugin-hdri-lighting-shortcut (requires blender)
- blender-plugin-io-three (requires blender)
- blender-plugin-light-studio-git (requires blender)
- blender-plugin-luxcorerender (requires blender)
- blender-plugin-luxcorerender-git (requires blender)
- blender-plugin-luxcorerender-latest-bin (requires blender)
- blender-plugin-manuelbastionilab (requires blender)
- blender-plugin-mesh-off (requires blender)
- blender-plugin-miratools (requires blender)
- blender-plugin-mmd-tools-git (requires blender)
- blender-plugin-molecular (requires blender)
- blender-plugin-pbr-materials (requires blender)
- blender-plugin-poliigon (requires blender)
- blender-plugin-polytrim (requires blender)
- blender-plugin-retopoflow (requires blender)
- blender-plugin-retopoflow-git (requires blender)
- blender-plugin-sketchfab (requires blender)
- blender-plugin-supertuxkart-git (requires blender)
- blender-plugin-surface-follow (requires blender)
- blender-plugin-uvsquares-git (requires blender)
- blender-plugin-vectex (requires blender)
- blender-plugin-vrm-addon-git (requires blender)
- blender-plugin-yavne (requires blender)
- blendercam-git (requires blender)
- blendnet (requires blender)
- flamenco-manager (requires blender) (optional)
- flamenco-worker (requires blender) (optional)
- gnome-thumbnailers-git (requires blender) (optional)
- godot-blender-exporter-git (requires blender)
- hovr-git (requires blender)
- kibot (requires blender)
- loki-render (requires blender)
- mini-benchmarker (requires blender)
- morse-simulator-git (requires blender)
- sheepit-client-git (requires blender) (optional)
- sprytile (requires blender)
- yafaray-blender-exporter (requires blender)
- yafaray-blender-exporter-git (requires blender)
Sources (13)
bartus commented on 2020-07-30 10:05 (UTC)
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)
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.
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.
issues
andpatches
at 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 buildDISABLE_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 callingmakepkg --sync
it can't follow dependencies logic defined inPKGBUILD
. 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.