For some reason I only just received the last AUR emails.
@ezra I doubt Blender needs rocm-5.0.0 path. Can you check /etc/profile.d/opencl-amd.sh
? and echo $PATH
? It should only include 5.2.3 rocm path.
@sperg512 It depends on what you want to automate. I think it's possible but not that simple. I personally check on every release if new libraries are added/removed, then add/remove fixes for each release. For example the last version includes paths from Ubuntu 22.04 version, which is something I had to change manually and I only did it because I verified it installs fine in Ubuntu 22.04. And a couple of versions before, I had to remove the library path fix #ln -s "/opt/rocm-5.2.3/hip/bin/.hipVersion" "$pkgdir/opt/rocm-5.2.3/bin/.hipVersion"
because it was fixed upstream.
In any case, it's simple for me to update and not taking much of my time, but I somewhat refuse to update minor versions that have no changelog by AMD. I also completely lost interest in using ROCm with my GPU (5700XT), since it will never work. I will probably upgrade my GPU before it is finally supported.
Pinned Comments
nho1ix commented on 2023-12-29 08:43 (UTC) (edited on 2024-02-10 07:13 (UTC) by nho1ix)
Note for anyone who has a Polaris GPU (Radeon RX 5xx) debugging issues with this package; Packages that use OpenCL like clinfo or davinci-resolve-studio will need you to downgrade opencl-amd to 1:5.7.1-1 as well as amdgpu-pro-oglp to 23.10_1620044-1 to avoid coredumps & segfaults.
DVR would not open unless these 2 packages were downgraded (along with their dependencies). Had to figure it out the hard way after hours using valgrind and rebooting over and over. Hopefully someone else will not have to pull their hair out trying to resolve their issue.
luciddream commented on 2021-12-26 15:14 (UTC) (edited on 2024-05-09 22:00 (UTC) by luciddream)
Current release is for ROCm 6.1.1
opencl-amd
package includes only OpenCL / HIP runtime. You also need to use opencl-amd-dev package for ROCm LLVM compiler, OpenCL and HIP SDK. Please relog / reboot after installing so your PATH gets updatedThere are now official packages available: rocm-opencl-sdk for OpenCL and rocm-hip-sdk for HIP - You might have better luck with these packages depending on your GPU.