LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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-06-2018, 07:32 PM   #16
Roboto
Member
 
Registered: Dec 2013
Location: Toronto, Canada.
Distribution: Slackware, Ubuntu
Posts: 39

Original Poster
Rep: Reputation: Disabled

Hey Bassmadrigal,

I have a piece of crap AMD R7-240 graphics card and an A8-7600 APU. I know that fusion is not available for Linux at this time. The official Linux drivers I saw on the AMD site are available for ubuntu, centOS and RHEL. I tried to install them on all mentioned distros and just got a blank screen for my troubles. The IRC channels for respective distros were of no help because most on the channel do not use AMD graphics cards and the few that do are not into video editing and such. The mantra among graphics people in Linux is 'stay away from AMD/ATI.' If you have found a way to get AMD GPU Pro to fire up in Linux, then you are some kind of Linux Jedi Knight that can probably lift desktops with your mind.
 
Old 01-06-2018, 08:03 PM   #17
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
Well, the AMD R7-240 is part of the Southern Islands cards, which should be supported with amdgpu, both the open source version and the proprietary, however, I believe that support is semi-recent and is still considered experimental. I believe open source support for Southern Islands occurred in the 4.9 kernel, but had to be enabled in the kernel config (and many times you needed to blacklist the radeon driver to ensure it didn't take over). And since the 4.13 kernel, you need to pass amdgpu.si_support=1 radeon.si_support=0 to the kernel via your kernel append line to force support.

Now, with the proprietary driver it's a bit more difficult to know since their release notes are pretty sparse, however, according to Phoronix, Southern Island support was added in the 16.50 driver, although, it was buggy for him. I do have a 16.60 SlackBuild that *should* work. I say *should* because apparently my Southern Island card isn't supported (or support is broken) the last I checked. You could give it a go. If it doesn't work, it should uninstall cleanly from your system. (Make sure you grab the patches/ directory.)

https://github.com/bassmadrigal/slac...o-driver/16.60
 
2 members found this post helpful.
Old 01-07-2018, 01:47 AM   #18
Roboto
Member
 
Registered: Dec 2013
Location: Toronto, Canada.
Distribution: Slackware, Ubuntu
Posts: 39

Original Poster
Rep: Reputation: Disabled
Bassmadrigal,

Sorry if I am misunderstanding, here is what I am getting from you:

What you are saying is that Slackware 14.2 Stable, which is at Kernel 4.4.88, if you do a 'Slackpkg upgrade-all'...you first need to upgrade the kernel to at least 4.13 or install Slackware current, which is now at Kernel 4.14. THEN I can install your Slackbuild, add your kernel parameters and it is likely AMD-GPU Pro will work?

Is the driver dependent on the Kernel version? For instance, CentOS and RHEL use ancient Linux kernels, but AMD GPU pro is *supposed* to work gangbusters on those distros.

If we are talking opensource Linux support for AMD graphics, that was as of Kernel 4.10 and up, I believe. If the support is more sophisticated since 4.10, so much the better. But apples and oranges. What do I need, what are my kernel requirements for the AMD GPU Pro drivers?

Wait, I just looked at lines 214 to 222 of your Slackbuild, and it looked like there is support for the 4.4 kernel and up through the patches. Yeah, AMD does have crappy kernel support to say the least.

Last edited by Roboto; 01-07-2018 at 02:47 AM.
 
Old 01-07-2018, 01:53 PM   #19
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
Sorry. For amdgpu support, there's two different options. The first is the open source, which is what requires the newer kernels (and newer mesa and xorg versions). In this case, the driver is included in the kernel, so the newer kernels tend to have better support. Slackware 14.2 is lagging behind on both of these due to how long ago it was released, so open source amdgpu drivers for your card won't work here (although, they should work in -current, since that has newer versions of all of those, but that is a development version of Slackware and can break things during the development process).

The other option is the proprietary/closed-source amdgpu-pro drivers, which bypass the open source components and is a separately contained driver. Since the driver is not part of the kernel, it doesn't need newer versions to work properly (in fact, it works better with old versions). Since the driver does still need to build against the kernel version on your computer, support in the driver needs to be included, but many times it isn't. However, people much smarter than me have provided patches to fix many of those issues. I included those patches when available in the SlackBuild to be applied before the driver is actually built.
 
2 members found this post helpful.
Old 01-14-2018, 05:29 AM   #20
Roboto
Member
 
Registered: Dec 2013
Location: Toronto, Canada.
Distribution: Slackware, Ubuntu
Posts: 39

Original Poster
Rep: Reputation: Disabled
Hi Bassmadrigal,

The AMD site has version 17.10 available, where do I grab the 16.60 version you suggested? Is it archived somewhere? Otherwise I cannot install it. : - (
 
Old 01-14-2018, 05:53 AM   #21
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 5,007

Rep: Reputation: Disabled
Quote:
Originally Posted by Roboto View Post
Hi Bassmadrigal,

The AMD site has version 17.10 available, where do I grab the 16.60 version you suggested? Is it archived somewhere? Otherwise I cannot install it. : - (
Hi Roboto, there's a note in the SlackBuild
Code:
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/ubuntu/amdgpu-pro-16.60-379184.tar.xz
 
2 members found this post helpful.
Old 01-14-2018, 06:17 AM   #22
Roboto
Member
 
Registered: Dec 2013
Location: Toronto, Canada.
Distribution: Slackware, Ubuntu
Posts: 39

Original Poster
Rep: Reputation: Disabled
Nope

Hi bassmadrigal,

I managed to install the driver, but now I cannot connect to xserver and get segfault errors.

Well...at least the driver is installed.
 
Old 01-14-2018, 06:23 AM   #23
Roboto
Member
 
Registered: Dec 2013
Location: Toronto, Canada.
Distribution: Slackware, Ubuntu
Posts: 39

Original Poster
Rep: Reputation: Disabled
When I install the package, it says the drivers are for the rx 480, 470 and 460...that could be the culprit. I have an r7 240.
 
Old 01-14-2018, 12:25 PM   #24
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
Hi bassmadrigal,

I managed to install the driver, but now I cannot connect to xserver and get segfault errors.

Well...at least the driver is installed.
Quote:
Originally Posted by Roboto View Post
When I install the package, it says the drivers are for the rx 480, 470 and 460...that could be the culprit. I have an r7 240.
It is possible your card isn't supported with the older version. Unfortunately, AMD doesn't seem to archive their release notes, so I don't think we can look and see when your card had support added.

But we can try and see what info we can find. Can you provide the output of dmesg, /var/log/Xorg.0.log, and lspci -k | grep -iA3 vga?
 
1 members found this post helpful.
Old 01-14-2018, 03:19 PM   #25
Roboto
Member
 
Registered: Dec 2013
Location: Toronto, Canada.
Distribution: Slackware, Ubuntu
Posts: 39

Original Poster
Rep: Reputation: Disabled
Hi Bassmadrigal,

Go ahead and laugh.
https://imgur.com/a/thwcs

I have not learned how to wgetpaste from the command line and send. *sigh*
 
Old 01-14-2018, 03:37 PM   #26
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
Dual video cards might make this more difficult. Can you disable the video card inside your GPU through the BIOS? However, I didn't see any glaring problems (although, it's harder when I can't search for terms). Seeing /var/log/Xorg.0.log might provide some more insight.

As for getting the code here, if you have another computer you can ssh in and get the logs, or you can output the logs to a file using the redirect symbol (>) and then copy those to a thumbdrive. So outputting dmesg would be something like:

Code:
dmesg > dmesg.log
If you upload the files to the forum, you'll need to change the extension to txt. But you can copy/paste the text into the post within [code][/code] tags.
 
1 members found this post helpful.
Old 01-14-2018, 04:04 PM   #27
Roboto
Member
 
Registered: Dec 2013
Location: Toronto, Canada.
Distribution: Slackware, Ubuntu
Posts: 39

Original Poster
Rep: Reputation: Disabled
http://termbin.com/wfyu
 
Old 01-14-2018, 07:00 PM   #28
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
Well, crap. Looking through that, everything looks good until you get a segmentation fault and it dumps a backtrace. I'm not smart enough to be able to debug that, so you might be out of luck with the 16.60 driver. You could try the 16.50 driver and see if that does any better...

Or we could try and get the 17.10 driver working, if you're willing to test things out and be a sort of guinea pig... or if you feel comfortable running -current, 17.40 was reported to be working by a user (but it doesn't work on 14.2 without some major overhaul, including upgrading X).
 
1 members found this post helpful.
Old 01-14-2018, 07:30 PM   #29
Roboto
Member
 
Registered: Dec 2013
Location: Toronto, Canada.
Distribution: Slackware, Ubuntu
Posts: 39

Original Poster
Rep: Reputation: Disabled
Hi Bass Madrigal, 16.50 I was able to install, but I get only one monitor for my dual monitor settings and there is no way to configure it. System settings only shows one screen for me to work with. As for current, I am actually trying to get things done so it would be ill advised for me to use that.
 
Old 01-14-2018, 07:39 PM   #30
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
Ok, if it loaded, let's see if we can diagnose the issue. Can you provide /var/log/Xorg.0.log and see if we can find why only one monitor is working?

And no worries about -current. I don't run it on most of my machines because I need to ensure they're always up
 
1 members found this post helpful.
  


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:51 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