Package Details: blender-git 4.4.r144205.gfba10a82121-1

Git Clone URL: https://aur.archlinux.org/blender-git.git (read-only, click to copy)
Package Base: blender-git
Description: A fully integrated 3D graphics creation suite (development)
Upstream URL: https://blender.org/
Licenses: GPL
Conflicts: blender, blender-4.1-bin
Provides: blender
Submitter: stativ
Maintainer: fbrennan (bartus)
Last Packager: bartus
Votes: 76
Popularity: 0.000111
First Submitted: 2013-12-05 10:11 (UTC)
Last Updated: 2024-12-04 18:59 (UTC)

Dependencies (48)

Required by (62)

Sources (7)

Latest Comments

1 2 3 4 5 6 .. 40 Next › Last »

microcoder commented on 2024-12-15 17:08 (UTC)

After few updates of Manjaro Linux (Arch based distrib) previous my errors are gone, they disappeared and the package success compile.

carlosnewmusic commented on 2024-12-05 12:29 (UTC)

build error https://pastebin.com/YQ08KQ2C

microcoder commented on 2024-11-28 14:40 (UTC)

==> Starting prepare()...
Skipping submodule 'lib/linux_x64'
Skipping submodule 'lib/macos_arm64'
Skipping submodule 'lib/macos_x64'
Skipping submodule 'lib/windows_arm64'
Skipping submodule 'lib/windows_x64'
Skipping submodule 'tests/data'
Submodule path 'release/datafiles/assets': checked out '51427c828bdccea6fc83876ce4eb563fe8b04c6f'
Checking patch intern/ffmpeg/ffmpeg_compat.h...
error: while searching for:
  return align;
}

/* -------------------------------------------------------------------- */
/** \name Deinterlace code block
 *

error: patch failed: intern/ffmpeg/ffmpeg_compat.h:161
error: intern/ffmpeg/ffmpeg_compat.h: patch does not apply
Checking patch source/blender/imbuf/intern/anim_movie.cc...
error: while searching for:
  anim->cur_pts = av_get_pts_from_frame(anim->pFrame);

#  ifdef FFMPEG_OLD_KEY_FRAME_QUERY_METHOD
  if (anim->pFrame->key_frame) {
#  else
  if (anim->pFrame->flags & AV_FRAME_FLAG_KEY) {
#  endif

error: patch failed: source/blender/imbuf/intern/anim_movie.cc:705
error: source/blender/imbuf/intern/anim_movie.cc: patch does not apply
==> ERROR: A failure occurred in prepare().
    Aborting...

microcoder commented on 2024-09-27 07:25 (UTC)

==> Starting prepare()...
Skipping submodule 'lib/linux_x64'
Skipping submodule 'lib/macos_arm64'
Skipping submodule 'lib/macos_x64'
Skipping submodule 'lib/windows_arm64'
Skipping submodule 'lib/windows_x64'
Skipping submodule 'tests/data'
Checking patch intern/ffmpeg/ffmpeg_compat.h...
error: while searching for:
#endif
}

/* -------------------------------------------------------------------- */
/** \name Deinterlace code block
 *

error: patch failed: intern/ffmpeg/ffmpeg_compat.h:141
error: intern/ffmpeg/ffmpeg_compat.h: patch does not apply
Checking patch source/blender/imbuf/intern/anim_movie.cc...
Hunk #1 succeeded at 656 (offset 3 lines).
Hunk #2 succeeded at 1035 (offset 3 lines).
==> ERROR: A failure occurred in prepare().
    Aborting...

saburouta commented on 2024-09-20 23:48 (UTC) (edited on 2024-09-24 04:51 (UTC) by saburouta)

I switched to opencl-amd, rebuilt hsa-rocr with the exports below (I don't know if that's necessary, or if it's just an example of another program that has the same issue as blender), and then added those export to Blender.

Blender builds successfully, and Cycles renders on the AMD GPU.

fbrennan commented on 2024-07-29 18:00 (UTC)

4.3.r139593.g8ea4d7ed892 adds the sed.

Users of AMD hardware should be aware I also had to do this, which I did not commit as it gives us a somewhat crippled Blender, which while being OK for my usecase may not be for yours:

diff --git a/PKGBUILD b/PKGBUILD
index 15fc39d..92bc698 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -158,7 +158,7 @@ build() {
   fi

   if [ -d /opt/rocm/bin ]; then
-      _CMAKE_FLAGS+=( -DWITH_CYCLES_HIP_BINARIES=ON
+      _CMAKE_FLAGS+=( -DWITH_CYCLES_HIP_BINARIES=OFF
                       -DWITH_CYCLES_HYDRA_RENDER_DELEGATE:BOOL=FALSE
                     )
   fi

The reason we need to do this is that hipcc is provided in Arch by hip-runtime-amd, an official package which is outdated since April and which has no bleeding edge AUR version. To fix this and potentially build with Cycles HIP binaries you will have to build your own newer hipcc. Otherwise you will get:

clang: error: invalid target ID 'gfx1150'

I was waiting in vain for this to be fixed as it affects an official package so kept expecting it to be soon, that's why I wasn't committing the sed as the package was still not completely fixed for me. However, seeing as no progress is likely to be made for the foreseeable future, committed this half-measure… :-)

sausix commented on 2024-07-05 10:00 (UTC)

@stevesp It worked for me in the official Arch package. Maybe I just missed the affected version. Thank you for the info!