Use this PKGBUILD. Then just makepkg -si
.
Might need to remove the 20.45 package first, as I don't remember pacman liking downgrades.
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, libdrm-amdgpu-amdgpu1, openmp-extras-runtime, rocdecode, rocdecode-dev, rocjpeg, rocjpeg-dev, rocm-cmake, rocm-core, rocm-dbgapi, rocm-debug-agent, rocm-device-libs, rocm-gdb, rocm-hip-runtime, rocm-language-runtime, rocm-ocl-icd, rocm-opencl, rocm-opencl-dev, rocm-opencl-icd-loader, rocm-opencl-runtime, rocm-smi-lib, rocm-utils, rocminfo, rocprofiler, rocprofiler-dev, rocprofiler-plugins, rocprofiler-register, 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, libdrm-amdgpu-amdgpu1, opencl-driver, openmp-extras-runtime, rocdecode, rocdecode-dev, rocjpeg, rocjpeg-dev, rocm-cmake, rocm-core, rocm-dbgapi, rocm-debug-agent, rocm-device-libs, rocm-gdb, rocm-hip-runtime, rocm-language-runtime, rocm-ocl-icd, rocm-opencl, rocm-opencl-dev, rocm-opencl-icd-loader, rocm-opencl-runtime, rocm-smi-lib, rocm-utils, rocminfo, rocprofiler, rocprofiler-dev, rocprofiler-plugins, rocprofiler-register, roctracer, roctracer-dev |
Submitter: | grmat |
Maintainer: | sperg512 (luciddream) |
Last Packager: | luciddream |
Votes: | 133 |
Popularity: | 0.45 |
First Submitted: | 2016-12-01 03:45 (UTC) |
Last Updated: | 2025-04-11 22:54 (UTC) |
« First ‹ Previous 1 .. 49 50 51 52 53 54 55 56 57 58 59 .. 81 Next › Last »
Use this PKGBUILD. Then just makepkg -si
.
Might need to remove the 20.45 package first, as I don't remember pacman liking downgrades.
@sperg512: Thanks, but how can I get back to 20.40 in Manjaro?
A commandline or advise for option in PKGBUILD to change would be nice :-)
@jiweigert Revert to 20.40 as we stated in the pins, there's clearly been a lot of issues for this driver even if people like me, @luciddream, and @apaz don't have them. OpenCL might still work, but we do know some people's cards aren't being detected and that blender causes segfaults for most of us.
I thought this wasn't a driver issue at first but now that I see so many people having issues with it I think it might actually be. I think someone's gonna contact one of the ROCm developers on Phoronix to seek some support.
Hi,
with the change to last version of opencl-amd (20.45) Ryzen 5 3500U Vega 8 buildin AGPU (gfx902) is not supported anymore.
No device is found on the system anymore.
This is truly a regression as the driver worked so far good before.
What kind of options do I have now?
Kind regards
@luciddream With ls /usr/lib/libamd*
I get
/usr/lib/libamd_comgr.so /usr/lib/libamdhip64.so.1 /usr/lib/libamdocl-orca64.so
/usr/lib/libamd_comgr.so.1 /usr/lib/libamdhip64.so.1.5.19245 /usr/lib/libamd.so
/usr/lib/libamd_comgr.so.1.7.0 /usr/lib/libamdocl12cl64.so /usr/lib/libamd.so.2
/usr/lib/libamdhip64.so /usr/lib/libamdocl64.so /usr/lib/libamd.so.2.4.6
and ls /usr/lib/libtinfo*
gives /usr/lib/libtinfo.so /usr/lib/libtinfo.so.6
.
Anything unusual?
@coxackie can you try to list some libraries on your system
la /usr/lib/libamd*
and la /usr/lib/libtinfo*
?
Maybe you need to make a symlink to libtinfo.so
for some reason.
cd /usr/lib/
sudo ln -s libtinfo.so libtinfo.so.5.9
@luciddream - no idea where the extension comes from. But, as you can see from the output, opencl-mesa
is not installed now (otherwise there would be 2 platforms). I did install opencl-amd
with opencl-mesa
uninstalled, but no difference.
EDIT: also, no ROCm here.
@coxackie I'm not sure where you get that extension from. Can you try to remove opencl-mesa
and then reinstall opencl-amd
package - if you haven't tried that in that order? My platform does not have the offline extension.
Number of platforms 1
Platform Name AMD Accelerated Parallel Processing
Platform Vendor Advanced Micro Devices, Inc.
Platform Version OpenCL 2.0 AMD-APP (3188.4)
Platform Profile FULL_PROFILE
Platform Extensions cl_khr_icd cl_amd_event_callback
Platform Extensions function suffix AMD
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.