NVidia - correct build/install sequence?

From: Rick Macdonald (rickmacd_at_shaw.ca)
Date: 03/30/05

  • Next message: Helge Tore Høyland: "Re: NVidia install in Sarge?"
    Date: Wed, 30 Mar 2005 11:35:26 -0700
    To: Debian Users <debian-user@lists.debian.org>
    
    

    I recently switched to using module-assistant for building nvidia
    drivers but wonder if I am doing everything in the correct sequence. I
    especially wonder if the first reboot is always necessary.

    Here's what I do when upgrading kernel versions or even reconfiguring a
    kernel, both of which seem to require rebuilding NVidia to match.

    cd /usr/src/linux
    make xconfig
    make-kpkg clean
    make-kpkg --append-to-version .rickm.4 kernel_image
    cd ..
    dpkg -i kernel-image-2.6.9.rickm.4_10.00.Custom_i386.deb
    ==>> reboot

    I always do the reboot here, figuring that the kernel needs to be
    installed and running for the nvidia to build correctly. Usually, GDM
    fails to run after booting because the old driver doesn't match the new
    kernel. But what if I'm reconfiguring, such as turning on tmpfs or some
    drivers? Should I always reboot?

    # David recently suggested to
    rm -rf usr/src/modules/nvidia-kernel/
    # before running the actual nvidia steps:

    apt-get install module-assistant nvidia-kernel-common
    module-assistant auto-install nvidia
    apt-get install nvidia-glx
    ==>> reboot

    The last set of commands usually say that I have the most recent
    versions for one or more packages but I always run this sequence anyway.

    ...RickM...

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Helge Tore Høyland: "Re: NVidia install in Sarge?"

    Relevant Pages

    • Re: [SLE] SuSE Professional 9 and NVidia
      ... > Given that the nVidia drivers are packaged up as an executable installer ... stuff like the nvidia drivers and kernel updates in order to make it easier ... Use the nvidia installer. ...
      (SuSE)
    • NVidia 1.0.7174 driver and backports.org kernel 2.6.15
      ... This is for anyone toying with getting the "legacy" NVidia proprietary drivers to work with newer kernels such as linux-source-2.6.15 available at www.backports.org. ... In the process of learning about Linux from total ignorance, I finally reached the point where it was time for me to configure and build my own custom kernel. ... I have runlevel 2 configured to disable 'gdm', and I have '/boot/grub/menu.lst' configured to create an extra GRUB line to boot runlevel 3 for any kernel I install. ...
      (Debian-User)
    • Re: Fedora Core3 - nvidia - I can compile the driver - where to put it ?
      ... which usually limits you to the kernel it was made for. ... > I've been using nVidia cards for ages with Linux with virtually no ... painful, because you have to recompile their little binary hook, and OpenGL ... the NVidia drivers is reported as "tainted" when you load the drivers. ...
      (comp.os.linux.setup)
    • Re: Opinion: NVIDIA drivers are a Good Thing [tm]
      ... > last week, I got a sweet bargain on a new system, and it had an NVIDIA ... > which got worse at higher resolutions, I went to get their closed drivers. ... > kernel module, and I was easily able to follow the instructions to ... install the nvidia dirver. ...
      (Fedora)
    • Re: "sched: add vslice" causes horrible interactivity under load
      ... appended my .config. ... I can't obviously reproduce it without the nvidia ... # Infrared-port device drivers ... # SCSI device support ...
      (Linux-Kernel)