More
referral
Increase your income with Hive. Invite your friends and earn real cryptocurrency!

Auto installation of AMD Drivers on HiveOS/Ubuntu

First of all thanks for making this script! I was able to use your script to revert back to 18.10 successfully after attempting to manually update, and then using your script to update to 19.5 AMD (and finding it wasn’t supported on my current version of Hive Ubuntu). So I reverted the AMD drivers back to 18.10 successfully. Hive sees the cards, but Claymore doesn’t. Says “AMD OpenCL Platform not found”. Suggestions?

Ended up just reflashing my thumbdrive w hive and it had newer versions of the drivers (19.20 and 440.31) So I’m good for now. :slight_smile:

Plz could you add the 15.11 drivers to list too :slight_smile:

Hey! Thank you for the script! What about 20.10 ubuntu drivers?
BTW 19.50 give me error “1m 28s - GPU driver error, no temps” on Sapphire Pulse and PowerColor Red Dragon RX 5700

Hello guys

I use this 3 script and everything is ok, update work normal. But before use script i read that my driver is OpenCL 19.20, but after install is only 19.30 or 19.50??? Where is that Open CL???
I dont have problem with Claymore, everything working normal… I found some another instalation process but same result. Where i am wrong?

thx

Hi, I have hive os 0.6@153200821, is ubuntu 18.04.04, and I installed last amd driver for that OS, don´t worked, what version do you recomend? we have 20 options, but I think that only shall work the OS corresponding… I have MSI RX 5700 8 GB DDR6…

How do you get into maintenance mode? when i run
./amd_install.sh the screen goes black

Not WORKING!
HiveOS - 0.6-164@200930


error

attempt 2

and yet, does not check for space … After all these attempts. there is little space left. The script reached 71% and just froze.

1 Like

Hello

I have version os 0.6-183@201215 which driver the me Rx 580 cann install??? or which driver for Rx 580 MSI 8gb is best

Thanks

Hi guys!

I’m trying to update drivers and after choosing the option with right driver version I receive this:

Cannot write to ‘amdgpu-pro-19.50-967956-ubuntu-18.04.tar.xz.1’ (Read-only file system).

How I can solve this?

Moved from anther thread for relevance

I have a slightly different issue I’m dealing with, and I was hoping it could be cured in the next upgrade, to avoid me really, really screwing things up in my system (again) just to try to install a card that should be mining with no problems.
As you know, the market for new cards has gone insane overnight due to renewed interest in mining. I REFUSE to pay $800+ for an RX 5700 XT I paid $440 just one month prior, or $400+ for an RX 5500 XT EVER.
I’ve been researching older server cards, and have found some with specs suitable for mining. Preferable, actually. I have three AMD Firepro S9150’s that I recently purchased for around $150 each. They spec out very nicely for an older card. Simliar transistor count to a 5500, but with twice as many cores, and twice as much (16gb) GDDR5 RAM. The main problem is, It seems to want certain lines of code that aren’t installed in the standard AMD “openCL” driver, unless you either do a full “pro-install” which causes my setup to black out and reboot midway through due to attempting to setup a different “dkms” file. When it gets to that point, it goes “hard reboot.”
If I try to “uninstall” then reinstall, I says I have to run;
sudo dpkg --configure -a but goes into hard reboot while doing so. Then I have to wipe the hard drive and start over.

It wants to use a “legacy-open source” version.
While I’m starting to pick up on basic programming and setup with LINUX, this seems to be a couple of Notches above my pay-grade, so to speak.

this is what I supposedly need help with, except it would be 20.40 for Ubuntu 18.04 (same procedure, just for the server version of the driver) ;
https://math.dartmouth.edu/~sarunas/amdgpu.html

Update, 2021.01.20.

To install OpenCL part from AMDGPU-PRO, run:

./amdgpu-install --opencl=legacy --headless --no-dkms

Last tested with:

  • Ubuntu 20.04.1 LTS, Linux 5.4.0-62-generic, AMDGPU-PRO 20.45-1188099-ubuntu-20.04, Radeon RX 480 (Ellesmere).

N.B.:

  • As of AMDGPU-PRO 20.45-1188099-ubuntu-20.04 (and perhaps earlier), amdgpu-install does not honor --no-dkms option when run with --opencl=rocr , i.e. amdgpu-dkms is intalled and kernel module amdgpu.ko is compiled, replacing the one from Linux kernel tree.
  • amdgpu-install may complain that it can’t install, because this is not Ubuntu version expected. Edit /etc/os-release and replace Ubuntu version with what installer wants. After amdgpu-install completes /etc/os-release may be changed back.
  • In Ubuntu 20.04 /dev/kfd is owned by root.render, not by root.video. Add user intended to use OpenCL to render group.

