You are not logged in.

#1 2017-11-25 11:48:21

erroneous
New Member
Registered: 2017-11-25
Posts: 4

amdgpu-pro failing installation

Hey guys,
Long time CrunchBang fan here, super happy to see it's spirit being kept alive. I personally find it hard to use any other distro.

I've been enjoying bunsenlabs for while but recently my interest in GPU mining has returned due to a spike in profitability. I have a 1080 ti heating up my apartment now, haha.

Long story short, for kicks I wanted to see if I could get my bunsenlabs PC in my study to mine with it's 7970. So I went about figuring how you'd do that on Ubuntu (it also being a debian distro) and picked up the AMDGPU-PRO linux driver.

In that there's a fairly easy to circumnavigate OS check which I just stripped down to pick Ubuntu whatever it's running on, unfortunately for me this lands me with a ton of dependency errors when it's installing it's .debs.

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 amdgpu-pro : Depends: libvdpau-amdgpu-pro (= 1:17.0.1-492261) but it is not going to be installed
 amdgpu-pro-lib32 : Depends: libdrm-amdgpu-pro-amdgpu1:i386 (= 1:2.4.82-492261) but it is not installable
                    Depends: libgbm1-amdgpu-pro:i386 (= 17.40-492261) but it is not installable
                    Depends: libgl1-amdgpu-pro-glx:i386 (= 17.40-492261) but it is not installable
                    Depends: libgl1-amdgpu-pro-dri:i386 (= 17.40-492261) but it is not installable
                    Depends: libegl1-amdgpu-pro:i386 (= 17.40-492261) but it is not installable
                    Depends: libgles2-amdgpu-pro:i386 (= 17.40-492261) but it is not installable
                    Depends: vulkan-amdgpu-pro:i386 (= 17.40-492261) but it is not installable
                    Depends: libvdpau-amdgpu-pro:i386 (= 1:17.0.1-492261) but it is not installable
                    Depends: libopencl1-amdgpu-pro:i386 (= 17.40-492261) but it is not installable
                    Depends: opencl-amdgpu-pro-icd:i386 (= 17.40-492261) but it is not installable
E: Unable to correct problems, you have held broken packages.

I know this is a bit of a shot in the dark because this OS is unsupported by the installer, but it's debian too so I thought there may be some guys on here who can help me hack it.

Thanks smile

Last edited by erroneous (2017-11-25 11:52:31)

Offline

#2 2017-11-25 11:51:39

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: amdgpu-pro failing installation

erroneous wrote:

AMDGPU-PRO linux driver

That driver is inferior in every way to the open-source xserver-xorg-video-amdgpu version (check Phoronix if you don't believe me), the latter package is available from jessie-backports so you should probably use that instead.

Instructions here:

https://backports.debian.org/Instructions/


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#3 2017-11-25 11:53:15

erroneous
New Member
Registered: 2017-11-25
Posts: 4

Re: amdgpu-pro failing installation

Hey there,
Does that driver support OpenCL for GPU mining?

Offline

#4 2017-11-25 11:54:16

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: amdgpu-pro failing installation

No idea, sorry.


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#5 2017-11-25 11:54:46

erroneous
New Member
Registered: 2017-11-25
Posts: 4

Re: amdgpu-pro failing installation

I'll give it a go, cheers smile

Offline

#6 2017-11-25 21:26:01

erroneous
New Member
Registered: 2017-11-25
Posts: 4

Re: amdgpu-pro failing installation

Hey,
That open source driver didn't have the OpenCL support I needed. Alas I've spent the day working on this and have finally figured it out. So for anyone else with this issue, here's how I got it working:

Apparently the AMDGPU-PRO driver doesn't actually work on the 4.9 kernel, so firstly I updated to 4.13. Then to get past the dependencies issue on the installer I added i386 as a foreign architecture in dpkg with:

dpkg --add-architecture i386

I'm not sure how safe this is as this OS isn't actually supported by AMD but it gets OpenCL working on amd GPUs!

Thanks for your help.

Offline

#7 2017-11-26 00:15:11

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: amdgpu-pro failing installation

erroneous wrote:

That open source driver didn't have the OpenCL support I needed

According to the Arch Wiki:

To use the proprietary OpenCL component without AMDGPU PRO, install opencl-amd instead

https://wiki.archlinux.org/index.php/AMDGPU#AMDGPU_PRO

That AUR package seems to swap out some libraries and make some symlinks to get xf86-video-amdgpu working with OpenCL, here is the PKGBUILD:

https://aur.archlinux.org/cgit/aur.git/ … opencl-amd

Anyway, glad you got it working.


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

Board footer

Powered by FluxBB