Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
I would try it without the "sh" before the file name. It should be an executable file as is. I have never run the ati-driver-installer with sh. Just make sure the x bit is set and run it as root.
err... are you sure you can run it without sh? Maybe i miss something
[root@silhoutte driver]# ati-driver-installer-9-3-x86.x86_64.run
-bash: ati-driver-installer-9-3-x86.x86_64.run: command not found
I did several things that i couldn't remember the order and in the end i managed to get a higher resolution by (not 100% sure):
- installing an ati rpm driver from livna (ati-fglrx-220.127.116.11-0.lvn.2.3.i386.rpm)
- and this one (kernel-module-fglrx-2.6.12-1.1381_FC3-18.104.22.168-0.lvn.2.3.i586.rpm)
Which i believe two of them should be for Fedora Core 3 not 11, but oh well, at last after that i could set my monitor to higher resolution without 3D accelerator.
I've been running it without sh for years, mate. As long as you're running bash and the x-bit is set, and your running it as root or using sudo, it will work.
Your mistake is that in Linux your current directory is not in your path so you have to run it like this:
If you want to do it via an rpm that's your choice. If you want to run the ATI installer, this is how you do it.
Ok ... my bad i forgot to put ./ before, after i run it without sh i got the same error as if i run it with sh. Below is the full error message
ATI Technologies Linux Driver Installer/Packager
which: no XFree86 in (/usr/lib/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/lib/ccache:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)
Error: ./default_policy.sh does not support version
default:v2:i686:lib::none:22.214.171.124-217.2.3.fc11.i586; make sure that the version is being
correctly set by --iscurrentdistro
Ok, I can't find Fedora 11 listed in the package .... (via --listpkg)
so i tried the latest version available
and get this error
ATI Technologies Linux Driver Installer/Packager
Generating package: Fedora/F10
Please install an appropriate Linux kernel module build package.
The package(s) you need are likely kernel-devel and/or kernel-headers.
If you've compiled a custom kernel, make sure /usr/src/linux exists
and the source tree matches the currently running kernel.
Removing temporary directory: fglrx-install.xhO8GR
My most sincere apologies, as I hate when people say "do this" as if it were a self-standing instruction.
The error message is talking about missing tools. FeBuntu as I generically call the Desktop Distributions, by default, don't come with various tools needed to build packages. (Building packages means taking source code and compiling it, so that it's a binary program, which a computer reads much more quickly than a shells script.)
I would recommend doing the following--this will install several packages, that will, now and in the future, enable you to build most things.
yum install gcc gcc-c++ make automake kernel-devel
This will also pull in several dependencies which is fine. For people who do a lot of developing (that is programming) under different platforms, there's a group called development tools and another called development libraries, but that would probably be overkill in this case.
The error message is saying that your missing some things that it needs to build the driver.
The rpm -q command---the q is for query, and it tells you if a packaqe is installed or not. For example (on a CentOS machine)
rpm -q openssh
gives me an answer of
so I know that I have it installed
If a package isn't installed... so, for example
rpm -q nano
package nano is not installed
That's why I suggested doing rpm -q kernel-devel to see if the error message was correct and that at least part of the problem was that you didn't have the kernel-devel package installed.
I had the same issues with the ATI installer and the same error messages when I tried to run it. I installed the extra packages that scottro11 suggested but still received the same error, plus an error about xfree86 directories not existing. I don't think ATI supports anything after Fedora 10 for the x1200 series (if I read their site correctly), so I didn't think trying to get fglrx via rpm would be any help either.
In the end I installed or radeonhd. This seems to have fixed most my video/card issues. I haven't tried 3D yet.
Last edited by Lekhite; 08-26-2009 at 08:50 AM.