@hugegameartgd: blender-2.8 --debug-gpu
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-amd-fullAUR, ffmpeg-ffplayoutAUR, ffmpeg-obsAUR, ffmpeg-amd-full-gitAUR, ffmpeg-headlessAUR, ffmpeg-libfdk_aacAUR, ffmpeg-cudaAUR, ffmpeg-decklinkAUR, ffmpeg-fullAUR, ffmpeg-gitAUR, ffmpeg-full-gitAUR)
- 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)
bartus commented on 2018-11-26 00:08 (UTC)
LinuxUserGD commented on 2018-11-25 16:53 (UTC)
Blender freezes for me (does also happen with the official downloads).
kingcreole commented on 2018-11-23 07:21 (UTC)
oh, i never said thank you, thank you @bartus :)
bartus commented on 2018-11-21 12:50 (UTC)
@nepro2k: fixed.
netpro2k commented on 2018-11-21 06:28 (UTC) (edited on 2018-11-21 08:56 (UTC) by netpro2k)
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 (UTC) (edited on 2018-10-25 14:04 (UTC) by bartus)
@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 (UTC) (edited on 2018-10-17 21:33 (UTC) by wojtex)
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 (UTC) (edited on 2018-08-31 12:42 (UTC) by bartus)
@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 (UTC) (edited on 2018-08-30 20:54 (UTC) by kingcreole)
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 (UTC)
@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
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.