nvidia drivers mess!

Hi there:

I did this really stupid thing. I don’t know why, but I did it. This is what I did-

I had installed opensuse 11.1 on my laptop. And since I have nvidia graphics card, I went to the NVIDIA - openSUSE page and installed the driver using Yast. Everything was fine till this stage and then I dont know why I did this (may be I was not sleeping enough) I again downloaded and installed drivers following the instructions on NVIDIA/The hard way - openSUSE page. After I installed the drivers and before starting the SaX (As per the instructions we need to the start the SaX manually if we are installing ‘The hard way’ ) it asked me to rename or delete certain files and change the links to certain files. I dont remember which files I deleted and which I changed links to. I believe I was advised so by the wizard because the versions 185.18.14(from one-click install)
and 180.29(from the hard way install) were mismatching.

Now the problem is, I have to login from the terminal because I dont see the GUI. I have tried to start the SaX manually by giving the command but this is what I get.

nachiket@linux-uswe:~>su
Password:
linux-uswe:/home/nachiket# sax2
SaX: Initializing please wait...
SaX: your current configuration will not be read in

SaX: no x-Server is running
SaX: will start own server if needed
SPP: prepare device [0] profile: Depth24
SPP: prepare device [0] profile: NVidia
SPP: calling device [0] profile script: NVidia
SPP: prepare device [0] profile: NoModelines
SPP: prepare device [0] profile: Composite
SPP: prepare device [1] profile: alps
SPP: prepare device [3] profile: alps
SPP: including prepared profile(s)...
SPP: prepare device[0] profile: nobus
SPP: including prepared profile(s)...

SaX: startup
xc: sorry could not start configuration server
xc: for details refer to the log file:

		/var/log/SaX.log
xc: abort...
linux-uswe:/home/nachiket#:

I have also checked the /var/log/SaX.log file and the log file contains the following error:

Error: API mismatch: the NVIDIA kernel module has version 185.18.14,
but this NVIDIA driver component has version 180.29. Please make
sure that the kernel module and all NVIDIA driver components
have the same version.

How should I fix the problem? Please also make note that I cannot go online from terminal. Sorry I can, but I dont know how to connect to the wireless network around using the terminal. I only know how to connect using knetwork manager. So please keep this thing mind and reply to the query.

Thanks in advance.

Here is the entire log file SaX.log


/*************
SaX2 log     : SaX2 version 8.1 - SVN Release: 1.49 2003/03/17
**************
SVN RELEASE  : 1830
             :
DESCRIPTION  : X11 configuration log file to collect information
             : about detection, startup and configuration.
             : There are three parts of logging:
             : ---
             : 1) INIT     ( detection, 3D )
             : 2) STARTUP  ( xorg.conf, X11 log, glxinfo )
             : 3) CONFIG   ( config actions )
             : ---
             :
VERSION      : SaX2 compiled for: [OTHER]
PARAMETER    : -r
             :
LOG DATE     : Mon Jul  6 14:55:09 IST 2009
*************/
============================