‘amdgpu’ is an open source Linux kernel module for AMD graphics. It is available in stock kernels starting with Linux 4.2. OpenCL support can be added by installing libraries from binary AMDGPU-PRO driver download, provided by AMD. AMDGPU-PRO itself only works with certain distributions/releases/kernel versions.

Check lsmod and /var/log/Xorg.log that you have amdgpu loaded and working.

Download AMDGPU-PRO package for your Linux distribution from amd.com.

``**tar -xvf … ** to upack the downloaded file and run:

amdgpu-pro-install --compute ( see Update above )

which is for “compute only”, i.e. it will install only the following:

clinfo-amdgpu-pro
opencl-amdgpu-pro-icd
amdgpu-pro-dkms
libdrm2-amdgpu-pro
libdrm-amdgpu-pro-amdgpu1

Apparently, I can’t do this unless I either run;
$ sudo apt install build-essential dkms
or it tries to install it.

Any thoughts? A $5000 (new) server card with minor mods for effective cooling and all for less than $250, that should be able to hash in the 25-30 MH/s range with enough memory to say “DAG file? What DAG file? Pfft. DAG file.” is worth trying to get running, IMO.

Thank you for any help you can provide.

Fireopro-04|375x500

*

Whoever is trying to help hiveos recognize my cards, thank you I’m very grateful, but it isn’t quite there. The os recognizes my card (sort of) as a W9100, slightly later model with a fan instead of the S9150. But teamredminer is still having issues with the processor itself. At least it’s recognizing the processor it isn’t recognizing.
I’m betting it’s just a couple more lines of code.
Again, thanks for your help.

Interesting what you have going on here. I also was looking for alternatives to popular and now expensive GPU’s and discovered a FirePro w7100 8GB card.

I plugged it in to see what would happen. It ran at 42 MH/s out the gate but HiveOS was running it as a unknown card. The only settings I could change on the card therefore was the Fan speed. Even at 100% and running external fans to compensate the card would get up to 75C in like 5 minutes and I would have shutdown the miner.

The card really shows promise and I have 5 of these. Any help you might have on at least allow me to under volt the card would be really helpful.

Thank you,

zero

1 Like

I would just like to be able to mine in teamredminer. I think I may be able to use phoenixminer, but I’m also curious how my fan solution will perform. If it isn’t up to snuff, I already have upgrade ideas.

I meant to ask you what miner you were using when you had your FirePro running. teamredminer won’t recognize the chip in my card. I was thinking of switching over to Phoenixminer when I change my flight sheet, after my next payout.
Any input is positive input, so thank you in advance.

I was using Phoenixminer latest version I believe. The issue I can’t control any voltages so it runs at max speed and voltage and quickly over heats. I am looking for aftermarket cooling options for the cards as well.

Cooling is one big issue with server cards. They were designed to be in an enclosure that forced a lot of air through them, and most of them weren’t using the processor itself at full speed.
If you pull up “amd-info” on your rig, you’ll see that while most “commercial” cards have only one speed for the processor, that (at least with my S9150) they have several. If you run the processor in one of these slower states, it will probably run cooler.
Also, with the latest updates, it looks like you might have a tad more control with these cards.
I’ll let you know more when I switch flight sheets.

any updates with the latest version of HiveOS?

The current cooling solution I’m using is the one I had planned for my NVidia Tesla K80, that I had determined was way underpowered for a dual GPU card. It just happened to fit my FirePro S9150 very well with slight modifications. It even worked out to have a slot for the mini 4 pin adapter I used for my fan.

I did finally get my cards to run. I had to wait until another flight sheet had completed, so I could switch miners to phoenixminer.
When I switched, I looked up the basic arguments I would need to add for the cards to work properly, including cooling. By adding { -ttli } you tell the gpu that when it hits a specified temperature, to throttle back until it reaches the specified temperature. It reduces the hash rate momentarily, but it keeps it from rebooting.
I have my temperature set at 53*c. Right now the 5700’s get nowhere near that. The S9150’s can get close, even at 100% fan speed for right now. I’m also researching a solution, but this works for right now. The server cards have been solving shares that are over One Terahash occasionally.
The other arguments are turning on the drive that server cards use, so that will work more efficiently. I can’t BIOS mod them but, They can be worked with. And for a tad less than $200 (American) They were roughly what i paid for the RX 5500 XT they replaced back in Nov 2020, that are now selling for $500 (FFS! WTFBBQSauce?!?!)

But the string of arguments makes them run a bit smoother, until you can mechanically modify them for better cooling. There are several inexpensive modifications if you’re bold enough to pop the case.

Arguments

1 Like

fantastic work! looking forward to seeing more results. they do draw a good bit of power for their hashrate, though. have you been able to check at the wall?