On Mon, 06 Dec 2010 16:00:45 +0530, Istvan Gabor <suseuser04@lajt.hu> wrote:
Now I have to find out how to configure nvidia driver for the different kernels.
if you're using nvidia from it's website (.run script), you'lll have to run "sh NVIDIA....sh -q" with each kernel separately. the run script figures out which kernel is active and compiles the modules accordingly. how this is supposed to work when using nvidia from the repos i don't know.
The kernel module versions in the nvidia repo are tied to the supported kernel version. If you install a new kernel from HEAD you will need to run the downloaded nvidia script to compile a new module for that kernel. The -q option just suppresses installation dialog questions. The -K option is provided for a multi-kernel setup. It compiles the module under the running kernel but not the graphics driver, so it presumes the driver has been previously installed under a different kernel. The driver/module versions must match. If the driver has been installed via YaST/zypper, the script will not see it and so will fail. So in other words, the installation process is (a) remove the module and driver installed with YaST/zypper, (b) build and install a new module and driver with the script using the -q option running under the first kernel, (c) build and install the module only with the -K option while running under each additional kernel. The -q option can also be used running under each kernel, but it will just be rebuilding and reinstalling the same graphics driver (which is not kernel version dependent) each time. Harmless, but unnecessary. There is also a -k <kernel name> option which will cross-compile the module under the specified kernel tree while running under a different tree. This option presumes particular for source and installation which IIRC are different than what SuSE uses, so it may need to be run with the additional --kernel-install-path and --kernel-source-path options. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org