Package: blender Version: 3.2.2+dfsg-3 Severity: wishlist Dear Maintainer,
I've been working with Étienne Mollier and others on the Debian AI team to enable ROCm in Debian. I believe it would now be possible to build Blender with support for AMD GPUs by using the HIP package in Debian Unstable. The Debian HIP package still has a few rough edges that need cleaning up, but is fully functional. The rocrand package is an example of a library that is built using HIP. AMD HIP support for Navi 21 hardware can be enabled in Blender using the CMake options: -DWITH_CYCLES_HIP_BINARIES=ON -DCYCLES_HIP_BINARIES_ARCH=gfx1030 There are also a few environment variables that are (temporarily) required to compile HIP code when using the Debian package: export HIP_CLANG_PATH=/usr/bin export DEVICE_LIB_PATH=/usr/lib/${DEB_HOST_MULTIARCH}/amdgcn/bitcode export ROCM_PATH=/usr As well, there are a few packages needed in the Build-Depends: hipcc libamd-comgr-dev libhsa-runtime-dev rocminfo I put a bit more background information in my posting on the mailing list: https://lists.debian.org/debian-multimedia/2022/09/msg00507.html If you have any questions or run into any roadblocks, I'd be glad to help! If you need hardware for testing, just let me know. There were a few GPUs donated to the Debian project for supporting HIP and it's likely that some are still be available. -- System Information: Debian Release: bookworm/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 5.4.0-126-generic (SMP w/8 CPU threads) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: unable to detect Versions of packages blender depends on: ii blender-data 3.2.2+dfsg-3 ii fonts-dejavu 2.37-2 ii libavcodec59 7:5.1.2-1 ii libavdevice59 7:5.1.2-1 ii libavformat59 7:5.1.2-1 ii libavutil57 7:5.1.2-1 ii libboost-locale1.74.0 1.74.0-17 ii libc6 2.35-3 ii libembree3-3 3.13.4+dfsg-1 ii libfftw3-double3 3.3.8-2 ii libfreetype6 2.12.1+dfsg-3 ii libgcc-s1 12.2.0-5 ii libgl1 1.5.0-1 ii libglew2.2 2.2.0-4+b1 ii libgomp1 12.2.0-5 ii libimath-3-1-29 3.1.5-1+b1 ii libjack-jackd2-0 [libjack-0.125] 1.9.21~dfsg-1 ii libjemalloc2 5.2.1-5 ii libjpeg62-turbo 1:2.1.2-1+b1 ii libopenal1 1:1.19.1-2 ii libopencolorio2.1 2.1.2+dfsg1-4 ii libopenexr-3-1-30 3.1.5-4 ii libopenimageio2.3 2.3.18.0+dfsg-5 ii libopenjp2-7 2.5.0-1 ii libopenvdb9.1 9.1.0-7+b1 ii libosdcpu3.4.4 3.4.4-2 ii libosdgpu3.4.4 3.4.4-2 ii libpcre3 2:8.39-14 ii libpng16-16 1.6.38-2 ii libpugixml1v5 1.12.1-1 ii libpulse0 16.1+dfsg1-2 ii libpython3.10 3.10.7-2 ii libsdl2-2.0-0 2.24.1+dfsg-1 ii libsndfile1 1.1.0-3 ii libspnav0 1.0-1 ii libstdc++6 12.2.0-5 ii libswscale6 7:5.1.2-1 ii libtbb12 2021.5.0-15 ii libtiff5 4.4.0-4 ii libx11-6 2:1.8.1-2 ii libxfixes3 1:6.0.0-2 ii libxi6 2:1.8-1+b1 ii libxml2 2.9.14+dfsg-1+b1 ii libxrender1 1:0.9.10-1.1 ii libxxf86vm1 1:1.1.4-1+b2 ii libzstd1 1.5.2+dfsg-1 ii zlib1g 1:1.2.11.dfsg-4.1 blender recommends no packages. blender suggests no packages. -- no debconf information