LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-01-2005, 02:45 AM   #16
Geoffb
LQ Newbie
 
Registered: Aug 2004
Location: Cape Town, South Africa
Distribution: Fedora Core 4 (2.16.11.1-1369)
Posts: 12

Rep: Reputation: 0

Quote:
Originally posted by hashbrown
Install the kernel-sources package matching your kernel (type uname -r to determine this)
Where would i get the kernel-sources package that match my FC4 2.6.11-1.1369 kernel? Sorry i'm very new at this and i'm learning as i go.
 
Old 08-02-2005, 12:12 PM   #17
hashbrown
LQ Newbie
 
Registered: Jul 2005
Location: Vancouver BC
Distribution: Mandriva 2006
Posts: 28

Rep: Reputation: 15
Ok, so FC4 doesn't do kernel source packages (sorry, I'm a Mandrake user). But you get them from the appropriate SRPM package. You can find the one you need here:

http://rpm.pbone.net/index.php3/stat...69_FC4.src.rpm

(or use 'up2date --get-source kernel' should also work)

Then do the following

# su
# rpm -Uvh kernel-2.6.11-1.1369_FC4.src.rpm

This writes the RPM contents into /usr/src/redhat/SOURCES and /usr/src/redhat/SPECS.

Prepare the kernel sources using the commands:

# cd /usr/src/redhat/SPECS
# rpmbuild -bp --target=noarch kernel.spec

Now move files to /usr/src, which is where most people expect it to be (replace <version> with appropriate number):

# cd /usr/src/redhat/BUILD/kernel-<version>
# mv linux-<version> /usr/src/
# cd /usr/src
# ln -s ./linux-<version> linux

Then follow the previous instructions I provided for compiling the ATI kernel module, and restart X (or reboot).

Hope that works. After doing all the above, if your type 'fglrxinfo', you should get something like:

display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON 9800 Pro Generic
OpenGL version string: 1.3.5140 (X4.3.0-8.14.13)

Last edited by hashbrown; 08-02-2005 at 12:25 PM.
 
Old 08-31-2005, 09:18 AM   #18
perry
Member
 
Registered: Sep 2003
Location: USA & Canada
Distribution: Slackware 12.0
Posts: 978

Rep: Reputation: 30
Quote:
Originally posted by hashbrown
If you're using ATI's drivers from their site, then ...

If it's only 3-d acceleration that's not working (what does is say in your X logs?), then most likely it's because the fglrx module is not kosher with your kernel version. Install the kernel-sources package matching your kernel (type uname -r to determine this) and then do the following:

Build the fglrx kernel module

1. cd /lib/modules/fglrx/build_mod
2. sh make.sh

Install the fglrx kernel module
3. cd /lib/modules/fglrx
4. sh make_install.sh

Cheers.
thanx much

- perry
 
  


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
3D acceleration ATI on suse 10.0 fdahl_009 Linux - Hardware 10 10-30-2005 11:42 AM
3D acceleration, ati mobility U1 microsoft/linux Debian 2 10-11-2005 05:41 PM
ATI 3D acceleration Mad Mardigan Linux - Hardware 1 10-10-2004 09:35 PM
ATI Radeon 3D acceleration White R4bbit Debian 17 11-18-2003 04:06 AM
I still can't use the ATI 3D acceleration with 2.6 kernel... moly82 Linux - Software 0 10-25-2003 07:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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