Bug 2356486

Summary: Please update to 2.5 version
Product: [Fedora] Fedora Reporter: Luya Tshimbalanga <luya_tfz>
Component: hiprtAssignee: Tom.Rix
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: 42CC: luya, rocm-packagers-sig, Tom.Rix
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: hiprt-2.5-3.a21e075.fc42 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-08-05 00:49:02 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Blender 4.4.3 tested with HIPRT enabled none

Description Luya Tshimbalanga 2025-04-01 01:16:32 UTC
When HIPRT is enabled to for building Blender 4.4.0, version 2.4 is missing "hiprt_math.h" for installation

Reproducible: Always

Steps to Reproduce:
1. Build Blender 4.4.0 with HIPRT-devel dependency
2.
3.
Actual Results:  
Missing header library "hiprt_math.h"

Expected Results:  
All needed header libraries are installed

Comment 1 Luya Tshimbalanga 2025-04-01 01:18:00 UTC
build.log extract:

'source/kernel/device/hip/compat.h
-- Installing: /builddir/build/BUILD/blender-4.4.0-build/BUILDROOT/usr/share/blender/4.4/scripts/addons_core/cycles/source/kernel/device/hip/config.h
-- Installing: /builddir/build/BUILD/blender-4.4.0-build/BUILDROOT/usr/share/blender/4.4/scripts/addons_core/cycles/source/kernel/device/hip/globals.h
-- Installing: /builddir/build/BUILD/blender-4.4.0-build/BUILDROOT/usr/share/blender/4.4/scripts/addons_core/cycles/source/kernel/device/hiprt/kernel.cpp
-- Installing: /builddir/build/BUILD/blender-4.4.0-build/BUILDROOT/usr/share/blender/4.4/scripts/addons_core/cycles/source/kernel/device/hiprt/bvh.h
-- Installing: /builddir/build/BUILD/blender-4.4.0-build/BUILDROOT/usr/share/blender/4.4/scripts/addons_core/cycles/source/kernel/device/hiprt/common.h
-- Installing: /builddir/build/BUILD/blender-4.4.0-build/BUILDROOT/usr/share/blender/4.4/scripts/addons_core/cycles/source/kernel/device/hiprt/globals.h
-- Installing: /builddir/build/BUILD/blender-4.4.0-build/BUILDROOT/usr/share/blender/4.4/scripts/addons_core/cycles/source/kernel/device/hiprt/hiprt_kernels.h
-- Installing: /builddir/build/BUILD/blender-4.4.0-build/BUILDROOT/usr/share/blender/4.4/scripts/addons_core/cycles/source/kernel/device/hiprt/hiprt/hiprt_common.h
-- Installing: /builddir/build/BUILD/blender-4.4.0-build/BUILDROOT/usr/share/blender/4.4/scripts/addons_core/cycles/source/kernel/device/hiprt/hiprt/hiprt_device.h
-- Installing: /builddir/build/BUILD/blender-4.4.0-build/BUILDROOT/usr/share/blender/4.4/scripts/addons_core/cycles/source/kernel/device/hiprt/hiprt/hiprt_types.h
-- Installing: /builddir/build/BUILD/blender-4.4.0-build/BUILDROOT/usr/share/blender/4.4/scripts/addons_core/cycles/source/kernel/device/hiprt/hiprt/hiprt_vec.h
CMake Error at redhat-linux-build/source/creator/cmake_install.cmake:1074 (file):
  file INSTALL cannot find "/usr/include/hiprt/hiprt_math.h": No such file or
  directory.
Call Stack (most recent call first):
  redhat-linux-build/cmake_install.cmake:51 (include)
error: Bad exit status from /var/tmp/rpm-tmp.FqDXO8 (%install)
    Bad exit status from /var/tmp/rpm-tmp.FqDXO8 (%install)
RPM build errors:
Child return code was: 1
EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 34ac026db653498fb99babc03e7aeb2b -D /var/lib/mock/fedora-42-x86_64/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.zuf1lbc5:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;<mock-chroot>\\007"\' \'--setenv=PS1=<mock-chroot> \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb  --target x86_64 --nodeps /builddir/build/SPECS/blender.spec\'\n', 1)]
Traceback (most recent call last):
  File "/usr/lib/python3.13/site-packages/mockbuild/trace_decorator.py", line 93, in trace
    result = func(*args, **kw)
  File "/usr/lib/python3.13/site-packages/mockbuild/util.py", line 610, in do_with_status
    raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode)
mockbuild.exception.Error: Command failed: 
 # /usr/bin/systemd-nspawn -q -M 34ac026db653498fb99babc03e7aeb2b -D /var/lib/mock/fedora-42-x86_64/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.zuf1lbc5:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;<mock-chroot>\007"' '--setenv=PS1=<mock-chroot> \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb  --target x86_64 --nodeps /builddir/build/SPECS/blender.spec'
'

Comment 2 Tom.Rix 2025-04-01 13:54:53 UTC
blender+hiprt is not a build blocker, it is an optional blender feature.
blender+hiprt feature has not been tested on rawhide, and we are at the ending weeks F42 release.
i will not have time to test this feature in rawhide, let alone F42.
isn't it too late to get this in ?

Comment 3 Luya Tshimbalanga 2025-04-01 22:07:09 UTC
You are right. Maybe update it once we tested hiprt on Rawhide or on one COPR repository (https://copr.fedorainfracloud.org/coprs/g/designsuite/blender/builds/) as  enthusiasts will like be eager to fully test such features.

Comment 4 Luya Tshimbalanga 2025-05-30 22:54:28 UTC
Created attachment 2092276 [details]
Blender 4.4.3 tested with HIPRT enabled

The good news is the latest HIPRT 2.5 runs well on Blender 4.4.3 for Fedora 42 through Radeon RX 6950XT with no noticeable regressions. I think it is safe to update HIPRT to the latest version on Fedora 42 as the current version lacks math libraries for Rendering Cycles Engine.

Comment 5 Tom.Rix 2025-07-26 13:38:47 UTC
The update is here
https://koji.fedoraproject.org/koji/taskinfo?taskID=135290007

Comment 6 Luya Tshimbalanga 2025-07-26 16:36:37 UTC
Thanks. Awaiting to reach updates-testing to give karma.

Comment 7 Fedora Update System 2025-07-27 19:53:56 UTC
FEDORA-2025-83c9386978 (hiprt-2.5-3.a21e075.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-83c9386978

Comment 8 Fedora Update System 2025-07-28 00:55:30 UTC
FEDORA-2025-83c9386978 has been pushed to the Fedora 42 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-83c9386978`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-83c9386978

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2025-08-05 00:49:02 UTC
FEDORA-2025-83c9386978 (hiprt-2.5-3.a21e075.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.