Can't compile anymore, openjpeg dependency is not in the repos anymore. Could you change it to openjpeg2? Did some tests and it works fine. Thanks.
Search Criteria
Package Details: blender-develop-git 5.2.r160926.g54ebd89a64c-1
Package Actions
| 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 |
| Provides: | blender |
| Submitter: | bartus |
| Maintainer: | bartus |
| Last Packager: | bartus |
| Votes: | 12 |
| Popularity: | 0.000000 |
| First Submitted: | 2020-05-04 01:47 (UTC) |
| Last Updated: | 2026-04-27 15:32 (UTC) |
Dependencies (48)
- alembic (alembic-gitAUR)
- ceres-solver (ceres-solver-legacyAUR, ceres-solver-cuda-gitAUR, ceres-solver-gitAUR, ceres-solver-cudaAUR, ceres-solver-lgplAUR)
- eigen (eigen-gitAUR, eigen3)
- embree (embree-gitAUR)
- ffmpeg (ffmpeg-nvcodec-11-1-gitAUR, ffmpeg-ffplayoutAUR, ffmpeg-cudaAUR, ffmpeg-decklinkAUR, ffmpeg-amd-fullAUR, ffmpeg-amd-full-gitAUR, librempeg-gitAUR, ffmpeg-whisper-gitAUR, ffmpeg-gitAUR, ffmpeg-fullAUR, ffmpeg-full-llvmAUR, ffmpeg-libfdk_aacAUR, ffmpeg-obsAUR, ffmpeg-headlessAUR, ffmpeg-whisperAUR, ffmpeg-cuda-fullAUR, ffmpeg-full-gitAUR)
- fftw (fftw-amdAUR)
- freetype2 (freetype2-qdoled-aw3225qfAUR, freetype2-qdoledAUR, freetype2-qdoled-gen3AUR, freetype2-woledAUR, freetype2-gitAUR, freetype2-macosAUR)
- libdecor (libdecor-gitAUR)
- libepoxy (libepoxy-gitAUR)
- libgl (libglvnd-gitAUR, amdgpu-pro-oglp-legacyAUR, nvidia-340xx-utilsAUR, amdgpu-pro-oglpAUR, nvidia-340xx-utils-macbookAUR, libglvnd)
- libharu
- libpng (libpng-gitAUR, libpng-apngAUR)
- libtiff (libtiff-gitAUR, libtiff-lercAUR)
- libxi (libxi-gitAUR)
- manifold
- materialx (materialx-gitAUR)
- openal (openal-gitAUR)
- opencolorio (opencolorio-gitAUR)
- openimagedenoise (openimagedenoise-gitAUR)
- openimageio (openimageio-gitAUR)
- Show 28 more dependencies...
Required by (67)
- 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-breezedark-theme-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-leomoon-lightstudio-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-rtcw-et-model-tools-git (requires blender)
- blender-plugin-sketchfab (requires blender)
- blender-plugin-supertuxkart-git (requires blender)
- blender-plugin-surface-follow (requires blender)
- blender-plugin-ucupaint (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)
- fast64 (requires blender)
- flamenco-manager (requires blender) (optional)
- flamenco-worker (requires blender) (optional)
- gnome-thumbnailers-git (requires blender) (optional)
- godot-blender-exporter-git (requires blender)
- ifcopenshell (requires blender) (make)
- ifcopenshell-stable (requires blender) (make)
- kibot (requires blender)
- loki-render (requires blender)
- maxx-desktop (requires blender) (optional)
- mini-benchmarker (requires blender)
- morse-simulator-git (requires blender)
- python-databpy (requires blender)
- sheepit-client-git (requires blender) (optional)
- sprytile (requires blender)
- yafaray-blender-exporter (requires blender)
- yafaray-blender-exporter-git (requires blender)
Sources (3)
Canseco commented on 2020-04-30 18:24 (UTC)
bartus commented on 2020-04-16 07:51 (UTC)
@hugegameartgd: sorry for the confusion, I've accidentally committed this in last refactor 9fae1450dbba
Now DISABLE_CUDA should work as expected when building on system with cuda installed.
LinuxUserGD commented on 2020-04-12 18:37 (UTC)
@bartus
Thanks, it finally worked with yay -S blender-2.8-git --mflags "MAKEFLAGS=-j3" after installing ninja-mem and removing blender dependencies at /opt/lib (generated when running the blender dependencies script install_deps.sh, fixed "undefined reference" issues at linking).
DISABLE_CUDA=1 only works if cuda is not installed, maybe a similar cmake flag like -DWITH_CYCLES=OFF or running debug instead of release could help otherwise.
bartus commented on 2020-04-10 06:09 (UTC) (edited on 2020-04-10 06:12 (UTC) by bartus)
@hugegameartgd: By default this PKGBUILD try to build all cuda cores, and your system has insufficient memory per core to build all cuda arch in parallel, which triggers out of memory killer (look for Out of memory in journalctl)
nvcc error : 'ptxas' died due to signal 9 (Kill signal)
- You can skip cuda kernel build completely with
DISABLE_CUDA=1as described above - You specify which cuda architecture to build with env var
cuda_capability=sm_52if it can't be detected automatically withSelectCudaComputeArch.patch. - You can limit number of paralel jobs by passing
MAKEFLAGS=-jxxtomakepkgas described above - You can use
ninja-memfrom AUR which has oom-killer protection switch: addMAKEFLAGS+=" -m75"to makepkg.conf or pass it tomakepkgor your aur_helper as described above
LinuxUserGD commented on 2020-04-09 17:08 (UTC)
Fails to compile with cuda:
ninja: Entering directory `/run/media/user/compile/yay/blender-2.8-git/src/build'
[ 7% | 1<8<6 | 0.0bps ] Generating kernel_sm_61.cubin
FAILED: intern/cycles/kernel/kernel_sm_61.cubin
cd /run/media/user/compile/yay/blender-2.8-git/src/build/intern/cycles/kernel && /opt/cuda/bin/nvcc -arch=sm_61 --cubin /run/media/user/compile/yay/blender-2.8-git/src/blender/intern/cycles/kernel/kernels/cuda/kernel.cu --ptxas-options="-v" -D CCL_NAMESPACE_BEGIN= -D CCL_NAMESPACE_END= -D NVCC -m 64 -I /run/media/user/compile/yay/blender-2.8-git/src/blender/intern/cycles/kernel/.. -I /run/media/user/compile/yay/blender-2.8-git/src/blender/intern/cycles/kernel/kernels/cuda --use_fast_math -o /run/media/user/compile/yay/blender-2.8-git/src/build/intern/cycles/kernel/kernel_sm_61.cubin
nvcc error : 'ptxas' died due to signal 9 (Kill signal)
[ 14% | 2<7<6 | 0.0bps ] Generating kernel_sm_35.cubin
FAILED: intern/cycles/kernel/kernel_sm_35.cubin
cd /run/media/user/compile/yay/blender-2.8-git/src/build/intern/cycles/kernel && /opt/cuda/bin/nvcc -arch=sm_35 --cubin /run/media/user/compile/yay/blender-2.8-git/src/blender/intern/cycles/kernel/kernels/cuda/kernel.cu --ptxas-options="-v" -D CCL_NAMESPACE_BEGIN= -D CCL_NAMESPACE_END= -D NVCC -m 64 -I /run/media/user/compile/yay/blender-2.8-git/src/blender/intern/cycles/kernel/.. -I /run/media/user/compile/yay/blender-2.8-git/src/blender/intern/cycles/kernel/kernels/cuda --use_fast_math -o /run/media/user/compile/yay/blender-2.8-git/src/build/intern/cycles/kernel/kernel_sm_35.cubin
nvcc error : 'ptxas' died due to signal 9 (Kill signal)
[ 21% | 3<6<6 | 0.0bps ] Generating kernel_sm_37.cubin
FAILED: intern/cycles/kernel/kernel_sm_37.cubin
cd /run/media/user/compile/yay/blender-2.8-git/src/build/intern/cycles/kernel && /opt/cuda/bin/nvcc -arch=sm_37 --cubin /run/media/user/compile/yay/blender-2.8-git/src/blender/intern/cycles/kernel/kernels/cuda/kernel.cu --ptxas-options="-v" -D CCL_NAMESPACE_BEGIN= -D CCL_NAMESPACE_END= -D NVCC -m 64 -I /run/media/user/compile/yay/blender-2.8-git/src/blender/intern/cycles/kernel/.. -I /run/media/user/compile/yay/blender-2.8-git/src/blender/intern/cycles/kernel/kernels/cuda --use_fast_math -o /run/media/user/compile/yay/blender-2.8-git/src/build/intern/cycles/kernel/kernel_sm_37.cubin
nvcc error : 'ptxas' died due to signal 9 (Kill signal)
^Cninja: build stopped: interrupted by user.
berilac commented on 2020-03-10 13:55 (UTC)
@bartus thanks a lot. I will definitely test this
bartus commented on 2020-03-10 12:55 (UTC) (edited on 2020-03-10 12:56 (UTC) by bartus)
@berilac: you should report this to blender bugtracker.
This could be an aberration from mew adaptive sampler. To test it rebuild this package but edit _fragment=#branch=master to _fragment="#commit=4ccbbd308060f0330472828b317c59e054c9ee7b"
You can also use git bisect technique to pinpoint the issue.
berilac commented on 2020-03-10 07:48 (UTC) (edited on 2020-03-10 07:52 (UTC) by berilac)
also, I'm currently trying to diagnose an issue with cycles GPU rendering in recent 2.83 builds. have not yet been able to track down when this started, but pretty sure some earlier 2.83's were fine.
see image here (hopefully can see the issue):http://pasteall.org/pic/280f8b7c9f9be606a4a405d0af799842 more visible here: http://pasteall.org/pic/91a9f53be85857549c323297db1a0f1a
the first is just default cube, cycles, GPU, tile size 512x512. running discrete nvidia card.
downloaded standalone 2.82 from blender.org and it renders fine...
originally noticed yesterday with blender-git - hoped something different in this repo build would sort it, but apparently not.
not sure where to start diagnosing it...
edit: just suddenly decided to try rendering with "branched path tracing" and the artifacts vanish. so i guess it could be something to do with how standard path tracing is implemented
berilac commented on 2020-03-10 07:36 (UTC)
@bartus thanks. yes, I think you're right, it is a bit redundant.
Now I have the deps fixed for this repo I think I will build from here instead of blender-git for now.
note: for the commit you just pushed - is it supposed to be "blender=" or "blender-" ?
Pinned Comments
bartus commented on 2020-01-16 16:01 (UTC) (edited on 2021-11-01 14:05 (UTC) by bartus)
Current packages state (non-conflicting ones):
bartus commented on 2019-04-10 11:40 (UTC) (edited on 2026-04-29 21:14 (UTC) by bartus)
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.
issuesand postpatchesat the GitHub repo 👉 @bartoszek/AUR-blender-develop-gitUse env vars to control the build process:
DISABLE_CUDA=1to skip cuda kernel build (cycles+compositor+optix,requires:cuda)DISABLE_HIP=1to skip amdgpu kernel build (requires:hip-runtime-amd)DISABLE_ONEAPI=1to skip intel Arc kernel build (require:intel-compute-runtime)ENABLE_PYTHON_INSTALL=1include bundled python (default:off)DISABLE_NINJA=1to switch the build system to make (default:ninja)DISABLE_OPTIX=1to skip Optix device build.DISABLE_DRACO=1to skip gltf exporter draco mesh compression extension.DISABLE_MATERIALX=1to skip MaterialX shaders.FRAGMENT="#{commit,tag,branch}=..."for making bisect build.CUDA_ARCH="sm_xx\;sm_yy"to build for a specific Cuda arch, supports multiple values.HIP_ARCH="gfx900\;gfx1103"to build for a specific amdgpu arch, supports multiple values.MAKEFLAGS="xxx"to override default make flags (check oom-killer disclaimer below)CMAKE_FLAGS="xxx:yyy"to add extra cmake switches (colon-separated list)Usage cases:
export DISABLE_CUDA=1before buildDISABLE_CUDA=1 ~your-aur-helper~makepkg DISABLE_CUDA=1yay -S blender-develop-git --mflags "DISABLE_CUDA=1 DISABLE_HIP=1"Yayusers warning:Since yay relies solely on
aur-rpcto solve dependencies instead of callingmakepkg --syncit 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,
PKGBUILDwill 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.