[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Installing AMD HIP on Debian



Hi,

On 3/29/23 17:40, Pio064 wrote:
Hi, thank you for your work on packaging AMD HIP for Debian!

You are welcome.

Is it possible to install HIP on Debian Bookworm in order to use it in Blender?

Yes. However, the version of Blender packaged for Bookworm does not yet contain support for HIP [1]. You'd have to use a copy of Blender downloaded from blender.org. It seems that Blender 3.5 released today [2]. I just tried rendering my default cube with Cycles on an RX 5700 XT on Debian Unstable and it works for me.

If so, could you tell me which packages I would need to install?

I believe it just requires libamdhip64-dev. I don't have a system set up to test with the Bookworm version, but there are a few bugfixes missing from that version that are found on Unstable. Hopefully the bugfixes will migrate to Bookworm soon. In the meantime, you may need to also manually install libamd-comgr-dev and libhsa-runtime-dev.

You can check that Blender detects your HIP install properly by going to Edit -> Preferences -> System -> Cycles Render Devices -> HIP. If there is a checkbox for your GPU, then it is detecting HIP correctly.

I think installing "hipcc" might not be enough and I couldn't find any information about this online.

hipcc includes a number of things that are not needed, in addition to everything that is. It would be more than enough.

Sincerely,
Cory Bloor

[1]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1021646
[2]: https://www.blender.org/download/release/Blender3.5/blender-3.5.0-linux-x64.tar.xz/


Reply to: