LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 03-01-2005, 11:34 AM   #1
tjmax
LQ Newbie
 
Registered: Feb 2005
Posts: 13

Rep: Reputation: 0
How To: Install X.Org 6.8 and ATI Proprietary drivers in Mandrake 10.1


This is simply meant as a helping hand to get the ATI drivers working on Mandrake 10.1


Before you install


Make a backup copy of your current xorg.conf file. This is just in case something goes wrong and you need the original one back.

Make sure the following software is already installed on your system:

glibc version 2.2 or 2.3
X.Org 6.8 ** See upgrading X.Org
Kernel source code
Kernel header (include) files
GCC compiler
Make Utility


**Upgrading X.Org to 6.8 in Mandrake 10.1

I do not recommend updating all packages. Do so at your own risk.

Go to Software media manager then add http://rpm.nyvalls.se/10.1/RPMS/ as an HTTP site or Type this in a console. You have to be root to do the installs, type :

Code:
  su
Enter the root password then type:
Code:
   urpmi.addmedia thacs.rpms http://rpm.nyvalls.se/10.1/RPMS with hdlist.cz
Next type

Code:
 urpmi xorg
A list of about 10 packages will be displayed. Choose the package you want to install *Let's just say its xorg-x11* then type:


Code:
 urpmi xorg-x11

A list of Dependency files will display, you need to download these as well, Type Y and hit enter and the packages should install and you have successfully upgraded X.Org to version 6.8





Installing ATI drivers:

Download your flavor of the ATI driver RPM http://ati.com/support/driver.html and place it into a directory of your choice.

Now cd in to the directory you put the ATI Driver rpm package in.

Type

Code:
 rpm -Uh --force <ati_package_name>.rpm
You should see the install run. Next type:

Code:
 fglrxconfig
Answer all the questions as prompted

When asked to generate an xorg.conf file, answer y


Restart and log into X-Windows




Testing and trouble shooting:

To insure the driver is installed type

Code:
 fglrxinfo
Look for the OpenGL vendor string it should say ATI Technologies Inc. If it says MESA Indirect (software) rendering, there are a couple things you need to check.

1) Make sure you have the Kernel source code and the GCC compiler installed, by default they are not.

2) The ATI driver has its own internal AGP management for Intel chipsets. If you don't have an Intel chipset, you may need to change the "UseInternalAGPGART" option to "no" in the device section of the xorg.conf.

If you found you missed a step (like no kernel source code) you can simply reinstall the ATI driver. You should not have to run fglrxconfig unless you feel you made a bad choice in your options.

If everything seems to be fine you can type

Code:
 glxgears
to get a VERY rough framrate benchmark, note it is not a true benchmark but it is good for reference. If everything is working properly you should have a framerate at least 10,000 and up to or over 50,000 depending on your hardware. Mesa drivers are normally 1000 or under.




This information was put together by the posts of several people as well as the instructions for installing from ATI. I mainly just put them into a single post to simplify the install. Please let me know if there are any corrections that need to be done to this How To document.

Last edited by tjmax; 03-01-2005 at 11:54 AM.
 
Old 03-01-2005, 02:09 PM   #2
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
MAKE THIS A STICKY

Thanks for posting a how-to. I really get annoyed seeing the same questions posted 1,000 times about how to get x.org 6.8 or installing ATI drivers. I'm also sick of typing "search the forums". lol
 
Old 03-01-2005, 02:11 PM   #3
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 474Reputation: 474Reputation: 474Reputation: 474Reputation: 474
Better than making it a sticky, TJMax should submit it as a Linux Tutorial. The Tutorials last longer than stickies.
 
Old 03-01-2005, 02:43 PM   #4
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
Quote:
Originally posted by XavierP
Better than making it a sticky, TJMax should submit it as a Linux Tutorial. The Tutorials last longer than stickies.

