NotebookForums.com › Forums › General Notebook Discussions › Linux & Other OS's › Help with installing ATI drivers with Ubuntu
New Posts  All Forums:Forum Nav:

Help with installing ATI drivers with Ubuntu

post #1 of 18
Thread Starter 
Hi

I've been having some problems installing the "ati-driver-installer-8.28.8.run" file. I read the installation guide on the ATI website. I started off by entering superuser pass. Next I ran the command:
"sh /home/username/Desktop/ati-driver-installer-8.28.8.run"
Everything seemed to run correctly till the end when it reported:
"There were errors during installation. Details can be found in /usr/share/fglrx/fglrx-install.log"
I then opened the log file and found this

"[Message] Kernel Module : Trying to install a precompiled kernel module.
[Message] Kernel Module : Precompiled kernel module version mismatched.
[Error] Kernel Module : No kernel module build environment - please consult readme."

What exactly does "no kernel module build environment" mean. I tried searching this on google and came up empty handed.

Any help would be great.
post #2 of 18
you are making things WAY harder than they have to be. here is my quick and dirty howto.

1. clean up what you messed up. ie find the fglrx folder and there will be an uninstall-fglrx script there or something (do the whereis command to find it)...run that as sudo so that it removes all the crap.

2. "sudo apt-get install fglrx-control" , it will install the ati controller as well as drivers and some dependencies. once thats done....

3. edit your xorg.conf ....device from "ati" to "fglrx" save and exit.

4. reboot the computer.


EDIT: make sure to uncomment the universe and multiverse and all taht good stuff in your sources.list before you do anything.

if you are confused or need a more detailed guide i can write that up for you...

the rrors you're getting are normal. the mismatch comes from the fact that ubuntu does not use standard kernel names, so naturally ati's installer can't find them. the lack of a kernel build environment comes from that by default ubuntu does not include the kernel sources nor required compilers to build the kernel.
post #3 of 18
Thread Starter 
I've followed and understood the steps till #3. I'm not really sure where to find the xorg.conf and what to edit. Also, how would I know if Installed the drivers? Is there a gui for the ati control panel?
post #4 of 18
Follow the right wiki page for your version of Ubuntu at;

http://wiki.cchtml.com/index.php/Ubu...allation_Guide
post #5 of 18
jasn that page is not legit. ok fine i'll specify better on my howto. and yes tehre is a gui for ati controls somewhere.... anyway. step 3:
Code:
sudo gedit /etc/X11/xorg.conf
after you reboot your computer do
Code:
fglrxinfo
if you get something like this you're done. if you get something about MESA...come back here for some more help.
post #6 of 18
Thread Starter 
Yeah, I tried the commands from http://wiki.cchtml.com/index.php/Ubu...allation_Guide and ended up having to reinstall Ubuntu because of a gui error...At least I had hardly done anything so it was not too big of a loss. I'm going to try what abf has said and see how that goes
post #7 of 18
Thread Starter 
Well, I just tried renaming the "ati" part in the xorg.conf file to "fglrx" I decided to try the fglrxinfo command before restarting. Unfortunately, I got some MESA information. Even worse, when I restarted, I can up with some Server X error and was unable to boot the gui for Ubuntu. Back to live boot and reinstallation...
post #8 of 18
the question here is are you sure that you enabled all the repos in sources.list and that you properly installed the fglrx-control as well as everything that comes with it? very crucial step!
post #9 of 18
Thread Starter 
How would I know if I enabled all the repos in the source.list? I followed the guide here https://help.ubuntu.com/community/Repositories/Ubuntu. I started off with going to software properites. I then clicked on add. Within the box that poped up, I checked all four boxes. for all 4 channels. I then proceded to entering superuser and then "sudo apt-get install fglrx-control" I let it down load some stuff. Next I entered the "sudo gedit /etc/X11/xorg.conf" and changed the ati part to fglrx. I have not yet restarted but when I run "fglrxinfo" I still get the

display: :0.0 screen: 0
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.41)

I'm going to restart, but I have a bad feeling there is going to be another Server X error...
post #10 of 18
post #11 of 18
Thread Starter 
Yay! It finaly worked. Thanks abf, seablade, and jasn.
post #12 of 18
Sure, now you remember every single step by heart now to get it to work correctly next time as well right? Good.

HehHeh

Seablade
post #13 of 18
r00bin, for future reference, when you're installing the ati driver never do fglrxinfo before you reboot because even though the new module might be installed, its not running. you need to reboot to load the module before you will get the correct result.
post #14 of 18
modprobe fglrx

Fixes that one

Seablade
post #15 of 18
Quote:
Originally Posted by seablade
modprobe fglrx

Fixes that one

Seablade

actually as of more recent fglrx releases modprobe doesn't cut it anymore...it needs a reboot.
post #16 of 18
I would be amazed that you wouldnt be able to do it without a reboot ABF. I cant think of a single thing it should be doing that would require one to be perfectly honest.

Now wether it is easier to reboot depends on the person.

Seablade
post #17 of 18
it happens. back in the day (like a year ago) after installing fglrx i could have easily modprobed...or restarted xorg by alt+ctrl+backspace....worked fine, you're right. but something is really funky with how the newer fglrx and xorg releases are acting, so now it is required to reboot.
post #18 of 18
Nah it means that getting it running is a bit more involved, a reboot probably isnt nessecary. Very rarely in linux have I run across things that actually required a reboot, and most of them dealt directly with kernel sources that werent compiled, or availiable, as modules.

Seablade
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux & Other OS's
NotebookForums.com › Forums › General Notebook Discussions › Linux & Other OS's › Help with installing ATI drivers with Ubuntu