Bitcoin Forum
May 05, 2024, 10:32:50 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Asus RX580 8G for Ubuntu, clueless  (Read 351 times)
Rickirs (OP)
Member
**
Offline Offline

Activity: 206
Merit: 20


View Profile
December 11, 2017, 05:08:37 PM
Last edit: December 11, 2017, 07:48:19 PM by Rickirs
 #1

Hi,

I have linux machine, running few nvidia 1060, running fine and stable.

However, I decided to add Asus RX 580 to the rig and now I am clueless as out of box its just 19Mh/s.  Need help from guys using it already (RX 580)

1. I am not sure which driver to install currently as most of the post or past discussions are about blockchain drivers and are old. I am under impression that newer "AMDGPU-PRO Driver Version 17.40" contains both drivers ?

2. Biggest issue is the overclocking and modding, I am on xubuntu , don't want windows and doesn't have spare pc.Don't even know where to start ?

3. Are there any tools like Nvidia-smi for GPU where I can see how much power, temperature etc. is there. I tried amdconfig , but its not present on my system ? And how to know GPU memory type without windows ie. is Samsung , Hynix etc ?

4. Claymore 10 is saying AMD ADL is not installed, downloaded it and can't figure out how to install.

1714948370
Hero Member
*
Offline Offline

Posts: 1714948370

View Profile Personal Message (Offline)

Ignore
1714948370
Reply with quote  #2

1714948370
Report to moderator
According to NIST and ECRYPT II, the cryptographic algorithms used in Bitcoin are expected to be strong until at least 2030. (After that, it will not be too difficult to transition to different algorithms.)
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714948370
Hero Member
*
Offline Offline

Posts: 1714948370

View Profile Personal Message (Offline)

Ignore
1714948370
Reply with quote  #2

1714948370
Report to moderator
1714948370
Hero Member
*
Offline Offline

Posts: 1714948370

View Profile Personal Message (Offline)

Ignore
1714948370
Reply with quote  #2

1714948370
Report to moderator
1714948370
Hero Member
*
Offline Offline

Posts: 1714948370

View Profile Personal Message (Offline)

Ignore
1714948370
Reply with quote  #2

1714948370
Report to moderator
Vann
Hero Member
*****
Offline Offline

Activity: 1036
Merit: 606



View Profile
December 11, 2017, 05:16:13 PM
 #2

Getting AMD and Nvidia cards to run on the same rig with Linux is not recommended or easy to do. On Windows 10 v1709 Fall Creators update you just need to do a clean install by running DDU in safe mode to remove all the VGA drivers and install the latest Crimson Relive v17.1x.x drivers and toggle 'compute' mode on from gaming in AMD settings. Then connect the Nvidia cards and install the latest Nvidia drivers.
NameTaken
Hero Member
*****
Offline Offline

Activity: 630
Merit: 502


View Profile
December 11, 2017, 05:43:02 PM
 #3

AMDGPU-PRO does not include any userland tools but you can use https://github.com/RadeonOpenCompute/ROC-smi
Rickirs (OP)
Member
**
Offline Offline

Activity: 206
Merit: 20


View Profile
December 11, 2017, 07:46:38 PM
 #4

Getting AMD and Nvidia cards to run on the same rig with Linux is not recommended or easy to do. On Windows 10 v1709 Fall Creators update you just need to do a clean install by running DDU in safe mode to remove all the VGA drivers and install the latest Crimson Relive v17.1x.x drivers and toggle 'compute' mode on from gaming in AMD settings. Then connect the Nvidia cards and install the latest Nvidia drivers.
But I have no windows, already mentioned..
AMDGPU-PRO does not include any userland tools but you can use https://github.com/RadeonOpenCompute/ROC-smi

Thanks for the pointer. You solved issue #3 for me. Now wondering about if I am installing right driver ?
NameTaken
Hero Member
*****
Offline Offline

