Results 1 to 4 of 4

Thread: Can't get Nvidia graphics to work

  1. #1
    Join Date
    Feb 2016

    Can't get Nvidia graphics to work

    I have a laptop with an Nvidia GeForce 8400m GT. As of now, all of the windows lag when I drag them or scroll. The desktop resolution also doesn't match the display's. I went to "Additional Drivers" and installed the 340.96 binary, then rebooted, but everything stays the same. If I go the X Server Settings, it doesn't show any kind of display or graphics options. It just has one tab with a few other options like "Display Status Bar". I've tried to manually download a driver from the Nvidia website and and install that, but it gives me
    The kernel header file
     '/lib/modules/4.2.0-30-generic/build/include/linux/version.h' does
             not exist.  The most likely reason for this is that the kernel source files in '/lib/modules/4.2.0-30-generic/build' have not been
    Can anyone help me? I just want to get the drivers up and running so that the resolution is correct and the windows don't lag.
    Last edited by bapoumba; February 23rd, 2016 at 10:18 PM. Reason: Normalized font and format.

  2. #2
    Join Date
    Mar 2015
    Great Plains
    Ubuntu 16.04 Xenial Xerus

    Re: Can't get Nvidia graphics to work

    Am not an expert on closed source nVidia drivers (I use all Intel PC's) . . . but, if I had an nVidia or AMD machine I'd consider two changes if having chronic problems with standard "additional drivers" method:

    1). Switch to Xubuntu which may not require use of any proprietary video drivers, and/or,
    2). Use the xorg-edgers PPA (but first purge ALL nVidia drivers you installed before)

    Good Luck!
    Problem installing Ubuntu? . . Just get it "Preinstalled" (like you did for Windows!) . .

  3. #3
    Join Date
    Nov 2008
    Metro Boston
    Kubuntu Development Release

    Re: Can't get Nvidia graphics to work

    Do not try installing drivers from NVIDIA's site. That's just going to cause you pain.

    You don't tell us what Ubuntu version you're using, but it's probably not 14.04LTS since you seem to have a 4.x kernel.

    With an 8400 card, you might want to use the older 304 driver which you can install with
    sudo apt-get install nvidia-304
    That driver is available for 14.04LTS; I don't know if it is still available in later Ubuntu versions.

    You can see the array of drivers available to you with the command:
    apt-cache search nvidia | grep 'binary driver'
    For 14.04, I see the ancient 173 version, and 304, 331, 340, and 346:
    $ apt-cache search nvidia | grep 'binary driver'
    nvidia-173 - NVIDIA legacy binary driver - version 173.14.39
    nvidia-304 - NVIDIA legacy binary driver - version 304.128
    nvidia-304-updates - NVIDIA legacy binary driver - version 304.128
    nvidia-340 - NVIDIA binary driver - version 340.93
    nvidia-340-updates - NVIDIA binary driver - version 340.93
    nvidia-346 - NVIDIA binary driver - version 346.96
    nvidia-346-updates - NVIDIA binary driver - version 346.96
    You will also see the "NVIDIA X Server Settings" application installed which you should use to select resolutions.
    Last edited by SeijiSensei; February 25th, 2016 at 04:06 PM.
    If you ask for help, do not abandon your request. Please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

  4. #4
    Join Date
    Feb 2012
    Ubuntu 18.04 Bionic Beaver

    Re: Can't get Nvidia graphics to work

    I agree with SeijiSensei,
    but first would be better to completely uninstall any kind of Nvidia binary you have installed until now.

    sudo apt-get remove --purge nvidia-*
    sudo rm /etc/X11/xorg.conf
    Then follow instructions in above SeijiSensei's post and install the 304 driver. Also don't forget after a successful installation to run the command

    sudo nvidia-xconfig
    then reboot your PC.



Posting Permissions

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