LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 10-09-2017, 09:12 AM   #1
BattKajs
LQ Newbie
 
Registered: Oct 2017
Location: Stockholm
Distribution: Slackware, Xubuntu
Posts: 12

Rep: Reputation: Disabled
Slackware 14.2-current + AMDGPU-pro = unable to startx


Hi!

I just bought a new rig, and wanted to use the AMD architecture. Hence my build is as following:

MB - Asus M4A89GTD (with BIOS)
CPU - AMD Phenom II
GPU - AMD Radeon RX 550
(Believe the other parts do not add to the trouble)

I have had Multilib configured in all my installations

First I installed Slackware 14.2 (stable) but when testing with some games all graphic processes landed on the CPU resulting me to conclude that Xorg couldn't use the GPU. From this I have figured that I need the AMD drivers to use my GPU.

But between the testing I have upgraded my system to running Slackware-current (kernel 4.9.45)

I have ran following script that I found on this forum:
https://github.com/mdcdr/slackbuilds...ter/amdgpu-pro

The modifications I have done to the script is:
- Changed version number to match the packet I downloaded from AMD.com in "fwdir.patch" and "kernel-4.10"
- Removed the first hunk (12 lines) from "kernel-4.4.patch"
- Removed line 116-118 to "amdgpu-pro.SlackBuild"

I have tried to install the drivers on both huge.s and generic. I still get the same result. When I run "startx" my screen turns completely black and get no response from neither keyboard nor mouse.

grep 'EE' /var/log/Xorg.0.log returns:

[ 1445.907] (EE) Failed to load module "fbdev" (module does not exist, 0)

[ 1445.917] (EE) open /dev/dri/card0: No such file or directory

[ 1445.917] (EE) open /dev/dri/card0: No such file or directory

[ 1445.917] (EE) Screen 0 deleted because of no matching config section.

[ 1446.764] (EE) AIGLX: reverting to software rendering

[ 1446.887] (EE) AIGLX error: dlopen of /usr/X11R6/lib64/modules/dri/swrast_dri.so failed (/usr/X11R6/lib64/modules/dri/swrast_dri.so: undefined symbol: is64bitelf)

[ 1446.888] (EE) GLX: could not load software renderer

A kind person from reddit told me to check in the folder xorg.conf.d after files named "amd" but I can't find any problems here, but I don't know what to look for.

Either way here is my org.conf.d

https://www.dropbox.com/sh/ctinqyitv...qned8y2Ka?dl=0

I have since installed another dist on my machine with AMD-support to be able to use the GPU. But my wishes are to use Slackware 100%
 
Old 10-10-2017, 02:01 AM   #2
jostber
Member
 
Registered: Jul 2001
Location: Skien, Norway
Distribution: Slackware Current 64-bit
Posts: 543

Rep: Reputation: 178Reputation: 178
Would it be better to update the SlackBuild script with v.4.9.45 if you have this and not remove any lines?

Can you also post more of your Xorg.0.log so we can see what leads up the problem?
 
Old 10-10-2017, 02:45 AM   #3
BattKajs
LQ Newbie
 
Registered: Oct 2017
Location: Stockholm
Distribution: Slackware, Xubuntu
Posts: 12

Original Poster
Rep: Reputation: Disabled
Here is my Xorg.0.log

https://pastebin.com/DwrXixQU
 
Old 10-10-2017, 03:48 AM   #4
hj1967
Member
 
Registered: Jun 2011
Location: Nunspeet, The Netherlands
Distribution: Slackware x64
Posts: 39

Rep: Reputation: Disabled
I tried 2 weeks ago Slackware current and a AMD RX550 card.
root@hjp2:~# lspci | grep 550
23:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Lexa PRO [Radeon RX 550] (rev c7)

When I tried it did not work with the 4.9.50 kernel. I have am now using the 4.13.4 and X works. Audio via displayport does not work but if I am correct that is work in progress. (4.15 maybe...).
 
Old 10-10-2017, 05:58 AM   #5
jostber
Member
 
Registered: Jul 2001
Location: Skien, Norway
Distribution: Slackware Current 64-bit
Posts: 543

Rep: Reputation: 178Reputation: 178
You have some more input on these cards on the ArchLinux site:

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

You might also need to install a 4.10.+ kernel and install the AMD driver directly from their site:

http://support.amd.com/en-us/kb-arti...ase-Notes.aspx

Last edited by jostber; 10-10-2017 at 06:11 AM.
 
Old 10-12-2017, 11:43 PM   #6
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Are you running 14.2 or -current? They are not the same thing. -current is a development tree that can cause frequent breakages and, AFAIK, amdgpu-pro doesn't support the xorg version included in -current (at least the last time I checked and updated my SlackBuilds for amdgpu-pro -- it is possible if any newer versions are out that they finally added support for newer xorg versions).

If you are running 14.2, you should be able to run amdgpu-pro, although, I haven't followed the development of mdcdr's script. I know my 17.10 amdgpu-pro script would build ok, but I don't have amdgpu-enabled hardware to verify it works properly. Based on posts on this forum, my previous versions did seem to work fine.

Out of curiosity, are you doing anything that requires amdgpu-pro? The open-source amdgpu driver is quite impressive on its own and is able to be the primary driver on many systems.
 
  


Reply



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
Installing AMDGPU-PRO Ubuntu Driver under Slackware 14.2? mpyusko Slackware 218 08-08-2017 09:11 AM
LXer: How to Install the Latest AMDGPU-PRO Drivers on Ubuntu LXer Syndicated Linux News 0 05-05-2017 10:24 AM
Amdgpu-pro milomak Debian 1 04-14-2017 01:51 AM
[SOLVED] Slackware 14.2 muxless ati/intel laptop and amdgpu non-pro installation yvesjv Slackware 26 03-23-2017 04:36 PM

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

All times are GMT -5. The time now is 06:14 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
Open Source Consulting | Domain Registration