Bitcoin Forum
May 04, 2024, 07:49:06 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 [3] 4 »  All
  Print  
Author Topic: Linux Driver for Blockchain Compute 17.30.1029  (Read 15995 times)
sk1nt
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
October 15, 2017, 04:24:49 PM
 #41

I haven't been able to get the Vega's to work beyond 5.5 MH/s in Linux.  I've tried ROMc kernel with amdgpu-pro drivers, compiling my own kernel, compiling the 4.14rc4 and attempting to add the patches listed (all fail).  Maybe I'm missing something when trying to apply the patches, I'm using pwclient and can sort on all new patches, but as I mentioned above all fail. 

Has anyone managed to get the Vega working in Linux and would be kind enough to share the steps, including specific patches against specific kernel.  Would really appreciate any help before I break down and fire up win10.
1714852146
Hero Member
*
Offline Offline

Posts: 1714852146

View Profile Personal Message (Offline)

Ignore
1714852146
Reply with quote  #2

1714852146
Report to moderator
1714852146
Hero Member
*
Offline Offline

Posts: 1714852146

View Profile Personal Message (Offline)

Ignore
1714852146
Reply with quote  #2

1714852146
Report to moderator
The trust scores you see are subjective; they will change depending on who you have in your trust list.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714852146
Hero Member
*
Offline Offline

Posts: 1714852146

View Profile Personal Message (Offline)

Ignore
1714852146
Reply with quote  #2

1714852146
Report to moderator
1714852146
Hero Member
*
Offline Offline

Posts: 1714852146

View Profile Personal Message (Offline)

Ignore
1714852146
Reply with quote  #2

1714852146
Report to moderator
heavyarms1912
Full Member
***
Offline Offline

Activity: 729
Merit: 114



View Profile
October 16, 2017, 02:00:37 PM
 #42

Anybody noticed very slow shutdowns/reboots with all amd gpus and driver 17.30?
CryptoSquad
Newbie
*
Offline Offline

Activity: 60
Merit: 0


View Profile
October 16, 2017, 04:18:08 PM
 #43

Hi All

Having modded my AMD bios's using Windows to about 30mh per card (180mh on a 6 card rig) I then setup linux with this driver, and i am getting only 177mhs

Does this sound normal?  Difference of 0.5 mh's per card for linux?

One thing i did notice is windows every now and then would have a dramatic drop, and then increase back to the expected speeds, where as this seems far more stable at one speed?

Thoughts on all of this?
heavyarms1912
Full Member
***
Offline Offline

Activity: 729
Merit: 114



View Profile
October 16, 2017, 05:44:23 PM
 #44

Hi All

Having modded my AMD bios's using Windows to about 30mh per card (180mh on a 6 card rig) I then setup linux with this driver, and i am getting only 177mhs

Does this sound normal?  Difference of 0.5 mh's per card for linux?

One thing i did notice is windows every now and then would have a dramatic drop, and then increase back to the expected speeds, where as this seems far more stable at one speed?

Thoughts on all of this?

mostly the windows has more frequent state changes whereas linux isn't doing that.  monitor gpu clocks using below commands for active core and memory frequencies.  
cat /sys/class/drm/card0/device/pp_dpm_sclk | grep '*'
cat /sys/class/drm/card0/device/pp_dpm_mclk  | grep '*'

replace card0 with yours
CryptoSquad
Newbie
*
Offline Offline

Activity: 60
Merit: 0


View Profile
October 16, 2017, 07:01:09 PM
 #45

Ok but why the lower hashrate in Linux?
heavyarms1912
Full Member
***
Offline Offline

Activity: 729
Merit: 114



View Profile
October 16, 2017, 09:04:01 PM
 #46

Ok but why the lower hashrate in Linux?

I mentioned it in my previous comment.  Your cards might be jumping back and forth low-high clocks in windows (more frequently) while in linux might be stuck on 7th state clock or jumping between low-high clocks less frequently (There are 8 gpu core clock states for amd gpu)

