Anyone Folding with a 5700XT on Ubuntu 18
Moderator: Site Moderators
Forum rules
Please read the forum rules before posting.
Please read the forum rules before posting.
-
- Posts: 511
- Joined: Mon May 21, 2018 4:12 pm
- Hardware configuration: Ubuntu 22.04.2 LTS; NVidia 525.60.11; 2 x 4070ti; 4070; 4060ti; 3x 3080; 3070ti; 3070
- Location: Great White North
Anyone Folding with a 5700XT on Ubuntu 18
I'm at home under Quarantine for the next two weeks so I'm taking advantage of this and I've ordered a PowerColor Red Dragon 5700XT and one of the Gigabyte tri-axial 5700XTs to give them a try.
Another goal is to update my Linux Folding HOWTO for my Folding Team.
I must admit that other than my trusty FirePro W4100 in my Win10 Daily Driver I have almost no experience with AMD Drivers and next to none under Linux but have built 5 or 6 systems using the Nvidia PPA Drivers.
I've seen a lot of posts about the 5700XT from folks running Windows but haven't see much on the Linux side.
So if anyone can provide some guidance on getting the drivers working it would be appreciated.
Another goal is to update my Linux Folding HOWTO for my Folding Team.
I must admit that other than my trusty FirePro W4100 in my Win10 Daily Driver I have almost no experience with AMD Drivers and next to none under Linux but have built 5 or 6 systems using the Nvidia PPA Drivers.
I've seen a lot of posts about the 5700XT from folks running Windows but haven't see much on the Linux side.
So if anyone can provide some guidance on getting the drivers working it would be appreciated.
Re: Anyone Folding with a 5700XT on Ubuntu 18
From everything that I had read so far (mind you, I don't fold on Linux but I do utilize it frequently so take this with a grain of salt) is that you need Ubuntu 18.04 LTS, install the official AMD drivers, install OpenCL separately, setup the F@H client, and you should be good to go.
Perhaps this guide could help you? It is listed for server, but a lot of it should work for desktop as well. viewtopic.php?f=106&t=33090&hilit=ubuntu
Here is another thread I found that could be useful: viewtopic.php?f=106&t=32346&hilit=ubuntu
Perhaps this guide could help you? It is listed for server, but a lot of it should work for desktop as well. viewtopic.php?f=106&t=33090&hilit=ubuntu
Here is another thread I found that could be useful: viewtopic.php?f=106&t=32346&hilit=ubuntu
S1: AMD R5 3600 & Sapphire RX 5700 XT Reference @2.1GHz under water
S2: Intel Xeon E5-2620v3 & MSI GTX 1650
RX 5700 XT Project & PPD Tracking Spreadsheet
S2: Intel Xeon E5-2620v3 & MSI GTX 1650
RX 5700 XT Project & PPD Tracking Spreadsheet
-
- Posts: 511
- Joined: Mon May 21, 2018 4:12 pm
- Hardware configuration: Ubuntu 22.04.2 LTS; NVidia 525.60.11; 2 x 4070ti; 4070; 4060ti; 3x 3080; 3070ti; 3070
- Location: Great White North
Re: Anyone Folding with a 5700XT on Ubuntu 18
Thanks for those links. Good to have soem information specific for Folding.
I've been doing some Googling and it appears that most of the info for the RX 500-series cards is also applicable to the Navi cards.
It does appear, however, that you need at least 18.04.3 to get the kernel support for Navi so good thing I upgraded all my boxes to 18.04.4 in the last couple of weeks.
The most interesting post I found at Ask Ubuntu discusses how OpenCL is under performing and what this person did to get it perform decently.
So even though I ordered the cards from a popular on-line eTailer late in the day and didn't expect them to ship until Monday I got tracking confirmation that they shipped this evening and are on their way and should be here Monday. I guess spending the extra $20Cdn on expedited shipping also might have put them at the top of the queue.
I've been doing some Googling and it appears that most of the info for the RX 500-series cards is also applicable to the Navi cards.
It does appear, however, that you need at least 18.04.3 to get the kernel support for Navi so good thing I upgraded all my boxes to 18.04.4 in the last couple of weeks.
The most interesting post I found at Ask Ubuntu discusses how OpenCL is under performing and what this person did to get it perform decently.
So even though I ordered the cards from a popular on-line eTailer late in the day and didn't expect them to ship until Monday I got tracking confirmation that they shipped this evening and are on their way and should be here Monday. I guess spending the extra $20Cdn on expedited shipping also might have put them at the top of the queue.
-
- Site Moderator
- Posts: 6359
- Joined: Sun Dec 02, 2007 10:38 am
- Location: Bordeaux, France
- Contact:
Re: Anyone Folding with a 5700XT on Ubuntu 18
Good luck with Linux and AMD drivers ...
-
- Posts: 511
- Joined: Mon May 21, 2018 4:12 pm
- Hardware configuration: Ubuntu 22.04.2 LTS; NVidia 525.60.11; 2 x 4070ti; 4070; 4060ti; 3x 3080; 3070ti; 3070
- Location: Great White North
Re: Anyone Folding with a 5700XT on Ubuntu 18
Thanks - Like I said I need a project to keep me going but I fear some Kernel-Fu will be required to get this going.toTOW wrote:Good luck with Linux and AMD drivers ...
I believe either you or @foldy mentioned in another thread that he had a version of FAHBench built against OpenMM_22. I'm thinking using FAHBench might be a better method to test with given AMD's less than stellar history with drivers these days.
-
- Posts: 15
- Joined: Sat Mar 28, 2020 5:59 pm
- Hardware configuration: AMD Threadripper 3960X underclocked/undervolted to 3.7GHz 1.0125v
Asus RoG Strix TRX40-E Gaming motherboard
32GB DDR4 3600MHz 16,16,16,36 (Samsung B-Die)
Sapphire Vega 56 overclocked/undervolted to 1662MHz 1070mV
Samsung Evo Plus 1TB NVMe SSD
Linux FTW
Re: Anyone Folding with a 5700XT on Ubuntu 18
I found it quite easy OP, so you should be OK (Threadripper 3960X and Vega 56 on Ubuntu 18.04.4). FWIW you can install the latest proprietary AMDGPU-PRO driver on 19.10 and even 20.04 as well. You just need to temporarily edit /etc/os-release to say '18.04.4', and then back again after installing. Probably best to stick to 18.04 now you've got it though, as it is the 'official' supported route.toTOW wrote:Good luck with Linux and AMD drivers ...
First install just the AMD OpenCL stuff we need, omitting the actual display driver (you don't need it, the open source one is great and works with vaapi in patched Chromium, which the pro one doesn't):
Code: Select all
amdgpu-pro-install --headless --opencl=pal
Then add the unprivileged fahclient user to the video group:
Code: Select all
sudo usermod -a -G video fahclient
Code: Select all
sudo nano /etc/systemd/system/FAHClient.service
Code: Select all
[Unit]
Description=Folding@Home Client
After=network.target
[Service]
Type=simple
ExecStart=/usr/bin/FAHClient /etc/fahclient/config.xml --pid-file=/var/run/fahclient/fahclient.pid --daemon
PIDFile=/var/run/fahclient/fahclient.pid
User=fahclient
RuntimeDirectory=fahclient
WorkingDirectory=~
[Install]
WantedBy=multi-user.target
Code: Select all
wget https://fah-web.stanford.edu/file-releases/public/GPUs.txt
sudo mv GPUs.txt /var/lib/fahclient/
-
- Posts: 511
- Joined: Mon May 21, 2018 4:12 pm
- Hardware configuration: Ubuntu 22.04.2 LTS; NVidia 525.60.11; 2 x 4070ti; 4070; 4060ti; 3x 3080; 3070ti; 3070
- Location: Great White North
Re: Anyone Folding with a 5700XT on Ubuntu 18
Thanks!Rainmaker wrote:I found it quite easy OP, so you should be OK (Threadripper 3960X and Vega 56 on Ubuntu 18.04.4). ...
I’ll definitely give that a try, but I expect to have some issues with OpenCL.
Moved some hardware around today and freed up:
Fractal Meshify S
2 x 140mm Corsair AF front-intake
140mm Fractal Bottom Intake
140mm Noctua iPPC 3000 as rear exhaust
Corsair TX-750M
Gigabyte x370 Gaming K7
AMD 2700x with a Gammax 120mm AIO
8GB DDR4
The video cards arrived this morning in my City but won’t be delivered until Monday.
I’ve got a trusty HD5670 in the system now and I’m going to do a Fresh Install of Win 10 Home 64-bit and Ubuntu 18.04.4 Desktop tomorrow so I can dual-boot and compare Windows vs. Linux performance.
And, of course, the CPU is folding away tonight while it waits.
-
- Posts: 511
- Joined: Mon May 21, 2018 4:12 pm
- Hardware configuration: Ubuntu 22.04.2 LTS; NVidia 525.60.11; 2 x 4070ti; 4070; 4060ti; 3x 3080; 3070ti; 3070
- Location: Great White North
Re: Anyone Folding with a 5700XT on Ubuntu 18
The hardware has arrived. It's folding under Windows for now so I can get a base-line of what to expect. About 1MPPD per card so far
Re: Anyone Folding with a 5700XT on Ubuntu 18
1M PPD per card?! HORY SHEET! I need to update stat!gordonbb wrote:The hardware has arrived. It's folding under Windows for now so I can get a base-line of what to expect. About 1MPPD per card so far
Re: Anyone Folding with a 5700XT on Ubuntu 18
Yup, the 5700 XT and Radeon 7 both regularly do over 1M PPD from the AMD side of things. I suspect the 5700 could as well, but probably needs a good overclock to achieve consistently.TxRedneck wrote:1M PPD per card?! HORY SHEET! I need to update stat!
From what I have seen on the Nvidia side, the RTX 2060 Super (maybe the non-super too) and up can all consistently do over 1M PPD. The 2080 Ti can actually exceed 3M PPD on some projects.
S1: AMD R5 3600 & Sapphire RX 5700 XT Reference @2.1GHz under water
S2: Intel Xeon E5-2620v3 & MSI GTX 1650
RX 5700 XT Project & PPD Tracking Spreadsheet
S2: Intel Xeon E5-2620v3 & MSI GTX 1650
RX 5700 XT Project & PPD Tracking Spreadsheet
Re: Anyone Folding with a 5700XT on Ubuntu 18
I've been outta the fold since 2014 and as I recall, you had to have a small farm of hardware to pull down those kinda numbers. It's insane to see how far things have some.MrFrizzy wrote:Yup, the 5700 XT and Radeon 7 both regularly do over 1M PPD from the AMD side of things. I suspect the 5700 could as well, but probably needs a good overclock to achieve consistently.TxRedneck wrote:1M PPD per card?! HORY SHEET! I need to update stat!
From what I have seen on the Nvidia side, the RTX 2060 Super (maybe the non-super too) and up can all consistently do over 1M PPD. The 2080 Ti can actually exceed 3M PPD on some projects.
Tx
Re: Anyone Folding with a 5700XT on Ubuntu 18
Spot on, on Core22 jobs it's unusual to see the base 2060 lower than 1M, the one in my collection is sitting at around 1.3M at present. It's my least powerful cardMrFrizzy wrote:From what I have seen on the Nvidia side, the RTX 2060 Super (maybe the non-super too) and up can all consistently do over 1M PPD. The 2080 Ti can actually exceed 3M PPD on some projects.
Re: Anyone Folding with a 5700XT on Ubuntu 18
You mind detailing what you're folding on to average what you do and if you've an estimate on your electricity costs?Shirty wrote:Spot on, on Core22 jobs it's unusual to see the base 2060 lower than 1M, the one in my collection is sitting at around 1.3M at present. It's my least powerful cardMrFrizzy wrote:From what I have seen on the Nvidia side, the RTX 2060 Super (maybe the non-super too) and up can all consistently do over 1M PPD. The 2080 Ti can actually exceed 3M PPD on some projects.
TIA,
Tx
-
- Posts: 511
- Joined: Mon May 21, 2018 4:12 pm
- Hardware configuration: Ubuntu 22.04.2 LTS; NVidia 525.60.11; 2 x 4070ti; 4070; 4060ti; 3x 3080; 3070ti; 3070
- Location: Great White North
Re: Anyone Folding with a 5700XT on Ubuntu 18
Its Alive!
Thanks to @rainmaker his instructions and the Preview version 20 drivers and the other fixes all worked like a charm. Definitely easier than the first time I tried to get NVidia cards working under Linux.
Both GPUs are folding away each with an estimate of a little over 1MPPD 10% into their 1st WU. So the same or slightly better that the average from the 6 or 7 WUs per card on Windows from my baseline there yesterday: 968,472PPD & 955,377PPD
Now to work on fan-control and getting the cards instrumented in Zabbix
Thanks to @rainmaker his instructions and the Preview version 20 drivers and the other fixes all worked like a charm. Definitely easier than the first time I tried to get NVidia cards working under Linux.
Both GPUs are folding away each with an estimate of a little over 1MPPD 10% into their 1st WU. So the same or slightly better that the average from the 6 or 7 WUs per card on Windows from my baseline there yesterday: 968,472PPD & 955,377PPD
Now to work on fan-control and getting the cards instrumented in Zabbix
-
- Posts: 511
- Joined: Mon May 21, 2018 4:12 pm
- Hardware configuration: Ubuntu 22.04.2 LTS; NVidia 525.60.11; 2 x 4070ti; 4070; 4060ti; 3x 3080; 3070ti; 3070
- Location: Great White North
Re: Anyone Folding with a 5700XT on Ubuntu 18
Tried a mainline Kernel 5.5 to see if the OpenCL enhancements AMD put in place had any effect. Unfortunately though the preview driver would not compile against Kernel 5.5.14.
So the GPUs are working as well under Linux as under Windows producing a little under 1MPPD (975.31 & 977.14kPPD on a 24-hour average) but comparing the theoretical Single Precision performance using the values on TechPowerup.com
RTX 2060S 7.181 TFLOPS
RTX 2070S 9.062 TFLOPS
RX 5700XT 9.754 TFLOPS
Leads me to suspect there is still some performance left on the table with Navi.
My observed performance for these GPUs are:
RX 5700XT 976kPPD
RTX 2060S 1420kPPD
RTX 2070S 1910kPPD
It is a shame the new 20.04 LTS Ubuntu version due out in a few days will only support Kernel 5.4 as if the AMD changes submitted to Kernel 5.5 don't get back-ported to 5.4 then Navi's compute performance may continue to suffer.
So the GPUs are working as well under Linux as under Windows producing a little under 1MPPD (975.31 & 977.14kPPD on a 24-hour average) but comparing the theoretical Single Precision performance using the values on TechPowerup.com
RTX 2060S 7.181 TFLOPS
RTX 2070S 9.062 TFLOPS
RX 5700XT 9.754 TFLOPS
Leads me to suspect there is still some performance left on the table with Navi.
My observed performance for these GPUs are:
RX 5700XT 976kPPD
RTX 2060S 1420kPPD
RTX 2070S 1910kPPD
It is a shame the new 20.04 LTS Ubuntu version due out in a few days will only support Kernel 5.4 as if the AMD changes submitted to Kernel 5.5 don't get back-ported to 5.4 then Navi's compute performance may continue to suffer.