Activity: 630
Merit: 502


View Profile
December 11, 2017, 07:59:55 PM
 #5

Getting AMD and Nvidia cards to run on the same rig with Linux is not recommended or easy to do. On Windows 10 v1709 Fall Creators update you just need to do a clean install by running DDU in safe mode to remove all the VGA drivers and install the latest Crimson Relive v17.1x.x drivers and toggle 'compute' mode on from gaming in AMD settings. Then connect the Nvidia cards and install the latest Nvidia drivers.
But I have no windows, already mentioned..
AMDGPU-PRO does not include any userland tools but you can use https://github.com/RadeonOpenCompute/ROC-smi

Thanks for the pointer. You solved issue #3 for me. Now wondering about if I am installing right driver ?
http://support.amd.com/en-us/kb-articles/Pages/AMDGPU-Pro-Beta-Mining-Driver-for-Linux-Release-Notes.aspx
https://bitcointalk.org/index.php?topic=2102129.0
Rickirs (OP)
Member
**
Offline Offline

Activity: 206
Merit: 20


View Profile
December 12, 2017, 05:35:45 AM
 #6


Thanks, so I suppose my information that AMD-GPU pro drivers here (http://support.amd.com/en-us/kb-articles/Pages/AMDGPU-PRO-Driver-for-Linux-Release-Notes.aspx) had blockchain drivers included in it. Will now go for mining drivers specifically. That would be #1 issue resolved.

Any idea where to start for modding thing in Linux ?
I see almost all guides for windows ... does that mean there is nothing for linux ?



NameTaken
Hero Member
*****
Offline Offline

Activity: 630
Merit: 502


View Profile
December 12, 2017, 04:37:03 PM
 #7


Thanks, so I suppose my information that AMD-GPU pro drivers here (http://support.amd.com/en-us/kb-articles/Pages/AMDGPU-PRO-Driver-for-Linux-Release-Notes.aspx) had blockchain drivers included in it. Will now go for mining drivers specifically. That would be #1 issue resolved.

Any idea where to start for modding thing in Linux ?
I see almost all guides for windows ... does that mean there is nothing for linux ?
Use atiflash to save the BIOS then WINE to run the BIOS editor.
Rickirs (OP)
Member
**
Offline Offline

Activity: 206
Merit: 20


View Profile
December 15, 2017, 08:24:50 PM
 #8


Use atiflash to save the BIOS then WINE to run the BIOS editor.

Well, I actually turned to windows to mod bios and things.
So far I understood that clayminer can control most of the overclocking aspect of AMD RX GPUs while not applicable on Nvidia.  Hence the thing I only need to mod is bios of the GPU , now I understand all tools needed for it and basic concept but still things are not working for me.

I have Hynix memory and I can see people with same GPU and Hynix memory were able to get stable 30+ Mhs
Like here: https://anorak.tech/t/asus-amd-radeon-rx-580-oc-dual-8gb-hynix/11184/14
Some here: https://forum.ethereum.org/discussion/14251/asus-rx580-strix-oc-8gb-hynix-memory-bios-modded

Everywhere people are suggesting to use this strap:
777000000000000022AA1C00B56A6D46C0551017BE8E060C006AE6000C081420EA8900AB0300000 01B162C31C0313F17

From 1750 and onwards. Was giving around 29Mhs but kept crashing every few minute.

I used Polaris Bios editor with "One Click timing", it suggested to use it from 1500 onwards, I tried that. Got 30+ Mhz for few minute and then GPU went to zero hashing. Tried both windows and Linux, it is crashing.

Then tried straps from stock bios 1750 and copied onwards, now it is stable to only ~24.8 Mhs and running but power draw is ~140 w

Here are overclocking I tried:
Code:
#RX580 only
-asm 1
-cclock 1200
-cvddc 900
-mclock 2100
-mvddc 900
-tstop 85
-tt 65

But I feel they are not being applied as from rocm-smi, I see memory clock at 2000 only while should be 2100 as I set.
rocm output :
Code:
GPU[0]          : GPU ID: 0x67df
================================================================================
================================================================================
GPU[0]          : Temperature: 65.0c
================================================================================
================================================================================
GPU[0]          : GPU Clock Level: 5 (1275Mhz) <--- should be 1200
GPU[0]          : GPU Memory Clock Level: 2 (2000Mhz)  <---- see th-is , should be 2100
================================================================================
================================================================================
GPU[0]          : Fan Level: 204 (80.0)%
================================================================================
================================================================================
GPU[0]          : Current PowerPlay Level: auto

Again I feel lost as can't achieve desired hash rate, neither can reduce power usage.
Rickirs (OP)
Member
**
Offline Offline

Activity: 206
Merit: 20


View Profile
December 16, 2017, 03:48:57 PM
 #9

I patched again just for trial with HYNIX straps available online from 1500+ , this time able to get ~29+ MHz , with -asm 1

-cclock 1200
-cvddc 850
-mclock 2080
-mvddc 850
-tstop 85
-tt 65
-fanmin 40

However, its on windows, can't make Linux to see this card :
Details here : https://bitcointalk.org/index.php?topic=1433925.msg26436260#msg26436260
amishmanish
Legendary
*
Offline Offline

Activity: 1904
Merit: 1158


View Profile
December 19, 2017, 04:16:31 AM
 #10

I patched again just for trial with HYNIX straps available online from 1500+ , this time able to get ~29+ MHz , with -asm 1

-cclock 1200
-cvddc 850
-mclock 2080
-mvddc 850
-tstop 85
-tt 65
-fanmin 40

However, its on windows, can't make Linux to see this card :
Details here : https://bitcointalk.org/index.php?topic=1433925.msg26436260#msg26436260

I haven't yet started setting up things for mining but this does seem to be a problem. Ubuntu on live disk kept showing some amdgpu errors while the Asus RX 580 OC 8 GB was on board. Removed it and it worked fine.
Ubuntu 16.04.3 LTS is giving this issue. Will have to go ahead with windows for now it seems.
amishmanish
Legendary
*
Offline Offline

Activity: 1904
Merit: 1158


View Profile
December 19, 2017, 04:20:07 AM
 #11

I patched again just for trial with HYNIX straps available online from 1500+ , this time able to get ~29+ MHz , with -asm 1

-cclock 1200
-cvddc 850
-mclock 2080
-mvddc 850
-tstop 85
-tt 65
-fanmin 40

However, its on windows, can't make Linux to see this card :
Details here : https://bitcointalk.org/index.php?topic=1433925.msg26436260#msg26436260

I haven't yet started setting up things for mining but this does seem to be a problem. Ubuntu on live disk kept showing some amdgpu errors while the Asus RX 580 OC 8 GB was on board. Removed it and it worked fine.
Ubuntu 16.04.3 LTS is giving this issue. Will have to go ahead with windows for now it seems.

Also I guess you have already seen this but still sharing. The author describes a build of RX 580 on Ubuntu for ETH. I couldn't get Ubuntu to work for now (lousy, i know)but maybe this will help you..
Rickirs (OP)
Member
**
Offline Offline

Activity: 206
Merit: 20


View Profile
December 19, 2017, 06:49:25 AM
 #12

Don't go for latest driver, see this :
http://support.amd.com/en-us/kb-articles/Pages/AMDGPU-Pro-Beta-Mining-Driver-for-Linux-Release-Notes.aspx
Rickirs (OP)
Member
**
Offline Offline

Activity: 206
Merit: 20


View Profile
December 21, 2017, 09:57:14 AM
 #13

For Ubuntu , its ignore claymore overclocking settings, but on windows seems stable ..

Using AMDgpu-pro 17.40.483984 as other drivers were messing up system.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!