LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 01-22-2014, 04:06 PM   #1
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223

Rep: Reputation: 195Reputation: 195
Error installing ATI Catalyst Driver


I am getting this:
Code:
cat /usr/share/ati/fglrx-install.log 
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/3.10.17-slack/build SUBDIRS=/home/pedro/Downloads/fglrx-install.edC7d7/common/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entrando no diretório `/usr/src/linux-3.10.17'
  CC [M]  /home/pedro/Downloads/fglrx-install.edC7d7/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
  CC [M]  /home/pedro/Downloads/fglrx-install.edC7d7/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.o
/home/pedro/Downloads/fglrx-install.edC7d7/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c: In function ‘KCL_ACPI_ParseTable’:
/home/pedro/Downloads/fglrx-install.edC7d7/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c:999:5: warning: passing argument 1 of ‘(acpi_status (*)(u32,  void *, void *))handler’ makes integer from pointer without a cast [enabled by default]
     ((acpi_table_handler)handler)(hdr);
     ^
/home/pedro/Downloads/fglrx-install.edC7d7/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c:999:5: note: expected ‘u32’ but argument is of type ‘struct acpi_table_header *’
/home/pedro/Downloads/fglrx-install.edC7d7/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c:999:5: error: too few arguments to function ‘(acpi_status (*)(u32,  void *, void *))handler’
make[2]: ** [/home/pedro/Downloads/fglrx-install.edC7d7/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.o] Erro 1
make[1]: ** [_module_/home/pedro/Downloads/fglrx-install.edC7d7/common/lib/modules/fglrx/build_mod/2.6.x] Erro 2
make[1]: Saindo do diretório `/usr/src/linux-3.10.17'
make: ** [kmod_build] Erro 2
build failed with return value 2
ERROR: I didn't make module
[Error] Generate Package - error generating package : Slackware/Slackware
And yes I have kernel-modules and kernel-source installed.
 
Old 01-22-2014, 08:34 PM   #2
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Which driver revision did you install?
 
Old 01-23-2014, 03:53 PM   #3
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223

Original Poster
Rep: Reputation: 195Reputation: 195
Version 13.12
 
Old 01-23-2014, 06:43 PM   #4
Stuferus
Member
 
Registered: Jun 2013
Location: Germany
Distribution: Slackware
Posts: 174

Rep: Reputation: Disabled
ill tryed it too.. forget it - 13.12 doesnt support slackwares (14.1 x86+x86_64) xorg version.

dont try the betadriver.. it really doesnt work so good.

im must be part happy with the radeon driver.

its all known.
 
Old 01-23-2014, 08:21 PM   #5
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Here's a good question:

Which video card do you have exactly?

Last edited by ReaperX7; 01-23-2014 at 08:24 PM.
 
Old 01-23-2014, 10:01 PM   #6
larryhaja
Member
 
Registered: Jul 2008
Distribution: Slackware 13.1
Posts: 305

Rep: Reputation: 80
Quote:
Originally Posted by moisespedro View Post
I am getting this:
Code:
cat /usr/share/ati/fglrx-install.log 
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/3.10.17-slack/build SUBDIRS=/home/pedro/Downloads/fglrx-install.edC7d7/common/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entrando no diretório `/usr/src/linux-3.10.17'
  CC [M]  /home/pedro/Downloads/fglrx-install.edC7d7/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
  CC [M]  /home/pedro/Downloads/fglrx-install.edC7d7/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.o
/home/pedro/Downloads/fglrx-install.edC7d7/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c: In function ‘KCL_ACPI_ParseTable’:
/home/pedro/Downloads/fglrx-install.edC7d7/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c:999:5: warning: passing argument 1 of ‘(acpi_status (*)(u32,  void *, void *))handler’ makes integer from pointer without a cast [enabled by default]
     ((acpi_table_handler)handler)(hdr);
     ^
/home/pedro/Downloads/fglrx-install.edC7d7/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c:999:5: note: expected ‘u32’ but argument is of type ‘struct acpi_table_header *’
/home/pedro/Downloads/fglrx-install.edC7d7/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.c:999:5: error: too few arguments to function ‘(acpi_status (*)(u32,  void *, void *))handler’
make[2]: ** [/home/pedro/Downloads/fglrx-install.edC7d7/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.o] Erro 1
make[1]: ** [_module_/home/pedro/Downloads/fglrx-install.edC7d7/common/lib/modules/fglrx/build_mod/2.6.x] Erro 2
make[1]: Saindo do diretório `/usr/src/linux-3.10.17'
make: ** [kmod_build] Erro 2
build failed with return value 2
ERROR: I didn't make module
[Error] Generate Package - error generating package : Slackware/Slackware
And yes I have kernel-modules and kernel-source installed.
Looks like you are having the same issue as on this post. Try using this solution to build the fglrx modules.
 
Old 01-23-2014, 10:10 PM   #7
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223

Original Poster
Rep: Reputation: 195Reputation: 195
I have a radeon 6670 and I will take a look at that, thanks larry
 
