Unable to launch X-server after nvidia driver install

Hi,
I am a newbie here. I installed open suse 11.0 and it did so correctly. However I wanted to install drivers for my nvidia GeForce 7050/nForce610i chipset. I followed the instruction as per given on this link(i.e. via Yast2 using Nvidia repositories). It did some updation and then asked to reboot.

After reboot I got two options more on Grub screen:
Open Suse 11.0-2.6.25.20-0.1
Open Suse 11.0-2.6.25.20-0.1(Failsafe)

However both options fail to load graphical screen>:(.
I tried sax2 -r but it also failed saying that failed to start X service. No such service running. I also tried startx but no use.
I am attaching my Xorg0.log file:
Xorg0.log file(vga for screen part):

(II) Setting vga for screen 0.
(**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
(==) NVIDIA(0): RGB weight 888
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(**) NVIDIA(0): Enabling RENDER acceleration
(II) NVIDIA(0): Support for GLX with the Damage and Composite X extensions is
(II) NVIDIA(0):     enabled.
(EE) NVIDIA(0): Failed to load the NVIDIA kernel module!
(EE) NVIDIA(0):  *** Aborting ***
(II) UnloadModule: "nvidia"
(II) UnloadModule: "wfb"
(II) UnloadModule: "fb"
(EE) Screen(s) found, but none have a usable configuration.

Fatal server error:
no screens found

Please help.:frowning:

This should get you using vesa and enable you to run the Yast - Hardware- Graphics and Monitor with a UI:

Pause the boot by moving the down arrow, then back up to the default boot. But now press backspace, it should delete any text where you can see VGA.
Remove all text and now type just the number:
3
and hit enter
at the login type your user name and then password
now type:
su
then the root password
now type this:
sax2 -r -m 0=vesa
(N.B. the 0 is a zero not a letter)
now reboot
if you don’t get a gui login
login as user and try this at the cli
startx

Thanks caf4926!
Able to get to KDE screen now.:slight_smile: Can you just explain or give some link to what happened? Are the drivers installed now? It shows name of my chipset in hardware menu. However higher resolutions are still unavailable:).Again thanks for your help.<:)

Possibly a kernel update did this.
Go to Yast -Software Management
Filter by repository and select the nvidia repo

then select the Packages menu from the top and do update all in this list unconditionally. This will just re-install the nvidia stuff - just to make sure.

When done there.
Press Ctrl-Alt-Backspace twice quickly
You should get back to login (this assumes you have disabled auto login - which you should)

Go back to Yast - Hardware - Graphics and Monitor and select your monitor, and resolution.
*If you have a LCD I suggest using the LCD—> option rather than looking for your monitor make,
When you select LCD— you should see resolution options in the next column.

Thanks caf4926 for replying again. But the problem still persists. After following the steps given by you as soon as I press Ctrl-Alt-Backspace twice it just hangs on Black screen. Should I do something in xorg.conf itself? Like changing resolution/depth etc. I have Samsung Sync Master 753s monitor. Sorry for troubling you again:shame:

P.S.: I now believe that its not using the nvidia driver installed. On opening the nvidia control center on KDE desktop, it gave the message that You are not using the nvidia driver, run nvidia-xconfig to configure the driver. I did so and again a Black screen on relogin. I am so baffled now,:stuck_out_tongue:

Post contents of
/etc/X11/xorg.conf

Hi
It may be the repository drivers are not up to date with the latest
kernel, in that case you would need to follow the ‘hard way’

This is my canned response for doing it the ‘Hard Way’ :slight_smile:

Have you installed the nvidia driver via 1-click? If not I recommend
the hard way, else follow the easy way here;
Nvidia

If you have installed nvidia rpms via the easy way, I suggest removing
the rpms installed and disabling the nvidia repository first.

You can download the driver for your arch from;
Nvidia Unix Drivers

On the download page, check that your card is supported by the driver
your about to download by using the following command;


echo -n "0x" && /sbin/lspci -nv |grep VGA|cut -f4 -d ":"|cut -f1 -d "("

From the above output use the numbers from the output to look at the
Supported Products List (link on the left) to verify your card is
supported by the driver.

You may wish to ensure your system is up to date. The first command
refreshes the repositories, the second lists any updates, the third
will apply the updates.

 
sudo zypper ref
sudo zypper lu
sudo zypper up

NOTE: If the kernel updated, please reboot before continuing :slight_smile:

If you don’t have the kernel source and tools etc installed then


sudo zypper in kernel-source linux-kernel-headers kernel-syms
module-init-tools make gcc

Press ctrl+alt+F1 and login as your user :slight_smile:


su -
init 3

cd to the Nvidia Unix Driver you downloaded


sh NV*.run -q
sax2 -r -m 0=nvidia
init 5 && exit
ctrl+alt+F1
exit
ctrl+alt+F7

The ctrl+alt+F7 gets you back to the GUI (X session).

Now after a kernel update, you don’t need to run the sax2 command, just
the others to get to run level 3, rebuild the driver and exit.

Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.1 (i586) Kernel 2.6.27.21-0.1-pae
up 23:31, 1 user, load average: 0.26, 0.28, 0.44
ASUS eeePC 1000HE ATOM N280 1.66GHz | GPU Mobile 945GM/GMS/GME

Thanks Malcom lewis. Searched for the kernel source which is too big to download at present(>200MB):(. Will try your method in night(when net speed will be better).
Will post the results immediately then.

Hi caf4926,
Here is my xorg.conf after nvidia install:

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder63)  Thu Feb  5 00:18:17 PST 2009

# /.../
# SaX generated X11 config file
# Created on: 2009-04-08T21:54:07+0530.
#
# Version: 8.1
# Contact: Marcus Schaefer <sax@suse.de>, 2005
# Contact: SaX-User list <https://lists.berlios.de/mailman/listinfo/sax-users>
#
# Automatically generated by [ISaX] (8.1)
# PLEASE DO NOT EDIT THIS FILE!
#

Section "ServerLayout"
    Identifier     "Layout[all]"
    Screen         "Screen[0]" 0 0
    InputDevice    "Keyboard[0]" "CoreKeyboard"
    InputDevice    "Mouse[1]" "CorePointer"
    Option         "Clone" "off"
    Option         "Xinerama" "off"
EndSection

Section "Files"
    InputDevices      "/dev/gpmdata"
    InputDevices      "/dev/input/mice"
    FontPath        "/usr/share/fonts/misc:unscaled"
    FontPath        "/usr/share/fonts/local"
    FontPath        "/usr/share/fonts/75dpi:unscaled"
    FontPath        "/usr/share/fonts/100dpi:unscaled"
    FontPath        "/usr/share/fonts/Type1"
    FontPath        "/usr/share/fonts/URW"
    FontPath        "/usr/share/fonts/Speedo"
    FontPath        "/usr/share/fonts/PEX"
    FontPath        "/usr/share/fonts/cyrillic"
    FontPath        "/usr/share/fonts/latin2/misc:unscaled"
    FontPath        "/usr/share/fonts/latin2/75dpi:unscaled"
    FontPath        "/usr/share/fonts/latin2/100dpi:unscaled"
    FontPath        "/usr/share/fonts/latin2/Type1"
    FontPath        "/usr/share/fonts/latin7/75dpi:unscaled"
    FontPath        "/usr/share/fonts/baekmuk:unscaled"
    FontPath        "/usr/share/fonts/japanese:unscaled"
    FontPath        "/usr/share/fonts/kwintv"
    FontPath        "/usr/share/fonts/truetype"
    FontPath        "/usr/share/fonts/uni:unscaled"
    FontPath        "/usr/share/fonts/CID"
    FontPath        "/usr/share/fonts/ucs/misc:unscaled"
    FontPath        "/usr/share/fonts/ucs/75dpi:unscaled"
    FontPath        "/usr/share/fonts/ucs/100dpi:unscaled"
    FontPath        "/usr/share/fonts/hellas/misc:unscaled"
    FontPath        "/usr/share/fonts/hellas/75dpi:unscaled"
    FontPath        "/usr/share/fonts/hellas/100dpi:unscaled"
    FontPath        "/usr/share/fonts/hellas/Type1"
    FontPath        "/usr/share/fonts/misc/sgi:unscaled"
    FontPath        "/usr/share/fonts/xtest"
    FontPath        "/opt/kde3/share/fonts"
