LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-10-2016, 04:14 PM   #1
mpyusko
Member
 
Registered: Oct 2003
Location: Rochester, NY, USA
Distribution: Salckware ver 10.1 - 14.1, Debian too.
Posts: 432
Blog Entries: 1

Rep: Reputation: 41
Question Installing AMDGPU-PRO Ubuntu Driver under Slackware 14.2?


My RX 480 just arrived. Up and running under Win10. Now I need to figure out how to install the AMDGPU-Pro Ubuntu driver under Slackware 14.2. Any ideas?

Not sure which to pick, and then there is Vulkan??? (I would be willing to help someone knowledgeable with Slackbuilds to help create one.)
 
Old 09-10-2016, 08:30 PM   #2
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-Current
Posts: 6,399
Blog Entries: 15

Rep: Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978
You should use the AMDGPU package from AMD which should contain a script to create a Slackware compatible package. Ubuntu packages are created for Ubuntu, not Slackware.

There should be support out of the box through the xf86-video-amdgpu and Mesa packages though.
 
Old 09-10-2016, 08:42 PM   #3
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 7,827
Blog Entries: 10

Rep: Reputation: Disabled
This page looks like a starting point for knowledge and what you would have to do to prepare but it doesn't have instructions for Slackware.
https://linuxconfig.org/getting-the-...mdgpu-on-linux

Since the AMDGPU-PRO drivers are only packaged for Ubuntu a member will have to teach you how to build or do some building for you like you expressed hope.
https://www.reddit.com/r/linux/comme...dgpu_on_linux/

***GOOD Instructions here:***
The following instructions are for creating an installation package suitable for Slackware.
https://docs.slackware.com/howtos:ha...aphics_drivers

Sorry I can't help more.
 
Old 09-10-2016, 09:05 PM   #4
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 7,827
Blog Entries: 10

Rep: Reputation: Disabled
I downloaded the AMD GPU Pro Driver.tar.xz for grins and giggles.
There is a script but how would OP create a Slackware compatable pkg ReaperX7 ?

I'd like to learn to be a help in the future:-

http://i1052.photobucket.com/albums/...9_21-57-05.png
http://i1052.photobucket.com/albums/...9_22-07-41.png
 
Old 09-11-2016, 07:06 AM   #5
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-Current
Posts: 6,399
Blog Entries: 15

Rep: Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978
You can script a DESTDIR install usually, and then create the rest of the SBo needed scripts using AlienBOBs Slackbuild ld Generator.

Unfortunately I can't test this at the moment, but the package should instructions on using a DESTDIR installation, of which, can be tarballed up using pkgtools.
 
1 members found this post helpful.
Old 09-11-2016, 08:24 AM   #6
mpyusko
Member
 
Registered: Oct 2003
Location: Rochester, NY, USA
Distribution: Salckware ver 10.1 - 14.1, Debian too.
Posts: 432
Blog Entries: 1

Original Poster
Rep: Reputation: 41
Quote:
Originally Posted by ReaperX7 View Post
You should use the AMDGPU package from AMD which should contain a script to create a Slackware compatible package. Ubuntu packages are created for Ubuntu, not Slackware.

There should be support out of the box through the xf86-video-amdgpu and Mesa packages though.
Very simply, anything other than Ubuntu is not supported.

Code:
root@gibson:/home/mpyusko/Downloads/RX480/amdgpu-pro-driver# ./amdgpu-pro-install
Unsupported OS
root@gibson:/home/mpyusko/Downloads/RX480/amdgpu-pro-driver#
A bit further the basic script checks the OS version....

Code:
function os_release() {
        [[ -r  /etc/os-release ]] && . /etc/os-release

        case "$ID" in
        ubuntu)
                PACKAGES="amdgpu-pro amdgpu-pro-lib32 amdgpu-pro-dkms"
                ;;
        steamos)
                PACKAGES="amdgpu-pro-driver amdgpu-pro-lib32 "`
                        `"glx-alternative-amdgpu-pro amdgpu-pro-dkms"
                ;;
        *)
                echo "Unsupported OS" | stderr
                exit 1
                ;;
        esac
}
Once the OS release is verified, the script relies on apt-get to install the necessary packages (most of which are included in the provided driver)

