2008/6/6

nvidia driver install on Mandriva 2007

Here are the steps i used to get it working from a easy urpmi install :
easy urpmi website: http://easyurpmi.zarb.org/
video card : Geforce4 Magic
***************************************
* Note: Do not forget installing kernel source *
***************************************

1. Add urpmi media using easy urpmi
urpmi.addmedia main http://ftp.twaren.net/Linux/Mandrake/official/2007.1/i586/media/main/release with media_info/hdlist.cz
urpmi.addmedia --update main_updates http://ftp.twaren.net/Linux/Mandrake/official/2007.1/i586/media/main/updates with media_info/hdlist.cz
urpmi.addmedia contrib http://ftp.twaren.net/Linux/Mandrake/official/2007.1/i586/media/contrib/release with media_info/hdlist.cz
urpmi.addmedia --update contrib_updates http://ftp.twaren.net/Linux/Mandrake/official/2007.1/i586/media/contrib/updates with media_info/hdlist.cz
urpmi.addmedia --update plf-free http://mdk.linux.org.tw/ftp/pub/plf/mandriva/2007.1/free/release/binary/i586/ with media_info/hdlist.cz
urpmi.addmedia --update plf-nonfree http://mdk.linux.org.tw/ftp/pub/plf/mandriva/2007.1/non-free/release/binary/i586/ with media_info/hdlist.cz

2. Install nvidia driver

you can use the mandriva control centre to choose the packages

urpmi nvidia

Then it automatically choose
dkms-2.0.16-1.1mdv2007.1.noarch
dkms-minimal-2.0.16-1.1mdv2007.1.noarch
dkms-nvidia97xx-1.0-9755.2plf2007.1.i586
nvidia97xx-1.0-9755.2plf2007.1.i586


3. setup nvidia driver

After drivers are installed you can install them by typing (as root)

XFdrake

- now select your card - this should be done automatically but please check.
- save settings and reboot - you may not need to but sometimes the nvidia module doesn't load until a reboot.

4. Check nvidia 3d is working

Test the 3D by trying to run a game/screensaver

5. Enable XGL

- login to MCC
- choose hardware - configure 3D desktop effects

you should be able to choose XGL

- reboot and you should have a shiny 3D desktop


NVidia drivers installation

The thing that’s probably missing is a NVidia proprietary driver that supports the composite extension needed by Xgl (the default free driver nv unfortunately does not support it). Installing the driver in Mandriva is as easy as typing as root urpmi nvidia in the system console. If everything goes properly a table like this should appear:

More information about nvidia-8774-4plf2007.0.x86_64 IMPORTANT NOTE: This PLF provided NVIDIA driver must be configured differently than the one available from NVIDIA, so please follow the instructions below: If you are upgrading from a Mandriva Club or PLF provided NVIDIA driver, reconfiguring is usually unnecessary.

You can reconfigure X to use the new NVIDIA driver either automatically:

  1. Run XFdrake as root.
  2. Go to the Graphics Card list
  3. Select your card (it is usually already autoselected).
  4. Answer any questions asked and then quit.

OR you can do it manually by editing /etc/X11/xorg.conf:

  1. Change the Driver to "nvidia" in the Device section.
  2. Remove any Load "glx" lines from the Module section.
  3. Add the following line to the Module section: Load "/usr/lib64/xorg/modules/extensions/nvidia/libglx.so"
  4. Run "update-alternatives --config gl_conf" and select nvidia.conf.

So, now all we need to do is to follow the instructions provided by the manufacturer. I used a text editor called VIM, so I typed vim /etc/X11/xorg.conf and applied the suggestions above.