How to install Nvidia 295.40 drivers in ubuntu 12.04/11.10 using PPA

This tutorial will explain how to install Nvidia 295.40 drivers in ubuntu 12.04/11.10 using PPA

What is new in Nvidia 295.40

Added support for the following GPUs:
GeForce GT 635M
GeForce 610M
Closed a security vulnerability which made it possible for attackers to reconfigure GPUs to gain access to arbitrary system memory. For further details, see: http://nvidia.custhelp.com/app/answers/detail/a_id/3109
Fixed a bug that caused DisplayPort devices to occasionally fail to turn back on after the system is resumed from suspend.
Added a ModeValidation X configuration option token, "AllowNon3DVisionModes", to allow modes that are not optimized for NVIDIA 3D Vision to be validated on 3D Vision monitors.

Note:-After installing these drivers it might break your system so install them with your own risk

Install Nvidia 295.40 drivers in ubuntu 11.10

Open the terminal and run the following commands

sudo apt-add-repository ppa:ubuntu-x-swat/x-updates
sudo apt-get update
sudo apt-get install nvidia-current

If you are running ubuntu 12.04 open the terminal and run the following commands

sudo apt-get update
sudo apt-get install nvidia-current

Currently users are reporting the following issues on ubuntu 64-bit systems

Breaks openGL libraries

Some times unity 3D

Sponsored Link

You may also like...

13 Responses

  1. ripps says:

    295.40 is already available in Ubuntu 12.04, there is no need to install it from a PPA.

  2. admin says:

    Thanks for your comment and i have updated the article

  3. danrgmc says:

    just install 195.40-so far no issues.

    11.10 X86_64

    gnome classic no effects

    haven’t tried gnome or cinnamon yet.

  4. Enrico says:

    Hi, does someone know how it works with optimus GPU like GT540M?

  5. Dàrent says:

    Works well with mine, although it’s a gtx550 but I don’t think there’s much diference. The only problem is sometimes fails to compile the kernel module and I have to repeat the installation via tty without gui after rebooting. But it might be because I’m using a custom kernel. It ceirtanly increases graphics performance since the former version.

  6. Enrico says:

    Hi again, I’m a little bit confused..
    mi nvidia-current are at the latest version.
    lspci -v say:

    01:00.0 VGA compatible controller: NVIDIA Corporation GF108 [GeForce GT 540M] (rev a1) (prog-if 00 [VGA controller])
    Subsystem: Acer Incorporated [ALI] Device 055c
    Flags: bus master, fast devsel, latency 0, IRQ 16
    Memory at d0000000 (32-bit, non-prefetchable) [size=16M]
    Memory at a0000000 (64-bit, prefetchable) [size=256M]
    Memory at b0000000 (64-bit, prefetchable) [size=32M]
    I/O ports at 3000 [disabled] [size=128]
    Expansion ROM at d1000000 [disabled] [size=512K]
    Capabilities:
    Kernel modules: nvidia_current, nouveau, nvidiafb

    but if I run jockey or simply nvidia-detector the result is:
    enrico@Tux-Harder:~$ nvidia-detector
    none

    Any hint?
    Thank you!

  7. Dàrent says:

    The same here, since I updated the drivers from the ppa in the post jockey doesn’t show them. It may be because it tries to search the older ones. I won’t worry about, since it says the module is loaded in the kernel. Try “glxinfo | grep direct” and if the output says yes they must be properly installed. Good luck!

  8. Mestkan says:

    Compiz got unusable slow eating the CPU. I must do :~$ metacity –replace

  9. Dàrent says:

    Compiz shouldn’t eat CPU, is more GPU dependant. And it runs fine in my old netbook. Try this (sorry I can’t point you to the website where I found it, I didn’t keep the adress, only this tweak):
    CompizConfig Settings Manager from the Software Centre and disabled a few options

    I tweaked the following

    1. Under ‘Composite’ disable ‘Detect Refresh Rate’
    2. Under ‘OpenGL’ disable Sync to VBlank and change Texture Filter to ‘Fast’

  10. Mestkan says:

    Thanks for the help. I tried, but no sigar. Same issue.

  11. Richard says:

    I have a Toshiba with a Geforce GT 540M and I am getting results similar to others mentioned above. However glxinfo reports “no” and during the install of nvidia-current I see the following:

    INFO:Enable nvidia-current
    DEBUG:Parsing /usr/share/nvidia-common/quirks/lenovo_thinkpad
    DEBUG:Parsing /usr/share/nvidia-common/quirks/put_your_quirks_here
    DEBUG:Parsing /usr/share/nvidia-common/quirks/dell_latitude
    DEBUG:Processing quirk ThinkPad T420s
    DEBUG:Failure to match TOSHIBA with LENOVO
    DEBUG:Quirk doesn’t match
    DEBUG:Processing quirk Latitude E6530
    DEBUG:Failure to match TOSHIBA with Dell Inc.
    DEBUG:Quirk doesn’t match
    Loading new nvidia-current-295.40 DKMS files…

    Any thoughts?

    Also, I’m reading conflicting advice as to whether or not I should be bothering trying to get the nvidia drivers working. Should I just stick with Ubuntu versions?

    I appreciate your thoughts!

  12. mike says:

    @Richard, If your laptop have Switchable GPU’s you probably cant use any drivers as far as i know of.
    It will never work flawlessly

  13. nicolas says:

    hi,

    have hit a bug/problem when using these drivers
    on my t410 it fails to correctly install these drivers

    output is like:
    INFO:Enable nvidia-current
    DEBUG:Parsing /usr/share/nvidia-common/quirks/lenovo_thinkpad
    DEBUG:Parsing /usr/share/nvidia-common/quirks/put_your_quirks_here
    DEBUG:Parsing /usr/share/nvidia-common/quirks/dell_latitude
    DEBUG:Processing quirk ThinkPad T420s
    DEBUG:Failure to match ThinkPad 410 with ThinkPad 420s
    DEBUG:Quirk doesn’t match
    DEBUG:Processing quirk Latitude E6530
    DEBUG:Failure to match Lenovo with Dell Inc.

    and finally, i have no GUI Desktop and logs show that:
    NVRM: API mismarch: the client has the version 295.49, but
    NVRN: this kernel module has the version 304.43
    NVRN: make sure that this kernel module and all NVIDIA driver
    NVRN: components have the same version.

    hope you can throw some support about these messages

    thanks,
    DEBUG:Quirk doesn’t match

Leave a Reply

Your email address will not be published. Required fields are marked *