Page 1 of 1

HOWTO: AMD Radeon RX 550 on Debian 10 with rocm driver

PostPosted: Sat Apr 04, 2020 2:27 pm
by qwertz
Hi,

after some struggling, I finally got my setup running with GPU. This setup includes:
  • A PC running Debian Linux Version 10 (Codename buster)
  • A AMD Radeon RX 550 Graphics card

I wanted to use Open Source drivers, so I installed rocm, as explained in https://rocm-documentation.readthedocs. ... Guide.html. I did not try proprietary AMD drivers, so I can say nothing about them. I checked it was working by running "clinfo".

I also installed FAH as explained in https://foldingathome.org/support/faq/i ... des/linux/.

Initially FAH worked, but did not use the GPU. So I did the following:
  • Add the user fahclient to the group render by running "adduser fahclient render" on a console as root. It is required to access the GPU, but it is not done by default (FAH 7.5.1).
  • restart the fahclient outside of systemd
    Code: Select all
    systemctl stop FAHClient.service
    /etc/init.d/FAHClient start

    Surprisingly, this made a difference. I do not know why.
  • configure the GPU slot with opencl-index=0
  • and most important: wait for the latest rocm update! (rocm-dkms version 3.3.0-19, early April 2020)

Then I just needed to verify that FAHControl "System Info" detects the OpenCL Device and finally run folding. :D

I hope this will help some of you in getting started.

(see also viewtopic.php?f=83&t=32226)

Re: HOWTO: AMD Radeon RX 550 on Debian 10 with rocm driver

PostPosted: Sat Apr 04, 2020 2:29 pm
by muziqaz
Awesome stuff, thank you for your effort. Hopefully it will be helpful for other using Linux and AMD GPUs :)

Re: HOWTO: AMD Radeon RX 550 on Debian 10 with rocm driver

PostPosted: Sun Apr 05, 2020 10:51 pm
by toTOW
Thread pinned, unless some one complains that it didn't work for him ... ;)

Re: HOWTO: AMD Radeon RX 550 on Debian 10 with rocm driver

PostPosted: Mon Apr 06, 2020 12:41 am
by Rainmaker
Nice! I'm still battling freezes that I think are attributable to the current proprietary AMD OpenCL driver, as they only happen on Linux not Windows (which runs different versions). Just a question: Did you install rocm-dkms or did you opt to use upstream kernel drivers (as outlined in the install guide you linked)?

Re: HOWTO: AMD Radeon RX 550 on Debian 10 with rocm driver

PostPosted: Wed Apr 08, 2020 9:06 pm
by qwertz
Rainmaker wrote:Nice! I'm still battling freezes that I think are attributable to the current proprietary AMD OpenCL driver, as they only happen on Linux not Windows (which runs different versions). Just a question: Did you install rocm-dkms or did you opt to use upstream kernel drivers (as outlined in the install guide you linked)?


Right, I was not precise. I followed the Ubuntu instructions with rocm-dkms, not the Upstream Kernel Drivers.

Re: HOWTO: AMD Radeon RX 550 on Debian 10 with rocm driver

PostPosted: Sat Apr 25, 2020 10:00 pm
by holstien
Hopefully more success stories follow. I have been using the proprietary drivers without issue, but they are so painful to get installed and working.

Re: HOWTO: AMD Radeon RX 550 on Debian 10 with rocm driver

PostPosted: Mon Apr 27, 2020 10:20 pm
by braiam
I did the same. But instead I edited the init file so that it uses root user instead. viewtopic.php?f=106&t=34231