EndSection

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

Section "ServerFlags"
    Option         "AllowMouseOpenFail" "on"
    Option         "ZapWarning" "on"
EndSection

Section "InputDevice"
    Identifier     "Keyboard[0]"
    Driver         "kbd"
    Option         "Protocol" "Standard"
    Option         "XkbLayout" "us"
    Option         "XkbModel" "microsoftpro"
    Option         "XkbRules" "xfree86"
EndSection

Section "InputDevice"
    Identifier     "Mouse[1]"
    Driver         "mouse"
    Option         "Buttons" "5"
    Option         "Device" "/dev/input/mice"
    Option         "Name" "ImPS/2 Generic Wheel Mouse"
    Option         "Protocol" "explorerps/2"
    Option         "Vendor" "Sysp"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "Modes"
    Identifier         "Modes[0]"
    ModeLine     "1024x768" 94 1024 1072 1168 1376 768 769 772 808 +hsync +vsync
EndSection

Section "Monitor"
    Identifier     "Monitor[0]"
    VendorName     "SAMSUNG"
    ModelName      "SYNCMASTER 406"
    UseModes       "Modes[0]"
    DisplaySize     312    234
    HorizSync       30.0 - 71.0
    VertRefresh     50.0 - 160.0
    Option         "CalcAlgorithm" "XServerPool"
    Option         "DPMS"
    Option         "PreferredMode" "1024x768"
EndSection

Section "Device"
    Identifier     "Device[0]"
    Driver         "nvidia"
    VendorName     "VESA"
    BoardName      "Framebuffer Graphics"
EndSection

Section "Screen"
    Identifier     "Screen[0]"
    Device         "Device[0]"
    Monitor        "Monitor[0]"
    SubSection     "Display"
        Modes      "default"
    EndSubSection
    SubSection     "Display"
        Depth       16
        Modes      "default"
    EndSubSection
    SubSection     "Display"
        Depth       24
        Modes      "default"
    EndSubSection
    SubSection     "Display"
        Depth       8
        Modes      "default"
    EndSubSection
EndSection



Continued in next post the previous xorg.conf(from bakup)

Old xorg.conf (continued due to text limit):


# /.../
# SaX generated X11 config file
# Created on: 2009-04-08T21:54:07+0530.
#
# Version: 8.1
# Contact: Marcus Schaefer <sax@suse.de>, 2005
# Contact: SaX-User list <https://lists.berlios.de/mailman/listinfo/sax-users>
#
# Automatically generated by [ISaX] (8.1)
# PLEASE DO NOT EDIT THIS FILE!
#

Section "Files"
  FontPath     "/usr/share/fonts/misc:unscaled"
  FontPath     "/usr/share/fonts/local"
  FontPath     "/usr/share/fonts/75dpi:unscaled"
  FontPath     "/usr/share/fonts/100dpi:unscaled"
  FontPath     "/usr/share/fonts/Type1"
  FontPath     "/usr/share/fonts/URW"
  FontPath     "/usr/share/fonts/Speedo"
  FontPath     "/usr/share/fonts/PEX"
  FontPath     "/usr/share/fonts/cyrillic"
  FontPath     "/usr/share/fonts/latin2/misc:unscaled"
  FontPath     "/usr/share/fonts/latin2/75dpi:unscaled"
  FontPath     "/usr/share/fonts/latin2/100dpi:unscaled"
  FontPath     "/usr/share/fonts/latin2/Type1"
  FontPath     "/usr/share/fonts/latin7/75dpi:unscaled"
  FontPath     "/usr/share/fonts/baekmuk:unscaled"
  FontPath     "/usr/share/fonts/japanese:unscaled"
  FontPath     "/usr/share/fonts/kwintv"
  FontPath     "/usr/share/fonts/truetype"
  FontPath     "/usr/share/fonts/uni:unscaled"
  FontPath     "/usr/share/fonts/CID"
  FontPath     "/usr/share/fonts/ucs/misc:unscaled"
  FontPath     "/usr/share/fonts/ucs/75dpi:unscaled"
  FontPath     "/usr/share/fonts/ucs/100dpi:unscaled"
  FontPath     "/usr/share/fonts/hellas/misc:unscaled"
  FontPath     "/usr/share/fonts/hellas/75dpi:unscaled"
  FontPath     "/usr/share/fonts/hellas/100dpi:unscaled"
  FontPath     "/usr/share/fonts/hellas/Type1"
  FontPath     "/usr/share/fonts/misc/sgi:unscaled"
  FontPath     "/usr/share/fonts/xtest"
  FontPath     "/opt/kde3/share/fonts"
  InputDevices "/dev/gpmdata"
  InputDevices "/dev/input/mice"
EndSection

Section "ServerFlags"
  Option       "AllowMouseOpenFail" "on"
  Option       "ZapWarning" "on"
EndSection

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

Section "InputDevice"
  Driver       "kbd"
  Identifier   "Keyboard[0]"
  Option       "Protocol" "Standard"
  Option       "XkbLayout" "us"
  Option       "XkbModel" "microsoftpro"
  Option       "XkbRules" "xfree86"
EndSection


Section "InputDevice"
  Driver       "mouse"
  Identifier   "Mouse[1]"
  Option       "Buttons" "5"
  Option       "Device" "/dev/input/mice"
  Option       "Name" "ImPS/2 Generic Wheel Mouse"
  Option       "Protocol" "explorerps/2"
  Option       "Vendor" "Sysp"
  Option       "ZAxisMapping" "4 5"
EndSection


Section "Monitor"
  Option       "CalcAlgorithm" "XServerPool"
  DisplaySize  312 234
  HorizSync    30-71
  Identifier   "Monitor[0]"
  ModelName    "SYNCMASTER 406"
  Option       "DPMS"
  Option       "PreferredMode" "1024x768"
  VendorName   "SAMSUNG"
  VertRefresh  50-160
  UseModes     "Modes[0]"
EndSection


Section "Modes"
  Identifier   "Modes[0]"
  Modeline 	"1024x768" 94 1024 1072 1168 1376 768 769 772 808 +hsync +vsync
EndSection


Section "Screen"
  SubSection "Display"
    Depth      15
    Modes      "default" 
  EndSubSection
  SubSection "Display"
    Depth      16
    Modes      "default" 
  EndSubSection
  SubSection "Display"
    Depth      24
    Modes      "default" 
  EndSubSection
  SubSection "Display"
    Depth      8
    Modes      "default" 
  EndSubSection
  Device       "Device[0]"
  Identifier   "Screen[0]"
  Monitor      "Monitor[0]"
EndSection


Section "Device"
  BoardName    "Framebuffer Graphics"
  Driver       "fbdev"
  Identifier   "Device[0]"
  VendorName   "VESA"
EndSection



Section "ServerLayout"
  Identifier   "Layout[all]"
  InputDevice  "Keyboard[0]" "CoreKeyboard"
  InputDevice  "Mouse[1]" "CorePointer"
  Option       "Clone" "off"
  Option       "Xinerama" "off"
  Screen       "Screen[0]"
EndSection


Section "DRI"
    Group      "video"
    Mode       0660
EndSection

Section "Extensions"
EndSection


You need kernel-source installed. Install it. Then re-run the update you did earlier in the nvidia repo