Package Details: blender-develop-git 3.2.r112750.g68586d2c183-1

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.000002
First Submitted: 2020-05-04 01:47 (UTC)
Last Updated: 2022-02-21 15:38 (UTC)

Required by (54)

Sources (8)

Pinned Comments

bartus commented on 2022-03-14 10:31 (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 2022-03-14 09:54 (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 access to my rig or AUR keys here to test-post updates. 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 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 2021-05-05 08:04 (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.
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:31 (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 2022-03-14 09:54 (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 access to my rig or AUR keys here to test-post updates. 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

mysticfall commented on 2022-01-11 00:24 (UTC)

Hi, I'm the maintainer of upbge-git which is basically a blatant copy of your package, slightly modified for UPBGE.

I just found that recent builds giving me intermittent CUDA errors like "Misaligned address" and it looks like your package shows the same symptom.

In comparison, the experimental build from the Blender homepage doesn't seem to be affected.

It happens in a few of my scenes with large textures but not in others.

I tried to download CUDA but it didn't make any difference.

If you have an idea what might be causing this issue, or what I can do to track down the cause, please let me know. Thanks!

hugegameartgd commented on 2020-05-01 17:50 (UTC) (edited on 2020-05-01 18:57 (UTC) by hugegameartgd)

@Canseco For me it's still there, even openjpeg-git

Edit: Seems like blender-2.8-gitcan still be compiled with former openjpeg package but it's not in the repos anymore. Using openjpeg-git instead of openjpeg2 or openjpeg2-git should work too.

Edit2: Basically on all those the dependency needs to be fixed:

blender:2.79-legacy blender:2.80-maintnance blender:2.81-maintnance bledner:2.82 bledner:2.83-alpha blender:openvdb-branch blender:fracture-branch blender:functions-branch

Canseco commented on 2020-04-30 18:24 (UTC)

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.

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.

hugegameartgd 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=1 as described above
  • You specify which cuda architecture to build with env var cuda_capability=sm_52 if it can't be detected automatically with SelectCudaComputeArch.patch.
  • You can limit number of paralel jobs by passing MAKEFLAGS=-jxx to makepkg as described above
  • You can use ninja-mem from AUR which has oom-killer protection switch: add MAKEFLAGS+=" -m75" to makepkg.conf or pass it to makepkg or your aur_helper as described above

hugegameartgd 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-" ?

bartus commented on 2020-03-10 07:03 (UTC)

@berilac: You have some point here. I can go two ways here: make it non-conflicting with blender-git by renaming /usr/share/bledner/2.83/, or explicitly add blender-git as conflict...

I think I'll choice the later, as having both blender-git and blender-2.8-git` seems redundant to me. 69ad5501effd

berilac commented on 2020-03-10 05:42 (UTC)

Am I right in saying that this package conflicts with blender-git (given it's not in the pinned list)? (https://aur.archlinux.org/packages/blender-git/)

Also, blender-git is now compiling 2.83, so is fighting over ownership of /usr/share/blender/2.83

hugegameartgd commented on 2020-03-04 18:29 (UTC) (edited on 2020-03-04 18:31 (UTC) by hugegameartgd)

Thanks, it works now again. But please change this in PKGBUILD:

-    chmod 444 "$pkgdir/usr/share/blender/${_suffix}/scripts/addons/cycles/lib/*"
+    chmod 444 -R "$pkgdir/usr/share/blender/${_suffix}/scripts/addons/cycles/lib/"

Without this patch I got an error that file is not found.

hugegameartgd commented on 2020-03-01 17:06 (UTC)

I currently have this issue when compiling: https://github.com/bartoszek/AUR-blender-2.8-git/issues/7

bartus commented on 2020-02-20 11:26 (UTC)

Embree and USD support has been enabled in the PKGBUILD.

bartus commented on 2020-02-19 21:30 (UTC)

@Canseco: Already working on it, there's some problem with linking binaries boost_python27 is missing, Here's a wip repo.

Canseco commented on 2020-02-19 19:10 (UTC)

Since Blender 2.82 there's a new dependency, Universal Scene Description. Could it be possible to add this in the future?

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):

omgold commented on 2020-01-15 15:21 (UTC)

Now we have again the 'multiple versions of interest' situation as of recently:

  • 2.81 stable
  • 2.82 beta
  • 2.83 alpha

Might it be possible to get packages set up such that all of these can be installed concurrently?

novemberist commented on 2019-11-29 09:40 (UTC)

openimagedenoise is now in [community]. So the oidn dependency should be changed to openimagedenoise to avoid conflicts.

bartus commented on 2019-11-25 20:26 (UTC) (edited on 2020-01-16 15:57 (UTC) by bartus)

As blender:2.81 landed in [community] repository I've added bledner-2.80-git maintenance package to AUR

bartus commented on 2019-11-18 23:46 (UTC) (edited on 2019-11-18 23:47 (UTC) by bartus)

@AndrewGura: I've just build inside manjaro lxc container with both yay and stable-x86_64-build without any issues. Perhaps there is some problem with your local system intallation.

Please try setting up chroot with mkmanjaroroot /tmp/root base-devel and running it with manjaro-nspawn /tmp/root and build form there.

AndrewGura commented on 2019-11-18 15:34 (UTC) (edited on 2019-11-18 15:34 (UTC) by AndrewGura)

@bartus sorry for being unclear and not providing important info. The issue I reported happens when installing with makepkg -sri, and I'm using Manjaro rather than Arch, so I don't have extra-x86_64-build.

I tried to do it with stable-x86_64-build, but it failed:

==> Creating chroot for [stable] (x86_64)...
==> Creating install root at /tmp/stable-x86_64/root
==> Installing packages to /tmp/stable-x86_64/root
:: Synchronizing package databases...
error: failed retrieving file 'core.db' from disk : Couldn't open file /var/cache/pacman/pkg/devtools-20180531-1-any.pkg.tar.xz/core.db
error: failed to update core (download library error)
error: failed retrieving file 'extra.db' from disk : Couldn't open file /var/cache/pacman/pkg/devtools-20180531-1-any.pkg.tar.xz/extra.db
error: failed to update extra (download library error)
error: failed retrieving file 'community.db' from disk : Couldn't open file /var/cache/pacman/pkg/devtools-20180531-1-any.pkg.tar.xz/community.db
error: failed to update community (download library error)
error: failed to synchronize all databases
==> ERROR: Failed to install packages to new root
==> ERROR: Failed to install all packages
==> ERROR: Aborting...

bartus commented on 2019-11-17 00:03 (UTC) (edited on 2019-11-17 00:03 (UTC) by bartus)

@AndrewGura: Can you please test if it works in clean chroot.

sudo mount -o remount,suid /tmp/
sudo pacman -S devtools
cd /tmp
git clone https://aur.archlinux.org/blender-2.8-git.git
cd blender-2.8-git
extra-x86_64-build -r /tmp/

AndrewGura commented on 2019-11-15 23:01 (UTC)

Hello!Facedwith issue with latest version:

CMake Error in source/creator/CMakeLists.txt:
  Imported target "Boost::filesystem" includes non-existent path

    "/include"

  in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

  * The path was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and references files it does not
  provide.

Can someone help me with that? Thanks!

bartus commented on 2019-11-02 08:09 (UTC) (edited on 2019-11-02 11:12 (UTC) by bartus)

@sausix:

Never seen such a complicated PKGBUILD

Finally someone appreciates ;) .

  • You shouldn't have to limit build jobs as your GPU architecture should be detected by cmake using SelectCudaComputeArch.patch. If the detection fails you can also specify your GPU arch manually by passing _cuda_capability=sm_xx to the makepkg (details in the pinned comment).

  • If you still want to limit the concurrent jobs you can switch off ninja, as it doesn't allow to pass flags by environment variable, by passing DISABLE_NINJA=1 to the makepkg (details in the pinned comment) and masking makeflags in the options array in /etc/makepkg.conf (or simply append -j1 to the ninja call in PKGBUILD)

  • Optix won't build without cuda, if you don't need Optix, you can disable it by passing DISABLE_OPTIX=1 to the makepkg (details in the pinned comment)

  • OpenSubdive seams to be included in my build, can't really understand what's your problem there.

ldd /usr/bin/blender-2.82|grep osd
        libosdGPU.so.3.4.0 => /usr/lib/libosdGPU.so.3.4.0 (0x00007fb2c936c000)
        libosdCPU.so.3.4.0 => /usr/lib/libosdCPU.so.3.4.0 (0x00007fb2c92af000)

sausix commented on 2019-11-01 21:09 (UTC)

Never seen such a complicated PKGBUILD. This really need a manual.

How to restrict thread count for building? Parallel Cuda kernel compilation always kills all my ram and swap. Affects laptop: 8 Threads with 8GB Ram and my Ryzen 16 Threads with 16GB Ram.

MAKEFLAGS="-j1" does not work, also not in combination with DISABLE_NINJA="1".

These also do not work: NINJA_PARALLEL_JOBS="1" NINJA_FLAGS="-j1"

Does CUDA absolutely need optix? Optix should be optional then.

I'm not sure if this affected this PKGBUILD, but opensubdiv was not compiled in even if it was installed before compilation. May be you already fixed this (can't check yet) or it affected blender-git (has opensubdiv support now)

Thanks!

omgold commented on 2019-10-22 12:44 (UTC)

Again, thanks. Yes, that is perfect.

bartus commented on 2019-10-22 12:41 (UTC) (edited on 2019-10-22 12:42 (UTC) by bartus)

@omgold: blender-2.81-git

We have:

  • blender=2.80 in arch/extra
  • blender=2.81 in aur/blender-2.81-git
  • blender=2.82 in aur/bledner-2.8-git and aur/blender-git
  • blender=2.79 in aur/bledner-2.7-git

When blender=2.80 falls off aur/extra I would add aur/blender-2.80-git

Is this scheme satisfying :)

perhaps. I'll rename this package to bledner-2.8x-git for clearness.

omgold commented on 2019-10-22 09:13 (UTC)

Thanks. It should still be useful later, I assume, as it can be adjusted to install other older versions, then.

bartus commented on 2019-10-22 09:04 (UTC)

@omgold: ok, I'll made one but it would be rether short lived PKGBUILD, as in a week blender 2.81 will land in arch/extra repo (after blender con I assume).

omgold commented on 2019-10-22 07:18 (UTC)

I would have a feature request. It would make sense, IMHO, to name the package and the installed files/dirs 2.81/2.82 instead of just *2.8. Currently blender has 3 versions of 2.8x, which people might want to have installed (2.80 stable, 2.81 beta and 2.82 alpha). Also in general it would be a good thing to allow installing multiple versions in parallel (as new versions tend to break old blend files).

kureta commented on 2019-10-21 08:22 (UTC)

@Humar if you are using yay you can run yay --gendb once and use yay -Syu --devel for system updates, instead of plain yay or yay -Syu. yay --gendb command will store hashes of current commits of your -git packages. yay -Syu --devel will check if any of those saved hashes have changed at the repo origin, meaning there is a new commit, then update if they have.

bartus commented on 2019-09-30 12:04 (UTC) (edited on 2019-09-30 20:18 (UTC) by bartus)

Nvidia optix backend landed in cycles.
  • Requires precompiled cuda kernel (cuda and optix installed)
  • You need a RTX Nvidia GPU.

bartus commented on 2019-08-26 16:12 (UTC)

Intels Open Image Denoise an AI base denoiser just landed in blender compositor.

bartus commented on 2019-04-10 11:40 (UTC) (edited on 2021-05-05 08:04 (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.
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.

Humar commented on 2019-01-28 15:35 (UTC)

@bartus: I see, sorry!

I will maintain it myself then.

bartus commented on 2019-01-28 15:05 (UTC)

@Humar: You are supposed to rebuild -git packages regularly. I won't trigger a new version just because someone has an old build still lying around (ಠ_ಠ). New version for bugs only (° ͜ʖ°)

Humar commented on 2019-01-28 10:29 (UTC)

libboost_locale.so.1.68.0 is missing, because libboost is already on 1.69

MirandaStreeter commented on 2019-01-26 22:00 (UTC)

After uninstalling, git cloning to its own folder & makepkg -si, it resulted in the same error.

Uninstalled again, cleared the pkg cache and any leftover files, reinstalled using yay, it's working now? I might have missed something during the first reinstall. Oh well. Regardless, thanks.

bartus commented on 2019-01-04 16:57 (UTC) (edited on 2019-01-04 16:59 (UTC) by bartus)

@MirandaStreeter: can't reproduce the issue. My build looks fine.

ldd /usr/bin/blender-2.8|grep vdb

        libopenvdb.so.6.0 => /usr/lib/libopenvdb.so.6.0 (0x00007f6340265000)

Perhaps your aur helper has old cache. please build directly and check again.

MirandaStreeter commented on 2019-01-02 03:05 (UTC) (edited on 2019-01-02 03:06 (UTC) by MirandaStreeter)

@rigred After making the change, it compiles, But then when attempting to open, I'm seeing this error:

blender-2.8: error while loading shared libraries: libopenvdb.so.5.2: cannot open shared object file: No such file or directory

It looks like this may be related to openvdb having been updated to v6.0 recently? I'm not entirely sure if this is an issue upstream or if something was missed in the PKGBUILD.

rigred commented on 2018-12-29 18:32 (UTC)

For those wondering why it doesn't build anymore. Blender has moved the blender-2.8 branch into master as the active tree now. So in the PKGBUILD just change this line

source=('git://git.blender.org/blender.git#branch=blender-2.8' \

To this:

source=('git://git.blender.org/blender.git#branch=master' \

Until a 2.8 release is tagged/branched again this is the only solution.

Yosh commented on 2018-12-28 11:34 (UTC)

Please update the master branch.

mowcat commented on 2018-12-23 03:13 (UTC)

The master branch is now blender 2.8.

wojtex commented on 2018-12-06 03:34 (UTC)

@bartus: I was unable to build Blender without llvm6-libs. But they had to fix it, because now it builds well.

bartus commented on 2018-12-02 15:22 (UTC)

@hugegameartgd: Can't help you, sorry. You should report bug upstream.

bartus commented on 2018-12-02 06:38 (UTC) (edited on 2018-12-02 06:47 (UTC) by bartus)

@nonoesimposible: When there is a straight beta release, for now we stays with rolling beta ;)...

nonoesimposible commented on 2018-12-02 01:08 (UTC)

Is Blender 2.8 Beta coming here soon?

hugegameartgd commented on 2018-12-01 10:18 (UTC)

@bartus blender-2.8 --debug-gpu Using OpenGL 4.3 debug facilities GL application marker: Successfully hooked OpenGL debug callback. GL API performance: GTT mapping a busy "isl-miptree" BO stalled and took 1.131 ms.

GL API performance: GTT mapping a busy "isl-miptree" BO stalled and took 0.041 ms.

GL API performance: GTT mapping a busy "isl-miptree" BO stalled and took 0.036 ms.

GL API performance: GTT mapping a busy "isl-miptree" BO stalled and took 0.045 ms. [...] GL shader compiler other: FS SIMD8 shader: 14 inst, 0 loops, 106 cycles, 0:0 spills:fills, Promoted 0 constants, compacted 224 to 144 bytes. GL shader compiler other: FS SIMD16 shader: 14 inst, 0 loops, 118 cycles, 0:0 spills:fills, Promoted 0 constants, compacted 224 to 144 bytes. Saved session recovery to '/tmp/quit.blend'

Blender quit

bartus commented on 2018-11-26 00:08 (UTC)

@hugegameartgd: blender-2.8 --debug-gpu

hugegameartgd 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

kingcreole commented on 2018-08-30 17:06 (UTC) (edited on 2018-08-30 17:09 (UTC) by kingcreole)

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

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

https://u.teknik.io/NM9qD.patch

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...

bartus commented on 2017-07-17 23:09 (UTC)

@novemverist fixed now. happy blending!

novemberist commented on 2017-07-16 21:25 (UTC) (edited on 2017-07-16 21:26 (UTC) by novemberist)

Nice ;) But there is something wrong with the "blender-2.8.desktop" that gets packaged, because it's basically just a copy of the normal blender.desktop file and does not contain a reference to the "blender-2.8" executable. I had to manually change some entries after package installation.

bartus commented on 2017-07-14 12:54 (UTC) (edited on 2017-07-15 10:12 (UTC) by bartus)

Come on, come all - test new sweet features of upcoming blender 2.8 release ;) {package non conflicting with blender, nor blender-git}