Installing AMDGPU-PRO Ubuntu Driver under Slackware 14.2?
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.
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.
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....
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.
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)
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.
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.
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.
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
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.