[SOLVED] Issue trying to install AMD catalyst drivers
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.