I didn't even know there was a Linux tutorial section and I've been on this board for awhile! Yes, he should DEFINITELY submit it there!
 
Old 03-01-2005, 03:03 PM   #5
tjmax
LQ Newbie
 
Registered: Feb 2005
Posts: 13

Original Poster
Rep: Reputation: 0
I debated to myself if it would be better as a Linux Tutorial or under the Mandrake forums. I choose the mandrake forums simple due to the fact that the article is focused on a "Mandrake solution" and not really an "Linux solution". Personally, when I searched to find the answer on upgrading the X.Org a couple days ago, I searched specifically in the mandrake forums for the answers, its just where I would expect to find them.


I have however submitted it as a Linux Tutorial now as well. Having it in both places cant hurt after all. 8)
 
Old 03-01-2005, 05:02 PM   #6
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 474Reputation: 474Reputation: 474Reputation: 474Reputation: 474
Cool. It won't show up immediately - all the Mods have to "vet" it first. Just because it's Mandy specific doesn't mean it's of no use and won't be accepted - if a distro has quirks that are not shared by other distros, the Tutorials are the perfect place for them.
 
Old 03-13-2005, 02:10 AM   #7
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
I finally decided to upgrade using the tutorial mentioned. Everything went well except the last part. I installed my ATI drivers and it had no problems. I then typed glxgears and I saw the gears moving and all. Then when I typed fglrxinfo, it turns out it is running the MESA drivers rather than ATI. What could I have possibly done wrong? What should I check for?

**I think I'm onto something. I did it the manual way:

Code:
cd /lib/modules/fglrx/build_mod/
chmod +x make.sh
./make.sh
When I get there, I get this error:

ATI module generator V 2.0
==========================
initializing...
Error:
kernel includes at /usr/src/linux/include do not match current kernel.
they are versioned as ""
instead of "2.6.8.1-12mdk".
you might need to adjust your symlinks:
- /usr/include
- /usr/src/linux

How do I get the include???

Last edited by Micro420; 03-13-2005 at 02:42 AM.
 
Old 03-13-2005, 09:49 AM   #8
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
Your installed kernel does not correspond to your installed kernel-sources hence the error.
 
Old 03-13-2005, 01:02 PM   #9
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
Quote:
Originally posted by opjose
Your installed kernel does not correspond to your installed kernel-sources hence the error.
Problem solved!

I went into my Mandrake control center, uninstalled the kernel-source 2.6.8.1-24mdk. I then went to the INSTALL in the Mandrake control center and *POOF*, I could now install the kernel-source 2.6.8.1-12mdk. I installed it, reinstalled my ATI drivers, and now I am successfully running the new driver version in X.org 6.8!

Last edited by Micro420; 03-13-2005 at 01:41 PM.
 
Old 03-14-2005, 01:50 PM   #10
NutPickle
Member
 
Registered: Mar 2005
Location: Canada
Distribution: Windows XP Professional, Mandriva Linux 2006
Posts: 45

Rep: Reputation: 15
Hello, I was wondering if you could possibly take a look at my other topic: http://www.linuxquestions.org/questi...readid=298399, with a similar problem installing ATI Drivers. It's a lot to read, but please, I have tried everything, and desperately need help!
 
  


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
Howto install the ATI proprietary drivers for Mandrake 10.2 why2jjj Mandriva 36 05-15-2006 02:01 PM
DISCUSSION: How To: Install X.Org 6.8 and ATI Proprietary drivers in Mandrake 10.1 tjmax LinuxAnswers Discussion 15 01-13-2006 11:54 AM
ATi Drivers for X.org! chuck232 Linux - Hardware 2 01-18-2005 01:14 PM
Can't Install ATI Drivers in Mandrake 10 svoltmer Linux - Newbie 4 09-13-2004 11:58 PM
How to install Ati drivers on Mandrake 9.1 !?! PLS HELP roon_x Linux - Hardware 5 10-02-2003 05:27 PM

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

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