Code:
if [[ -r $index ]]; then
                $SUDO mkdir -p $REPOSITORY && $SUDO cp -af $src/* $_
                $SUDO ln -s $_/$PROG $SBIN/${PROG%-*}-uninstall

                echo "deb file:$REPOSITORY/ ./" | $SUDO tee $(source_list)
                $SUDO apt-get update ||:
                $SUDO apt-get $@ install $PACKAGES
        fi
}
This is a big change from AMD's previous approach. The proprietary driver used to be a no-brainer as far as installation went on Slackware. Go figure, upgrade to 14.2 and my old hardware/driver isn't compatible. So I buy brand new hardware..... and the driver isn't compatible......YET.
 
Old 09-11-2016, 09:02 AM   #7
mpyusko
Member
 
Registered: Oct 2003
Location: Rochester, NY, USA
Distribution: Salckware ver 10.1 - 14.1, Debian too.
Posts: 432
Blog Entries: 1

Original Poster
Rep: Reputation: 41
Quote:
Originally Posted by Ztcoracat View Post
This page looks like a starting point for knowledge and what you would have to do to prepare but it doesn't have instructions for Slackware.
https://linuxconfig.org/getting-the-...mdgpu-on-linux

Since the AMDGPU-PRO drivers are only packaged for Ubuntu a member will have to teach you how to build or do some building for you like you expressed hope.
https://www.reddit.com/r/linux/comme...dgpu_on_linux/

***GOOD Instructions here:***
The following instructions are for creating an installation package suitable for Slackware.
https://docs.slackware.com/howtos:ha...aphics_drivers

Sorry I can't help more.

I opted for the Ubuntu 14.04 driver, because 16.04 relies on sysctl and AFAIK Slackware 14.2 is not sysctl compliant.

the "GOOD Instructions here" still apply to legacy hardware/drivers on 14.1. 14.2 uses the 4.4.14 Kernel and the AMD Crimson Drivers are only compatible through 3.19. I've tried hacking the scripts to make them work, but the Xserver just won't play nice. So AMD is in a state of limbo. With the bleeding edge tech and recent release of the RX 480, I'm not surprised about a lack of literature for it. It might just be I am the first person to try running an RX480 under Slackware. For that I am very much willing to work to develop a slackbuild to aid the process. AMD is releasing new hardware across the spectrum of markets and the AMDGPU-Pro driver is the path they are taking. SO getting this figured out now, will save more people the headache later. (/soapbox)

Side Note: I managed to benchmark the RX 480 under Win10 and the results are incredible. 11.66fps may sound slow, but it is just barely fast enough to have a reasonably smooth playback in Fire Strike Extreme. (my HD5450 pulled 0.58 in just Fire Strike)
 
Old 09-11-2016, 10:23 AM   #8
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-Current
Posts: 6,399
Blog Entries: 15

Rep: Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978
Slackware uses /etc/sysctl.conf, but only if you create the configuration. Otherwise it doesn't run.

It also appears AMD has dropped all its usual support vectors for any Linux system. All they have now is Ubuntu.

There is a way though. Basically, you'll have to extract the package, rework any install, configuration, and setup scripts, and then move or relocate any directories not used by Slackware to Slackware compatible ones.

Last edited by ReaperX7; 09-11-2016 at 10:40 AM.
 
Old 09-11-2016, 12:21 PM   #9
ahc_fan
Member
 
Registered: Jan 2009
Location: Seattle, WA
Distribution: Slackware64 14.2
Posts: 215

Rep: Reputation: 7
Quote:
Originally Posted by ReaperX7 View Post
It also appears AMD has dropped all its usual support vectors for any Linux system. All they have now is Ubuntu.
That's so stupid. First they stopped updating catalyst, which is the best driver for me for gaming, then they packaged the new driver strictly for Ubuntu. Apparently my GCN 1.0 card is only supported in kernel 4.8. So basically I'm SOL.

... I guess it's time to switch to nvidia.
 
Old 09-11-2016, 12:46 PM   #10
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 6,147

Rep: Reputation: Disabled
Something is off here, I do not use AMD, but according to Gentoo Wiki there is no problem with obtaining the source tarball.
 
Old 09-11-2016, 03:25 PM   #11
mpyusko
Member
 
Registered: Oct 2003
Location: Rochester, NY, USA
Distribution: Salckware ver 10.1 - 14.1, Debian too.
Posts: 432
Blog Entries: 1

Original Poster
Rep: Reputation: 41
Quote:
Originally Posted by ahc_fan View Post
That's so stupid. First they stopped updating catalyst, which is the best driver for me for gaming, then they packaged the new driver strictly for Ubuntu. Apparently my GCN 1.0 card is only supported in kernel 4.8. So basically I'm SOL.

... I guess it's time to switch to nvidia.
SteamOS is based on Ubuntu so it makes sense they would support at minimum support that.

The AMDGPU-Pro driver uses apt-get .deb compatible file packages. I've seen SlackBuilds that conver .deb to Slackware so one could surmise it is possible as long as the distro has the correct dependencies met.

Unfortunately my Slacksense isn't keen on the differences between Debian based and Slackware based file structures. Although I would be willing to aid someone with the knowledge to get it sorted out.
 
Old 09-11-2016, 03:38 PM   #12
bassmadrigal
Senior Member
 
Registered: Nov 2003
Location: Newport News, VA
Distribution: Slackware
Posts: 4,302

Rep: Reputation: 2278Reputation: 2278Reputation: 2278Reputation: 2278Reputation: 2278Reputation: 2278Reputation: 2278Reputation: 2278Reputation: 2278Reputation: 2278Reputation: 2278
Quote:
Originally Posted by Emerson View Post
Something is off here, I do not use AMD, but according to Gentoo Wiki there is no problem with obtaining the source tarball.
I think they're referring to the OSS amdgpu driver. Then AMD has a proprietary addon called amdgpu-pro, which adds additional features to the card (not exactly sure what features... I'm too lazy to check).

Quote:
Originally Posted by ReaperX7 View Post
There is a way though. Basically, you'll have to extract the package, rework any install, configuration, and setup scripts, and then move or relocate any directories not used by Slackware to Slackware compatible ones.
Have you looked at their "driver"? When you extract the amdgpu-pro driver, it is actually 44 .deb packages, not a single one.

Code:
jbhansen@craven-moorhead:~/tmp$ wget --referer http://support.amd.com/en-us/kb-articles/Pages/AMDGPU-PRO-Beta-Driver-for-Vulkan-Release-Notes.aspx -N https://www2.ati.com/drivers/linux/amdgpu-pro_16.30.3-315407.tar.xz
jbhansen@craven-moorhead:~/tmp$ tar -xf amdgpu-pro_16.30.3-315407.tar.xz
jbhansen@craven-moorhead:~/tmp$ cd amdgpu-pro-driver
jbhansen@craven-moorhead:~/tmp/amdgpu-pro-driver$ ls
Packages.gz                                         libdrm2-amdgpu-pro_16.30.3-315407_amd64.deb
amdgpu-pro-clinfo_16.30.3-315407_amd64.deb          libdrm2-amdgpu-pro_16.30.3-315407_i386.deb
amdgpu-pro-computing_16.30.3-315407_amd64.deb       libegl1-amdgpu-pro-dev_16.30.3-315407_amd64.deb
amdgpu-pro-core_16.30.3-315407_amd64.deb            libegl1-amdgpu-pro-dev_16.30.3-315407_i386.deb
amdgpu-pro-dkms_16.30.3-315407_all.deb              libegl1-amdgpu-pro_16.30.3-315407_amd64.deb
amdgpu-pro-firmware_16.30.3-315407_amd64.deb        libegl1-amdgpu-pro_16.30.3-315407_i386.deb
amdgpu-pro-graphics_16.30.3-315407_amd64.deb        libgbm-amdgpu-pro-dev_16.30.3-315407_amd64.deb
amdgpu-pro-install*                                 libgbm-amdgpu-pro-dev_16.30.3-315407_i386.deb
amdgpu-pro-lib32_16.30.3-315407_i386.deb            libgbm1-amdgpu-pro_16.30.3-315407_amd64.deb
amdgpu-pro-libopencl-dev_16.30.3-315407_amd64.deb   libgbm1-amdgpu-pro_16.30.3-315407_i386.deb
amdgpu-pro-libopencl-dev_16.30.3-315407_i386.deb    libgl1-amdgpu-pro-dev_16.30.3-315407_amd64.deb
amdgpu-pro-libopencl1_16.30.3-315407_amd64.deb      libgl1-amdgpu-pro-dev_16.30.3-315407_i386.deb
amdgpu-pro-libopencl1_16.30.3-315407_i386.deb       libgl1-amdgpu-pro-dri_16.30.3-315407_amd64.deb
amdgpu-pro-opencl-icd_16.30.3-315407_amd64.deb      libgl1-amdgpu-pro-dri_16.30.3-315407_i386.deb
amdgpu-pro-opencl-icd_16.30.3-315407_i386.deb       libgl1-amdgpu-pro-glx_16.30.3-315407_amd64.deb
amdgpu-pro-vulkan-driver_16.30.3-315407_amd64.deb   libgl1-amdgpu-pro-glx_16.30.3-315407_i386.deb
amdgpu-pro-vulkan-driver_16.30.3-315407_i386.deb    libgles2-amdgpu-pro-dev_16.30.3-315407_amd64.deb
amdgpu-pro_16.30.3-315407_amd64.deb                 libgles2-amdgpu-pro-dev_16.30.3-315407_i386.deb
libdrm-amdgpu-pro-amdgpu1_16.30.3-315407_amd64.deb  libgles2-amdgpu-pro_16.30.3-315407_amd64.deb
libdrm-amdgpu-pro-amdgpu1_16.30.3-315407_i386.deb   libgles2-amdgpu-pro_16.30.3-315407_i386.deb
libdrm-amdgpu-pro-dev_16.30.3-315407_amd64.deb      libvdpau-amdgpu-pro_16.30.3-315407_amd64.deb
libdrm-amdgpu-pro-dev_16.30.3-315407_i386.deb       libvdpau-amdgpu-pro_16.30.3-315407_i386.deb
libdrm-amdgpu-pro-tools_16.30.3-315407_amd64.deb    xserver-xorg-video-amdgpu-pro_16.30.3-315407_amd64.deb
An Arch user has done some amazing work at getting the driver installed, but their pkgbuild is way more intricate than something I'd want to dig through and figure stuff out for Slackware. Maybe someone will, but I think if I had hardware that supported it, I'd just stick with the OSS amdgpu driver and forgo any of the "pro" features.
 
1 members found this post helpful.
Old 09-11-2016, 03:42 PM   #13
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 6,147

Rep: Reputation: Disabled
Oh, I see! Thanks.

Edit: Linky.

Last edited by Emerson; 09-11-2016 at 03:50 PM.
 
Old 09-11-2016, 06:31 PM   #14
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-Current
Posts: 6,399
Blog Entries: 15

Rep: Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978
As I said, I didn't have a way to test it, but a unified package would have been more appropriate, and not a scattered mess like always with your typical Debian/Ubuntu stuff.
 
Old 09-11-2016, 07:04 PM   #15
mpyusko
Member
 
Registered: Oct 2003
Location: Rochester, NY, USA
Distribution: Salckware ver 10.1 - 14.1, Debian too.
Posts: 432
Blog Entries: 1

Original Poster
Rep: Reputation: 41
But honestly, you should only need 11 of those based on architecture and/or developer. The actual base installer script is very simple.
 
  


Reply

Tags
amdgpu-pro, slack64, slackbuild


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
RX 480 AMDGPU Driver Failing To Load On Debian Sid jwhittles Linux - Hardware 4 08-25-2016 06:18 PM
Configuring AMDGPU / PRO drivers with 390x with Linux Mint CordedConch Linux - Newbie 1 08-06-2016 10:38 AM
LXer: AMDGPU-PRO Driver 16.30 Officially Released with Support for Ubuntu 16.04 LTS LXer Syndicated Linux News 0 06-30-2016 02:11 AM
LXer: AMD Going Open Source with AMDGPU Linux Driver and GPUOpen Tools LXer Syndicated Linux News 0 12-15-2015 09:00 PM
HELP! Installing Driver for ATI 3D Rage Pro on Slackware 10 mmarkvillanueva Linux - Hardware 6 06-08-2005 05:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration