I installed OpenSuse Gnome version 64 bit on a HP laptop DV7 Intel Dual Core with nVidia 9600 GM card
All went well, until after I had installed the nVidia drivers from this page: NVIDIA drivers - openSUSE
I selected the Geforce 1-click install and Yast went on to installl all the packages (a lot of 32-bit),took about half an hour.
I logged out/in, and could work as normal, until I rebooted. Maybe I waited not long enough (5 minutes), but the screen was blank, then I gave up.
Anyone has an explanation. I can always re-install everything, but then what went wrong with the nVidia package ? Did I select the correct one for my system ?
I don’t know if you installed the correct one. EXACTLY which one did you install ? Apologies, but my eye sight is fading with age, and the distance between your PC and my office is too much for my old eyes … lol!
Serious though, what can you tell us about your /etc/X11/xorg.conf file ? Did you create one ? Do you have an old one from before using the proprietary driver ? If you did not create a new one, why not delete the old and create a new one by booting direct to run level 3 (type “3” (no quotes) in grub splash menu and do a regular boot) login as a regular user with regular user password, and type “su” (no quotes and enter root password) to switch users to administrator/root. And then delete any exisitng /etc/X11/xorg.conf and run:
thanks I don’t have an old config file anymore, but I don’t mind re-installing if needed; however, the nvidia drivers install took much too long in my opinion; here is how to find the exact link:
Next time after installation of opensuse do the following:
Download the exact video driver for linux from nvidia driver download site (Drivers - Download NVIDIA Drivers)
This will be of .bin or .run extension.
After download completes, do the following:
Ctrl + Alt + F1
You will be in command line interface (CLI)
login with your user name and password.
type the followings:
> su
(type your password)
> cd <the path where you downloaded the driver file>
( for e.g. : cd /home/downloads/)
> sh <the-name-of-the-driver-file> -q
for e.g.: sh NVIDIA-x86-180.22-pkg1.run -q
> init 3
(bring you to the tty1)
>sax2 -r -m 0=nvidia
(this is to configure nvidia; here 0 is a digit, not a letter!)
> init 5
(brings you to the graphical user interface , i.e. GUI)
That is all for installing NVIDIA drivers. This method is called “the hard way”… but actually it is not too hard!!! Try it.
I went to failsafe, did a startx and it worked. I then rebooted Suse normally, and could log in again using X.
It’s a yast meta package called nvidia.ymp; yast opens the package and then a message appears: *if you have one of the legacy nvidia cards, you should NOT install this package. *
Whatever that means Of course I ignored this message and went on with the install. Then there is the following info:
If I have to be more specific, plrease tell me how; I would like to know what has been installed, if it was for 64bit (does it matter ?), and what nvidia driver I have now; and, if needed, how to de-install:)
If you have 64 bit Linux installed you must install the 64 bit driver. The fact that you installed a bunch of 32 bit stuff indicates you made the wrong selection. Possible even a 32 bit kernel. I’m not at all sure how to fix this other then a reinstall and selection of the correct driver (64bit)
:’(
the metadata .ymp package is for one click installation. This includes the repos required for the package and doing so it can install the package.
But I recommended you to install in “the hard way”!
Just download the appropriate nvidia driver from the site I referred you in the previous post and install as I told. Download 64-bit driver if you are using openSuSE 11.2_X86_64 distro otherwise download 32-bit driver if using openSuSE 11.2_i586 distro.
UNINSTALLING NVIDIA :
If I’m right, you are using the repository ways installing through .ymp metapackage. Then from Yast software management uninstall the installed packages relating “nvidia”.
Then do not restart or shutdown your machine.
Do the following:
Ctrl +Alt + F1
login as i told you earlier post.
>su
To use sax2 to create default xorg.conf file:
> sax2 -a
save the configuration. (you will be provided with that option automatically)
ctrl +Alt + F7
then restart and do the installation procedure i told you in the earlier post.
INFORMATIONS FOR DRIVER:
To know if the right driver is installed, do:
> glxinfo |grep vendor
To know if your graphics is “direct rendering”, do:
> glxinfo |grep direct
To know your graphics performance, do:
> glxgears
you should expect 1200-2500 FPS if all goes well.
Wow, thanks, this will really help to get me going Yes, I have installed the 64bit version, from the Opensuse GNome Live CD on a DV7 HP 1299 laptop with a 9600 GM nvidia card. The “hard way” doesn’t scare me cause I am used to linux, not so much to Suse however. But it really looks very professional.
DO NOT USE THE sax2 COMMAND, unless doing things without don’t get you into a splendid desktop. sax2/xorg.conf is deprecated on 11.2, it’s left up to HAL’s autodetection and -configuration.
Hi, I re-installed OpenSuse Gnome 11.2 64 bit from the live cd on my HP DV7 laptop to make sure I have a clean state after the mistake I made by going to the “one-click-install” website on nvidia drivers :’(
Now I am ready to install nvidia drivers but how ? There seemed to be no consensus on this forum if sax2 could be used or not; ok, for me, but how should I proceed ? To start with, is there a distinction between 64bit drivers and 32bit Nvidia drivers ?
As you can read from that, the intention in openSUSE-11.2 is that one should not need an /etc/X11/xorg.conf file, and hence sax2 (which will create that file) should not be needed. But thats in a perfect world, and this world is not perfect. So if all else goes bad, you may need to use sax2 for opensource (not initally for proprietary drivers) and you may need to use the nvidia-xconfig for proprietary graphic drivers and ONLY if all else fails might you need to use the sax2 for the proprietary graphic driver …
Now the best performance comes from using the proprietary “nvidia” drivers and there are many easy ways to do that. I prefer “the hardway” (which is not hard): NVIDIA/The hard way - openSUSE Note you will need BEFORE doing this to also install kernel-source and kernel-syms of the same version as your kernel (many new users mess that up) and install linux-sym-headers, and then you need gcc, make … which is best obtained by going to YaST > Software > Software Management > Patterns and select the “base development” pattern for installation and install the MANY packages that come with that pattern.
Now for the proprietary graphic drivers, if one needs an /etc/X11/xorg.conf, then the recommended way to create that is NOT with sax2, but with the program nvidia provide which is ONLY for proprietary drivers:
nvidia-xconfig
and only if that does not work, would one try sax2 with something like
sax2 -r -m 0=nvidia
note that those programs will over-write or replace the previous programs /etc/X11/xorg.conf, so do NOT run the sax2 after the nvidia-xconfig if you were happy with the previous x11.conf file. … Its all pretty much common sense, albeit some experience is needed to acquire the needed judgment.
I changed the proprietary nVidia drivers “the hardway” on 3 PCs last night, and in total it took me less than 10 minutes. Thats how quick and easy this is to do once one has some experience and understands this. Unfortunately for new users its a major pain.
I just install the driver ‘the hard way’, have a Wacom tablet, work with a beamer once in a while, and no xorg.conf on any of my machines.
I did see some blank and black screens on a network I manage, after upgrading from 11.1 to 11.2, removing the xorg.conf so far has done the trick.
My suggestion for now:
uninstall any installed NVIDIA driver version
Open a terminal window download this one:
cd ~/
wget ftp://download.nvidia.com/XFree86/Linux-x86_64/195.30/NVIDIA-Linux-x86_64-195.30-pkg2.run
Logout
Hit Ctrl-Alt-F1
login with username and password and do:
cd ~/
su -c 'mv /etc/X11/xorg.conf /etc/X11/xorg.conf.obsolete'
su -c 'init 3'
su -c 'sh NVIDIA-Linux-x86_64-195.30-pkg2.run -q'
(enter rootpassword)
su -c 'init 5 && exit'
The login screen should appear, login to the desktop and see if it works. I've seen it working with the same card, different HP.
Thanks, I have downloaded the driver, but there are a few hurdles to take; I installed ld, gcc, make, kernel headers (2.6.31.3-4) but now I should check if my kernel matches the headers ? How ?
for example, when I type that I get:
oldcpu@hal2009:~> rpm -qa ‘kernel’
kernel-debug-devel-2.6.31.12-0.1.1.x86_64 kernel-source-2.6.31.12-0.1.1.noarch kernel-syms-2.6.31.12-0.1.1.x86_64
kernel-xen-devel-2.6.31.12-0.1.1.x86_64 kernel-default-2.6.31.12-0.1.1.x86_64
linux-kernel-headers-2.6.31-3.4.noarch
kernel-desktop-devel-2.6.31.12-0.1.1.x86_64
kernel-default-devel-2.6.31.12-0.1.1.x86_64… and I highlighted in green what to compare (on my PC). As you can see, I have a consistent 2.6.31.12 version in kernel-default, kernel-syms, and kernel-source.