..................... ( I have deleted this part of the log because it is too long and crosses the word limit set on a thread )....................

	
]
06-Jul 14:55:24 <X> Logging File contents: /var/log/xlog 
	
	X.Org X Server 1.5.2
	Release Date: 10 October 2008
	X Protocol Version 11, Revision 0
	Build Operating System: openSUSE SUSE LINUX
	Current Operating System: Linux linux-uswe 2.6.27.23-0.1-pae #1 SMP 2009-05-26 17:02:05 -0400 i686
	Build Date: 27 February 2009  02:03:33PM
	 
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
	Module Loader present
	Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
	(==) Log file: "/var/log/Xorg.0.log", Time: Mon Jul  6 14:55:22 2009
	(++) Using config file: "/tmp/sax2-3621/xorg.conf"
	(==) ServerLayout "Layout[all]"
	(**) |-->Screen "Screen[0]" (0)
	(**) |   |-->Monitor "Monitor[0]"
	(**) |   |-->Device "Device[0]"
	(**) |-->Input Device "Keyboard[0]"
	(**) |-->Input Device "Mouse[1]"
	(**) |-->Input Device "Mouse[3]"
	(**) |-->Input Device "Mouse[5]"
	(**) Option "ZapWarning" "on"
	(**) Option "AllowMouseOpenFail" "on"
	(==) Automatically adding devices
	(==) Automatically enabling devices
	(WW) The directory "/usr/share/fonts/local" does not exist.
	Entry deleted from font path.
	(WW) The directory "/usr/share/fonts/PEX" does not exist.
	Entry deleted from font path.
	(WW) The directory "/usr/share/fonts/latin2/misc" does not exist.
	Entry deleted from font path.
	(WW) The directory "/usr/share/fonts/latin2/75dpi" does not exist.
	Entry deleted from font path.
	(WW) The directory "/usr/share/fonts/latin2/100dpi" does not exist.
	Entry deleted from font path.
	(WW) The directory "/usr/share/fonts/latin2/Type1" does not exist.
	Entry deleted from font path.
	(WW) The directory "/usr/share/fonts/latin7/75dpi" does not exist.
	Entry deleted from font path.
	(WW) The directory "/usr/share/fonts/baekmuk" does not exist.
	Entry deleted from font path.
	(WW) The directory "/usr/share/fonts/japanese" does not exist.
	Entry deleted from font path.
	(WW) The directory "/usr/share/fonts/kwintv" does not exist.
	Entry deleted from font path.
	(WW) The directory "/usr/share/fonts/uni" does not exist.
	Entry deleted from font path.
	(WW) The directory "/usr/share/fonts/CID" does not exist.
	Entry deleted from font path.
	(WW) The directory "/usr/share/fonts/ucs/misc" does not exist.
	Entry deleted from font path.
	(WW) The directory "/usr/share/fonts/ucs/75dpi" does not exist.
	Entry deleted from font path.
	(WW) The directory "/usr/share/fonts/ucs/100dpi" does not exist.
	Entry deleted from font path.
	(WW) The directory "/usr/share/fonts/hellas/misc" does not exist.
	Entry deleted from font path.
	(WW) The directory "/usr/share/fonts/hellas/75dpi" does not exist.
	Entry deleted from font path.
	(WW) The directory "/usr/share/fonts/hellas/100dpi" does not exist.
	Entry deleted from font path.
	(WW) The directory "/usr/share/fonts/hellas/Type1" does not exist.
	Entry deleted from font path.
	(WW) The directory "/usr/share/fonts/misc/sgi" does not exist.
	Entry deleted from font path.
	(WW) The directory "/usr/share/fonts/xtest" does not exist.
	Entry deleted from font path.
	(==) Including the default font path /usr/share/fonts/misc:unscaled,/usr/share/fonts/TTF/,/usr/share/fonts/OTF,/usr/share/fonts/Type1/,/usr/share/fonts/100dpi:unscaled,/usr/share/fonts/75dpi:unscaled.
	(**) FontPath set to:
	/usr/share/fonts/misc:unscaled,
	/usr/share/fonts/75dpi:unscaled,
	/usr/share/fonts/100dpi:unscaled,
	/usr/share/fonts/Type1,
	/usr/share/fonts/URW,
	/usr/share/fonts/Speedo,
	/usr/share/fonts/cyrillic,
	/usr/share/fonts/truetype,
	/opt/kde3/share/fonts,
	/usr/share/fonts/misc:unscaled,
	/usr/share/fonts/TTF/,
	/usr/share/fonts/OTF,
	/usr/share/fonts/Type1/,
	/usr/share/fonts/100dpi:unscaled,
	/usr/share/fonts/75dpi:unscaled
	(**) Input device list set to "/dev/gpmdata,/dev/input/mice"
	(==) ModulePath set to "/usr/lib/xorg/modules/updates,/usr/lib/xorg/modules"
	(**) Extension "Composite" is enabled
	(II) Open ACPI successful (/var/run/acpid.socket)
	(II) Loader magic: 0x81f85c0
	(II) Module ABI versions:
	X.Org ANSI C Emulation: 0.4
	X.Org Video Driver: 4.1
	X.Org XInput driver : 2.1
	X.Org Server Extension : 1.1
	X.Org Font Renderer : 0.6
	(II) Loader running on linux
	(++) using VT number 7
	
	(--) PCI:*(0@1:0:0) unknown vendor (0x10de) unknown chipset (0x0427) rev 161, Mem @ 0xfd000000/0, 0xe0000000/0, 0xfa000000/0, I/O @ 0x0000df00/0, BIOS @ 0x????????/131072
	(II) System resource ranges:
	[0] -1	0	0xffffffff - 0xffffffff (0x1) MX**
	[1] -1	0	0x000f0000 - 0x000fffff (0x10000) MX**
	[2] -1	0	0x000c0000 - 0x000effff (0x30000) MX**
	[3] -1	0	0x00000000 - 0x0009ffff (0xa0000) MX**
	[4] -1	0	0x0000ffff - 0x0000ffff (0x1) IX**
	[5] -1	0	0x00000000 - 0x00000000 (0x1) IX**
	(II) "extmod" will be loaded. This was enabled by default and also specified in the config file.
	(II) "dbe" will be loaded. This was enabled by default and also specified in the config file.
	(II) "glx" will be loaded. This was enabled by default and also specified in the config file.
	(II) "freetype" will be loaded. This was enabled by default and also specified in the config file.
	(II) "record" will be loaded by default.
	(II) "dri" will be loaded. This was enabled by default and also specified in the config file.
	(II) LoadModule: "dri"
	
	(II) Loading /usr/lib/xorg/modules//extensions/libdri.so
	(II) Module dri: vendor="X.Org Foundation"
	compiled for 1.5.2, module version = 1.0.0
	ABI class: X.Org Server Extension, version 1.1
	(II) Loading extension XFree86-DRI
	(II) LoadModule: "dbe"
	
	(II) Loading /usr/lib/xorg/modules//extensions/libdbe.so
	(II) Module dbe: vendor="X.Org Foundation"
	compiled for 1.5.2, module version = 1.0.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 1.1
	(II) Loading extension DOUBLE-BUFFER
	(II) LoadModule: "freetype"
	
	(II) Loading /usr/lib/xorg/modules//fonts/libfreetype.so
	(II) Module freetype: vendor="X.Org Foundation & the After X-TT Project"
	compiled for 1.5.2, module version = 2.1.0
	Module class: X.Org Font Renderer
	ABI class: X.Org Font Renderer, version 0.6
	(II) Loading font FreeType
	(II) LoadModule: "extmod"
	
	(II) Loading /usr/lib/xorg/modules//extensions/libextmod.so
	(II) Module extmod: vendor="X.Org Foundation"
	compiled for 1.5.2, module version = 1.0.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 1.1
	(II) Loading extension SHAPE
	(II) Loading extension MIT-SUNDRY-NONSTANDARD
	(II) Loading extension BIG-REQUESTS
	(II) Loading extension SYNC
	(II) Loading extension MIT-SCREEN-SAVER
	(II) Loading extension XC-MISC
	(II) Loading extension XFree86-VidModeExtension
	(II) Loading extension XFree86-Misc
	(II) Loading extension XFree86-DGA
	(II) Loading extension DPMS
	(II) Loading extension TOG-CUP
	(II) Loading extension Extended-Visual-Information
	(II) Loading extension XVideo
	(II) Loading extension XVideo-MotionCompensation
	(II) Loading extension X-Resource
	(II) LoadModule: "glx"
	
	(II) Loading /usr/lib/xorg/modules//extensions/libglx.so
	(II) Module glx: vendor="NVIDIA Corporation"
	compiled for 4.0.2, module version = 1.0.0
	Module class: X.Org Server Extension
	(II) NVIDIA GLX Module  180.29  Thu Feb  5 00:14:00 PST 2009
	(II) Loading extension GLX
	(II) LoadModule: "record"
	
	(II) Loading /usr/lib/xorg/modules//extensions/librecord.so
	(II) Module record: vendor="X.Org Foundation"
	compiled for 1.5.2, module version = 1.13.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 1.1
	(II) Loading extension RECORD
	(II) LoadModule: "nvidia"
	
	(II) Loading /usr/lib/xorg/modules//drivers/nvidia_drv.so
	(II) Module nvidia: vendor="NVIDIA Corporation"
	compiled for 4.0.2, module version = 1.0.0
	Module class: X.Org Video Driver
	(II) LoadModule: "kbd"
	
	(II) Loading /usr/lib/xorg/modules//input/kbd_drv.so
	(II) Module kbd: vendor="X.Org Foundation"
	compiled for 1.5.2, module version = 1.3.1
	Module class: X.Org XInput Driver
	ABI class: X.Org XInput driver, version 2.1
	(II) LoadModule: "synaptics"
	
	(II) Loading /usr/lib/xorg/modules//input/synaptics_drv.so
	(II) Module synaptics: vendor="X.Org Foundation"
	compiled for 1.5.2, module version = 0.15.2
	Module class: X.Org XInput Driver
	ABI class: X.Org XInput driver, version 2.1
	(II) LoadModule: "mouse"
	
	(II) Loading /usr/lib/xorg/modules//input/mouse_drv.so
	(II) Module mouse: vendor="X.Org Foundation"
	compiled for 1.5.2, module version = 1.3.0
	Module class: X.Org XInput Driver
	ABI class: X.Org XInput driver, version 2.1
	(II) NVIDIA dlloader X Driver  180.29  Wed Feb  4 23:50:44 PST 2009
	(II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
	(II) NVIDIA X compatibility module for ABI 4.0 built from git commit 98249dfa98b53a238b7d881beb5ec8b85f28ecd0 (server-1.5-branch)
	(II) Primary Device is: PCI 01@00:00:0
	(II) Loading sub module "fb"
	(II) LoadModule: "fb"
	
	(II) Loading /usr/lib/xorg/modules//libfb.so
	(II) Module fb: vendor="X.Org Foundation"
	compiled for 1.5.2, module version = 1.0.0
	ABI class: X.Org ANSI C Emulation, version 0.4
	(II) Loading sub module "wfb"
	(II) LoadModule: "wfb"
	
	(II) Loading /usr/lib/xorg/modules//libwfb.so
	(II) Module wfb: vendor="X.Org Foundation"
	compiled for 1.5.2, module version = 1.0.0
	ABI class: X.Org ANSI C Emulation, version 0.4
	(II) Loading sub module "ramdac"
	(II) LoadModule: "ramdac"
	(II) Module "ramdac" already built-in
	(II) resource ranges after probing:
	[0] -1	0	0xffffffff - 0xffffffff (0x1) MX**
	[1] -1	0	0x000f0000 - 0x000fffff (0x10000) MX**
	[2] -1	0	0x000c0000 - 0x000effff (0x30000) MX**
	[3] -1	0	0x00000000 - 0x0009ffff (0xa0000) MX**
	[4] -1	0	0x0000ffff - 0x0000ffff (0x1) IX**
	[5] -1	0	0x00000000 - 0x00000000 (0x1) IX**
	(**) 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): Using HW cursor
	(**) NVIDIA(0): Enabling RENDER acceleration
	(==) NVIDIA(0): Video key set to default value of 0x101fe
	(II) NVIDIA(0): Support for GLX with the Damage and Composite X extensions is
	(II) NVIDIA(0):     enabled.
	Error: API mismatch: the NVIDIA kernel module has version 185.18.14,
	but this NVIDIA driver component has version 180.29.  Please make
	sure that the kernel module and all NVIDIA driver components
	have the same version.
	(EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module! Please ensure
	(EE) NVIDIA(0):     that there is a supported NVIDIA GPU in this system, and
	(EE) NVIDIA(0):     that the NVIDIA device files have been created properly. 
	(EE) NVIDIA(0):     Please consult the NVIDIA README for details.
	(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
]

I have nvidia GeForce 8400M GS graphics card and use Dell vostro 1400 N Series laptop.************************

Hi,

You need to delete the YAST drivers before you can complete the compiling of the NVIDIA drivers the hard way.

Restart your computer then when you get to GRUB choose the first openSUSE option and type 3

This will drop you to run level 3 to start off.

Then when it prompts you to log in, log in as root then enter your root password.

Then type:

yast

and it will bring up Yast.

Press tab then use the down arrow key to get to software management then press enter.

It might complain about not being able to refresh repositories so just tell it to skip refreshing the repositories.

Once you’re in search for Nvidia. Then delete anything Nvidia related by highlighting an entry and pressing enter so that there’s no marking next to it.

Once done with that, then hit tab until you’ve highlighted “accept” and then hit enter. It will bring you back to yast when it’s done.

Hit tab till “quit” is highlighted and then hit enter. You’re now back into run level 3.

You can now proceed to install the Nvidia drivers “the hard way”

Take Care,

Ian

Thank You LJ.

It worked! I can see the GUI now.

I have one more question to ask though. I keep seeing an array of black and white stripes before I get the login screen. Sometimes it has rememanants of last session. How do I fix this problem?

Thank you again.

Warm regards,
Nihilanth

Haha, I just searched, you’ve had this problem before!

What is nvidia community repository? - openSUSE Forums

Re-read that, as it explains why it does that and what to do to get rid of the problem.

Take Care,

Ian

Thank you LJ.

I had not changed the branding opensuse to upstream opensuse before. I had even forgotten that I had once asked that doubt once. I fixed that now and I no more see the black and white stripes.

Thank you again. :slight_smile: