LinuxQuestions.org
Visit Jeremy's Blog.
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 11-22-2004, 06:43 AM   #1
gotmonkey
Member
 
Registered: Apr 2004
Location: Dearborn, Mi
Distribution: Slackware 10 & Xandros 3
Posts: 62

Rep: Reputation: 15
Kernel 2.6.7, xorg6.7, & ATI 3.14.6 driver HOW-TO


Here is what I did to enable direct rendering on my system. Now mind you, I am no linux guru, I am slightly above ID10T when it comes to linux. I put this together from several different forum posts & credit goes to those people and their hard work.

Hopefully it will work for you as well.

System:
AMD XP3200+ w/2x512mb pc3200
Shuttle sn45g nforce2
ATI 9700pro
xorg 6.7

Section 1: Kernel upgrade
followed instructions in readme on the disc.
also good info on kernel upgrade
http://distrowatch.com/weekly.php?issue=20040628

Installed Kernel 2.6.7 from second cd of slackware distribution.
Installed Kernel Sources from same directory
Installed Kernel modules from same directory
Installed alsa driver from same directory

If you are using ext3 for your root partion:
$ cd /boot

mkinitrd -c -k 2.6.7 -m jbd:ext3 -f ext3 -r /dev/hdb3

modify lilo.conf

image = /boot/vmlinuz-ide-2.4.26
root = /dev/hdb2
label = Linux-2.4
read-only
image = /boot/vmlinuz-generic-2.6.7
initrd = /boot/initrd.gz
root = /dev/hdb2
label = Linux-2.6
read-only

Make sure to modify the bootloader.txt in /boot directory as well.
commit the changes to lilo
$ sbin/lilo

reboot system
boot into kernel 2.6.7

Section 2: ATI driver
Obtain rpm driver from ATI download.
Convert rpm to tgz
$ cd /where/you/put/*.rpm
$ rpm2tgz fglrx-4.3.0-3.14.6.i386.rpm

$ su
$ installpkg fglrx-4.3.0-3.14.6.i386.tgz
$ updatedb
$ cd /lib/modules/fglrx/build_mod
$ sh make.sh
$ cd ..
$ sh make_install.sh

From ATI's site:
http://www.ati.com/support/infobase/4687.html
open up your fstab file and add this line
tmpfs /dev/shm tmpfs defaults 0 0

save and close

$ mount /dev/shm
$ mount | grep "shm"

you should get back
tmpfs on /dev/shm type tmpfs (rw)

reboot system

Login as root
Section 3: Configure driver
$fglrxconfig

go thru your setup
$ cp /etc/X11/xorg.conf xorg.conf.backup (making backups never hurt)
$ cp /etc/X11/XF86Config-4 xorg.conf
$ startx

Section 4: test your driver

Open up a console and run glxgears. depending on your system your scores will vary, you should get something similar.

root@snafu:~# glxgears
13871 frames in 5.0 seconds = 2774.200 FPS
14530 frames in 5.0 seconds = 2906.000 FPS
14531 frames in 5.0 seconds = 2906.200 FPS
14528 frames in 5.0 seconds = 2905.600 FPS
14532 frames in 5.0 seconds = 2906.400 FPS
14531 frames in 5.0 seconds = 2906.200 FPS
14529 frames in 5.0 seconds = 2905.800 FPS
14531 frames in 5.0 seconds = 2906.200 FPS
14530 frames in 5.0 seconds = 2906.000 FPS
Broken pipe

then try fgl_glxgears

root@snafu:~# fgl_glxgears
2704 frames in 5.0 seconds = 540.800 FPS
2856 frames in 5.0 seconds = 571.200 FPS
2850 frames in 5.0 seconds = 570.000 FPS
2866 frames in 5.0 seconds = 573.200 FPS
2849 frames in 5.0 seconds = 569.800 FPS
2866 frames in 5.0 seconds = 573.200 FPS
2854 frames in 5.0 seconds = 570.800 FPS
2836 frames in 5.0 seconds = 567.200 FPS
Broken pipe

If all went well, you should have direct rendering enabled on your system.

Section 5: XV driver fix
If you are not able to use the xv driver in your gxine or mplayer, try this
http://www.linuxquestions.org/questi...ostid=1236827#

As root, open your /etc/X11/xorg.conf file for editing.
Under the fglrx device section, add this line somewhere in the misc. options area.

Option "XaaNoOffscreenPixmaps" "yes"

restart the X server

You should be able to use the xv driver in your video player.

Last edited by gotmonkey; 11-22-2004 at 08:39 AM.
 
Old 12-06-2004, 08:32 AM   #2
gotmonkey
Member
 
Registered: Apr 2004
Location: Dearborn, Mi
Distribution: Slackware 10 & Xandros 3
Posts: 62

Original Poster
Rep: Reputation: 15
Was this helpful to anyone?

I have seen a ton of hits, but no feedback.
 
Old 12-19-2004, 08:05 PM   #3
jwknox
LQ Newbie
 
Registered: Sep 2000
Location: NH
Distribution: Slackware
Posts: 4

Rep: Reputation: 0
Still get just 157 FPS in glxgears with my 9700...direct rendering: no go...using external AGPGART as a module....Thanks for the tut though. Been through this too often with ATI cards to get my hopes up.
 
Old 12-19-2004, 08:29 PM   #4
gotmonkey
Member
 
Registered: Apr 2004
Location: Dearborn, Mi
Distribution: Slackware 10 & Xandros 3
Posts: 62

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by jwknox
Still get just 157 FPS in glxgears with my 9700...direct rendering: no go...using external AGPGART as a module....Thanks for the tut though. Been through this too often with ATI cards to get my hopes up.
External agpgart is what I used as well.

Did you use defaults for the rest of the fglrxconfig?
Did you modify your fstab to include "tmpfs /dev/shm tmpfs defaults 0 0"?
Did you use the driver from the ATI website? 3.14-6?
After the ATI config, did you "cp XFree86.conf xorg.conf"?

What is your system configuration? I am using a nforce2 chipset. I don't know how well it would work on other chipsets. You would think that it would work the same.

Walk me through what you did and we can try to figure it out. I hear ya, ATI drivers are a pain in the ***, There are many people waiting for them to release a good linux driver
 
  


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
ATI driver & SUSE 10.0 riba43 Suse/Novell 36 06-27-2006 08:00 PM
ATI fglrx driver & SUSE 10.0 RC1 riba43 Suse/Novell 2 09-15-2005 11:23 PM
How to make sound works on FreeBSD & mount extended partition & ATI radeon driver Ninja_212 *BSD 3 11-02-2004 06:36 AM
whats the big deal? ATI driver & SuSE arrruken Linux - Distributions 0 03-25-2004 10:08 PM
Help :( ATI driver install & another question Ckret_01 Linux - Newbie 10 03-06-2004 06:08 PM


All times are GMT -5. The time now is 08:07 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration