LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-08-2006, 03:30 PM   #1
Sirgaj
LQ Newbie
 
Registered: Dec 2005
Location: Croatia, Rijeka
Distribution: Slackware 10.2
Posts: 7

Rep: Reputation: 0
problem while installing ati driver...


hi... i'm trying to install ati drivers... but i can't pass last step... i'm using slackware 10.2...

first what i did i downloaded drivers as fglrx-4.3.0-3.9.0.i386.rpm package... than what i had to do was... rpm2tgz fglrx-4.3.0-3.9.0.i386.rpm

next... installpkg fglrx-4.3.0-3.9.0.i386.tgz
than i had to move to directory which was created after installation...
cd /lib/modules/fglrx/build_mod
than in that directory do this...
sh make.sh
than... cd ..
in that directory... sh make_install.sh
next what i had to do was... mv /etc/x11/XF86Config-4 xorg.conf... but i already had xorg.conf so i skipped this step...
last step was... in /etc/rc.d/rc.modules write /sbin/modprobe fglrx

problems are written bellow...
---step when i have to enter sh make_install.sh command i'm warned---

Warning: loading /lib/modules/2.4.31
Quote:
/kernel/drivers/char/drm/fglrx.o will taint the kernel: non-GPL license.
Module fglrx loaded, with warnings done.
---that's first problem---

---next one---
---when i have to write in /etc/rc.d/rc.modules this /sbin/modprobe fglrx---

Quote:
Module dependencies up to date (no new kernel modules found).
/lib/modules/2.4.31/kernel.drivers/char/agp/agpgart.o.gz : init_module: No such device.
/lib/modules/2.4.31/kernel.drivers/char/agp/agpgart.o.gz : Hint: insmod errors can be caused by incorrect module parameters, including invalid
IO or IRQ parameters.
Quote:
You may find more information in syslog or the output from dmesg /lib/modules/2.4.31/kernel.drivers/char/agp/agpgart.o.gz : insmod /lib/modules/2.4.31/kernel.drivers/char/agp/agpgart.o.gz : failed.
/lib/modules/2.4.31/kernel.drivers/char/agp/agpgart.o.gz : insmod agpgart failed.
---end---

can anyone please help me...

Last edited by Sirgaj; 01-08-2006 at 04:41 PM.
 
Old 01-08-2006, 07:02 PM   #2
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,700
Blog Entries: 33

Rep: Reputation: 290Reputation: 290Reputation: 290
Smile You do need to reconfigure XF86Conf.....

QUOTE,.."n that directory... sh make_install.sh
next what i had to do was... mv /etc/x11/XF86Config-4 xorg.conf... but i already had xorg.conf so i skipped this step..."

If you haven't had ati drivers before, you must reconfigure XF86Config or xorg.conf.

Otherwise your system is just going to load the old drivers agian.

Use fglrxconfig fron a console and answer the questions there. the defults answers are highlighted and generally work.

Disable "lock agp locked user pages" (see mine below), too. When you get to "internal agp-gart" chose external. You need to have your motherboard drivers available for this, but it speeds things up a bit if you do use external. Check with this, in a konsole,
"lspci | grep AGP" (without quotes.)

some other tools,
"fglrxinfo" lists properties of the driver

"glxinfo | grep rendering" tells you what driver is being used. (might be mesa)

"lsmod | grep fglrx" shows if modules are loaded or not.

"glxgears" shows frame rate of a simple app as it runs. should be in the thousands if working. 5 second intervals.

"fgl_glxgears" more complex test, look for over 500 , 5 second intervals too. Just for fun, Try using the arrow keys while it's running to turn the cogs within the cube.

The last one won't work if at all if the drivers are not loaded.

PS. you still need to have kernel-sources or headers installed corresponding to the kernel you're using. check with this, "rpm -qa | grep kernel" (for rpm based distros.)

EDIT..The tain kernel warning is normal. The rest is probably because xorg.conf is not done.

OH Yeah, don't forget to restart the system. xorg.conf is run before the GUI starts. ....end of edit

here is a copy of my config. xorg.conf

Section "dri"
Mode 0666
EndSection

Section "Module"
Load "dbe" # Double buffer extension
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection

# This loads the Type1 and FreeType font modules
Load "type1"
Load "freetype"

# This loads the GLX module
Load "glx" # libglx.a
Load "dri" # libdri.a

EndSection

Section "Files"


RgbPath "/usr/X11R6/lib/X11/rgb"

# FontPath "/usr/X11R6/lib/X11/fonts/local/"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"

EndSection

Section "ServerFlags"


EndSection

Section "InputDevice"

Identifier "Keyboard1"
Driver "kbd"

Option "AutoRepeat" "500 30"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"

EndSection

Section "InputDevice"

Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Device" "/dev/input/mice"

EndSection

Section "Monitor"
Identifier "Monitor0"

EndSection

Section "Device"
Identifier "Standard VGA"
VendorName "Unknown"
BoardName "Unknown"

