Bitcoin Forum
May 08, 2024, 07:53:25 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Can't get AMD drivers working on Ubuntu 20.04  (Read 201 times)
betajuice (OP)
Jr. Member
*
Offline Offline

Activity: 75
Merit: 3


View Profile
October 03, 2020, 06:03:18 PM
 #1

Hi everyone.

I'm trying to get drivers working on Ubuntu 20.04 so I can mine with AMD cards (have not had luck yet).

I have a Radeon VII and an RX 580 I am using to see if I can get it to work.

I have read the amdgpu guide on driver installation, via:

Code:
./amdgpu-pro-install --opencl=pal,legacy --headless

and it seems to have installed fine.

In trying to using Claymore's Dual GPU Miner v15.0,

I get the following:
Code:
Cannot load OpenCL library, AMD cards will be unavailable
No NVIDIA CUDA GPUs detected.
No AMD OPENCL or NVIDIA CUDA GPUs found, exit

I'm unsure why it cannot load the OpenCL library,

Anyone have any suggestions?
Any help is appreciated, thanks.

(Further specs below:)

Miner: Claymore's Dual GPU Miner v15.0
Driver: amdgpu-pro-20.40-1147286-ubuntu-20.04
OS: Ubuntu 20.04.1 LTS
CPU: Intel Core i5-6400T
Mobo: Asrock H110 Pro BTC+

1715198005
Hero Member
*
Offline Offline

Posts: 1715198005

View Profile Personal Message (Offline)

Ignore
1715198005
Reply with quote  #2

1715198005
Report to moderator
Each block is stacked on top of the previous one. Adding another block to the top makes all lower blocks more difficult to remove: there is more "weight" above each block. A transaction in a block 6 blocks deep (6 confirmations) will be very difficult to remove.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715198005
Hero Member
*
Offline Offline

Posts: 1715198005

View Profile Personal Message (Offline)

Ignore
1715198005
Reply with quote  #2

1715198005
Report to moderator
1715198005
Hero Member
*
Offline Offline

Posts: 1715198005

View Profile Personal Message (Offline)

Ignore
1715198005
Reply with quote  #2

1715198005
Report to moderator
1715198005
Hero Member
*
Offline Offline

Posts: 1715198005

View Profile Personal Message (Offline)

Ignore
1715198005
Reply with quote  #2

1715198005
Report to moderator
adaseb
Legendary
*
Offline Offline

Activity: 3752
Merit: 1710



View Profile
October 03, 2020, 07:20:07 PM
 #2

Hi everyone.

I'm trying to get drivers working on Ubuntu 20.04 so I can mine with AMD cards (have not had luck yet).

I have a Radeon VII and an RX 580 I am using to see if I can get it to work.

I have read the amdgpu guide on driver installation, via:

Code:
./amdgpu-pro-install --opencl=pal,legacy --headless

and it seems to have installed fine.

In trying to using Claymore's Dual GPU Miner v15.0,

I get the following:
Code:
Cannot load OpenCL library, AMD cards will be unavailable
No NVIDIA CUDA GPUs detected.
No AMD OPENCL or NVIDIA CUDA GPUs found, exit

I'm unsure why it cannot load the OpenCL library,

Anyone have any suggestions?
Any help is appreciated, thanks.

(Further specs below:)

Miner: Claymore's Dual GPU Miner v15.0
Driver: amdgpu-pro-20.40-1147286-ubuntu-20.04
OS: Ubuntu 20.04.1 LTS
CPU: Intel Core i5-6400T
Mobo: Asrock H110 Pro BTC+



When you installed Ubuntu recently did you have it connected to an onboard video or have onboard video enabled in the bios? I had a similar issue with Ubuntu 15 so no idea if its related to yours but I had to do the following.

Basically go to bios and disable onboard video, then plug in your monitor to the main GPU0 for display. When ubuntu fails to boot, go into the terminal, then go to the AMD driver install direction and use the --px command so

./amdgpu-pro-install --px

and when you reboot your Ubuntu should load with the drivers. Then you can go back to bios, re-enable onboard video, and reconnect monitor back to onboard video and it should load again and this time the drivers will be correctly installed.

Let me know if this works for you.

.BEST..CHANGE.███████████████
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
███████████████
..BUY/ SELL CRYPTO..
betajuice (OP)
Jr. Member
*
Offline Offline

Activity: 75
Merit: 3


View Profile
October 03, 2020, 11:58:46 PM
 #3


When you installed Ubuntu recently did you have it connected to an onboard video or have onboard video enabled in the bios? I had a similar issue with Ubuntu 15 so no idea if its related to yours but I had to do the following.

Basically go to bios and disable onboard video, then plug in your monitor to the main GPU0 for display. When ubuntu fails to boot, go into the terminal, then go to the AMD driver install direction and use the --px command so

./amdgpu-pro-install --px

and when you reboot your Ubuntu should load with the drivers. Then you can go back to bios, re-enable onboard video, and reconnect monitor back to onboard video and it should load again and this time the drivers will be correctly installed.

Let me know if this works for you.

I did originally install Ubuntu via the onboard video. I just went and looked and onboard VGA was disabled. also, it says --px option is depricated.

thanks
adaseb
Legendary
*
Offline Offline

Activity: 3752
Merit: 1710



View Profile
October 04, 2020, 03:38:17 AM
 #4



I did originally install Ubuntu via the onboard video. I just went and looked and onboard VGA was disabled. also, it says --px option is depricated.

thanks

--px is PowerExpress support so see if in the new version there is an option for it.

If there is no option for it then just ignore it, but try and boot with the monitor plugged into GPU0 and run the install then and see if it works. If you can't get Ubuntu to load then go into the terminal. I had an endless login loop and only way to fix it was to go into the terminal and reinstall the drivers from there.

If it doesn't work, then just install everything from scratch (Ubuntu and AMD drivers) with GPU0 as main display and see if it makes a difference. Ubuntu is always finicky with AMD and onboard video.

.BEST..CHANGE.███████████████
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
███████████████
..BUY/ SELL CRYPTO..
betajuice (OP)
Jr. Member
*
Offline Offline

Activity: 75
Merit: 3


View Profile
October 04, 2020, 07:01:10 PM
Last edit: October 05, 2020, 12:33:27 AM by betajuice
 #5

Also want to point out that I get no result when searching with dpkg:

Code:
~$ dpkg -l amdgpu
dpkg-query: no packages found matching amdgpu

Does this mean the `amdgpu-pro-install` is not working?

apt show amdgpu shows the driver.

When I followed the AMD rocm install from here: https://rocmdocs.amd.com/en/latest/Installation_Guide/Installation-Guide.html#ubuntu

Then claymore's detects just 1 of my cards (Radeon VII) and attempts to mine with it, however I keep getting "Can't create DAG" message over and over.

I tried also installing the amdgpu-pro again after that but still no luck :/
YuSoDum
Member
**
Offline Offline

Activity: 164
Merit: 13


View Profile
October 06, 2020, 06:25:29 PM
 #6

https://linuxconfig.org/amd-radeon-ubuntu-20-04-driver-installation

read this perhaps?
VasilyS
Member
**
Offline Offline

Activity: 618
Merit: 21


View Profile WWW
October 07, 2020, 09:02:33 AM
 #7

Claymore and Phoenix don't work on Ubuntu 20.04. You have to use nanominer or ethminer, also there are some problems with downvolting and fan control. It is better to use (x)ubuntu 18.04 at the moment - all miners and utilities work well.

                             ❱  CRYPTOPROFI  ❱
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!