Hi, I’m running OpenSuse Leap 15.1 (only just upgraded from 15.0)
I believe I have a AMD R9 370 oem (From Dell XPS 8700 desktop) graphics card. ‘lsmod | grep -i amd’ reports :
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Curacao PRO [Radeon R7 370 / R9 270/370 OEM]
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Oland/Hainan/Cape Verde/Pitcairn HDMI Audio [Radeon HD 7000 Series]
I’ve been running the open source AMDGPU drivers for a few years now and all has been well. I’ve also been running the latest kernels from the rep https://download.opensuse.org/repositories/Kernel:/stable/standard/ . The latest I’ve ran was 5.4.0. I want to use OpenCL with darktable and Openshot. First I tried installing the pocl and mesa drivers, but no luck.
So then I read that I needed the AMDGPU-PRO drivers but could get away with just installing the opencl parts. I downloaded AMDGPU-PRO-19.30 drivers and installed the zypper repo and the opencl packages. I did this by using the script “amdgpu-pro-install --opencl=legacy,pal --headless” and also manually using the Software Manager app. Each time the packages and dependencies were installed. However, through debugging I found that the amdgpu-dkms-19.30-844693.noarch.rpm package would fail with multiple errors. After some further reading I read the AMDGPU-PRO driver would only work with a 4.x Kernel.
I’ve now installed the kernel-default package for 4.12.14-lp151.28.32.1-x86-64 along with the source packages etc. Now when I install the AMDGPU-PRO drivers for OpenCL the packages install correctly and the dkms part is compiled successfully. But when I reboot the AMDGPU driver can not be inserted to the kernel, I get the following error message in the dmesg :
6.434181] amdgpu: Unknown symbol __pcpu_unique_kfd_processes_srcu_srcu_data (err 0)
I’ve not been able to find any trace of the above symbol in kernel source code. I normally boot the kernel with the following amdgpu specific kernel params:
radeon.si_support=0 radeon.cik_support=0 amdgpu.si_support=1 amdgpu.cik_support=1 amdgpu.dc=1 amdgpu.ppfeaturemask=0xfffd7fff amdgpu.dpm=1
but while trying to solve this problem I’ve tried booting with:
radeon.si_support=0 radeon.cik_support=0 amdgpu.si_support=1 amdgpu.cik_support=1 amdgpu.dc=1 amdgpu.ppfeaturemask=0xfffd7fff
radeon.si_support=0 radeon.cik_support=0 amdgpu.si_support=1 amdgpu.cik_support=1
and “” (ie none)
None of which change the situation with the kernel being unable to insert the amdgpu driver and receiving the dmesg error:
6.434181] amdgpu: Unknown symbol __pcpu_unique_kfd_processes_srcu_srcu_data (err 0)
Please help - I’m tearing my hair out. Do I need a later driver than 4.12? I can’t find any opensuse kernel drivers after 4.12 but I know I’ve run 4.18 and 4.20 from the kernel:stable repo in the past (Why aren’t these kernels preserved in an archive repo???)