LinuxQuestions.org
Help answer threads with 0 replies.
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 01-03-2018, 09:48 PM   #1
Roboto
Member
 
Registered: Dec 2013
Location: Toronto, Canada.
Distribution: Slackware, Ubuntu
Posts: 39

Rep: Reputation: Disabled
Slackware and AMD GPU PRO


Greetings Slackheads,

Since the AMD catalyst drivers for Linux are now legacy, my understanding is that there are the open drivers, put out by AMD for the Linux kernel as of 4.10 and up as well as the GPU drivers available directly from the AMD site. However, the GPU pro drivers are actually only available for specific versions of Ubuntu, CentOS and RHEL. I tried the AMD pro drivers on those distros and could not get them to work as the drivers were for specific, archived releases, not newer ones (not even stable versions), which is really dumb. Now, the reflex reaction amongst readers here will be, 'go with open drivers', which is right--to a point. If you are doing pro graphics work like video editing and 3D/2D graphics, you need pro drivers. While I can get most programs I need on Slackware, the fact is, getting AMD GPU pro graphics drivers to work is a tall order.

That said, a new version of Slackware seems to be due later this year. What would it take to get AMD GPU Pro drivers to work on newer, upcoming Slackware? Or is that just a pipe dream?
 
Old 01-03-2018, 09:58 PM   #2
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Rep: Reputation: 1242Reputation: 1242Reputation: 1242Reputation: 1242Reputation: 1242Reputation: 1242Reputation: 1242Reputation: 1242Reputation: 1242
Quote:
Originally Posted by Roboto View Post
Greetings Slackheads,

Since the AMD catalyst drivers for Linux are now legacy, my understanding is that there are the open drivers, put out by AMD for the Linux kernel as of 4.10 and up as well as the GPU drivers available directly from the AMD site. However, the GPU pro drivers are actually only available for specific versions of Ubuntu, CentOS and RHEL. I tried the AMD pro drivers on those distros and could not get them to work as the drivers were for specific, archived releases, not newer ones (not even stable versions), which is really dumb. Now, the reflex reaction amongst readers here will be, 'go with open drivers', which is right--to a point. If you are doing pro graphics work like video editing and 3D/2D graphics, you need pro drivers. While I can get most programs I need on Slackware, the fact is, getting AMD GPU pro graphics drivers to work is a tall order.

That said, a new version of Slackware seems to be due later this year. What would it take to get AMD GPU Pro drivers to work on newer, upcoming Slackware? Or is that just a pipe dream?
It is just a pipe dream.

Eventually, you can learn to build your own graphics stack, which points to old versions of Mesa, X.org and so on.

Read: a Guru level of knowledge in Slackware is required.

Last edited by Darth Vader; 01-03-2018 at 10:00 PM.
 
2 members found this post helpful.
Old 01-04-2018, 09:00 AM   #3
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 6,199

Rep: Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940
Quote:
Originally Posted by Roboto View Post
That said, a new version of Slackware seems to be due later this year. What would it take to get AMD GPU Pro drivers to work on newer, upcoming Slackware? Or is that just a pipe dream?
Older versions of the amdgpu-pro driver did not support newer Xorg releases, like the one found in -current (which will eventually be Slackware 15.0). However, as of 17.30, the driver only supports Xorg 1.19, so it should work with the software included in -current. 17.20 and below are capable of working with the Xorg in 14.2.

I do have unofficial, beta (possibly even alpha) level SlackBuilds for many of the amdgpu-pro releases, however, I don't have hardware that works with it, so they are untested by me (other than to make sure they build properly). There has been a decent amount of testing on the 16.xx releases, with the latest being 16.60, and I believe that is working fine on 14.2 (I've had two reports that 17.10 doesn't work properly, but not enough information in those reports to try and fix the SlackBuild).

