6900xt disabled Linux Mint 21

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

Post Reply
Redshift_91
Posts: 4
Joined: Fri Oct 28, 2022 2:47 pm

6900xt disabled Linux Mint 21

Post by Redshift_91 »

I'm having a pretty rough go at trying to get gpu folding enabled in linux mint. I tried following the stickied guide but when I depackage the .deb, there's no apparent opencl driver, so I'm not sure if AMD changed something or if I'm downloading the wrong driver.

When I'm running the advanced client, my gpu shows as "Disabled" and when I go into configure slots, gpu, There are almost no options leading me to believe it is an open cl issue. I just have no real idea where to go from here. I know I'm running the more recent amd proprietary drivers so any help would be appreciated

screenshot from client included in link in case that helps
https://prnt.sc/EuhFsj5mIRIn
Joe_H
Site Admin
Posts: 7936
Joined: Tue Apr 21, 2009 4:41 pm
Hardware configuration: Mac Pro 2.8 quad 12 GB smp4
MacBook Pro 2.9 i7 8 GB smp2
Location: W. MA

Re: 6900xt disabled Linux Mint 21

Post by Joe_H »

Welcome to the folding support forum.

The screenshot just shows us that the slot created for the detected GPU is disabled, could you post the first 100 or so lines of the log file. That will show the system configuration as the client software detected it, and give the reason for disabling the slot.

As for drivers, AMD under Linux is a pain. For a 6900xt, the supported drivers would be the ROCm drivers or the AMDgpu ones. If you can find a repository that has repackaged them for your version of Mint that may be easier than installing from the .deb. OpenCL may be a separate package. You can also run into problems with kernel compatibility, for example I came across a note that the AMD 20.50 package of drivers is not compatible with kernel version 5.10 or higher.
Image

iMac 2.8 i7 12 GB smp8, Mac Pro 2.8 quad 12 GB smp6
MacBook Pro 2.9 i7 8 GB smp3
Redshift_91
Posts: 4
Joined: Fri Oct 28, 2022 2:47 pm

Re: 6900xt disabled Linux Mint 21

Post by Redshift_91 »

sorry for taking a while, I didn't have too much time to dig into this lately. I was tring to install opencl from an older driver and it killed my install. In the log the error is OpenCL missing as you explained. I was pretty sure of this from the drop but it's confirmed. So far I've not really found any good method for installing rocm or the pro driver with opencl. if I figure out a solution I'll post it here.
Redshift_91
Posts: 4
Joined: Fri Oct 28, 2022 2:47 pm

Re: 6900xt disabled Linux Mint 21

Post by Redshift_91 »

Well I have just now got it working in Ubuntu 22.04 so I'm not as disparaged as I was last week, I had to runn a couple commands after installing rcom. I have no idea if it will carry over to mint, but I may give it a shot later. I will try to make a full write up of at least getting it running on modern amd gpus on ubuntu 22.04 later tonight once I get all my notes gathered up
Redshift_91
Posts: 4
Joined: Fri Oct 28, 2022 2:47 pm

Re: 6900xt disabled Linux Mint 21

Post by Redshift_91 »

alright after a clean install of kubuntu 22.04.1 I ran this set of commands and I got gpu folding running again, so these steps should be validated at this point, at least in my case. Going to try in Mint now

sudo apt-get update

install qapt
sudo apt-get install qapt-deb-installer

download amd gpu pro
https://www.amd.com/en/support

download folding client.deb
https://foldingathome.org/start-folding/?lng=en

install amd gpu pro
with gui right click qapt

install folding client
with gui right click install with qapt

install git
sudo apt install git

install python all
sudo apt install python3-gi python3-all python3-six dh-python gir1.2-gtk-3.0

install opencl
sudo apt-get install ocl-icd-opencl-dev

install rcom
wget https://repo.radeon.com/amdgpu-install/ ... -1_all.deb
sudo apt-get install ./amdgpu-install_22.20.50201-1_all.deb
amdgpu-install --usecase=opencl --no-dkms

clone git repo for the folding gui with python 3
cd ~
git clone https://github.com/cdberkstresser/fah-control.git


set gpu to true in /ect/fahclient/config.xml in order to write to file youl'll have to either chmod it or sudo vi the file or something similar, it's set to read only by defaul

reboot
in terminal execute
FAHClient
cd fah-control
echo "version = '7.7.0'" > fah/Version.py
./FAHControl


Now confirmed, this topic can be closed and or archived as needed, this series of commands will work to get folding working in linux Mint 21
Post Reply