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 - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-22-2003, 10:28 PM   #1
Darnaus
LQ Newbie
 
Registered: Sep 2003
Posts: 5

Rep: Reputation: 0
Angry Installing ATI Driver support


Well, my main goal is to be able to play some games on linux. I managed to install winex properly (after a few re installs) and even get the games loaded. But when teh games load, they are slow and choppy and i get like 4fps or less. I asked someone and they said this was probably because of bad graphics configuration. Ditto.

When i do a "glxgears" i get:

bash-2.05b$ glxgears
Xlib: extension "XFree86-DRI" missing on display ":0.0".
477 frames in 5.0 seconds = 95.400 FPS
644 frames in 5.0 seconds = 128.800 FPS
528 frames in 5.0 seconds = 105.600 FPS

so i know my video card is working properly. By the same token, in windows i was using the same video card and getting great fps and playability with the same games.

I am using an ATI Radeon 9000 (not pro).

I went to the ATI website and downloaded the workstation driver (as an rpm -_-) filename: fglrx-glc22-4.3.0-3.2.5.i586.rpm

okay, the first time i did this i thought "shit, rpms cant run in slack" and forgot about it. then i found the rpm command (lol...) and tried it. i got a screen like:

/bin/sh is needed by fglrx-glc22-4.3.0-3.2.5
/bin/sh is needed by fglrx-glc22-4.3.0-3.2.5
/bin/sh is needed by fglrx-glc22-4.3.0-3.2.5
/bin/sh is needed by fglrx-glc22-4.3.0-3.2.5
ld-linux.so.2 is needed by fglrx-glc22-4.3.0-3.2.5
libc.so.6 is needed by fglrx-glc22-4.3.0-3.2.5
libdl.so.2 is needed by fglrx-glc22-4.3.0-3.2.5
libICE.so.6 is needed by fglrx-glc22-4.3.0-3.2.5
libm.so.6 is needed by fglrx-glc22-4.3.0-3.2.5
libpthread.so.0 is needed by fglrx-glc22-4.3.0-3.2.5
libSM.so.6 is needed by fglrx-glc22-4.3.0-3.2.5
libX11.so.6 is needed by fglrx-glc22-4.3.0-3.2.5
libXaw.so.7 is needed by fglrx-glc22-4.3.0-3.2.5
libXext.so.6 is needed by fglrx-glc22-4.3.0-3.2.5
libXmu.so.6 is needed by fglrx-glc22-4.3.0-3.2.5
libXpm.so.4 is needed by fglrx-glc22-4.3.0-3.2.5
libXt.so.6 is needed by fglrx-glc22-4.3.0-3.2.5
/bin/bash is needed by fglrx-glc22-4.3.0-3.2.5
libc.so.6(GLIBC_2.0) is needed by fglrx-glc22-4.3.0-3.2.5
libc.so.6(GLIBC_2.1) is needed by fglrx-glc22-4.3.0-3.2.5
libc.so.6(GLIBC_2.1.3) is needed by fglrx-glc22-4.3.0-3.2.5
libdl.so.2(GLIBC_2.0) is needed by fglrx-glc22-4.3.0-3.2.5
libdl.so.2(GLIBC_2.1) is needed by fglrx-glc22-4.3.0-3.2.5
libm.so.6(GLIBC_2.0) is needed by fglrx-glc22-4.3.0-3.2.5
libpthread.so.0(GLIBC_2.0) is needed by fglrx-glc22-4.3.0-3.2.5

:@. in the install file they had a --nodeps option i could use, so i tried that and it installed! then i ran the flgxconfig and everything went fine. then i closed xfree86, tried to do a startx again...and it wouldnt load. I tried editting config files.. but there were like 8 all over the place... i tried running flgxconfig with all the crap options and still no go. So finally i just did a clean install.. and here i am.

BTW i am using an Flatscreen LCD monitor; i dont know what that does to my horizontal and vertical refresh rates; i didnt think they existed for an LCD monitor. I had a hint that that was what was causing the problem.

Any clues? Sorry for the long post, and i hope someone can help


oh yeah.. running slackware 9.
 
Old 09-23-2003, 10:42 AM   #2
Dert Hunter
LQ Newbie
 
Registered: Sep 2003
Location: Brazil
Distribution: Slackware 9.0
Posts: 6

Rep: Reputation: 0
I never test the winex, but I have the NVidia drivers for X and I get a problem like this.... with mandrake I only edit the XF86Config and rename the driver "nv" to "nvida" and the X starts well... try to get an not RPM version of the ATI driver for linux... maybe it works... the mesaGL driver come with linux is very slow compared to the manufacture's driver...
 
Old 09-23-2003, 05:52 PM   #3
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
Alright, to install those drivers in Slack 9.0 is actually pretty darned easy.

Keep in mind you need to have your kernel sources at /usr/src/linux/
And ditch the rpm tool. instead, use the command:

rpm2tgz fglrx<whatever>.rpm

that will give you a nice .tgz package. run package tool as root to install it

pkgtool
install from the current directory.

it will put the drivers in /lib/modules/fglrx
go to that directory, and then to the subdir build_mod/
run ./make.sh
if that goes ok, then cd ..
./make_install.sh

that oughta do it.

Modify your XF86Config-4 to use fglrx for vidcard driver, and change the default to 24 bit color depth.

Badabing, badaboom.
Youv'e got 3d and your fps from glxgears will look more like 1000-2000.

Good luck
It's pretty easy -- you just need the kernel sources installed.

-Shade

Last edited by Shade; 09-23-2003 at 05:55 PM.
 
Old 09-25-2003, 04:42 AM   #4
Darnaus
LQ Newbie
 
Registered: Sep 2003
Posts: 5

Original Poster
Rep: Reputation: 0
Hi, thanks for your reply shade.

I dont think i have the kernel sources installed where its supposed to be, since when i try ./make.sh it gives me :


bash-2.05b# ./make.sh
ATI module generator V 2.0
==========================
kernel includes at /usr/src/linux/include not found or incomplete
file: /usr/src/linux/include/linux/version.h
bash-2.05b#

so i guess my next question would be, how would i install my kernel to /usr/src/linux? would i be able to just copy it?

thanks again

EDIT:

I did a whereis linux, and went to that directory and copied all the .h files into a directory i made in /usr/src/linux/include and it still didnt work :/

bash-2.05b# whereis linux
linux: /usr/include/linux
bash-2.05b#

is that where its supposed to be?

Last edited by Darnaus; 09-25-2003 at 04:49 AM.
 
Old 10-03-2003, 11:51 PM   #5
LSD
Member
 
Registered: Jan 2003
Location: Northam, W.A., Australia
Distribution: Gentoo ~x86
Posts: 321

Rep: Reputation: 31
You have to download the Slackware 2.4.20 kernel source package from the 'k' directory (which itself will be under slackware-9.0/slackware in the mirros main slackware directory) of your favourite slackware mirror and then install it using either pkgtool or installpkg:

installpkg kernel-source-2.4.20-noarch-5.tgz

That should install the source and create the /usr/src/linux symlink automatically at which point the ATi drivers should find the files it's looking for and compile without further trouble.

edit: Is it possible for a modrerator to sticky the existing ATi drivers topic here, possibly renaming it to reflect the fact the info in it covers virtually all ATi cards and not just the 9700 Pro? This is'nt (edit2: sorry!) meant as an attack on this poster but this seems like a fairly common question and it would help if a source of helpful information on this topic was easily available in the top of the thread list.

Last edited by LSD; 10-04-2003 at 12:10 AM.
 
Old 10-04-2003, 08:50 AM   #6
muppski
Member
 
Registered: Feb 2003
Posts: 149

Rep: Reputation: 15
exuse me but
I have the same problems but solved those and still got some other problem

check my signature link
 
  


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
installing ATI driver - problem tibbar Linux - Hardware 1 12-02-2005 04:07 AM
Installing ATI driver on 10.1 fabre Mandriva 6 08-02-2005 09:48 PM
installing ati driver generate Linux - Software 2 06-12-2005 01:12 AM
New ATI Driver!!!! Need help installing it. . . Hubmasterflex Linux - Hardware 2 06-10-2005 08:04 AM
Trouble in installing ati driver Kami.JZ Linux - Newbie 1 11-25-2004 12:53 PM

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

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