LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 12-04-2017, 07:04 PM   #1
lawnm0wer
LQ Newbie
 
Registered: Nov 2017
Posts: 23

Rep: Reputation: Disabled
Issue trying to install AMD catalyst drivers


latest post I saw for about the catalyst drivers was five months ago, I've heard that catalyst support for linux is different now. but I'm having issues, here's the log.

Code:
###/usr/share/ati/fglrx-install.log

Check if system has the tools required for Packages Generation.
AMD kernel module generator version 2.1
doing Makefile based build for kernel 2.6.x and higher
rm -rf *.c *.h *.o *.ko *.a .??* *.symvers
make -C /lib/modules/4.4.14/build SUBDIRS=/home/doc/Downloads/fglrx-15.302/fglrx-install.u0g65f/common/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory '/usr/src/linux-4.4.14'
  CC [M]  /home/doc/Downloads/fglrx-15.302/fglrx-install.u0g65f/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
/home/doc/Downloads/fglrx-15.302/fglrx-install.u0g65f/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'firegl_major_proc_read':
/home/doc/Downloads/fglrx-15.302/fglrx-install.u0g65f/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:634:9: error: void value not ignored as it ought to be
     len = seq_printf(m, "%d\n", major);
         ^
/home/doc/Downloads/fglrx-15.302/fglrx-install.u0g65f/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'KCL_fpu_save_init':
/home/doc/Downloads/fglrx-15.302/fglrx-install.u0g65f/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:6458:49: error: 'XSTATE_FP' undeclared (first use in this function)
       if (!(fpu->state.xsave.header.xfeatures & XSTATE_FP))
                                                 ^
/home/doc/Downloads/fglrx-15.302/fglrx-install.u0g65f/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:6458:49: note: each undeclared identifier is reported only once for each function it appears in
/home/doc/Downloads/fglrx-15.302/fglrx-install.u0g65f/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: At top level:
/home/doc/Downloads/fglrx-15.302/fglrx-install.u0g65f/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:6448:12: warning: 'KCL_fpu_save_init' defined but not used [-Wunused-function]
 static int KCL_fpu_save_init(struct task_struct *tsk)
            ^
scripts/Makefile.build:258: recipe for target '/home/doc/Downloads/fglrx-15.302/fglrx-install.u0g65f/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o' failed
make[2]: *** [/home/doc/Downloads/fglrx-15.302/fglrx-install.u0g65f/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o] Error 1
Makefile:1385: recipe for target '_module_/home/doc/Downloads/fglrx-15.302/fglrx-install.u0g65f/common/lib/modules/fglrx/build_mod/2.6.x' failed
make[1]: *** [_module_/home/doc/Downloads/fglrx-15.302/fglrx-install.u0g65f/common/lib/modules/fglrx/build_mod/2.6.x] Error 2
make[1]: Leaving directory '/usr/src/linux-4.4.14'
Makefile:88: recipe for target 'kmod_build' failed
make: *** [kmod_build] Error 2
build failed with return value 2
ERROR: I didn't make module
[Error] Generate Package - error generating package : Slackware/Slackware
I really don't know what to make of this. I'm hoping this will resolve the various framerate issues I've been having with my games. for some reason my processor rate also spikes to 90% for who knows what reason. I really don't know why this would happen, unless for some reason the open-source driver is confusing the CPU for an APU.

Last edited by lawnm0wer; 12-05-2017 at 07:21 PM.
 
Old 12-04-2017, 07:37 PM   #2
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,240
Blog Entries: 3

Rep: Reputation: 348Reputation: 348Reputation: 348Reputation: 348
you may need to patch it for that kernel https://github.com/imageguy/fglrx-for-Fedora
AMD kinda slacked off was my view of it but made the complete blob open now with the 4.14 kernels. you may want to compile the kernel from current testing.

Last edited by Drakeo; 12-04-2017 at 07:40 PM.
 
Old 12-05-2017, 01:49 AM   #3
bassmadrigal
Senior Member
 
Registered: Nov 2003
Location: Newport News, VA
Distribution: Slackware
Posts: 4,544

Rep: Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494
fglrx won't build with 14.2 or later. AMD never added support for the newer X.org used in those Slackware versions. There's patches floating around to add support for newer kernels, but nothing for the newer X.orgs. In that regard, Catalyst on Linux is dead unless you use an old enough Linux that contains an old enough X.org.

All their work now is going into amdgpu, both the opensource driver and the proprietary amdgpu-pro, but these drivers only support cards that use the GCN architecture, and the older cards are still considered unstable and not enabled by default (they'll still use the radeon driver). However, the last I checked amdgpu-pro wouldn't work in -current because that X.org is too new. However they've done a lot of improvements to the opensource drivers since the 4.4.x series, so it might be worth looking into newer kernels.

@Drakeo, unfortunately, that didn't make it into the 4.14 kernel and is in the 4.15 RCs right now. I heard of a tentative release sometime in January.
 
Old 12-05-2017, 07:23 PM   #4
lawnm0wer
LQ Newbie
 
Registered: Nov 2017
Posts: 23

Original Poster
Rep: Reputation: Disabled
I was being silly, my actual GPU is completely different from the drivers I downloaded.

marking this one as solved, I'll be back with a more detailed post on some problems I've been experiencing
 
Old 12-09-2017, 10:59 AM   #5
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware has beern Main OpSys for decades while testing others to keep up
Posts: 1,520

Rep: Reputation: 1468Reputation: 1468Reputation: 1468Reputation: 1468Reputation: 1468Reputation: 1468Reputation: 1468Reputation: 1468Reputation: 1468Reputation: 1468
FWIW 4.15 kernel has 100 kloc+ of new AMD support. As new as your graphics card is I recommend you learn "make oldconfig" and build a 4.15 kern3l.
 
  


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
Slackware 14.2 AMD Catalyst 15.9 will not install mpyusko Slackware 31 10-06-2016 09:46 AM
Impossibility to install AMD Catalyst driver on Slackware 14.1 umb Slackware 14 02-06-2014 09:51 AM
Impossibility to install AMD Catalyst driver on Slackware 14.1 umb Slackware 1 11-15-2013 11:21 AM
[SOLVED] ARCHBANG - Can't Install AMD Catalyst Drivers Altiris Linux - Newbie 1 09-29-2013 11:10 AM

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

All times are GMT -5. The time now is 08:23 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration