No noise, these discussions help me understand how people are using the package and what I have to improve on my side.
p.s I removed the cast today and I can barely type with two hands again!
Git Clone URL: | https://aur.archlinux.org/opencl-amd.git (read-only, click to copy) |
---|---|
Package Base: | opencl-amd |
Description: | ROCm components repackaged from AMD's Ubuntu releases (ROCr runtime, ROCm runtime, HIP runtime) - This package is intended to work along with the free amdgpu stack. |
Upstream URL: | http://www.amd.com |
Keywords: | amd amdgpu computing gpgpu opencl radeon |
Licenses: | custom:AMD |
Conflicts: | amd-smi-lib, comgr, hip, hip-dev, hip-doc, hip-runtime-amd, hip-samples, hipcc, hsa-amd-aqlprofile, hsa-rocr, hsa-rocr-dev, openmp-extras-runtime, rocdecode, rocdecode-dev, rocjpeg, rocjpeg-dev, rocm, rocm-cmake, rocm-core, rocm-dbgapi, rocm-debug-agent, rocm-device-libs, rocm-gdb, rocm-hip, rocm-hip-runtime, rocm-language-runtime, rocm-ocl-icd, rocm-opencl, rocm-opencl-dev, rocm-opencl-icd-loader, rocm-opencl-runtime, rocm-openmp, rocm-smi-lib, rocm-utils, rocminfo, rocprofiler, rocprofiler-dev, rocprofiler-plugins, rocprofiler-register, rocprofiler-sdk-rocpd, roctracer, roctracer-dev |
Provides: | amd-smi-lib, comgr, hip, hip-dev, hip-doc, hip-runtime-amd, hip-samples, hipcc, hsa-amd-aqlprofile, hsa-rocr, hsa-rocr-dev, opencl-driver, openmp-extras-runtime, rocdecode, rocdecode-dev, rocjpeg, rocjpeg-dev, rocm, rocm-cmake, rocm-core, rocm-dbgapi, rocm-debug-agent, rocm-device-libs, rocm-gdb, rocm-hip, rocm-hip-runtime, rocm-language-runtime, rocm-ocl-icd, rocm-opencl, rocm-opencl-dev, rocm-opencl-icd-loader, rocm-opencl-runtime, rocm-openmp, rocm-smi-lib, rocm-utils, rocminfo, rocprofiler, rocprofiler-dev, rocprofiler-plugins, rocprofiler-register, rocprofiler-sdk-rocpd, roctracer, roctracer-dev |
Submitter: | grmat |
Maintainer: | luciddream |
Last Packager: | luciddream |
Votes: | 135 |
Popularity: | 1.30 |
First Submitted: | 2016-12-01 03:45 (UTC) |
Last Updated: | 2025-09-16 19:06 (UTC) |
No noise, these discussions help me understand how people are using the package and what I have to improve on my side.
p.s I removed the cast today and I can barely type with two hands again!
Ah, I get it now, thanks for that tip (and sorry for the noise)!
@fililip Install opencl-amd-dev if you haven't already, else reinstall it because it is included there. opencl-amd is just the runtime. I will add a pinned comment again about it.
p.s I will have to take another look on which software should be present in each package, because it doesn't make sense to have hipcc in opencl-amd if it's not working at all.
To give some historic context, I've been using amdgpu-install script to decide which software should be included in each package but amdgpu-install is about to be deprecated / obsolete so I stopped using it for ROCm 7.0. So it's not perfect at the moment.
I will follow the instructions from the ROCm documentation for the next release in order to fix these issues.
On my system this file does not exist and I do have both the regular and legacy libxml2 packages, what else should I check?
I get no errors for hipcc
pc@home ~> hipcc
No Arguments passed, exiting ...
and /opt/rocm/lib/llvm/bin/clang++
is present in the filesystem. For some reason I think i saw the error yesterday and it went away after I installed libxml2, and now it even works without it. But maybe I'm just tripping
@luciddream in my case it's just running hipcc which throws an error that I pasted in my comment below:
sh: line 1: /opt/rocm/lib/llvm/bin/clang++: No such file or directory
I haven't tested any pytorch apps (and the like) on this laptop yet but I assume it might hinder something if it's not fixed.
Or is it just a harmless error that can be ignored?
@fililip
Cool about Blender, to be honest Arch should have been able to support multiple versions of ROCm but my efforts to convince Arch developers about it were completely ignored. So now applications like Blender need to catch up with breaking changes in major ROCm versions.
About hipcc, If you give me an example that fails I can try to replicate it in the evening and see if it's something we can fix in the package or not.
@luciddream Blender 5 works, thanks! As for hipcc still not running correctly, I realized I do actually have both libxml2 and libxml2-legacy, and it still doesn't work :(
@fililip did you try with Blender 5? https://builder.blender.org/download/daily/
I had issues too with previous Blender versions but it works for me with latest alpha. The libxml2 issue has been present for many ROCm versions, it's not new. You can install libxml2-legacy from AUR to fix it.
7.0 broke HIP in Blender for me (it no longer sees my iGPU and CPU), and I'm using a Strix Point APU (gfx1150) which worked fine with opencl-amd 6.4.2 and prior versions.
As a debug measure, I tried to run hipcc, which resulted in the following error messages being shown:
❯ hipcc sh: line 1: /opt/rocm/lib/llvm/bin/clang++: No such file or directory sh: line 1: /usr/local/cuda/bin/nvcc: No such file or directory sh: line 1: nvcc: command not found Device not supported - Defaulting to AMD No Arguments passed, exiting ...
The official Arch packages, like hip-runtime-amd (which are currently based on 6.4.3) work correctly (hipcc just displays "No Arguments passed, exiting ..."), but rocm-llvm is a huge package taking up over 5GiB. Can this be resolved for 7.0?
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.