First of all, thank you for sharing your scripts and expertise!
I have a few questions for you.
Does the 304.64 driver require a patch to work with SANDI and the current (oS 12.2) 3.4.x kernel?
Which is the ‘best’ or preferred method to install the Nvidia driver (with as little pain as possible!) - LNVHW or SANDI?
In the event that I completely bork the driver install and want to start from scratch again, how do I restore the default nouveau driver?
You are very welcome and happy you are finding my bash scripts useful. Now the nVIDIA driver is up to 310.19 so I would want to know why you want to use 304.64? As for SANDI and LNVHW, they have the same install options for the nVIDIA driver, but SANDI works only if you compile your own kernels, such as can be done with my SAKC script and you have installed dkms to auto load the nVIDIA driver when you update your kernel. If this last sentence makes you ask WHAT? Then stick with LNVHW as it works with all kernel versions as long as you have installed the suggested kernel source files. You just have to reinstall the nVIDIA driver on each kernel version update. As luck would have it, you don’t get those all that often normally. Going back to using the nouveau driver can be tricky. You must do the following.
- Remove the nomodeset kernel load option from your Grub2/grub menu files.
- You must make sure the sysconfig value of NO_KMS_INITRD=NO
- Must remove any nouveau blacklist commands.
- Must uninstall the nVIDIA driver, perhaps you do this first.
- Must make all changes in Runlevel 3 with no UI loaded.
- Make sure console tools are loaded perhaps and make sure you can use the terminal program mc (Midnight Commander).
- Might want to delete the xorg.cong file if it exists with any nvidia stuff wrote to it. This file is not required.
So I can admit to just reinstalling openSUSE before to switch to nouveau, particularly if any other issues might exist. I always do a custom partition, reuse all existing ones, I format root /, only mount /home and keep all personnel settings and must reload all applications and redo system settings. This sounds like a lot, but in just two nights I can have my system up and running just as before. I keep a copy of such files as the fstab file, make a screen capture of the partitioner so I know what I called each partition and my samba.conf file and of course, I write scripts to automate as many things as I can like setting up SAMBA. In the end, it can even be fun, but for some it sounds like torture.
What I can say is that the open source nVIDIA driver nouveau works better than I have ever seen before in kernel 3.6 and I would give it a try before I switched to the nVIDIA proprietary driver. Once I loaded the nVIDIA driver, I would likely stick with it unless something blew up and not downgrade back to the nouveau driver. Keep good backups of system files and try to never reformat your /home area and of course backup any irreplaceable files.