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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
02-19-2006, 06:29 AM
|
#1
|
Member
Registered: Dec 2005
Location: Portugal
Distribution: Slackware64 13.0, Slackware64 13.1
Posts: 538
Rep:
|
Installing ATI linux drivers
hi,
i have an ATI Radeon 9250, and i downloaded the new drivers to install on my linux system. i'm using vector linux 5.1 soho. anyway, after running the rpm package installer, iget a whole list of dependencies that the drivers need to install:
Code:
<home/easuter/MyDocs/Downloaded/fglrx_6_8_0-8.22.5-1.i386.rpm';echo RESULT=$?
error: Failed dependencies:
/bin/sh is needed by fglrx_6_8_0-8.22.5-1
ld-linux.so.2 is needed by fglrx_6_8_0-8.22.5-1
libc.so.6 is needed by fglrx_6_8_0-8.22.5-1
libdl.so.2 is needed by fglrx_6_8_0-8.22.5-1
libexpat.so.0 is needed by fglrx_6_8_0-8.22.5-1
libfontconfig.so.1 is needed by fglrx_6_8_0-8.22.5-1
libfreetype.so.6 is needed by fglrx_6_8_0-8.22.5-1
libgcc_s.so.1 is needed by fglrx_6_8_0-8.22.5-1
libICE.so.6 is needed by fglrx_6_8_0-8.22.5-1
libm.so.6 is needed by fglrx_6_8_0-8.22.5-1
libpthread.so.0 is needed by fglrx_6_8_0-8.22.5-1
libSM.so.6 is needed by fglrx_6_8_0-8.22.5-1
libstdc++.so.5 is needed by fglrx_6_8_0-8.22.5-1
libX11.so.6 is needed by fglrx_6_8_0-8.22.5-1
libXcursor.so.1 is needed by fglrx_6_8_0-8.22.5-1
libXext.so.6 is needed by fglrx_6_8_0-8.22.5-1
libXft.so.2 is needed by fglrx_6_8_0-8.22.5-1
libXinerama.so.1 is needed by fglrx_6_8_0-8.22.5-1
libXmu.so.6 is needed by fglrx_6_8_0-8.22.5-1
libXrandr.so.2 is needed by fglrx_6_8_0-8.22.5-1
libXrender.so.1 is needed by fglrx_6_8_0-8.22.5-1
libXt.so.6 is needed by fglrx_6_8_0-8.22.5-1
libXxf86vm.so.1 is needed by fglrx_6_8_0-8.22.5-1
libz.so.1 is needed by fglrx_6_8_0-8.22.5-1
librt.so.1 is needed by fglrx_6_8_0-8.22.5-1
libc.so.6(GLIBC_2.0) is needed by fglrx_6_8_0-8.22.5-1
libc.so.6(GLIBC_2.1) is needed by fglrx_6_8_0-8.22.5-1
libc.so.6(GLIBC_2.1.3) is needed by fglrx_6_8_0-8.22.5-1
libc.so.6(GLIBC_2.2) is needed by fglrx_6_8_0-8.22.5-1
libdl.so.2(GLIBC_2.0) is needed by fglrx_6_8_0-8.22.5-1
libdl.so.2(GLIBC_2.1) is needed by fglrx_6_8_0-8.22.5-1
libgcc_s.so.1(GCC_3.0) is needed by fglrx_6_8_0-8.22.5-1
libgcc_s.so.1(GLIBC_2.0) is needed by fglrx_6_8_0-8.22.5-1
libm.so.6(GLIBC_2.0) is needed by fglrx_6_8_0-8.22.5-1
libm.so.6(GLIBC_2.1) is needed by fglrx_6_8_0-8.22.5-1
libm.so.6(GLIBC_2.2) is needed by fglrx_6_8_0-8.22.5-1
libpthread.so.0(GLIBC_2.0) is needed by fglrx_6_8_0-8.22.5-1
libpthread.so.0(GLIBC_2.1) is needed by fglrx_6_8_0-8.22.5-1
librt.so.1(GLIBC_2.2) is needed by fglrx_6_8_0-8.22.5-1
libstdc++.so.5(GLIBCPP_3.2) is needed by fglrx_6_8_0-8.22.5-1
RESULT=1
i mean, i dont even know where to start!
any help is realy, realy appreciated
|
|
|
02-19-2006, 07:36 AM
|
#2
|
Member
Registered: Apr 2005
Location: England
Distribution: Arch Linux
Posts: 223
Rep:
|
An option can be passed to rpm to prevent dependencies.
Something like:
rpm -i [packagename.rpm] --no-deps
I think.
Look at the rpm man page:
man rpm
--
Kourosh
|
|
|
02-19-2006, 07:41 AM
|
#3
|
Member
Registered: Oct 2005
Location: UK
Distribution: Mint
Posts: 258
Rep:
|
I have issues with ATI drivers, but not this one. It looks much as if all those library files are either Xfree86 or X.org related. Vector Linux is (damn fast!) small Slackware based, and uses Xfree86 3.3.5, and glibc 2.0.
It is entirely possible that ATI's driver, (which I consider to be Linux-hostile anyway" may expect later libraries. While I don't have enough info to risk being seriously disparaging (yet), my experience with NVIDIA driver and cards has been better, esp. regarding delivered video bandwidth.
|
|
|
02-19-2006, 07:49 AM
|
#4
|
Member
Registered: Oct 2005
Location: UK
Distribution: Mint
Posts: 258
Rep:
|
Let's update that...
Vector Linux 5.1-SOHO uses XFree86 4.5 and glibc 2.3.6
Sorry - It was a little fumble.
As it happens, I will be trying to rework a previous mangled Vector Linux,
and I have the (somewhat despised) Radion6200 card around. I will be trying it out, but I need a little handholding first.
|
|
|
02-19-2006, 08:51 AM
|
#5
|
Member
Registered: Dec 2005
Location: Portugal
Distribution: Slackware64 13.0, Slackware64 13.1
Posts: 538
Original Poster
Rep:
|
well, i did the following:
converted the rpm package to a.tgz package and used the 'installpkg' comand to install it.
it seems to have installed, because no error ocurred when i ran the command.
now, when i open my xorg file, averything seems to be the same, even after the instalation!
please help me out here, i've been at this for days now lol
|
|
|
02-19-2006, 09:26 AM
|
#6
|
Member
Registered: Apr 2005
Location: England
Distribution: Arch Linux
Posts: 223
Rep:
|
There is a configuration program, run:
aticonfig
If this doesn't work, try:
fglrxconfig
|
|
|
02-19-2006, 11:03 AM
|
#7
|
Member
Registered: Dec 2005
Location: Portugal
Distribution: Slackware64 13.0, Slackware64 13.1
Posts: 538
Original Poster
Rep:
|
ok, great, i think its almost done, but.....when i inspected the xorg file, there are two entries refering to the graphics card, take a look:
Code:
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "aticonfig Screen 0" 0 0
InputDevice "Trust_Keyboard" "CoreKeyboard"
InputDevice "Trust_Mouse" "CorePointer"
EndSection
Section "Files"
EndSection
Section "Module"
Load "freetype"
# Load "xtt"
Load "extmod"
Load "glx"
Load "dri"
Load "dbe"
Load "record"
Load "xtrap"
Load "type1"
Load "speedo"
EndSection
Section "InputDevice"
Identifier "Trust_Mouse"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/mouse"
Option "Buttons" "5"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
Identifier "Trust_Keyboard"
Driver "keyboard"
Option "XkbModel" "pc101"
Option "XkbLayout" "pt"
EndSection
Section "Monitor"
Identifier "Samtron_76E"
HorizSync 31.5 - 79.0
VertRefresh 40.0 - 150.0
EndSection
Section "Monitor"
Identifier "aticonfig Monitor 0"
EndSection
Section "Device"
Identifier "ATI_Radeon_9250"
Driver "ati"
EndSection
Section "Device"
Identifier "ATI Graphics Adapter 0"
Driver "fglrx"
BusID "PCI:1:0:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "ATI_Radeon_9250"
Monitor "Samtron_76E"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x1024" "1280x960" "1152x864" "1024x768" "800x600"
EndSubSection
EndSection
Section "Screen"
Identifier "aticonfig Screen 0"
Device "ATI Graphics Adapter 0"
Monitor "aticonfig Monitor 0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
am i supposed to delete one of them, so as to only have the entry that aticonfig created? and isnt the busid supposed to be PCI:1:0:1 instead?
thanx for your help so far, its been a realy great help
ps: oh yeah, aticonfig runs, but fglrxconfig doesnt. iget the unknown command when trying to run it
Last edited by easuter; 02-19-2006 at 11:41 AM.
|
|
|
02-19-2006, 12:59 PM
|
#8
|
LQ Newbie
Registered: Feb 2006
Posts: 1
Rep:
|
Not 100% sure, but I think aticonfig is the replacement for fglrxconfig, so that's probably why you can't find it...
But you're doing better than me, the ati installer won't run - it can't find Xorg (slackware puts xorg in /usr/X11/bin ) Anyone got the driver installed in Slackware? Vampirite, which ati installer did you use, and could you post xorg.conf so I could copy settings?
Completely agree re Nvidia, wish I'd bought another nv instead of ati.
|
|
|
02-19-2006, 01:04 PM
|
#9
|
Member
Registered: Apr 2005
Location: England
Distribution: Arch Linux
Posts: 223
Rep:
|
easuter:-
ATI website says aticonfig was in all the new packages, fglrxconfig wasn't included in new versions. I just posted it incase you had a different version.
Did aticonfig EDIT the xorg.conf or CREATE a new one?
If it created a new one, I would try and see if it works with no problem.
If it edited it, I do not know, I assume it should just work, try running X with startx, if it works, I think you should leave it, if it doesn't, post the error.
tony@tugela:-
My Graphics card was too old, unsupported by ATI. However, ATI says DRI provides drivers for mine.
I looked into it, and realised mostly everything was done for me, I just edited my xorg.conf to follow this: (only parts of it shown)
Code:
...
Section "Module"
Load "dri"
Load "glx"
...
EndSection
...
Section "Device"
Driver "r128"
...
EndSection
...
Section "dri"
Mode 0666
EndSection
And it worked.
If you post your Graphics Card, I might be able to help more, newer ones should use ATI's drivers, ones like mine should work like mine.
I completely agree, NVIDIA for my next computer.
Last edited by Vampirite; 02-19-2006 at 01:13 PM.
|
|
|
02-19-2006, 03:06 PM
|
#10
|
Member
Registered: Dec 2005
Location: Portugal
Distribution: Slackware64 13.0, Slackware64 13.1
Posts: 538
Original Poster
Rep:
|
i have a radeon 9250 256mb
|
|
|
02-19-2006, 04:13 PM
|
#11
|
Member
Registered: Sep 2004
Location: Florida
Distribution: Slackware, VectorLinux, FreeBSD,Xubuntu
Posts: 69
Rep:
|
I just wanted to post my experience since I just got the ATI drivers installed on my system running Vector Linux 5.1 Std. I have a Radeon 9600 256 MB card installed. Here is what I did:
Download ati-driver-installer-8.22.5-i386.run from ATI's website and run as root.
Code:
# ./ati-driver-installer-8.22.5-i386.run
chose automatic install.
then ran
# /usr/X11R6/bin/aticonfig --initial
flgrx files were installed to /lib/modules/fglrx, so I did
Code:
# cd /lib/modules/fglrx/build_mod
# ./make.sh
# cd ..
# ./make_install.sh
I don't think the ./make.sh step is necessary, but I'm used to compiling the ATI driver so it is habit.
I had some problems getting the 3D acceleration to work so I recompiled the kernel to include agpgart as a module and not compile it into the kernel. I also included the nvidia-agp module since my motherboard uses an nForce2 chip. Here are the importtant options (borrowed from another ATI how-to):
Code:
- Processor type and features
-[*] MTRR (Memory Type Range Register) support
- Loadable module support
-[*] Enable loadable module support
-[*] Kernel module loader support
- Character devices
- <M> /dev/agpgart (AGP Support)
-[*] NVIDIA chipset support
- [ ] Direct Rendering Manager (XFree86 DRI support)
After recompiling, I re-compiled/re-intalled the fglrx drivers with the code above. After all of that, I added the following to my /etc/rc.d/rc.modules file:
Code:
/sbin/modprobe agpgart
/sbin/modprobe nvidia-agp
/sbin/modprobe fglrx
After rebooting, everything seemed to work just fine. Here is my xorg.conf just for reference:
Code:
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "aticonfig Screen 0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
ModulePath "/usr/X11R6/lib/modules"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/TTF/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/CID/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection
Section "Module"
Load "record"
Load "extmod"
Load "dbe"
Load "dri"
Load "glx"
Load "xtrap"
Load "freetype"
Load "type1"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbLayout" "us"
Option "XkbModel" "pc101"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/mouse"
Option "ZAxisMapping" "4 5"
EndSection
Section "Monitor"
#DisplaySize 360 270 # mm
Identifier "Monitor0"
VendorName "DEL"
ModelName "DELL M990"
HorizSync 30.0 - 96.0
VertRefresh 50.0 - 160.0
Option "DPMS"
EndSection
Section "Monitor"
Identifier "aticonfig Monitor 0"
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
Option "NoAccel" "no" # [<bool>]
#Option "SWcursor" # [<bool>]
#Option "Dac6Bit" # [<bool>]
#Option "Dac8Bit" # [<bool>]
#Option "BusType" # [<str>]
#Option "CPPIOMode" # [<bool>]
#Option "CPusecTimeout" # <i>
Option "AGPMode" "8" # <i>
#Option "AGPFastWrite" # [<bool>]
#Option "AGPSize" # <i>
#Option "GARTSize" # <i>
#Option "RingSize" # <i>
#Option "BufferSize" # <i>
#Option "EnableDepthMoves" # [<bool>]
#Option "EnablePageFlip" # [<bool>]
#Option "NoBackBuffer" # [<bool>]
#Option "PanelOff" # [<bool>]
#Option "DDCMode" # [<bool>]
#Option "MonitorLayout" # [<str>]
#Option "IgnoreEDID" # [<bool>]
#Option "UseFBDev" # [<bool>]
#Option "VideoKey" # <i>
#Option "MergedFB" # [<bool>]
#Option "CRT2HSync" # [<str>]
#Option "CRT2VRefresh" # [<str>]
#Option "CRT2Position" # [<str>]
#Option "MetaModes" # [<str>]
#Option "MergedDPI" # [<str>]
#Option "NoMergedXinerama" # [<bool>]
#Option "MergedXineramaCRT2IsScreen0" # [<bool>]
#Option "DisplayPriority" # [<str>]
#Option "PanelSize" # [<str>]
#Option "ForceMinDotClock" # <freq>
#Option "RenderAccel" # [<bool>]
#Option "SubPixelOrder" # [<str>]
#Option "ShowCache" # [<bool>]
#Option "DynamicClocks" # [<bool>]
Option "no_dri" "no"
Identifier "Card0"
Driver "ati"
VendorName "ATI Technologies Inc"
BoardName "RV350 AQ [Radeon 9600]"
BusID "PCI:2:0:0"
EndSection
Section "Device"
Identifier "ATI Graphics Adapter 0"
Driver "fglrx"
Option "(null)"
Option "UseInternalAGPGART" "off"
BusID "PCI:2:0:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 1
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "Screen"
Identifier "aticonfig Screen 0"
Device "ATI Graphics Adapter 0"
Monitor "aticonfig Monitor 0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1600x1200" "1280x1024" "1024x768" "800x600"
EndSubSection
EndSection
Section "dri"
Mode 0666
EndSection
Hope this helps.
|
|
|
02-19-2006, 04:40 PM
|
#12
|
Member
Registered: Dec 2005
Location: Portugal
Distribution: Slackware64 13.0, Slackware64 13.1
Posts: 538
Original Poster
Rep:
|
well, i ran the installer and everything seemed to be ok, but right at the end, it said that there had been errors during the instalation (how surprising...) and that they were saved in a a log file in the fglrx folder.
so here is whats in the log:
Code:
[Warning] Driver : can't switch OpenGL library support to XFree86 4.x.x DRI method
[Warning] : because package xf86_glx-4.*.i386.rpm is not installed.
[Warning] : please install and run switch2xf86_glx afterwards.
[Message] Kernel Module : Trying to install a precompiled kernel module.
[Message] Kernel Module : Precompiled kernel module version mismatched.
[Message] Kernel Module : Found kernel module build environment, generating kernel module now.
ATI module generator V 2.0
==========================
initializing...
cleaning...
patching 'highmem.h'...
assuming new VMA API since we do have kernel 2.6.x...
doing Makefile based build for kernel 2.6.x and higher
make -C /lib/modules/2.6.13/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/linux-2.6.13'
WARNING: Symbol version dump /usr/src/linux-2.6.13/Module.symvers
is missing; modules will have no dependencies and modversions.
CC [M] /lib/modules/fglrx/build_mod/2.6.x/agp3.o
In file included from include/asm/fixmap.h:27,
from include/asm/pgtable.h:17,
from include/linux/mm.h:36,
from include/asm/pci.h:7,
from include/linux/pci.h:919,
from /lib/modules/fglrx/build_mod/2.6.x/agp3.c:66:
include/asm/acpi.h:31:28: acpi/pdc_intel.h: No such file or directory
make[2]: *** [/lib/modules/fglrx/build_mod/2.6.x/agp3.o] Error 1
make[1]: *** [_module_/lib/modules/fglrx/build_mod/2.6.x] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.13'
make: *** [kmod_build] Error 2
build failed with return value 2
[Error] Kernel Module : Failed to compile kernel module - please consult readme.
now what?
all i know is that i'm never getting an ati card ever again...anyway, while this one is working i guess i have to try to get it up and running.
thanx for being pacient with me, realy apreciate it.
ps: if you need to look at my xorg filejust ask
Last edited by easuter; 02-19-2006 at 05:26 PM.
|
|
|
02-20-2006, 02:46 AM
|
#13
|
Member
Registered: Dec 2005
Location: Portugal
Distribution: Slackware64 13.0, Slackware64 13.1
Posts: 538
Original Poster
Rep:
|
anyone?? 
|
|
|
02-20-2006, 10:07 AM
|
#14
|
Member
Registered: Dec 2002
Location: Qc, Canada
Distribution: CRUX
Posts: 317
Rep:
|
Well, failed dependencies is usually a good indication that your system is missing something.
I don't know Vector and haven't used Slack in ages but it seems to me you are missing,
the kernel sources or at least the kernel headers [...or both],
some -devel pkges like X11-devel or something similar and others possibly.
Install the most obvious and see if/what error remains.
HTH
|
|
|
02-20-2006, 11:57 AM
|
#15
|
Member
Registered: Apr 2005
Location: England
Distribution: Arch Linux
Posts: 223
Rep:
|
Well, obviously the Kernel Module isn't compiling, you will need things like UnTamed said above.
Slackware Kernel Headers don't work good on my system, well I couldn't compile the vmmon module for VMWare using them, so I assume they are not too good, plus the Slackware FTP says they are not good.
However you are using Vector Linux, so it should be different...I assume.
Just so you know, to test my system to see if it had worked, I used kinfocenter -> OpenGL.
|
|
|
All times are GMT -5. The time now is 12:29 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|