LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 04-15-2009, 05:55 PM   #1
MaxxPower
LQ Newbie
 
Registered: Apr 2009
Posts: 12

Rep: Reputation: 0
Nvidia Driver Problem


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? ^^;;

Last edited by MaxxPower; 04-15-2009 at 06:12 PM.
 
Old 04-15-2009, 06:28 PM   #2
amishtechie
Member
 
Registered: Apr 2004
Distribution: Pop OS
Posts: 130

Rep: Reputation: 17
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.
 
Old 04-16-2009, 02:03 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2021 CentOS7.9 + 50+ other Linux OS, for test only.
Posts: 17,484

Rep: Reputation: 3633Reputation: 3633Reputation: 3633Reputation: 3633Reputation: 3633Reputation: 3633Reputation: 3633Reputation: 3633Reputation: 3633Reputation: 3633Reputation: 3633
You are not stopping X with Ctrl+Alt+F1,
just leaving it temporary.

Either choose 'Console Login' ( Alt+R )
in the 'Menu' , KDM 'Desktop login' .....
or hit # init 3 .

.....
 
Old 04-16-2009, 03:32 AM   #4
MaxxPower
LQ Newbie
 
Registered: Apr 2009
Posts: 12

Original Poster
Rep: Reputation: 0
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.
 
Old 04-16-2009, 04:21 AM   #5
MaxxPower
LQ Newbie
 
Registered: Apr 2009
Posts: 12

Original Poster
Rep: Reputation: 0
Well now back to the problem again....

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)"

So not sure what to do now.... x.x
 
Old 04-16-2009, 04:48 AM   #6
amishtechie
Member
 
Registered: Apr 2004
Distribution: Pop OS
Posts: 130

Rep: Reputation: 17
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.
 
Old 04-16-2009, 05:52 AM   #7
MaxxPower
LQ Newbie
 
Registered: Apr 2009
Posts: 12

Original Poster
Rep: Reputation: 0
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?
 
Old 04-16-2009, 06:54 AM   #8
amishtechie
Member
 
Registered: Apr 2004
Distribution: Pop OS
Posts: 130

Rep: Reputation: 17
Code:
sudo aptitude install envyng-core
sudo envyng -t
Then just select the options you want from the prompts and it will install the nvidia driver and configure your xserver.
 
Old 04-16-2009, 09:34 AM   #9
K420
LQ Newbie
 
Registered: Apr 2006
Location: OBX, NC
Distribution: Arch64
Posts: 29

Rep: Reputation: 15
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.
 
Old 04-16-2009, 03:03 PM   #10
MaxxPower
LQ Newbie
 
Registered: Apr 2009
Posts: 12

Original Poster
Rep: Reputation: 0
I'm using Intrepid I think (8.10)

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)
 
Old 04-16-2009, 03:07 PM   #11
K420
LQ Newbie
 
Registered: Apr 2006
Location: OBX, NC
Distribution: Arch64
Posts: 29

Rep: Reputation: 15
lucky you i have reran that driver numerous times to know prevail. I am now learning to rsync cause i am sick of resetting up my system everytime.
 
Old 04-16-2009, 05:41 PM   #12
MaxxPower
LQ Newbie
 
Registered: Apr 2009
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by K420 View Post
lucky you i have reran that driver numerous times to know prevail. I am now learning to rsync cause i am sick of resetting up my system everytime.
Ack, hope you can get it sorted soon x.x

Though one question, what's rsync?
 
Old 04-16-2009, 05:49 PM   #13
K420
LQ Newbie
 
Registered: Apr 2006
Location: OBX, NC
Distribution: Arch64
Posts: 29

Rep: Reputation: 15
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

Last edited by K420; 04-16-2009 at 05:50 PM.
 
  


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
Nvidia Problem: can't install nvidia driver for FC6 Chuong Linux - Software 7 10-30-2006 04:43 AM
NVIDIA Driver problem naaman_otmani Linux - Software 3 04-02-2006 06:03 AM
Problem with NVIDIA driver Gonto Mandriva 4 04-11-2005 05:33 AM
nvidia fx5600 loads vesa driver instead of nvidia driver saburo62 Linux - Hardware 3 05-04-2004 03:59 PM
driver problem... NVidia psyklops Linux - General 5 11-23-2002 04:51 AM

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

All times are GMT -5. The time now is 11:17 PM.

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