nVidia drivers problem, black screen after installation

Asked by Cryorus

Hello,

I installed Ubuntu 9.04 today, it is now up to date. Everything goes good till i want to install/activate nVidia graphic drivers. Im doing this with "Hardware controllers" clicking "Activate" button at nVidia 180 (recommended) then, i have to reboot.

After loading screen the problem shows up: Black screen where login screen is supposed to be, thats all. Cannot use keyboard to change to console, nothing.

The only way to get in is with recovery mode with the option xfix.

Im using nVidia 6200.

xorg.conf made while installing nvidia:

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder63) Mon Mar 23 15:33:27 PST 2009

Section "ServerLayout"
    Identifier "Layout0"
    Screen 0 "Screen0"
    InputDevice "Keyboard0" "CoreKeyboard"
    InputDevice "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "Module"
    Load "dbe"
    Load "extmod"
    Load "type1"
    Load "freetype"
    Load "glx"
EndSection

Section "InputDevice"
    # generated from default
    Identifier "Mouse0"
    Driver "mouse"
    Option "Protocol" "auto"
    Option "Device" "/dev/psaux"
    Option "Emulate3Buttons" "no"
    Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier "Keyboard0"
    Driver "kbd"
EndSection

Section "Monitor"
    Identifier "Monitor0"
    VendorName "Unknown"
    ModelName "Unknown"
    HorizSync 28.0 - 33.0
    VertRefresh 43.0 - 72.0
    Option "DPMS"
EndSection

Section "Device"
    Identifier "Device0"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device "Device0"
    Monitor "Monitor0"
    DefaultDepth 24
    SubSection "Display"
        Depth 24
    EndSubSection
EndSection

xorg.conf made by xfix:

# xorg.conf (X.Org 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 xorg.conf manual page.
# (Type "man 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.
#
# Note that some configuration settings that could be done previously
# in this file, now are automatically configured by the server and settings
# here are ignored.
#
# 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 "Device"
 Identifier "Configured Video Device"
EndSection

Section "Monitor"
 Identifier "Configured Monitor"
EndSection

Section "Screen"
 Identifier "Default Screen"
 Monitor "Configured Monitor"
 Device "Configured Video Device"
EndSection

While making the nvidia xorg.conf i get this at console:

Using X configuration file: "/etc/X11/xorg.conf".

VALIDATION ERROR: Data incomplete in file /etc/X11/xorg.conf.
                  Device section "Configured Video Device" must have a Driver
                  line.

Backed up file '/etc/X11/xorg.conf' as '/etc/X11/xorg.conf.backup'
New X configuration file written to '/etc/X11/xorg.conf'

Xorg.0.log attached

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu xorg Edit question
Assignee:
No assignee Edit question
Solved by:
Cryorus
Solved:
Last query:
Last reply:
Revision history for this message
Cryorus (cryorus) said :
#1
Revision history for this message
Cryorus (cryorus) said :
#2
Revision history for this message
Daroczi Krisztián (darkriszty) said :
#3

I have the same problem (Ubuntu 9.04, GF 6600).

Revision history for this message
AmazingMatt (amazingmatt) said :
#4

I also have this problem with an onboard nVidia card.

The problem seems similar to this

https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-180/+bug/324443
and this https://bugs.launchpad.net/ubuntu/+source/usplash/+bug/304136

Which the both suggest using the "nv" driver instead of the "nvidia" driver. I will let you know how i go today.

Revision history for this message
Cryorus (cryorus) said :
#5

Fix:

1.- Install nvidia 180 drivers with Hardware Drivers. DONT reboot.
2.- sudo nvidia-xconfig
3.- sudo gedit /etc/X11/xorg.conf
4.- Add this to Section "Device":

 Option "UseDisplayDevice" "DFP-0"

5.- Reboot
6.- ???????????
7.- PROFIT!!

Revision history for this message
Daroczi Krisztián (darkriszty) said :
#6

I found a solution on a forum: in the file /etc/default/linux-restricted-modules-common change the line DISABLED_MODULES="" to DISABLED_MODULES="nv nvidia".
http://ubuntuforums.org/showthread.php?t=596875

Revision history for this message
AmazingMatt (amazingmatt) said :
#7

Unfortunately the nvidia driver may call your DFP a CRT even if it is an lcd flat panel. And in one case i have encountered a TV 0.o

My solution to this: You can install the older drivers first, which seem to work fine in every case. 1. To discover what identity has been assigned to your display and 2. To generate a fully working xorg.conf which you can backup prior to installing the newest driver, and restoring once it has been installed. You can then boot into the gui and run nvidia-settings, tweaking to your hearts content. :)

If anyone has any troubles with this please post them.

Alternatively you could try Cryorus's method and continue trying different display's till you discover the right one!