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 03-21-2010, 08:53 PM   #1
brooky9999
Member
 
Registered: May 2006
Location: Marlow, UK
Distribution: Slackware 12.2
Posts: 232

Rep: Reputation: 30
fglrx on Slackware 13


Hi,

I am trying to install the ATi drivers on my freshly built Slack 13 box.

I have compiled my own 2.6.31 and 2.6.33.1 kernels but both have given me errors.

Under 2.6.31 the drivers fail to compile. After checking dmesg, found an error messages regarding "find_task_by_vpid". Apparently the ATi drivers don't build against that kernel.

So I compiled 2.6.33.1 using the following:

Code:
make
cp System.map /boot/System.map-2.6.33.1
ln -sf /boot/System.map-2.6.33.1 /boot/System.map
make modules_install
cp arch/i386/boot/bzImage /boot/vmlinuz-2.6.33.1
nano /etc/lilo.conf
mkinitrd -k 2.6.33.1 -m ext4:ehci_hcd:uhci_hcd:usbhid -f ext4 -r /dev/cryptvg/root -C /dev/sda2 -L
lilo
These steps always work beautifully.

However now I get the following error when trying to install the ATi 9.8 drivers:

Code:
Error:
kernel includes at /lib/modules/2.6.33.1/build/include do not match current kernel.
they are versioned as ""
you might need to adjust your symlinks:
- /usr/include
- /usr/src/linux
ERROR: i don't have make module
I've never had problems compiling a kernel before.

Does anyone have any suggestions as to where I might have gone wrong? Or better still, how to compile the fglrx driver for Slackware 13?

Many thanks,


~Mark
 
Old 03-22-2010, 01:57 AM   #2
Lucifer4o
Member
 
Registered: Mar 2010
Distribution: Slackware Current
Posts: 63

Rep: Reputation: 17
Fglrx have some problems with kernel 2.6.33. You have to apply patch ...
 
Old 03-22-2010, 03:46 AM   #3
brooky9999
Member
 
Registered: May 2006
Location: Marlow, UK
Distribution: Slackware 12.2
Posts: 232

Original Poster
Rep: Reputation: 30
Hi,

Thanks for your reply. Do you know where I can find the patch?


~Mark
 
Old 03-22-2010, 03:48 AM   #4
Lucifer4o
Member
 
Registered: Mar 2010
Distribution: Slackware Current
Posts: 63

Rep: Reputation: 17
http://www.linuxquestions.org/questi...urrent-796669/

Here you can find patch and info for runing fglrx on current ...
Later today I'll try it on my x32 and I'll post comments ...
 
Old 03-22-2010, 05:04 AM   #5
brooky9999
Member
 
Registered: May 2006
Location: Marlow, UK
Distribution: Slackware 12.2
Posts: 232

Original Poster
Rep: Reputation: 30
Alas, this did not work :-(

All seemed to be going well, but now I get an error saying:

Code:
ld: Relocatable linking with relocations from format elf64-x86-64 (/tmp/fglrx-installer-8.721/lib/modules/fglrx/build_mod/libfglrx_ip.a.GCC4) to format elf32-i386 (/tmp/fglrx-installer-8.721/lib/modules/fglrx/build_mod/fglrx.o) is not supported
make[1]: *** [/tmp/fglrx-installer-8.721/lib/modules/fglrx/build_mod/fglrx.o] Error 1
make: *** [_module_/tmpfglrx-installer-8.721/lib/modules/fglrx/build_mod/] Error 2
make: Leaving directory '/root/linux-2.6.33.1'
I'm thinking that it doesn't like 32-bit.

I'm now going to cry :-(


~Mark
 
Old 03-22-2010, 05:18 AM   #6
brooky9999
Member
 
Registered: May 2006
Location: Marlow, UK
Distribution: Slackware 12.2
Posts: 232

Original Poster
Rep: Reputation: 30
Ok, maybe a slight schoolboy error there on my part.

The package is created, and I install it and everything looks fine. I don't have dual-head, but that is my next thing.

glxgears reports 357 fps... which is pretty lame compared to what it used to be.

I'm not using an xorg.conf, so I need to read-up on how that works.
 
Old 03-22-2010, 06:32 AM   #7
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
You need to create an xorg.conf file in order to use fglrx. You can create one with 'Xorg -configure' and then edit the file that is generated so that it uses the 'fglrx' driver instead of the 'radeon' driver.
 
Old 03-22-2010, 06:34 AM   #8
brooky9999
Member
 
Registered: May 2006
Location: Marlow, UK
Distribution: Slackware 12.2
Posts: 232

Original Poster
Rep: Reputation: 30
Hi Adam,

That isn't an issue - I have the old one from my Slackware 12.2 system. It's configured nicely and uses dual-head.

The issue is getting the fglrx driver to compile... it's having none of it :-(


~Mark
 
Old 03-22-2010, 06:48 AM   #9
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
I thought you said:

Quote:
The package is created, and I install it and everything looks fine.
It should definitely compile against 2.6.31 (and 2.6.32) though I do believe that 2.6.33 still requires patching.

So maybe you should clarify exactly what you've done, exactly what kernel you are using, and exactly what problem you are having.

EDIT: Also, where did you get the version you are using? As far as I know, that version hasn't been officially released and is geared towards users with X server 1.7.*. I have my doubts that it would work on one of the 1.6.* X servers.

Adam

Last edited by adamk75; 03-22-2010 at 07:57 AM.
 
Old 03-24-2010, 05:33 AM   #10
brooky9999
Member
 
Registered: May 2006
Location: Marlow, UK
Distribution: Slackware 12.2
Posts: 232

Original Poster
Rep: Reputation: 30
Hi Adam,

I am using ATI driver versions 9.3, 9.5 and 9.8. If I remember correctly, ATI released all of the above, but then rolled back to 9.3. This now is the only version available.

I tried to compile against kernel 2.6.31, but it failed and reported "find_task_by_vpid" errors in dmesg.

I then compiled kernel 2.6.33.1, and tried to build the ATI drivers against that. This too failed with the following error:

Code:
Error:
kernel includes at /lib/modules/2.6.33.1/build/include do not match current kernel.
they are versioned as ""
Then I followed the article given to me by Lucifer4o. Like I mentioned, the package builds and installs, but if I run lsmod I see no mention of fglrx, and glxgears runs like a 3-legged dog in treacle.

Even if I do get it to work, I'm at a loss with how to configure my dual monitors without an xorg.conf file. But I'm guessing this must be configured some other way and that I just need to RTFM / STFW.

Many thanks,


~Mark
 
Old 03-24-2010, 05:40 AM   #11
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
Catalyst is up to 10.2, not 9.3.

Are you using a non-HD card? If so, you need to use the open source drivers with Slackware 13.0.
 
Old 03-24-2010, 05:42 AM   #12
brooky9999
Member
 
Registered: May 2006
Location: Marlow, UK
Distribution: Slackware 12.2
Posts: 232

Original Poster
Rep: Reputation: 30
Yes it's a non-HD card. I'm using an X1900.

Thank you. I will give them a try.
 
  


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 12.2 and fglrx V4Nelle Slackware 8 06-22-2009 10:32 AM
fglrx driver in slackware 12.2 dasoberdick Slackware 5 04-18-2009 03:33 PM
Slackware 12.2 and compiz on fglrx satori@sanitarium Slackware 1 01-21-2009 05:33 PM
fglrx + slackware 11 delta_simon Linux - Hardware 1 10-22-2007 05:23 PM
Trying to use fglrx in Slackware 9.1... kleptophobiac Slackware 2 11-12-2003 04:02 AM

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

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