LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 12-21-2006, 10:25 AM   #1
ben909
LQ Newbie
 
Registered: Dec 2006
Posts: 2

Rep: Reputation: 0
Unhappy New graphics card issues - probably simple to solve


Hi

I'd really welcome some advice with this please. I'm sure it's the most simple of problems, but I'm a Linux newbie and haven't managed to find the answer elsewhere.

I have Ubuntu 6.06 and XP on dual-boot. Everything was working perfectly until I switched from an ATI graphics card to an NVidia 8800GTX. I remember having issues with the ATI card but eventually managed to install the right drivers. That was when I still had a gui in which to work though. Now that I have the Nvidia, I never reach the graphical logon screen. Instead I have a textual logon screen. I can enter my username and password, but beyond that I'm stuck.

I'm sure all I need to do is download and install the latest Nvidia drivers, but I have no idea how to go about doing this. Please could someone help?

Many thanks and happy Christmas
 
Old 12-21-2006, 10:45 AM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
First thing to do is to get yourself a gui. From the command line type sudo dpkg-reconfigure xserver-xorg. When it asks you to select a driver, pick either VESA or NV (nvidia). These are both generic drivers that should work with nvidia, but don't have any 3D acceleration like the proprietary drivers you want to install.

Once you get your gui back, you can download the drivers and follow their installation instructions.
 
Old 12-21-2006, 12:18 PM   #3
ben909
LQ Newbie
 
Registered: Dec 2006
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks very much for the advice pljvaldez. I've done that, and am thankfully back at the slightly more familiar gui. I've downloaded the correct driver from nvidia to my Home directory. I've followed the instructions on the nvidia site, but at the beginning of installation, it fails as it says that X Server appears to be running. Predictably, I don't know how to stop it from running. Presumably once I manage to stop, it's just a case of typing the install command again.
Thanks again
 
Old 12-21-2006, 12:53 PM   #4
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
I run Debian (the father of Ubuntu) and to install the nvidia drivers I have to do the following:

Prep:
1) sudo aptitude update && sudo aptitude install build-essential - installs compiling tools
2) uname -a (you should see something like linux-image-2.6.18-1-386 or something like that)
3) apt-cache search linux-headers and look for the one that matches your kernel
4) aptitude install linux-headers-2.6.xx-x-xxx (replace with the one you found in step three) - this installs the kernel headers for compiling.

Now you're ready to install:

1) from a command line type sudo /etc/init.d/gdm stop - this will put you back to a command line only and stop the X server (your current error)
2) change to the directory (cd will change directories) with the Nvidia driver file (NVIDIA-Linux-xxxxxxxxx-pkg1.run)
3) issue the command chmod +x NVIDIA-Linux-xxxxxxxxx-pkg1.run (hint type "chmod +x NV" and then hit the Tab key to complete the filename). This will make the file executable.
4) type sudo sh NVIDIA-Linux-x86-1.0-XXXX-pkg1.run --x-module-path=/usr/lib/xorg/modules
5) Go through the install, let it change xorg.conf. After it's done, type lsmod | grep -i nvidia to see if the module was loaded
6) sudo /etc/init.d/gdm start

And it should boot to a login screen.

If it messes up, you should be able to restart the xserver at anytime prior to it changing your xorg.conf file using the command at step #6. After that, you can just use the reconfigure command I gave you before.

Last edited by pljvaldez; 12-21-2006 at 12:54 PM.
 
Old 12-21-2006, 05:46 PM   #5
fragos
Senior Member
 
Registered: May 2004
Location: Fresno CA USA
Distribution: Ubuntu 10.10
Posts: 1,466

Rep: Reputation: 51
The simplest way to get Nvidia 3D support is to do System-> Administration-> Synaptic. Use the search button to find nvidia-glx and click apply to install. All dependencies are taken care of automatically. This will be a recent driver that has been tested with Ubuntu. I'm not familiar with the 8800 as its a new card so the latest driver may squeeze a little more out of the card.
 
Old 05-13-2009, 12:47 AM   #6
devghai
LQ Newbie
 
Registered: Jul 2006
Location: New Delhi, India
Distribution: Kubuntu 8.10
Posts: 24

Rep: Reputation: 15
Ubuntu repositories do not usually have the latest packages of the software. For Kubuntu 8.10 (on NVIDIA GeForce 9600M GT), we have 180.11 in the repositories while NVIDIA's site has 180.51 as the latest version. We are dealing with a driver in this case which is continually updated. Also, many users have reported that latest driver solves the tearing problem (refer nvforums.com for this). I have experienced the same.
Hence, in my opinion, following pljvaldez's method will give best results for ben909.

Find the driver best suited for you by going to NVIDIA's site.

OOOOOOOOOOOOOOOOOOOPPPPS! Just noticed the date at which the query was posted!

Last edited by devghai; 05-13-2009 at 12:54 AM.
 
  


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
Simple problem but couldn't solve Abulafia_ Programming 9 06-18-2006 11:44 AM
suse 10 and multimedia issues, how do I solve them? Anubis SUSE / openSUSE 4 03-07-2006 08:53 PM
Permissions issues with graphics card Courthold Slackware 2 11-24-2004 01:41 PM
Should I recompile kernel 2.4.7 to remove rivafb in order to solve Nvidia issues? jtp51 Slackware - Installation 2 10-06-2004 11:10 AM
Graphics issues with Intel 82856G Graphics Adapter herrmag Linux - Newbie 1 08-09-2004 02:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 03:49 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