![]() ![]() ![]() Second question: what is wrong with OpenCL in OSS stack? If you had to move mesa.icd out of the way, then it sounds like it’s working.įor VEGA and POLARIS cards, my understanding is that none of those are necessary. Here is the output of the darktable-cltest running on my machine for those who are curious.įirst question: why is libdrm-amdgpu needed? Mv /etc/OpenCL/vendors/mesa.icd /etc/OpenCL/vendors/Īnd that’s it! If you need to upgrade the OpenCL runtime you could theoretically replace the /var/local/amdgpu files with the files from the newest RedHat driver and run a normal upgrade using dnf. Now at last, if you have the Mesa runtime for OpenCL installed just rename the mesa.icd file to something else in /etc/OpenCL/vendors so the system uses the AMD driver OpenCL runtime. (Plus we want to keep the amdgpu driver that’s already included in the kernel) In either case it will fail to install the amdgpu-core dependency but it doesn’t matter because it’s not needed for using OpenCL. If you have a VEGA card or newer (I didn’t test this but it should work in theory):ĭnf install libdrm-amdgpu libdrm-amdgpu-common clinfo-amdgpu-pro opencl-amdgpu-pro-comgr amdgpu-pro-core opencl-amdgpu-pro-icd libopencl-amdgpu-pro If you have a POLARIS card or older (I tested this because I have 580):ĭnf install libdrm-amdgpu libdrm-amdgpu-common clinfo-amdgpu-pro opencl-amdgpu-pro-comgr amdgpu-pro-core opencl-orca-amdgpu-pro-icd libopencl-amdgpu-pro Now create the local repo file in /etc//amdgpu.repo containing the following lines (note the name of the directory in /var/local/): Īnd now just install the necesary packages for getting OpenCL to work: Mv amdgpu-pro-xx-xx-xxxxxx-rhel-x.x amdgpu Tar xf /path/to/amdgpu-pro-xx-xx-xxxxxx-rhel-x.x.tar.xz Then uncompress it into the /var/local directory, and rename the directory to amdgpu (or whatever you want, just make sure to remember it for creating the local repo) cd /var/local ![]() This will install the necesary files from the amdgpu-pro driver to use OpenCL in Fedora but keep the open source video driver that comes with the system.įirst download the latest driver from the AMD website for RedHat/CentOS 8.xxĪt the time of writing this it’s driver 20.20. ![]() Yesterday I installed Fedora 32 and It’s been great, except for the OpenCL part in my Radeon card… So as I could not find any decent guide in the internet on how to do this on Fedora 32 I’ve decided to write one myself. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |