LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-25-2015, 04:01 PM   #1
MDKDIO
Member
 
Registered: Mar 2004
Location: Sweden
Distribution: Slackware 14.2 & Current
Posts: 130

Rep: Reputation: 19
AMD Catalyst 15.9 and Slackware Linux 14.1 current x86_64


Recently "upgraded" to current, after I had to reinstall slackware 14.1 due to new hardware.

With 3.10.17 kernel, I had no problem with installing AMD Catalyst 15.9
But with 4.1.6 it won't work.

Thought all I needed was the kernel-headers, so I installed that. But still no go.

Install log:
Code:
Supported adapter detected.
Detected a previous installation, /usr/share/ati/amd-uninstall.sh
Dryrun uninstall succeeded continuing with installation.
Check if system has the tools required for installation.
fglrx installation requires that the system have kernel headers.  /lib/modules/4.1.6/build/include/linux/version.h cannot be found on this system.
One or more tools required for installation cannot be found on the system. Install the required tools before installing the fglrx driver.
Optionally, run the installer with --force option to install without the tools.
Forcing install will disable AMD hardware acceleration and may make your system unstable. Not recommended.
Under /usr/src/
all I have is linux (pointing at linux-3.10.17), and a few other things not related...

Questions:
1. Where do kernel-headers being installed to?
2. Is /lib/modules/4.1.6/build/include/linux/version.h ending up somewhere else, and if so, how to I make a symbolic link to it?
3. Other suggestions?

I don't mind compiling my own kernel if that is what it takes

Thanks in advance!

/Jorgen
 
Old 10-25-2015, 04:07 PM   #2
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 5,684

Rep: Reputation: Disabled
I don't know about the compatibility of latest catalyst drivers over kernel-4.1.x, but as for your error you most probably have to upgrade the kernel-source package too with the one of current.
 
Old 10-25-2015, 04:13 PM   #3
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-Current
Posts: 6,450
Blog Entries: 15

Rep: Reputation: 2030Reputation: 2030Reputation: 2030Reputation: 2030Reputation: 2030Reputation: 2030Reputation: 2030Reputation: 2030Reputation: 2030Reputation: 2030Reputation: 2030
The kernel headers are never updated unless glibc is updated. As far as the sources, the Catalyst drivers are very picky as to which kernel they support. A lot of reports have stated the Free driver is often better to use.

Which video card do you have anyway? This will answer more questions.
 
Old 10-25-2015, 04:19 PM   #4
MDKDIO
Member
 
Registered: Mar 2004
Location: Sweden
Distribution: Slackware 14.2 & Current
Posts: 130

Original Poster
Rep: Reputation: 19
Thanks for the quick reply ponce!

Sounds obvious enough, so I am doing so now...
 
Old 10-25-2015, 04:23 PM   #5
MDKDIO
Member
 
Registered: Mar 2004
Location: Sweden
Distribution: Slackware 14.2 & Current
Posts: 130

