Results 1 to 5 of 5

Thread: Nvidia 190.53 and kernel updates

  1. #1
    Join Date
    Jan 2008
    Location
    Argentina
    Beans
    755
    Distro
    Ubuntu 11.04 Natty Narwhal

    Nvidia 190.53 and kernel updates

    More than an issue is an annoyance.

    I have the NVIDIA 190.53 drivers installed on a 64 bit desktop and a 32 bit laptop.
    They work great, I can play stuff like Regnum, that I couldn't play before.
    But every time i get a kernel update I have to reinstall them (stop x, go to tty and sudo the installer) It then says they are installed and that they have probably been switched off by my package manager. I cannot get them to work without a reinstall.

    Is there any chance this drivers will enter the repos in a realistic time? or ever?
    AMD Phenom II X3 720 Black Edition 2,8 GHz - GIGABYTE GA-MA770T-UD3P - 6 GB RAM Mushkin DDR3 1333 - ZOTAC GeForce 9800 GT 1 GB DDR3

  2. #2
    Join Date
    Nov 2005
    Location
    Scotland
    Beans
    89

    Re: Nvidia 190.53 and kernel updates

    I used the nVidia PPA to install 190.53:

    https://launchpad.net/~nvidia-vdpau/+archive/ppa

    The Synaptic Commit Log below for the packages selected:
    Code:
    Removed the following packages:
    nvidia-185-kernel-source
    nvidia-185-libvdpau
    nvidia-glx-185
    
    Upgraded the following packages:
    mplayer (2:1.0~rc3+svn20090426-1ubuntu10.1) to 2:1.0~rc3+svn20091207-0ubuntu1~karmic~nvidiavdpauppa11
    mplayer-nogui (2:1.0~rc3+svn20090426-1ubuntu10.1) to 2:1.0~rc3+svn20091207-0ubuntu1~karmic~nvidiavdpauppa11
    nvidia-common (0.2.15.1) to 0.2.15.1-1~nvidiavdpauppa1
    nvidia-settings (180.25-0ubuntu1) to 190.53-0ubuntu1~karmic~nvidiavdpauppa1
    
    Installed the following packages:
    libvdpau1 (0.3-2~nvidiavdpauppa5)
    nvidia-190-kernel-source (190.53-0ubuntu1~karmic~nvidiavdpauppa8)
    nvidia-190-modaliases (190.53-0ubuntu1~karmic~nvidiavdpauppa8)
    nvidia-195-modaliases (195.30-0ubuntu1~karmic~nvidiavdpauppa5)
    nvidia-glx-190 (190.53-0ubuntu1~karmic~nvidiavdpauppa8)

  3. #3
    Join Date
    Jan 2008
    Location
    Argentina
    Beans
    755
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Nvidia 190.53 and kernel updates

    exactly what i was looking for

    thanks!
    AMD Phenom II X3 720 Black Edition 2,8 GHz - GIGABYTE GA-MA770T-UD3P - 6 GB RAM Mushkin DDR3 1333 - ZOTAC GeForce 9800 GT 1 GB DDR3

  4. #4
    Join Date
    Oct 2005
    Location
    Finland
    Beans
    82
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Nvidia 190.53 and kernel updates

    Quote Originally Posted by bruno9779 View Post
    More than an issue is an annoyance.

    I have the NVIDIA 190.53 drivers installed on a 64 bit desktop and a 32 bit laptop.
    They work great, I can play stuff like Regnum, that I couldn't play before.
    But every time i get a kernel update I have to reinstall them (stop x, go to tty and sudo the installer) It then says they are installed and that they have probably been switched off by my package manager. I cannot get them to work without a reinstall.

    Is there any chance this drivers will enter the repos in a realistic time? or ever?
    I'm not having any problems with my drivers, but stumbled upon this thread by searching Regnum Online stuff. For some strange reason I'm not getting the game to work.

    Using an Nvidia 9800GT card with 190.53 drivers that for sure are working ok.
    bruno9779, have any pointers on how you got the working?

    EDIT:

    Strange.. Was gonna re-install my drivers but I just got to the part of uninstalling the old one and instead of booting the machine I thought I'd go to X and as a whim I tried to launch Regnum and it worked.
    It seems that I have 190.53 still installed so I guess instead of uninstalling the drivers it reinstalled them. My xorg.conf still looks the same though.

    Guess that teaches us never to underestimate the power of reinstalling.
    Last edited by Mayfairy; March 17th, 2010 at 09:54 AM.
    Don't talk to strangers..
    AsRock939-DualSata2 | AMD Athlon64 X2 3800+ | GeForce 9800 GT | 2,5Gt DDR | Samsung HD160JJ | Logitech G15 | Samsung 226BW | Razer Diamondback

  5. #5
    Join Date
    Dec 2007
    Location
    Gainesville, Florida
    Beans
    Hidden!
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: Nvidia 190.53 and kernel updates

    What I did is add this script to /etc/kernel/postinst.d/
    Code:
    #!/bin/bash
    #
    
    # Set this to the exact path of the nvidia driver you plan to use
    # It is recommended to use a symlink here so that this script doesn't
    # have to be modified when you change driver versions.
    DRIVER=/usr/src/nvidia-driver
    
    
    # Build new driver if it doesn't exist
    if [ -e /lib/modules/$1/kernel/drivers/video/nvidia.ko ] ; then
        echo "NVIDIA driver already exists for this kernel." >&2
    else
        echo "Building NVIDIA driver for kernel $1" >&2
        sh $DRIVER -K -k $1 -s -n 2>1 > /dev/null
    
        if [ -e /lib/modules/$1/kernel/drivers/video/nvidia.ko ] ; then
            echo "   SUCCESS: Driver installed for kernel $1" >&2
        else
            echo "   FAILURE: See /var/log/nvidia-installer.log" >&2
        fi
    fi
    
    exit 0
    if you place the downloaded driver file in /usr/src and create a link to it
    Code:
    ln -s /usr/src/NVIDIA-Linux-x86_64-190.53-pkg2.run /usr/src/nvidia-driver
    you should be all set. When a new kernel is installed the files in the postinst.d directory are run. This way I can install the latest driver and it will be built for any new kernels that are installed.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •