ncurses5-compat-libs 6.3-1 has been previously installed.
I just re-build the files and run clinfo again. Segmentation fault (core dumped) again.
I believe I am running into the same problem as srahman5317.
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.46 |
First Submitted: | 2016-12-01 03:45 (UTC) |
Last Updated: | 2025-04-11 22:54 (UTC) |
« First ‹ Previous 1 .. 22 23 24 25 26 27 28 29 30 31 32 .. 81 Next › Last »
ncurses5-compat-libs 6.3-1 has been previously installed.
I just re-build the files and run clinfo again. Segmentation fault (core dumped) again.
I believe I am running into the same problem as srahman5317.
@limsandy
ncurses5-compat-libs
is a dependency of opencl-amd
- you need to install it first before running clinfo
.
It's very unlikely that strace returns nothing, it should create a strace.txt
file with hundreds of lines.
==> Validating source files with sha256sums... ncurses-6.3.tar.gz ... Passed ncurses-6.3.tar.gz.sig ... Skipped ==> Verifying source file signatures with gpg... ncurses-6.3.tar.gz ... FAILED (unknown public key CC2AF4472167BE03) ==> ERROR: One or more PGP signatures could not be verified! Failed to build ncurses5-compat-libs
Some warning messages popped while some dependencies were gonna build. Then somehow it was building....
I had updated my Manjaro the latest today, used kernel 5.17rc5.
After building is done, I tried running clinfo and "Segmentation fault (core dumped)". strace clinfo 2> strace.txt and errors.txt returned nothing.
@limsandy
This is the latest stable release (5.0.1 doesn't count since it has experimental binaries), I will wait for the next AMD release (which is probably March) before I can release a new package.
If you need OpenCL and ROCm is not working for you, you can try an older release that works, probably 20.40
@luciddream,
Not yet. To be honest, I am a little scared to try this on my own because so many users have reported problems (and those who managed to make it work, did not find the solution straight-forward).
I am trying to run a crypto farmer program where it can use OpenCL to help it sync up to the current blockchain height. And the Vega iGPU inside a Renoir is actually very powerful to do it.
I'm not in a rush to use OpenCL so I have a few more weeks. BTW, do you plan on releasing a newer stable version of opencl-amd anytime soon? ;) I know AMD is releasing a bunch of drivers in kernel 5.17 so I might wait until then. ;)
@limsandy I don't think there is a reason to make any assumptions about how the drivers work / build / etc. Did you try opencl-amd
and it's not working for you? What are you trying to run and what do the logs provide any errors? example try strace clinfo 2> strace.txt
You can also use the DEBUG flags, maybe they provide more information about any errors.
@srahman5317 sorry about your laptop!
Hello luciddream,
I am a new Manjaro user and I really would like to get my AMD 4650 PRO (Renoir) APU to work with some programs utilizing OpenCL. Now I've just read srahman5317's trouble getting his Renoir laptop to work with OpenCL and getting it to work might be tricky.
Now don't get me wrong, I know someone who has successfully get his Renoir APU to work with OpenCL but he said the process is quite painful. And here I quote him:
"I was somehow able to get OpenCL running on my AMD 4800U iGPU under Linux... it was very tricky and even then it only seemed to work when a monitor was attached and running a GUI. It would not work headless.
AMD's proprietary Linux drivers suck. They're locally compiled kernel modules. So if there's an automatic kernel update from Ubuntu that gets downloaded and if the AMD drivers won't compile with the newer kernel, you're screwed.
What tends to happen is the kernel gets updated and the AMD drivers lag, so if you try to install a fresh Ubuntu machine you have to manually download and install an older kernel, then remove the newer one (and the newer kernel headers) to get the drivers to build."
Having this information, is there anything you could help us to confidently get OpenCL to successfully work with Manjaro (or any Arch Linux distribution)? Thank you so much in advance, luciddream.
@luciddream don't mean to ignore you but my laptop literally broke so I can't provide more details. Thank you for your help so far.
@srahman5317 What's the rocminfo
output? Maybe it gives more info about what's wrong.
@luciddream Thank you for your response. I haven't found a way to make ROCm work with Renoir APUs but I will keep looking. Here are the errors from strace when version 21.50 is installed and I run clinfo
(link through Mega. Text file) https://mega.nz/file/cctUSQrb#PqodPi0VLhDDJ7hjeAx6Xlh8Bdr1jt5YZ__XUlzhtiY
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.