Chipset "4168" # ati 9800 pro
Driver "vga"

EndSection

Section "Device"
Identifier "ATI Graphics Adapter"
Driver "fglrx"
Option "no_accel" "no"
Option "no_dri" "no"
Option "mtrr" "off"
Option "DesktopSetup" "(null)"
Option "ScreenOverlap" "0"
Option "GammaCorrectionI" "0x00000000"
Option "GammaCorrectionII" "0x00000000"
Option "Capabilities" "0x00000000"
Option "CapabilitiesEx" "0x00000000"
Option "VideoOverlay" "on"
Option "OpenGLOverlay" "off"
Option "CenterMode" "off"
Option "PseudoColorVisuals" "off"
Option "Stereo" "off"
Option "StereoSyncEnable" "1"
Option "FSAAEnable" "no"
Option "FSAAScale" "4"
Option "FSAADisableGamma" "no"
Option "FSAACustomizeMSPos" "no"
Option "FSAAMSPosX0" "0.000000"
Option "FSAAMSPosY0" "0.000000"
Option "FSAAMSPosX1" "0.000000"
Option "FSAAMSPosY1" "0.000000"
Option "FSAAMSPosX2" "0.000000"
Option "FSAAMSPosY2" "0.000000"
Option "FSAAMSPosX3" "0.000000"
Option "FSAAMSPosY3" "0.000000"
Option "FSAAMSPosX4" "0.000000"
Option "FSAAMSPosY4" "0.000000"
Option "FSAAMSPosX5" "0.000000"
Option "FSAAMSPosY5" "0.000000"
Option "UseFastTLS" "0"
Option "BlockSignalsOnLock" "on"
Option "UseInternalAGPGART" "no"
Option "ForceGenericCPU" "no"
Option "KernelModuleParm" "agplock=0" # AGP locked user pages: disabled
BusID "PCI:2:0:0" # vendor=1002, device=4e48 ati 9800 pro 128Mb
Screen 0
EndSection

Section "Screen"
Identifier "Screen0"
Device "ATI Graphics Adapter"
Monitor "Monitor0"
DefaultDepth 24
#Option "backingstore"

Subsection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
ViewPort 0 0 # initial origin if mode is smaller than desktop
EndSubsection
EndSection

Section "ServerLayout"

Identifier "Server Layout"

Screen "Screen0"

InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"

EndSection

### EOF ###


Good luck, Glenn

Last edited by GlennsPref; 01-08-2006 at 07:16 PM.
 
Old 01-08-2006, 07:10 PM   #3
RedShirt
Senior Member
 
Registered: Oct 2005
Location: Denver
Distribution: Sabayon 3.5Loop2
Posts: 1,150

Rep: Reputation: 45
Why would you use such a positively ancient installer? 8.20.8 is current, you are using fglrx-4.3.0-3.9.0.i386.rpm?

Try using the current ati installer script to make you a new RPM for Slack, unless there is some reason you want that old one?
 
Old 01-09-2006, 07:23 AM   #4
Sirgaj
LQ Newbie
 
Registered: Dec 2005
Location: Croatia, Rijeka
Distribution: Slackware 10.2
Posts: 7

Original Poster
Rep: Reputation: 0
i fixed everything... thnx...
 
Old 01-09-2006, 05:44 PM   #5
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,700
Blog Entries: 33

Rep: Reputation: 290Reputation: 290Reputation: 290
Excellent. Whats fps are you getting from the tests? just curious.
 
Old 01-10-2006, 05:10 AM   #6
Sirgaj
LQ Newbie
 
Registered: Dec 2005
Location: Croatia, Rijeka
Distribution: Slackware 10.2
Posts: 7

Original Poster
Rep: Reputation: 0
when i'm running a program (for example... right click on desktop -> configure desktop) fps goes to 10 500... and if i let fps just run... without any clicking and doing anything else it is around 3 500... is it ok...
 
Old 01-10-2006, 05:15 AM   #7
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,700
Blog Entries: 33

Rep: Reputation: 290Reputation: 290Reputation: 290
Yep. It's only a simulation, as soon as you switch to another desktop It nolonger has to draw the screen.

All good.
 
Old 01-10-2006, 02:08 PM   #8
Sirgaj
LQ Newbie
 
Registered: Dec 2005
Location: Croatia, Rijeka
Distribution: Slackware 10.2
Posts: 7

Original Poster
Rep: Reputation: 0
ok... thnx for helping...
 
  


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
installing ATI driver - problem tibbar SUSE / openSUSE 1 12-02-2005 04:16 AM
installing ATI driver - problem tibbar Linux - Hardware 1 12-02-2005 04:07 AM
Problem installing ati driver on FC3 kyromaniac Linux - Software 2 02-11-2005 10:12 PM
Problem installing ati driver on FC3 kyromaniac Linux - Hardware 0 02-08-2005 11:10 PM
Keyboard problem after installing ATI driver danotrilogic Linux - Software 1 04-30-2004 12:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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