|
X hangs ONLY after reboot, after SUCCESSFUL nvidia install in Kubuntu
Hi, using Kubuntu(dapper), installed the nvidia driver from their site, followed the directions found here (I tried to post a link, but they won't let me, so I cut and pasted it onto the end of this post.)
When I restart x, everything works great, nvidia splash screen is present, I can play tux racer, all is peachy. I can stop x, and restart it, and everything still works. BUT, when I reboot, x hangs on the kubuntu splash screen, no nvidia splash screen any more. If I log in on ctrl-alt-F2, stop x, rerun the nvidia installer, start x, every thing is great, until the next reboot. I'm using kernel 2.6.15-27-386, and the nvidia driver was NFORCE-Linux-x86-1.0-0310-pkg1
I have a geforce 6500, pci express, if that matters.
Here is my xorg.conf file, if that'll help.
Thanks in advance...
David
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder3) Tue Aug 1 21:11:12 PDT 2006
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen" 0 0
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
EndSection
Section "Files"
# path to defoma fonts
FontPath "/usr/share/X11/fonts/misc"
FontPath "/usr/share/X11/fonts/cyrillic"
FontPath "/usr/share/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/X11/fonts/Type1"
FontPath "/usr/share/X11/fonts/100dpi"
FontPath "/usr/share/X11/fonts/75dpi"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection
Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "nvidia"
Load "vbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection
Section "InputDevice"
# /dev/input/event
# for USB
Identifier "stylus"
Driver "wacom"
Option "Device" "/dev/wacom" # Change to
Option "Type" "stylus"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "InputDevice"
# /dev/input/event
# for USB
Identifier "eraser"
Driver "wacom"
Option "Device" "/dev/wacom" # Change to
Option "Type" "eraser"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "InputDevice"
# /dev/input/event
# for USB
Identifier "cursor"
Driver "wacom"
Option "Device" "/dev/wacom" # Change to
Option "Type" "cursor"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "Monitor"
Identifier "SDM-S51"
Option "DPMS"
EndSection
Section "Device"
Identifier "NVIDIA Corporation NV40 [GeForce 6200?]"
Driver "nvidia"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "NVIDIA Corporation NV40 [GeForce 6200?]"
Monitor "SDM-S51"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "720x400" "640x480"
EndSubSection
EndSection
Ok, here are the instructions I followed....
Installing nvidia
OK, so here's how to install the nvidia drivers (so Tux will work!!)
Download the installer from this page according to your architecture (32bit or 64bit)
nvidia.com/object/
Make sure you have the kernel headers of your current kernel installed. If not, you can install them following these steps:
Open either Terminal or Konsole and type:
uname -r (this will tell you the name and version of the kernel you are using)
Open either Synaptic or Kynaptic, click "Search" button and put "header" in the search field. You will see a list of files, find "linux-headers-the name you got from uname -r". For example if your kernel is "2.6.10-5-386", the headers will be "linux-headers-2.6.10-5-386". Click on the files and select "Mark for installation", click Apply.
1) uninstall nvidia-glx (if you don't have it just go to step 2)
2) remove the file manually:
sudo rm /etc/init.d/nvidia-glx
3) sudo apt-get install gcc (just in case)
ctl-alt-f1 (so as to get to the command line)
login with your username and password (if required)
sudo /etc/init.d/gdm stop (or "kdm stop" if you use KDE)
cd “directory where you have the nvidia installer”
If you have Ubuntu 64bit type: **
sudo sh NVIDIA-Linux-x86_64-1.0-7667-pkg2.run
Otherwise if you have Ubuntu 32 bit type:
sudo sh NVIDIA-Linux-x86-1.0-7667-pkg2.run
If you have Ubuntu 64bit you can't install OpenGL32bit compatibility libraries, so when the installer asks whether to install it just answer no.
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_backup
sudo nano /etc/X11/xorg.conf
scroll the file down until you find the line with “Modules” and comment out (by putting a "#" before the line) the 2 lines I put in blue and add Load "glx". It should look like the example below:
Section "Module"
Load "bitmap"
Load "dbe"
Load "ddc"
#Load "dri"
#Load “GLcore”
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "record"
Load "type1"
Load "vbe"
Then find the section Device and make sure the word I put in red is “nvidia”:
Section "Device"
Identifier "NVIDIA Corporation NV40 [GeForce 6200 TurboCache]"
Driver "nvidia"
BusID "PCI:1:0:0"
Save & Exit.
/etc/init.d/gdm start (or "kdm start" if you use KDE)
Now you have installed the new nvidia driver.
If you want a "control panel" which shows the settings of your card you might want to install "Nvidia-settings" (this part of the guide has been taken from the Unofficial Ubuntu Starter Guide) although they driver works fine also without it (the choice it's up to you).
Open Terminal or Konsole and type
sudo apt-get install nvidia-settings
sudo gedit /usr/share/applications/NVIDIA-Settings.desktop (you can use "kate" instead of "gedit" in KDE)
Insert the following lines into the new file:
[Desktop Entry]
Name=NVIDIA Settings
Comment=NVIDIA Settings
Exec=nvidia-settings
Icon=
Terminal=false
Type=Application
Categories=Application;System;
Save & exit.
Restart your computer
|