3 ms·
Only if you use the AMDGPU-Pro drivers, since it requires HIP. They only introduced HIP support in Blender 3.2: that's two minor releases (almost an entire year
by doodlesdev 3y ago
Only if you use the AMDGPU-Pro drivers, since it requires HIP. They only introduced HIP support in Blender 3.2: that's two minor releases (almost an entire year) without support for AMD GPU rendering at all. I should've made that clearer in my original comment. If there's a way to get HIP working under the Mesa drivers, I haven't been able to find it in my cursory searches through the internet.
The newer versions of Blender only support CUDA and HIP as render devices, whereas in Blender 2.83 we still had the option to use OpenCL for rendering. You could say the blame is on AMD for giving subpar HIP support on Linux, and that would be fair IF the OpenCL backend didn't exist in Blender 2.83.
Of course, to add insult to injury, they now don't port the RT acceleration to Linux, which just makes the experience truly inferior to Windows. As I pointed out in the original comment, this is a reasonable decision from a business standpoint. I just find it sad because Blender is one of the darlings of the open-source movement, so seeing them neglect Linux so much is frustrating.
- slavik81 3y ago> Only if you use the AMDGPU-Pro drivers, since it requires HIP. The video and compute drivers were merged some time around the ROCm 5.0 release last year. If you have a sufficiently recent kernel, you shouldn't need to install any additional drivers. On Debian Bookworm or Ubuntu 23.04, you can `apt install libamdhip64-dev` and you'll have everything needed to use Blender's HIP GPU rendering.
- doodlesdev 3y agoThank you so much for this, I wasnt aware of this change. Just need to find the equivalent package on the Fedora repositories now and I guess I get to use more recent Blender versions :D
- vetinari 3y agoOn fedora (38), there is rocm-hip package. It is relatively new one, it appeared this june. For blender you will also need rocm-hip-devel, since blender dlopens() libamdhip64 not by soname (libamdhip64.so.5), but by the name libamdhip64.so, and that symlink is in the devel package. For what I can say, it does work with Vega64 and cycles is rougly twice as fast compared to cpu (ryzen 2920x in my case).
- doodlesdev 3y agoI managed to install those packages and now Blender recognizes my 6700XT as a HIP-capable device, however selecting the GPU and switching to render view crashes Blender with a segfault, I might have to do some investigation to see if I can fix this. Thanks for the help.
- slavik81 3y agoYou can often get more information about an error by setting the environment variable AMD_LOG_LEVEL=3. I briefly talked to the Fedora maintainer and they mentioned there was a known issue with their HIP package. I'd encourage you to file a bug report with Fedora (if one does not exist already). Their packages are under active development and I think you can expect the matter to be resolved promptly.
- deleted 3y ago[deleted]