For -current, I do have an untested 17.40 SlackBuild, however, now that -current has been rebumped to the 4.14 kernel, I believe that it will require patching to build against the 4.14 kernel. I don't have the knowledge to patch the driver against the kernel, but if other projects/people get it figured out, I can incorporate those into the SlackBuild.I think AMD may have recently released 17.50, but I haven't had a chance to look at it yet. It might build against 4.14 since that is an LTS, but it could still require patches. I'm not sure when I'll get a chance to check it out (busy working on my kitchen remodel and it doesn't leave much time for tinkering).

If you're willing/able to do testing, I have all the SlackBuilds on my github. You can view a lot of the effort that went into getting the 16.xx drivers working on this thread.

https://github.com/bassmadrigal/slac...gpu-pro-driver
 
1 members found this post helpful.
Old 01-04-2018, 09:15 AM   #4
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,773

Rep: Reputation: Disabled
The free amd drivers in mesa already included in Slackware don't work?
 
2 members found this post helpful.
Old 01-04-2018, 01:02 PM   #5
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 6,199

Rep: Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940
Quote:
Originally Posted by orbea View Post
The free amd drivers in mesa already included in Slackware don't work?
They do, but they're limited if you're using more of the professional features rather than gaming. OpenCL is still limited to amdgpu-pro, which is probably one of the biggest reasons some use amdgpu-pro. I know there are some other things that are limited to the pro drivers, but I can't remember any off the top of my head.

OP stated the following:

Quote:
If you are doing pro graphics work like video editing and 3D/2D graphics, you need pro drivers.
 
1 members found this post helpful.
Old 01-04-2018, 04:48 PM   #6
Nille_kungen
Member
 
Registered: Jul 2005
Posts: 503

Rep: Reputation: 176Reputation: 176
Quote:
Originally Posted by bassmadrigal View Post
I know there are some other things that are limited to the pro drivers, but I can't remember any off the top of my head.
There's also Compatibility profiles for workstation programs that use deprecated features together with new features like some CAD programs.
 
2 members found this post helpful.
Old 01-04-2018, 05:03 PM   #7
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 6,199

Rep: Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940
Quote:
Originally Posted by Nille_kungen View Post
There's also Compatibility profiles for workstation programs that use deprecated features together with new features like some CAD programs.
That actually reminded me that I think I remember reading that the pro driver supported newer OpenGL profiles as well... but that could've been old news that the open source driver has now improved on (or completely wrong if I didn't remember it correctly).
 
1 members found this post helpful.
Old 01-05-2018, 05:37 PM   #8
Roboto
Member
 
Registered: Dec 2013
Location: Toronto, Canada.
Distribution: Slackware, Ubuntu
Posts: 39

Original Poster
Rep: Reputation: Disabled
One of the tools I use is Blender. If the graphics drivers are working properly, I would have the option to select opencl/gl for rendering, depending on what OS I am using. Under GNU/Linux, the only option is CPU. However, lately under Ubuntu I have opencl, but that is glitchy. Generally, you want the graphics card, especially if you have a pro one, to do all the heavy lifting with graphics/video/3d. If you are using a program like DaVinci Resolve (apparently it works in Linux, under RHEL/CENTOS--rather odd distro choice, and ONLY archived releases of said distos), you also want a powerful graphics driver to be operational. I believe Lightworks, has a slackbuild, but figure you want a good video card to get that to work. Mind you, I never got those programs to work in GNU/Linux Here are some cards that apparently have Linux drivers: http://www.amd.com/en-us/products/gr...ion/firepro-3d

However, as Darth Vader mentioned, none of these drivers work in Linux, even though Linux drivers are provided by the manufacturer. Sort of defeats the point, huh? I figure, if AMD got Catalyst to work in Linux, why not the GPU Pro? Mind you, the specs I have should be good for video editing if I was running Mac OSX, that's because most pro graphics software is designed to run optimally on that platform, which really sucks.

Last edited by Roboto; 01-06-2018 at 02:30 PM.
 
Old 01-05-2018, 06:35 PM   #9
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 6,199

Rep: Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940
What GPU do you have? Some of them are supported by various versions of amdgpu-pro. Depending on what version supports your card, you might be able to use my SlackBuild to get it working...
 
1 members found this post helpful.
Old 01-05-2018, 07:25 PM   #10
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,773

Rep: Reputation: Disabled
Quote:
Originally Posted by bassmadrigal View Post
They do, but they're limited if you're using more of the professional features rather than gaming. OpenCL is still limited to amdgpu-pro, which is probably one of the biggest reasons some use amdgpu-pro. I know there are some other things that are limited to the pro drivers, but I can't remember any off the top of my head.

OP stated the following:
Mesa should have OpenCL for at least some amd cards, though I'm not sure the op said what card this is.

https://www.mesa3d.org/systems.html
https://www.x.org/wiki/RadeonFeature/
Quote:
The primary API is OpenGL but there's also support for OpenGL ES 1, ES2 and ES 3, OpenVG, OpenCL, VDPAU, XvMC and the EGL interface.
I know at least one of my friends has working OpenCL with mesa and an amd video card.
 
1 members found this post helpful.
Old 01-05-2018, 08:09 PM   #11
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 6,199

Rep: Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940
Quote:
Originally Posted by orbea View Post
Mesa should have OpenCL for at least some amd cards, though I'm not sure the op said what card this is.

https://www.mesa3d.org/systems.html
https://www.x.org/wiki/RadeonFeature/


