Skip to content
Maksim Levental edited this page Aug 28, 2024 · 11 revisions

Getting started

Install amdgpu-dkms following here but only do

sudo apt install amdgpu-dkms

If it worked then you should be able to do

svcnod@sharkbox1:~$ cat /sys/devices/virtual/kfd/kfd/topology/nodes/0/properties 

and

svcnod@sharkbox1:~$ cat /sys/devices/virtual/kfd/kfd/topology/nodes/1/properties 

DON'T FORGET TO sudo usermod -a -G render,video $LOGNAME for whichever user needs to have access to the kfd.

If you see

rocr::core::Shared<T, rocr::core::PageAllocator<T> >::Shared(int, int) [with T = rocr::core::SharedQueue]: Assertion `allocate_ != nullptr && free_ != nullptr && "Shared object allocator is not set"' failed.

then you either forgot to do the usermod above or it hasn't stuck yet - just reboot.

Clone this wiki locally