Old 01-24-2014, 12:29 AM   #8
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
Try the free 'radeon' driver, but use it in KMS mode. Meaning:
  1. Add the 'radeon' module explicitly to your initrd.
  2. Remove any 'nomodeset' kernel options from lilo.conf
  3. Eventually, use 'video=1024x768' or similar for your console.

The Arch wiki has some detailed articles about setting up the free radeon drivers with KMS. I'm using it on two machines, one with a very old (and officially unsupported) ATi card, one with a brand-new one.
 
Old 01-24-2014, 01:38 AM   #9
JackHair
Member
 
Registered: Aug 2009
Location: Netherlands
Distribution: Slackware64-current
Posts: 167

Rep: Reputation: 39
Quote:
Originally Posted by Stuferus View Post
ill tryed it too.. forget it - 13.12 doesnt support slackwares (14.1 x86+x86_64) xorg version.

dont try the betadriver.. it really doesnt work so good.

im must be part happy with the radeon driver.

its all known.
I wonder what's wrong with the beta driver? I been using it with the 3.12 kernels and I don't have any problems.Working fine.
 
Old 01-24-2014, 05:34 AM   #10
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Well considering how ATi/AMD supports their hardware, I'm not surprised. You might have better luck with the default xorg Radeon driver in this case. Radeons support using glamouregl for 2D rendering in OpenGL and Mesa3D support through Gallium3D is progressing well for the Islands series GPUs, and the 6670 should be well supported in fact.

You should probably grab driconf from SlackBuilds.org as well.
 
Old 01-24-2014, 06:15 AM   #11
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,784

Rep: Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435
Greetz
To be fair, although I don't know the terms of the buyout, AMD could have easily sworn off any support for any products made by Ati before the buyout and been within their rights. AMD's ATI drivers are a pita very often but they do seem to be improving some. I'm assuming they have been helpful to the boys building the Linux radeon driver because that driver has gotten GOOD! I was shocked to discover that on an ancient P4 1.8GHz box with a Radeon 9200 that I could watch youtube videos with the OS radeon driver. Kudos, fellows!
 
Old 01-24-2014, 08:44 AM   #12
Stuferus
Member
 
Registered: Jun 2013
Location: Germany
Distribution: Slackware
Posts: 174

Rep: Reputation: Disabled
hd6850 here.. i tryed the beta driver with the default generic kernel from 14.1 x64.. for example: minecraft looks unplayable with it only artefacts.. so i reverted to the default radeon driver.. works well.. minecraft (for example) has 30fps, thats more than fine for me.

i dont think i want to compile 3.12 kernel never did in slackware so im a bit feard something could go wrong. 3.10.17 is ok.. an unofficial 3.10.27 package would be nice i must admit.
 
Old 01-24-2014, 01:41 PM   #13
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
Quote:
I wonder what's wrong with the beta driver? I been using it with the 3.12 kernels and I don't have any problems.Working fine.
Probably nothing, but, with kernel 3.12.1, version 13.11v9.95 black screens and hangs the keyboard. Fortunately one can still ssh into the system. There appears to be a dmar error, related to IOMMU/vt-d. I don't know whether that's a driver fault, or a flaky bios though. The radeon drivers appear to work fine however.
 
Old 01-24-2014, 02:39 PM   #14
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Hardware behavior will vary between drivers and chipsets with different kernels. Just because a drivers works well with one chipset and a specific kernel doesn't mean the equal will apply with a different variable. AMD/ATI's proprietary drivers have been known to have issues. You probably should report these to AMD though to ensure those get patches.

I think it's safe to say if you have an issue with the FGLRX driver you should revert back to xorg-Radeon to ensure maximum compatibility.
 
Old 01-24-2014, 04:48 PM   #15
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,784

Rep: Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435
Quote:
Originally Posted by Stuferus View Post
<snip>
i dont think i want to compile 3.12 kernel never did in slackware so im a bit feard something could go wrong. 3.10.17 is ok.. an unofficial 3.10.27 package would be nice i must admit.
Just FTR, as long as you keep your working kernel listed in whatever bootloader you use, and simply add on any new ones, there is nothing to "go wrong". That plus using "make oldconfig" insures all of the checklist of existing settings that make your current kernel work will be automatically transposed to your new build. The kernel build will only show you new additional settings that have yet to be set, and unless you see something interesting that applies to your specific hardware that you lacked before and decide to try that, the defaults are perfectly OK.
 
  


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
[SOLVED] Can't Install ATI Catalyst Driver Max Rafiandy Slackware 8 11-11-2013 10:42 PM
[SOLVED] ati catalyst proprietary driver alexdy Linux Deepin 5 07-19-2013 03:34 AM
Xorg crash after installing "ATI Catalyst™ 9.6 Proprietary Linux x86 Display Driver" mennowo Linux - Software 9 01-18-2010 09:31 AM
LXer: Power Management: ATI Catalyst vs. Open-Source ATI Driver LXer Syndicated Linux News 0 03-06-2009 03:12 PM
ATi Catalyst driver 8.1 problem on Slack 10.2 brooky9999 Slackware 5 02-08-2008 09:10 AM

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

All times are GMT -5. The time now is 01:26 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