I know at least one of my friends has working OpenCL with mesa and an amd video card.
Yeah, they have ROCm, which isn't as good as the OpenCL included with the proprietary driver... at least, not yet. And I don't think all software has support for ROCm yet (they mentioned Folding@HOME FAHBench failed to run and LuxMark's microphone scene would crash) , but I'm not terribly familiar with OpenCL/ROCm or the software that uses it.

But phoronix did state the following at the end of that benchmark. I'm not sure if that means that you need a custom, non-vanilla kernel that enables ROCm or only certain parts of ROCm will work without that kernel support.

Quote:
Unfortunately, the ROCm user-space components do not yet run on an upstream Linux kernel due to some of the KFD changes for discrete GPUs not yet being merged, but maybe we will finally see that happen for Linux 4.16.
EDIT: If you have a look at https://dri.freedesktop.org/wiki/GalliumCompute/, you'll see that it is not fully implemented. In fact, they list OpenCL 1.0 and 1.1 support as WIP and there's several more items that are listed as TODO. So they're getting there, but not quite there yet (I think).

Last edited by bassmadrigal; 01-05-2018 at 08:13 PM.
 
1 members found this post helpful.
Old 01-06-2018, 02:34 PM   #12
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,773

Rep: Reputation: Disabled
Fair enough, the phoronix benchmarks do seem to imply that the pro drivers has the edge on opencl still.

Quote:
Originally Posted by bassmadrigal View Post
EDIT: If you have a look at https://dri.freedesktop.org/wiki/GalliumCompute/, you'll see that it is not fully implemented. In fact, they list OpenCL 1.0 and 1.1 support as WIP and there's several more items that are listed as TODO. So they're getting there, but not quite there yet (I think).
This link appears to have been last updated in 2015 according to the date at the bottom. The link I provided is much more recent and claims it is done for some cards while WIP for most of the others.

https://www.x.org/wiki/RadeonFeature/
 
1 members found this post helpful.
Old 01-06-2018, 02:44 PM   #13
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 6,199

Rep: Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940
Quote:
Originally Posted by orbea View Post
Fair enough, the phoronix benchmarks do seem to imply that the pro drivers has the edge on opencl still.
Yeah, in a different amdgpu-pro vs open source driver comparison, Phoronix basically stated that the proprietary drivers were mainly geared towards professionals and gamers would get better performance out of the open source drivers.

Quote:
Originally Posted by orbea View Post
This link appears to have been last updated in 2015 according to the date at the bottom. The link I provided is much more recent and claims it is done for some cards while WIP for most of the others.

https://www.x.org/wiki/RadeonFeature/
Yeah, that link was found as a reference for the Compute (OpenCL) (#33). I didn't look to see the last time it was updated, but as you stated, with it last being updated in 2015, it's likely extremely out of date.
 
1 members found this post helpful.
Old 01-06-2018, 04:39 PM   #14
Roboto
Member
 
Registered: Dec 2013
Location: Toronto, Canada.
Distribution: Slackware, Ubuntu
Posts: 39

Original Poster
Rep: Reputation: Disabled
My question was basically answered, that AMD GPU Pro drivers are not operational on Linux at this time. I will continue to write to AMD, hat-in-hand, on bended knee, and ask that they provide operational pro drivers (for GNU/Linux) so I can get work done. For instance, I am really liking a video editing program in Linux called Cinelerra, but my machine cannot handle it when I import past a certain amount of footage, the program just stalls. Same with Blender, when I use it as an NLE. Shotcut looks more promising, but it is frustrating to keep trying different programs to see what works. On the Windows side, I need to shell out $600.00+ /per annum on the Adobe suite or Avid or whatever to get work done, which I would rather spend on hardware and use a Linux option instead.
 
Old 01-06-2018, 06:24 PM   #15
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 6,199

Rep: Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940
Quote:
Originally Posted by Roboto View Post
My question was basically answered, that AMD GPU Pro drivers are not operational on Linux at this time.
The amdgpu-pro drivers, which work on Linux and some of the versions are working on Slackware, work with many "pro" cards. It isn't just for the gaming cards.

What card do you have?
 
  


Reply

Tags
amd, amdgpu-pro, slackware


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
LXer: SteamOS 2.83 Beta Brings AMD Radeon GPU-PRO RC2 and Nvidia 367.27 Video Drivers LXer Syndicated Linux News 0 06-29-2016 10:42 AM
LXer: SteamOS 2.80 Beta Brings an AMD GPU PRO Driver with Vulkan and VDPAU Support LXer Syndicated Linux News 0 05-26-2016 06:30 AM
how can I setup the amd GPU as a default gpu instead of intel graphics? divinefishersmith Linux - Newbie 33 08-22-2015 06:03 PM
[SOLVED] [Request] Slackware 14.1 with kernel 3.10 for a better support to AMD GPU sardinha Slackware 5 07-06-2013 09:16 AM

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

All times are GMT -5. The time now is 03:37 AM.

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