Are the cards BIOS modded/undervolted?
CryptoSquad
Newbie
*
Offline Offline

Activity: 60
Merit: 0


View Profile
October 16, 2017, 09:06:35 PM
 #47

But is there a way to keep them in One state? What am I monitoring for?
heavyarms1912
Full Member
***
Offline Offline

Activity: 729
Merit: 114



View Profile
October 16, 2017, 09:08:05 PM
 #48

But is there a way to keep them in One state? What am I monitoring for?

you'll be checking for the active core/memory frequency of the gpu while mining.  Open up the terminal in linux and run the commands.
CryptoSquad
Newbie
*
Offline Offline

Activity: 60
Merit: 0


View Profile
October 16, 2017, 09:12:41 PM
 #49

Think there’s a miss understanding

I’ve run the command you showed and it just shows my core and memory clock of each card

To be clear on my question

In Windows I get 30mhs per card with my custom bios

I’m Linux I am only getting 29.5 per card with the same card. Seems like the Linux driver has a slightly lower hash rate than the windows driver. I’ve heard others having that same discrepancy

The command you showed doesn’t really help? Unless I am missing something? 

heavyarms1912
Full Member
***
Offline Offline

Activity: 729
Merit: 114



View Profile
October 16, 2017, 09:19:32 PM
 #50

Think there’s a miss understanding

I’ve run the command you showed and it just shows my core and memory clock of each card

To be clear on my question

In Windows I get 30mhs per card with my custom bios

I’m Linux I am only getting 29.5 per card with the same card. Seems like the Linux driver has a slightly lower hash rate than the windows driver. I’ve heard others having that same discrepancy

The command you showed doesn’t really help? Unless I am missing something? 


The command I provided gives you the current clock rate.  If your clock rate is same as that on windows (monitor for several minutes) then it might be just the drivers.  This was happening for me when dual mining.  I was hitting the power limit (had a lower TDP and Max power in my custom BIOS) and card was throttling at lower core frequencies -> leading to lower hash rates.

I'll check how much I get on mine for solo mining at same clocks on windows & linux.
CryptoSquad
Newbie
*
Offline Offline

Activity: 60
Merit: 0


View Profile
October 17, 2017, 07:16:10 AM
 #51

Great let me know!
heavyarms1912
Full Member
***
Offline Offline

Activity: 729
Merit: 114



View Profile
October 17, 2017, 02:14:20 PM
 #52

@CryptoSquad, found this for Linux UV dwarfing-master here https://github.com/rumatoest/dwarfing.

I haven't tried it as I am running back on Win10 for now. If you try it please post your results, should bring your temps down.


@rvlad, I had compiled the Torvalds kernel but it is missing the AMD firmwares and I don't know where to find the patches. Kernel works but can't get the GPU running due to missing firmware.

Please see the message from laik2 proposing to copy AMD firmware from AMD driver.

But the question was to xmonkx which linux from Torvalds git was compiled: 4.12 or newer?

what's the reason to copy the firmware from the AMD driver?
heavyarms1912
Full Member
***
Offline Offline

Activity: 729
Merit: 114



View Profile
October 17, 2017, 11:35:10 PM
 #53

Great let me know!

yup.  It seems like the card is hashing ~0.5 lower on Linux.  My RX570 Gaming X does 29.1 on Win10.  Same is doing ~28.7 in Linux.  Must be the drivers.
ronnylov
Member
**
Offline Offline

Activity: 276
Merit: 13


View Profile
October 18, 2017, 01:52:56 PM
 #54

AMDGPU-PRO Beta Mining Driver 17.40 is released.
https://bitcointalk.org/index.php?topic=2285186.0

★★★ LETHEAN ★★★
BLOCKCHAIN BACKED DECENTRALISED P2P VPN
MediumTwitterDiscordRedditFacebookWhitepaperBitcointalk Ann
Heye
Member
**
Offline Offline

Activity: 72
Merit: 10


View Profile
October 18, 2017, 08:57:11 PM
 #55

