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

It seems that a lot of GPU problems revolve around specific versions of drivers. Though AMD has their own support structure, you can often learn from information reported by others who fold.

Moderators: Site Moderators, FAHC Science Team

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

Postby qwertz » Sat Apr 04, 2020 2:27 pm

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)
Last edited by qwertz on Thu Apr 23, 2020 6:06 am, edited 3 times in total.
qwertz
 
Posts: 5
Joined: Thu Apr 02, 2020 6:38 pm

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

Postby muziqaz » Sat Apr 04, 2020 2:29 pm

Awesome stuff, thank you for your effort. Hopefully it will be helpful for other using Linux and AMD GPUs :)
User avatar
muziqaz
 
Posts: 693
Joined: Sun Dec 16, 2007 7:22 pm
Location: London

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

Postby toTOW » Sun Apr 05, 2020 10:51 pm

Thread pinned, unless some one complains that it didn't work for him ... ;)
Folding@Home beta tester since 2002. Folding Forum moderator since July 2008.

FAH-Addict : latest news, tests and reviews about Folding@Home project.

Image
User avatar
toTOW
Site Moderator
 
Posts: 5651
Joined: Sun Dec 02, 2007 11:38 am
Location: Bordeaux, France

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

Postby Rainmaker » Mon Apr 06, 2020 12:41 am

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)?
Rainmaker
 
Posts: 15
Joined: Sat Mar 28, 2020 6:59 pm

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

Postby qwertz » Wed Apr 08, 2020 9:06 pm

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.
qwertz
 
Posts: 5
Joined: Thu Apr 02, 2020 6:38 pm

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

Postby holstien » Sat Apr 25, 2020 10:00 pm

Hopefully more success stories follow. I have been using the proprietary drivers without issue, but they are so painful to get installed and working.
Image
holstien
 
Posts: 8
Joined: Tue Apr 14, 2020 1:02 pm

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

Postby braiam » Mon Apr 27, 2020 10:20 pm

I did the same. But instead I edited the init file so that it uses root user instead. viewtopic.php?f=106&t=34231
braiam
 
Posts: 14
Joined: Mon Mar 23, 2020 3:56 pm


Return to Problems with AMD/ATI drivers

Who is online

Users browsing this forum: No registered users and 1 guest

cron