Fedora:NVidiaDriver

From K12LTSP Wiki

Jump to: navigation, search

Installing nVIDIA Drivers On Fedora Core 1 Linux Systems

nVIDIA has nice Graphics Driver installation binaries for Linux but you need to make one adjustment (see item two below) in order to compile the module against the Fedora kernel or the install will probably fail.

Get the appropiate driver for your video card at:

http://www.nvidia.com/object/linux.html

  1. Close Xwindows telinit 3 or single
  2. Point to the needed compiler version export CCgcc32=
  3. Run the nVIDIA installation program sh NVIDIA-Linux-x86-1.0-4496-pkg2.run
  4. Back up your X Config file cp /etc/X11/XF86Config /etc/X11/XF86Config.ori
  5. Edit your X Config file vim /etc/X11/XF86Config
  6. Press i
  7. Make the following changes to the file:
    1. Section "Device": Change to Driver "nvidia"
    2. Section "Module": Remove Load "dri" & Load "GLcore" Add Load "glx"
  8. Press Esc
  9. Enter :wq
  10. Start Xwindows telinit 5

I found that certain applications would not work after the nVidia drivers were installed. Celestia for example. A bit of googling points us to a quick and dirty fix. A tiny shell script to run before running the OpenGL application(s):

<code>#====/bin/sh</code>
====
<code>LD_PRELOAD</code>/usr/lib/tls/libGL.so.1=
<code>export LD_PRELOAD</code>

Save this script, chmod 744, and run it before opening your OpenGL application(s) and things might work out a little better. There surely is a better way to handle the issue then this, but it works for me for now.

Enjoy your new nVIDIA drivers==== The performance increase is remarkable! ====

Personal tools