AMDGPU-PRO Beta Mining Driver 17.40 is released.
https://bitcointalk.org/index.php?topic=2285186.0

I couldn't get claymore to work with older driver so I was mining xmr with xmr-stack but now it works and eth is more profitable too so thank you.
fenixlz
Newbie
*
Offline Offline

Activity: 39
Merit: 0


View Profile
October 29, 2017, 04:11:45 PM
Last edit: October 29, 2017, 06:45:08 PM by fenixlz
 #56

AMDGPU-PRO Beta Mining Driver 17.40 is released.
https://bitcointalk.org/index.php?topic=2285186.0
Very interesting, did anyone try it? The main question is - does it allow downvolt cards?
Biodom
Legendary
*
Offline Offline

Activity: 3752
Merit: 3864



View Profile
October 31, 2017, 01:16:23 AM
Last edit: October 31, 2017, 04:51:33 AM by Biodom
 #57

amdgpu-pro 17.40 is a disaster, at least on my 16.04.3 machine.

will probably have to reinstall the system.

In short:
uninstalled prior driver
installed 17.40 driver
modified grub as indicated
Used AMD commands (described in their file) to install Rocm stuff:
Code:
sudo apt install -y rocm-amdgpu-pro
used AMD commands to make all users use it (also there)
Code:
echo 'setenv LLVM_BIN /opt/amdgpu-pro/bin' | sudo tee /etc/profile.d/amdgpu-pro.csh

perhaps, the last two were a mistake (I have no idea), but they don't provide any info on whether to use those two or not, so i decided to use them.

Now the darned thing is at a prompt with blinking cursor and when I try ctrl/alt/f2, it says that it is a low graphic mode.

Disaster.

EDIT: it's the messed up driver (at least for my mobo-processor combo), now I am certain as I uninstalled the driver and Ubuntu boots just fine on rocm kernel. Final test-will remove non-Vega GPU, maybe this is what matters for some reason. Probably tomorrow.
ngdias
Jr. Member
*
Offline Offline

Activity: 51
Merit: 1


View Profile
November 05, 2017, 07:35:50 PM
 #58

I tested the drivers in Ubuntu 16.04.3, from http://support.amd.com/en-us/kb-articles/Pages/AMDGPU-Pro-Beta-Mining-Driver-for-Linux-Release-Notes.aspx
The test GPU was a Radeon R9 Fury X, which is listed as compatible.

At first the drivers were breaking boot (tried 2 versions in different AMD support pages), there was no GUI. To uninstall, you can press Ctrl+Alt+F1, login with your credentials and run
Code:
amdgpu-pro-uninstall
.

Then I started googling and found https://askubuntu.com/questions/880523/cant-login-after-installing-amdgpu-pro-16-60 other people that were able to get the drivers working by using one of the options of the install script, either
Code:
./amdgpu-pro-install --px
or
Code:
./amdgpu-pro-install --compute

Everything else was working as per the official AMD support pages.
CoinTradeProfit
Newbie
*
Offline Offline

Activity: 19
Merit: 0


View Profile
November 07, 2017, 12:59:42 AM
 #59

AMDGPU-PRO Beta Mining Driver 17.40 is released.
https://bitcointalk.org/index.php?topic=2285186.0

Is it possible to get this working on a downgraded laptop with Ubuntu 14.04? I have a very limited install just for Mining. I don't care if I won't get much out of it, i just want to see what I am able to accomplish with it. Specifically for xmr-stak-amd or xmr-stak-cpu miner... Any help would be appreciated guys  thank you
higi
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
November 10, 2017, 02:56:44 AM
 #60

Great let me know!

yup.  It seems like the card is hashing ~0.5 lower on Linux.  My RX570 Gaming X does 29.1 on Win10.  Same is doing ~28.7 in Linux.  Must be the drivers.

same here Sad

tested on AMDGPU-PRO Beta Mining Driver 17.40

anyone got it working? (+0.5mhs)
Pages: « 1 2 [3] 4 »  All
  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!