Results 1 to 6 of 6

Thread: Nvidia Kernel Conflict

  1. #1
    Join Date
    Oct 2012
    Beans
    2

    Nvidia Kernel Conflict

    I'm a Newbie in the Ubuntu Linux and I'm having a problem...

    I updated my nvidia driver to 304.51 and and then everytime I boot up my pc I'm always brought to the place where you will go if you pressed Ctrl+Alt+F1... and if I type startx I get this error(or atleast a part of it...):

    __________________________________________________ ____

    Using config file: "/var/log/Xorg.0.log," Time:
    config file: "etc/X11/Xorg.conf"

    API mismatch: The NVIDIA kernel module has version 304.51, but this NVIDIA driver component has version 295.49. Please make sure that the kernel module and all NVIDIA driver components have the same version.
    Fatal server error:
    no screens found


    Please consult the The Xorg Foundation support at http://wiki.x.org for help

    Please also check the log file at /usr/log/Xorg.0.log for additional information

    ddxSlqGiveUp: closing log
    Server terminated with error(1). Closing log file.
    xinit: giving up
    xinit unable to connect to server: no such file or directory
    xinit: server error

    _________________________________________________

    Please help... so this can be fixed or if cannot be fixed I can understand what is actually happening...

  2. #2
    Join Date
    Feb 2010
    Location
    Nr BrandsHatch, S'oaks UK
    Beans
    1,241
    Distro
    Lubuntu 13.04 Raring Ringtail

    Re: Nvidia Kernel Conflict

    Hi!, mansonmedia,

    When an update nvidia driver is installed, all previous driver elements have first to be removed [or at least deactivated ].

    If the downloaded nvidia-installer is used, this is done as part of the installation, but not necessarily so if the Ubuntu nvidia-current driver is installed by dpkg or jockey, from 'Additional Drivers'.

    To cure it you need to shut down the graphics xserver; remove --purge all nvidia* components; reinstall the later driver and reboot.
    How you do the last depends on how you got the 304.51 driver; either use "apt-get install nvidia-current", if you got it from the x-swat ppa, or run the downloaded nvidia '.run', file if that is what you did before.

    If you are in doubt, run
    Code:
    sudo apt-cache policy nvidia-current
    to confirm if nvidia-current is installed.

    So, assuming you are using ubuntu 12.04 or 12.04.1, from the tty [ 'Ctrl+Alt+F1'] login and run:
    Code:
    sudo service lightdm stop # to stop the xserver
    sudo apt-get remove --purge nvidia* # to remove all driver elements
    # then either: 
    sudo apt-get update
    sudo apt-get install nvidia-current
    sudo reboot
    # or:
    cd /home/user/Downloads # put your username in place of 'user',
     # and the folder where the nvidia '.run' file is, if not 'Downloads'
    ls # to check you are in the right place and the spelling of the file name
    sudo sh NVIDIA- # Press 'Tab' to complete the name and press 'Return'
    You may get a script failed message and other options, accept them, navigating with the 'Tab' key & pressing 'Return' to accept.

    When complete run' sudo reboot'.

    You should then be AOK. Please Post how you get on, or with any queries.

    Chao!, bogan.
    "Better Solutions may bring Worsened Problems": After Lao Tse, b. circa 405BC. a contemporary of Confucius, who died circa 600BC.
    They did things differently in those days, apparently!!

  3. #3
    Join Date
    Apr 2009
    Location
    Aotearoha
    Beans
    2,692
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Nvidia Kernel Conflict

    "or run the downloaded nvidia '.run', file if that is what you did before."

    If you used that method then you need to have the kernel headers package that matches your current kernel (& other dependencies).

    There is a "generic" meta package for kernel headers that matches the generic "meta" package for kernel image..
    So as kernel updates roll over, your headers changes to match..

    But with every kernel change you must re-build the nVidia driver.

  4. #4
    Join Date
    Nov 2009
    Location
    Lake Wales Florida
    Beans
    607
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Nvidia Kernel Conflict

    Quote Originally Posted by BicyclerBoy View Post
    "or run the downloaded nvidia '.run', file if that is what you did before."

    If you used that method then you need to have the kernel headers package that matches your current kernel (& other dependencies).

    There is a "generic" meta package for kernel headers that matches the generic "meta" package for kernel image..
    So as kernel updates roll over, your headers changes to match..

    But with every kernel change you must re-build the nVidia driver.
    The newer drivers (304.xx) now support DKMS and will update without rebuilding the driver every time the kernel changes.
    AMD FX-6200 - MSI 4.1Ghz- Nvidia GTX550Ti -12/GIG - 60GB-SSD/500 Sata - 12.04 - Gnome 3

  5. #5
    Join Date
    Oct 2012
    Beans
    2

    Re: Nvidia Kernel Conflict

    Quote Originally Posted by bogan View Post
    Hi!, mansonmedia,

    When an update nvidia driver is installed, all previous driver elements have first to be removed [or at least deactivated ].

    If the downloaded nvidia-installer is used, this is done as part of the installation, but not necessarily so if the Ubuntu nvidia-current driver is installed by dpkg or jockey, from 'Additional Drivers'.

    To cure it you need to shut down the graphics xserver; remove --purge all nvidia* components; reinstall the later driver and reboot.
    How you do the last depends on how you got the 304.51 driver; either use "apt-get install nvidia-current", if you got it from the x-swat ppa, or run the downloaded nvidia '.run', file if that is what you did before.

    If you are in doubt, run
    Code:
    sudo apt-cache policy nvidia-current
    to confirm if nvidia-current is installed.

    So, assuming you are using ubuntu 12.04 or 12.04.1, from the tty [ 'Ctrl+Alt+F1'] login and run:
    Code:
    sudo service lightdm stop # to stop the xserver
    sudo apt-get remove --purge nvidia* # to remove all driver elements
    # then either: 
    sudo apt-get update
    sudo apt-get install nvidia-current
    sudo reboot
    # or:
    cd /home/user/Downloads # put your username in place of 'user',
     # and the folder where the nvidia '.run' file is, if not 'Downloads'
    ls # to check you are in the right place and the spelling of the file name
    sudo sh NVIDIA- # Press 'Tab' to complete the name and press 'Return'
    You may get a script failed message and other options, accept them, navigating with the 'Tab' key & pressing 'Return' to accept.

    When complete run' sudo reboot'.

    You should then be AOK. Please Post how you get on, or with any queries.

    Chao!, bogan.

    well thanks for all the reply... well I've just decided to reinstall Ubuntu along with the driver... but the new problem is that I'm stuck at a lower resolution than what I'm actually enjoying at my (dual boot) windows...

  6. #6
    Join Date
    Apr 2009
    Location
    Aotearoha
    Beans
    2,692
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Nvidia Kernel Conflict

    If the nVidia installer (>304) now uses DKMS that is good news.
    But novice users should not be advised to go to nVidia drivers webpage..

    The ppa packaged nVidia drivers from X-swat xorg-edgers etc have always used DKMS.

    @OP
    What is in the log file /var/log/Xorg.0.log ?
    run:
    sudo nvidia-xconfig
    check the log file again..
    Last edited by BicyclerBoy; October 10th, 2012 at 07:52 PM.

Tags for this Thread

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
  •