Version 1.46 of LNVHW works with openSUSE 12.1 and will validate the existence of the NVIDIA drivers and for user input. LNVHW is a bash script designed to install the nVIDIA proprietary video driver the Hard Way, which is not hard. LNVHW now supports full color with a new color engine that works in RunLevel 3. In Version 1.46, I have added the ability to run the driver install with the following options shown below and now include the ability to install nVIDIA driver patch files. After installing a Patch, please rerun LNVHW to install the newly patched driver filer.
LNVHW will blacklist the nouveau driver for you on a successful nVIDIA driver installation. If the nVIDIA driver install exits with a error code higher than 0, it will be displayed for you. To get the nVIDIA driver to want to load you must have used the kernel load command called nomodeset when you started openSUSE or you set the kernel option No KMS in Initrd (from YaST Sysconfig) and restarted openSUSE. Then finally, you used the kernel load option 3, to switch to run level 3 or you used the init 3 terminal command as root to unload the desktop and switch to run level 3.
I have determined that you can keep the lnvhw file in the /usr/local/bin folder. Copy and past the following text into the file lnvhw (as in /usr/local/bin/lnvhw). You MUST be a root user to complete this task. The lnvhw bash script is too large to be posted here and is in SUSE Paste at the following location below:
LNVHW - Load NVIDIA (driver the) Hard Way from runlevel 3 - Version 1.46
It is possible to directly download the script from SUSE Paste using the following commands (You must delete the old version of lnvhw first). Just open up a terminal session and copy the text from any code block show here and past it after the terminal prompt and then press enter:
Code:
sudo rm /usr/local/bin/lnvhw
Code:
sudo wget -nc http://paste.opensuse.org/view/download/5439266 -O /usr/local/bin/lnvhw
Code:
sudo chmod +x /usr/local/bin/lnvhw
Code:
sudo rm /usr/local/bin/lnvhw ; sudo wget -nc http://paste.opensuse.org/view/download/5439266 -O /usr/local/bin/lnvhw ; sudo chmod +x /usr/local/bin/lnvhw
Code:
lnvhw
Code:
# # Where do you keep your nVidia driver downloads? # Please Make Sure this name is correct - Do not include a "/" at the end... # nVidia_folder=/home/username/Downloads
Code:
# # How do you want to restart your PC when done loading the driver? # The default is REBOOT="reboot" but can also be set for another program # like REBOOT="fastboot" or REBOOT="pbs" are two example bash scripts. # REBOOT="reboot"
For KDE or GNOME do Alt-F2 and then enter:
Code:
For KDE: kdesu kwrite /usr/local/bin/lnvhw
Code:
For GNOME: gnomesu gedit /usr/local/bin/lnvhw
SDB:NVIDIA the hard way - openSUSE
In order to install the nVIDIA proprietary video driver, you need to already have the driver you want down loaded in your Downloads folder and you need to be in run level mode 3. With the advent of systemd in openSUSE 12.1, run levels don't mean the same that they used to, but the command still works as required and the lnvhw bash scripts still is able to confirm you are in the correct mode. Normally, I am reloading the nVIDIA driver because I just updated or replaced my Linux kernel, but you can just update the driver without having a kernel version change.
If you are running in a desktop and want to install the latest nVIDIA driver you have downloaded and you have not changed or updated your kernel version, then do the following:
For KDE you can use:
Code:
Alt F2: kdesu /sbin/init 3
Code:
Alt F2: gnomesu /sbin/init 3
Code:
login: root password: lnvhw <nVIDIA driver loads> logout login: username password: sudo /sbin/init 5
Code:
asroot fastboot
Code:
login: root password: lnvhw <nVIDIA driver loads> fastboot
For anyone interested in using DKMS to automatically install the nVIDIA driver, have a look at this blog on the subject: S.A.N.D.I. - SuSE Automated NVIDIA Driver Installer
Please enjoy using LNVHW and I want to hear all comments that you might have on the bash scripting file.
Thank You,
Blogs: C.F.U. : fewrup : F.S.M. : H.I. : nVIDIA : MMCHECK : N.S.F. : P.B.S. : S.A.K.C. : S.W.A.T. : S.A.S.I. : S.C.L.U. : S.G.T.B. : S.K.I.M. : S.L.A.V.E. : S.L.R.C. : S.T.A.R.T. : S.U.F.F. : SYSEdit : systemd
Message