problem with Xorg

sktsee sktsee at tulsaconnect.com
Fri Jul 6 22:14:05 UTC 2007


On Fri, 2007-07-06 at 16:40 -0400, Jimmy Wu wrote:
> 
> 
> On 7/6/07, sktsee <sktsee at tulsaconnect.com> wrote: 
>         
>         Am I right in assuming that you've got a graphical display and
>         can login
>         to gnome now?
>         
>         -- 
>         sktsee
>  
>  
> Yes you are; thanks
>  
Good deal. Now we can get to the 3D.

First thing you need to decide is whether you want to use Ubuntu
provided nvidia drivers (1.0-7184) or the one that Nvidia provides that
you've downloaded (1.0-7185). They're both "nvidia" drivers, but Ubuntu
just packages them to relieve the user from going out having to download
and install manually. Right now you've got both on your system with the
Ubuntu version probably in a broken state.

If you go with Ubuntu's version you need to uninstall the Nvidia one.
1. Switch out to a vt by hitting ALT-CTRL-F1
2. Stop gdm 
   $ sudo /etc/init.d/gdm stop
3. Unload nvidia kernel module
   $ sudo modprobe -r nvidia
4. Uninstall Nvidia driver (1.0-7185)
   $ sudo nvidia-installer --uninstall
5. Check package database for broken packages
   $ sudo apt-get check
   $ sudo apt-get clean
6. Assuming no errors with step 5 proceed with reinstalling
linux-restricted-modules and nvidia-glx-legacy
   $ sudo apt-get install --reinstall linux-restricted-modules-`uname-r`
   $ sudo apt-get install --reinstall nvidia-glx-legacy
7. If step 6 is successful 
   $ sudo nvidia-glx-config enable
8. Load nvidia kernel module
   $ sudo modprobe -v nvidia
9. Start gdm
   $ sudo /etc/init.d/gdm start
Hopefully it's working

If you decide to go with Nvidia's provided driver and install manually:
For this part you can be in X and use Synaptic to uninstall packages.
1. Using Synaptic, completely uninstall nvidia-glx-legacy 

2. (optional) Using Synaptic completely uninstall the
linux-restricted-modules package  Technically, if you aren't using any
of the provided kernel drivers in linux-restricted-modules then it
should be safe to uninstall. If your aren't sure then leave it.

3. If you skipped step 2 then proceed to
edit /etc/default/linux-restricted-modules-common and put the
DISABLED_MODULES="nv" line at the bottom.

4. Stop X
  (repeat 1, 2 and 3 from first section)

5. Install nvidia package

For reference on manual install check this link. 
https://help.ubuntu.com/community/NvidiaManual

6. Restart gdm

Hopefully it'll work.

-- 
sktsee







More information about the ubuntu-users mailing list