Installing nvidia driver on Opensuse 10.2

openSUSE 10.2

It is very easy, most of the time.
WARNING: The NVIDIA driver RPMs for openSUSE 10.2 are built against the default kernel on the DVD and they should work after kernel updates provided trough YaST Online Update (YOU), but sometimes they don't, because the kernel update, forced by security reasons, broke compatibility with previous version. In this case you should follow instructions in the section The Hard Way to restore 3D.

1. Import the NVIDIA GnuPG key. Login in console as root user and type, or simply copy and paste using mouse:

rpm --import ftp://download.nvidia.com/opensuse/10.2/repodata/repomd.xml.key

2. Add the NVIDIA rpm-md repository: ftp://download.nvidia.com/opensuse/10.2/ to the package manager.

* To do this in YaST, go to Software -> Installation Source. Now hit Add and then select Specify URL. In there, enter the above URL and then hit Next, and then Finish.
* Or, to do this in Zypper execute:

zypper sa ftp://download.nvidia.com/opensuse/10.2/ nvidia

3. Identify which 'nvidia' driver packages you need. This depends on the exact model of your card. For a newer card you'll probably need x11-video-nvidiaG01 and nvidia-gfxG01-kmp-default packages. If your card is part of the NVIDIA Legacy then you'll need x11-video-nvidia and nvidia-gfx-kmp-default. (The list is taken from http://www.suse.de/~sndirsch/nvidia-installer-HOWTO.html)

If you are running on a non-default kernel flavour, you may need nvidia-gfxG0-kmp-bigsmp instead of nvidia-gfxG0-kmp-default (or nvidia-gfx-kmp-bigsmp instead of nvidia-gfx-kmp-default). "bigsmp" here is a your kernel flavor. You can find out your kernel flavor by running uname -r.

4. Install the identified packages, e.g. x11-video-nvidiaG0 and nvidia-gfxG0-kmp-default.

* To do this with Zypper. for example, execute:

zypper install x11-video-nvidiaG0 nvidia-gfxG0-kmp-default

5. Restart X (Logout and press --).

6. Enjoy!

6. The kernel update will trigger installation of new NVIDIA kernel drivers. This addition will leave the old versions present, they need to be removed manually. Run:

rpm -qa '*nvidia-gfx*'

If you have a new "nvidia-gfxG01-..." package in this list, you can remove the left over nvidia-gfx-... package(s).
[edit]
SUSE Linux 10.1 and SLED 10

*
o Add the YUM repository ftp://download.nvidia.com/novell/sle10sp1 to the package manager (YAST or ZEN).

Comments

Popular posts from this blog

The pesky scrollbars on Remote desktop - Finally fixed!!

Exploring RedCritter - website for Agile project mangement

API Testing with Rest Assured - Validating the json schema