Linux - SoftwareThis 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
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.
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.
Ok, I've got Ubuntu 64-bit installed on my laptop, and I'm trying to install the Nvidia drivers for my 8700M GT, downloaded from http://www.nvidia.co.uk/object/linux...180.44_uk.html, however I'm having a problem.
I'm opening the terminal and going to my desktop, and typing in the following,
"sudo sh NVIDIA-Linux-x86_64-180.44.pkg2.run" to install the drivers, and the package seems to run ok, then I get an error message saying,
"ERROR: You appear to be running an X server: please exit X before installing"
Now I've tried a method someone suggested of pressing Ctrl+Alt+F1 to enter a virtual console, however when I run it from there I still get the exact same error message, that I appear to be running an X server.
How in the heck can I exit/turn off/disable the X server to install the driver?
UPDATE -
Well I got it working. I went into the virtual console, went in as root using the sudo -s commaned, then typed in "init 3" before returning to attempt and install the Nvidia driver again, and it installed. I'm not actually that sure what I did but....it worked. Though pressing Ctrl+Alt+F7 to get back to the desktop just gives me a message saying "* Reloading system log daemon..." and a blinking cursor....guess I'll have to try a hard restart and hope that works...
UPDATE 2 -
Well I hit Ctrl+Alt+F1 again to go back to the virtual console, and just typed in "shutdown now" to shutdown normally...though now I'm not sure how to check if the drivers actually installed ok....ehehehe....any help? ^^;;
You can check to see if the nvidia module is loaded with
Code:
lsmod | grep nvidia
During the install process the nvidia installer will ask you if you want it to configure your xorg file. If you selected yes you should be up and running with the driver. If not it is not that hard to manually configure.
Well after a few difficulties I think I've got things sorted. The Nvidia driver I downloaded did install correctly, however after I restarted and checked the Hardware menu, it informed me that I wasn't running any Proprietary drivers and gave me the options of driver version 173 or 177. I told it to activate 177, which Ubuntu then downloaded and installed, then I restarted, and for some reason my machine started to only boot in Low Graphics Mode, with an error about a missing module. I randomly clicked through some of the options, with nothing seeming to work, so eventually I just powered off the laptop and went to bed, figuring I'd post for help in the morning, but when I've turned it on this morning, the machine boots fine and informs me that Proprietary drivers are being used to make the computer work properly, and it informs me that a different version of 177 is being used and is activated.
Again, not exactly sure what I did, but my magic touch seems to have got it working, lol.
I downloaded some updates through the update manager, and then it informed me that Nvidia driver version 180 was available, so I clicked activate to download and install it, and I'm back to booting in low graphics mode.
The exact error I get is,
"(EE) Failed to load module "type1" (module does not exist, 0)"
But you were running a proprietary driver. Apt did not recognize it because you installed it manually rather than using the package manager. Then you installed it with the package manager. You may be able to clean it up by uninstalling it via apt with
Code:
sudo apt-get remove --purge nvidia*
and then uninstalling the script you downloaded from nvidia.
Code:
sudo sh NVIDIA-Linux-x86_64-180.44.pkg2.run --uninstall
Then choose which way you want to install the driver. It is typically best to install the ubuntu packages rather than the driver downloaded from nvidia. Don't worry about it. I promise you that you weren't the first one to do this.
Last edited by amishtechie; 04-16-2009 at 04:52 AM.
I ran the commands you suggested and Ubuntu will now boot into Low Graphics Mode with an error saying it can't find anything to do with Nvidia, though before it was booting in a strange way where it only showed part of the screen, and it was split down the middle...kinda hard to describe reall. But now it shows a normal desktop.
However, when I go to Administration -> Hardware Drivers where the Nvidia updates were before, I now find nothing there at all though....oh dear x.x
I've still got the package downloaded from Nvidia, but I don't see a way to get the Ubuntu packages. At least not automatically anyway. Is there a way I can download them manually?
What Version of ubuntu are you running. Jaunty seems to have the new version of x.org that does not use xorg.conf. So everytime I install the nvidia driver it trys to set xorg.conf up for the nvidia driver even though this will not work.
I'd actually re-ran the driver I downloaded from Nvidia before I got a chance to read these posts, and so far it's working fine. It's allowed me to go back to my higher 1650 resolution, and I've got an Nvidia menu in my System now, so things seem to be working fine as is. I think I'll leave it for now since things are stable for the moment, and I'm still learning ^^ (talk about thrown in at the deep end though, lol)
I allows me to make a backup copy of my root folder so everytime i install the nvidia driver i dont have to reinstall it keeps a backup for me. check out grsync which has a GUI. i have actually been using tar mostly to just tar m,y root partition
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.