hi, i can't build 2.8 currently, i get this error: [ 12%] Generating filter_sm_30 sm_35 sm_50 sm_52 sm_60 sm_61 sm_70 compute_70.cubin nvcc fatal : Value 'sm_30 sm_35 sm_50 sm_52 sm_60 sm_61 sm_70 compute_70' is not defined for option 'gpu-architecture' i have an Optimus setup with an nvidia 840m graphics card i believe, when i type nvidia-settings it sais that nvidia is not loaded and "ERROR: Unable to load info from any available system" with optirun just the later
Search Criteria
Package Details: blender-develop-git 4.2.r135343.gfc08f7491e7-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: | 2024-04-22 16:59 (UTC) |
Dependencies (44)
- alembic (alembic-gitAUR)
- embree
- ffmpeg (ffmpeg-intel-full-gitAUR, ffmpeg-nvcodec-11-1-gitAUR, ffmpeg-gitAUR, ffmpeg-cudaAUR, ffmpeg-decklinkAUR, ffmpeg-amd-fullAUR, ffmpeg-full-gitAUR, ffmpeg-nocudaAUR, ffmpeg-ffplayoutAUR, ffmpeg-obsAUR, ffmpeg-amd-full-gitAUR, ffmpeg-fullAUR, ffmpeg-headlessAUR, ffmpeg-libfdk_aacAUR)
- fftw (fftw-amdAUR)
- freetype2 (freetype2-gitAUR, freetype2-qdoledAUR, freetype2-macosAUR)
- libdecor (libdecor-gitAUR)
- libepoxy (libepoxy-gitAUR, libepoxy-nodocs-gitAUR)
- libgl (nvidia-340xx-utilsAUR, amdgpu-pro-oglpAUR, libglvnd-gitAUR, libglvnd)
- libharu
- libpng (libpng-gitAUR, libpng-apngAUR)
- libtiff (libtiff-gitAUR, libtiff-lercAUR)
- libxi (libxi-gitAUR)
- materialx (materialx-gitAUR)
- openal (openal-gitAUR)
- opencollada
- opencolorio (opencolorio-gitAUR)
- openimagedenoise (openimagedenoise-gitAUR)
- openimageio (openimageio-gitAUR)
- openjpeg2 (openjpeg-gitAUR)
- openpgl
- Show 24 more dependencies...
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)
- Show 41 more...
Sources (9)
kingcreole commented on 2018-08-30 17:06 (UTC) (edited on 2018-08-30 17:09 (UTC) by kingcreole)
linkmauve commented on 2018-06-13 10:57 (UTC)
Hi, you don’t need the blender.install file anymore, since pacman 5.0 the hooks take care of updating the .desktop database and the icon cache.
bm456 commented on 2018-04-01 20:47 (UTC)
openvdb4.revert.patch its outdated
i've fixed it https://p.teknik.io/tP4mj
bartus commented on 2018-03-31 06:25 (UTC) (edited on 2018-03-31 08:01 (UTC) by bartus)
@wojtex: I've noticed, the only problem is that I had left my keys
in Krakow and won't be able to update the package till after the holidays ;)
wojtex commented on 2018-03-31 02:58 (UTC) (edited on 2018-03-31 02:58 (UTC) by wojtex)
openvdb4.revert.patch is not needed anymore: https://developer.blender.org/rBca5f3dd2200725712a665705fc25e20a208d6295
bartus commented on 2017-09-30 11:56 (UTC) (edited on 2017-09-30 11:57 (UTC) by bartus)
@Collateral
I tend to rebuild all my packages few times a month to check if everything works fine.
blender-2.8 stops working after 25.09 cause of openvdb4 compatibility patch which breaks blender against archs openvdb package. I patch this today and everything works fine now.
Building entire `install_deps` brigs all blender dependencies redundant to arch packages to /opt directory.
Collateral commented on 2017-09-30 07:40 (UTC) (edited on 2017-09-30 07:40 (UTC) by Collateral)
Lately i had big problems installing this package, compilation always failed.
So i downloaded the git and compiled the sources according to the manual, the only substantial difference with pkgbuild is the lack of dependency installation.
./blender/build_files/build_environment/install_deps.sh
(https://wiki.blender.org/index.php/Dev:Doc/Building_Blender/Linux/Arch/CMake#Automatic_dependencies_installation)
After the dependencies are installed, the pkgbuild works perfectly from Yaourt ;)
bartus commented on 2017-08-12 10:44 (UTC) (edited on 2017-08-12 11:45 (UTC) by bartus)
@polarathene: fixed temporarily by dropping blender player. Also added cmake function for automatic selection of CUDA computes arch, for a faster rebuild.
polarathene commented on 2017-08-12 09:36 (UTC)
Build failed, here is the last of the output:
[100%] Built target blender
Scanning dependencies of target buildinfoobj
[100%] Building C object source/creator/CMakeFiles/buildinfoobj.dir/buildinfo.c.o
[100%] Built target buildinfoobj
Scanning dependencies of target blenkernel_blc
[100%] Building C object source/blenderplayer/bad_level_call_stubs/CMakeFiles/blenkernel_blc.dir/stubs.c.o
/tmp/pamac-build-pola/blender-2.8-git/src/blender/source/blenderplayer/bad_level_call_stubs/stubs.c:613:6: error: conflicting types for ‘ED_transform_snap_object_project_ray_ex’
bool ED_transform_snap_object_project_ray_ex(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pamac-build-pola/blender-2.8-git/src/blender/source/blenderplayer/bad_level_call_stubs/stubs.c:180:0:
/tmp/pamac-build-pola/blender-2.8-git/src/blender/source/blenderplayer/../blender/editors/include/ED_transform_snap_object_context.h:87:6: note: previous declaration of ‘ED_transform_snap_object_project_ray_ex’ was here
bool ED_transform_snap_object_project_ray_ex(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [source/blenderplayer/bad_level_call_stubs/CMakeFiles/blenkernel_blc.dir/build.make:63: source/blenderplayer/bad_level_call_stubs/CMakeFiles/blenkernel_blc.dir/stubs.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:8862: source/blenderplayer/bad_level_call_stubs/CMakeFiles/blenkernel_blc.dir/all] Error 2
make: *** [Makefile:163: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
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 2024-03-01 09:41 (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.
issues
andpatches
at GitHub.Use env vars to control the build process:
DISABLE_CUDA=1
to skip cuda kernel build (cycles+compositor+optix,requires:cuda)DISABLE_HIP=1
to skip amdgpu kernel build (requires:hip-runtime-amd)ENABLE_PYTHON_INSTALL
include bundled python (default:off)DISABLE_NINJA=1
to switch the build system to make (default:ninja)DISABLE_OPTIX=1
to skip Optix device build.DISABLE_DRACO=1
to skip gltf exporter draco mesh compression extension.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)MAKEFLAGS="xxx:yyy"
to override default make flags (colon-separated list)Usage cases:
export DISABLE_CUDA=1
before buildDISABLE_CUDA=1 ~your-aur-helper~
makepkg DISABLE_CUDA=1
yay -S blender-develop-git --mflags "DISABLE_CUDA=1 DISABLE_HIP=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.