Closed waeschd closed 2 years ago
See if you can run the binary with sudo
, if yes, then you are suffering from permission issue.
sudo usermod -a -G video render $USER
should fix your problem.
If not,
strace <your_executable> <your_args...> 2>&1 | grep -i permission
to see what FD is causing the problem here.
Thank you very much, missing permissions were indeed the problem :D Adding myself to video and render group and restarting the device fixed the problem.
But just one side note, your command above threw an error.
You probably meant:
sudo usermod -a -G video,render $USER
Running this command and rebooting afterwards managed to do the wanted thing.
Just out of curiosity: I remember that I saw the information to add yourself to the video,render groups in an older HIP Installer Guide. But if I remember correctly I didn't saw that information in the newest installer guide.
Also I installed HIP on a NVIDIA Platform and there I also didn't had to add myself to the video,render groups to make it work.
Nevertheless I'm grateful for the help
Hi, I've tried to install HIP on my Ubuntu 20.04 on an AMD Platform (Vega 56)
I followed the instructions here https://docs.amd.com/bundle/ROCm-Installation-Guide-v5.1.3/page/How_to_Install_ROCm.html. I decided to use the Installer Script Method. So i downloaded the .deb and installed it accordingly to the instructions. Then executed sudo amdgpu-install --usecase=hiplibsdk,rocm
Afterwards I've tested the square example.
I also run hipconfig --full
Someone else had a similar issue before #2265 , but there the issue was solved by adding "export HIP_PLATFORM=nvidia". But here I'm on an AMD Platform.
Best Regards