Original Poster
Rep: Reputation: 19
Quote:
Originally Posted by ReaperX7 View Post
The kernel headers are never updated unless glibc is updated. As far as the sources, the Catalyst drivers are very picky as to which kernel they support. A lot of reports have stated the Free driver is often better to use.
Thanks for your quick reply ReaperX7!
I did notice something rel. to kernel versions supported (short memory so don't remember the exact versions), in the README

Quote:
Which video card do you have anyway? This will answer more questions.
Sorry! Should of course have mentioned that in my OP...

It is AMD Radeon HD 8470D (Yes, onboard GPU)

/J

Edit:
Release Note...
Linux kernel 2.6 or above (up to 3.19)
glibc version 2.2 or 2.3
Xorg/Xserver 7.4 and above (up to 1.17)
POSIX Shared Memory (/dev/shm) support is required for 3D applications

Edit2:
And this...
Quote:
The following packages must be installed in order for the AMD Catalyst Proprietary Linux Graphics Driver to install and work optimally:
gimp-help-en
gimp-help-common
XFree86-Mesa-libGL
libstdc++
libgcc
XFree86-libs
fontconfig
freetype
zlib
gcc

Last edited by MDKDIO; 10-25-2015 at 04:50 PM. Reason: Release Note rel ...
 
Old 10-25-2015, 04:41 PM   #6
MDKDIO
Member
 
Registered: Mar 2004
Location: Sweden
Distribution: Slackware 14.2 & Current
Posts: 130

Original Poster
Rep: Reputation: 19
Quote:
Originally Posted by MDKDIO View Post
Thanks for the quick reply ponce!

Sounds obvious enough, so I am doing so now...
Done, but still same result as in OP (.log file rel part).
 
Old 10-25-2015, 06:48 PM   #7
Sylvester Ink
Member
 
Registered: Jun 2010
Distribution: Slackware
Posts: 112

Rep: Reputation: 35
FYI, the Catalyst drivers currently do NOT support Linux 4.x. They support up to 3.19. When I switched to current, it was at 3.18, so when Pat upgraded current to 4.1, I had to set 3.18 as my default kernel. Some distros, like Ubuntu, have their own custom build of Catalyst that will work on Linux 4.x, but from what I gather, they aren't totally stable, and don't perform quite up to par. The expectation is that AMD should be releasing a new Catalyst version for Linux 4.x soon, since a lot of big distros have put out releases with that kernel version.

In the meantime, I suggest you roll back to 3.18, if possible.
 
Old 10-25-2015, 08:16 PM   #8
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-Current
Posts: 6,450
Blog Entries: 15

Rep: Reputation: 2030Reputation: 2030Reputation: 2030Reputation: 2030Reputation: 2030Reputation: 2030Reputation: 2030Reputation: 2030Reputation: 2030Reputation: 2030Reputation: 2030
You should be able to work the Free driver with Mesa-11.0.3 and the current X.org server and driver set.

The listing given on AMD's website is from the Ubuntu/Debian methodology of package labeling. All of those should be included with Slackware as-is out-of-the-box but are labeled differently.

Because you're running an 8x00 series, you may want to use the Free driver with -Current until either a new driver is released by AMD. If you need help setting it up, and it should work without issue, let us know. Also, you may wish to grab SlackBuilds.org packages "driconf" and "libtxc_dxtn" to round out support vectors if you use games and give you a configuration tool.

The only benefit of anything newer would be a newer kernel, like the 4.2 series, to test if you have any timing and fan control issues, otherwise 4.1.6 is fine.
 
Old 10-26-2015, 09:41 AM   #9
MDKDIO
Member
 
Registered: Mar 2004
Location: Sweden
Distribution: Slackware 14.2 & Current
Posts: 130

Original Poster
Rep: Reputation: 19
Quote:
Originally Posted by Sylvester Ink View Post
FYI, the Catalyst drivers currently do NOT support Linux 4.x. They support up to 3.19. The expectation is that AMD should be releasing a new Catalyst version for Linux 4.x soon, since a lot of big distros have put out releases with that kernel version.

In the meantime, I suggest you roll back to 3.18, if possible.
Thanks a mill!

I had a feeling 4.1.6 wouldn't work, but gave it a try (and failure) anyway

3.18 I don't have atm, I'll continue the use of 3.10.17 for now and keep an eye open for any updates from AMD

/J
 
Old 10-26-2015, 09:43 AM   #10
MDKDIO
Member
 
Registered: Mar 2004
Location: Sweden
Distribution: Slackware 14.2 & Current
Posts: 130

Original Poster
Rep: Reputation: 19
Quote:
Originally Posted by ReaperX7 View Post
You should be able to work the Free driver with Mesa-11.0.3 and the current X.org server and driver set.
Thank you!
I'll def try that out as well as keep the 3.10.17 as it is working OK to my needs.

Quote:
The listing given on AMD's website is from the Ubuntu/Debian methodology of package labeling. All of those should be included with Slackware as-is out-of-the-box but are labeled differently.

Because you're running an 8x00 series, you may want to use the Free driver with -Current until either a new driver is released by AMD. If you need help setting it up, and it should work without issue, let us know. Also, you may wish to grab SlackBuilds.org packages "driconf" and "libtxc_dxtn" to round out support vectors if you use games and give you a configuration tool.

The only benefit of anything newer would be a newer kernel, like the 4.2 series, to test if you have any timing and fan control issues, otherwise 4.1.6 is fine.
Thank you very much!
I'll def look into that

/J
 
Old 10-26-2015, 10:23 AM   #11
ahc_fan
Member
 
Registered: Jan 2009
Location: Seattle, WA
Distribution: Slackware64 14.2
Posts: 259

Rep: Reputation: 11
I'm in the same boat as the OP. I would be content with using the open-source radeon driver if only I didn't get massive screen tearing with it. CCC has an option that eliminates screen tearing.
 
Old 10-26-2015, 10:32 AM   #12
1337_powerslacker
Member
 
Registered: Nov 2009
Distribution: Slackware64-current,Ubuntu,openSuSE,Manjaro
Posts: 815
Blog Entries: 9

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
Quote:
Originally Posted by MDKDIO View Post
Recently "upgraded" to current, after I had to reinstall slackware 14.1 due to new hardware.

With 3.10.17 kernel, I had no problem with installing AMD Catalyst 15.9
But with 4.1.6 it won't work.
Quote:
Originally Posted by Sylvester Ink View Post
FYI, the Catalyst drivers currently do NOT support Linux 4.x. They support up to 3.19. When I switched to current, it was at 3.18, so when Pat upgraded current to 4.1, I had to set 3.18 as my default kernel. Some distros, like Ubuntu, have their own custom build of Catalyst that will work on Linux 4.x, but from what I gather, they aren't totally stable, and don't perform quite up to par. The expectation is that AMD should be releasing a new Catalyst version for Linux 4.x soon, since a lot of big distros have put out releases with that kernel version.

In the meantime, I suggest you roll back to 3.18, if possible.
It is possible to get the 15.9 Catalyst driver to work even with the latest kernel (and yes, I do mean latest; as I write, my system is running the 4.2.4 kernel with patched Catalyst driver). I am a bit cramped for time, so if the OP is interested, I am willing to post the procedure.

Regards,

Matt

Last edited by 1337_powerslacker; 10-26-2015 at 01:18 PM. Reason: Removed a phrase
 
Old 10-26-2015, 10:54 AM   #13
ahc_fan
Member
 
Registered: Jan 2009
Location: Seattle, WA
Distribution: Slackware64 14.2
Posts: 259

Rep: Reputation: 11
Quote:
Originally Posted by mattallmill View Post
It is possible to get the 15.9 Catalyst driver to work even with the latest kernel (and yes, I do mean latest; as I write, my system is running a patched 4.2.4 kernel with patched Catalyst driver). I am a bit cramped for time, so if the OP is interested, I am willing to post the procedure.

Regards,

Matt
Not trying to hijack this thread, but I would certainly like to know.
 
Old 10-26-2015, 01:00 PM   #14
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-Current
Posts: 6,450
Blog Entries: 15

Rep: Reputation: 2030Reputation: 2030Reputation: 2030Reputation: 2030Reputation: 2030Reputation: 2030Reputation: 2030Reputation: 2030Reputation: 2030Reputation: 2030Reputation: 2030
Quote:
Originally Posted by ahc_fan View Post
I'm in the same boat as the OP. I would be content with using the open-source radeon driver if only I didn't get massive screen tearing with it. CCC has an option that eliminates screen tearing.
Did you try driconf and enable vertical sync to lock the refresh rate at 60Hz (or whatever your monitor supports)?

Last edited by ReaperX7; 10-26-2015 at 01:02 PM.
 
1 members found this post helpful.
Old 10-26-2015, 01:06 PM   #15
1337_powerslacker
Member
 
Registered: Nov 2009
Distribution: Slackware64-current,Ubuntu,openSuSE,Manjaro
Posts: 815
Blog Entries: 9

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
Quote:
Originally Posted by ahc_fan View Post
Not trying to hijack this thread, but I would certainly like to know.
WARNING: Please read the post in total before following the steps outlined herein! This will save much grief & heartache.

Download the attached patches-4.2.tar.gz.txt, and remove the .txt extension and untar it as follows:

Code:
mv patches-4.2.tar.gz.txt patches-4.2.tar.gz
tar xf patches-4.2.tar.gz
If you don't already have it, download the AMD Catalyst driver from AMD's website. I'd post the link here, but AMD likes you to download the file directly from their site. Just Google for 'AMD Catalyst linux driver', and follow the most appropriate link.

You want to extract the contents of the .run file after unzipping it:

Code:
 
unzip <name of zip file>.zip
./AMD-Catalyst-15.9-Linux-installer-15.201.1151-x86.x86_64.run --extract catalyst 
cd catalyst
Patch the Catalyst source as follows:

Code:
for i in ../patches-4.2/*.patch; do patch -p1 < $i; done
This assumes you have the catalyst/ & patches-4.2/ subdirectories in the same parent directory; it will patch the source file (firegl_public.c) to accept the changes in 4.2.x.

If you haven't already, soft-link the version.h file in the kernel sources directory, as follows:

Code:
ln -s /usr/src/linux-4.2.4/include/generated/uapi/linux/version.h /usr/src/linux-4.2.4/include/linux/version.h
The ATI installer looks for the file in that directory, if you wanted to know.

Run the following command:

Code:
./ati-installer.sh 15.201 --install
The installer will then proceed with installation. You should have no errors. Then, run the aticonfig command to generate your xorg.conf file. For example, I have a multi-card configuration. My command is:

Code:
 aticonfig --initial --heads=3 --adapter=all
Then reboot:

Code:
 shutdown -r now
You should be golden.

NOTE! I missed some steps, but for completeness' sake, I urge you to be in console mode for this procedure. When LILO comes up, hit the <TAB> key, and enter the label of your kernel, plus 3. Mine is:

Code:
 Slacker 3
Also, make sure that you remove the previous Catalyst driver (after booting into console mode!), if you had it installed, like so:

Code:
 aticonfig --uninstall
Let me know if you need additional assistance.

Regards,

Matt
Attached Files
File Type: txt patches-4.2.tar.gz.txt (5.2 KB, 240 views)

Last edited by 1337_powerslacker; 10-26-2015 at 01:24 PM. Reason: Removed sentence
 
2 members found this post helpful.
  


Reply


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
AMD Catalyst™ 14.6 Beta July and Slackware Quicken2k Slackware 1 09-11-2014 10:12 PM
[SOLVED] Error when installing AMD Catalyst 13.4 in Slackware 14.1 fakhry Slackware 3 11-18-2013 06:49 AM
slackware64-current w/ xorg-server-1.14 & AMD catalyst lanir Slackware 4 03-17-2013 09:21 AM
[SOLVED] Is Any Way to Make The AMD Catalyst Driver Compatible With Slackware Current Avaricia Slackware 11 02-13-2013 07:09 AM

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

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