I have experienced this problem on my Ubuntu 12.04.3 LTS system.

Here's an extract from dmesg output:

[   30.521761] NVRM: API mismatch: the client has the version 304.108, but
[   30.521763] NVRM: this kernel module has the version 304.88.  Please
[   30.521764] NVRM: make sure that this kernel module and all NVIDIA driver
[   30.521765] NVRM: components have the same version.

Here's my attempted fix (thanks for the hints from above).  After a
reboot, all appears well.


hugh@redblack:~$ sudo dkms status

nvidia-304, 304.88, 3.2.0-53-generic, x86_64: installed
nvidia-304, 304.88, 3.2.0-55-generic, x86_64: installed
nvidia-304, 304.88, 3.2.0-56-generic, x86_64: installed
nvidia-304, 304.88, 3.2.0-57-generic, x86_64: installed
nvidia-304-updates, 304.108, 3.2.0-57-generic, x86_64: installed
hugh@redblack:~$ locate /modprobe.conf
/lib/nvidia-304/modprobe.conf
/lib/nvidia-304-updates/modprobe.conf
/usr/share/man/man5/modprobe.conf.5.gz
hugh@redblack:~$ sudo dkms remove nvidia-304/304.88 -k 3.2.0-57-generic

-------- Uninstall Beginning --------
Module:  nvidia-304
Version: 304.88
Kernel:  3.2.0-57-generic (x86_64)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

nvidia_304.ko:
 - Uninstallation
   - Deleting from: /lib/modules/3.2.0-57-generic/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

depmod.........

DKMS: uninstall completed.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to nvidia-graphics-drivers-304-updates in
Ubuntu.
https://bugs.launchpad.net/bugs/1262752

Title:
  nvidia_304 not blacklisted or removed when nvidia_304_updates  is
  installed.

Status in “nvidia-graphics-drivers-304-updates” package in Ubuntu:
  Confirmed

Bug description:
  Dell Latitude E6520 Laptop

  System had a working nvidia-304 driver package installed (304.88-0ubuntu0.0.3)
  A regular system update installed, build and activated nvidia-304-updates 
(304.108-0ubuntu0.0.1)

  The new driver does not blacklist nvidia-304 which is still available at 
/lib/modules/3.2.0-57-generic/updates/dkms/nvidia_304.ko
  Depending on which driver is found first on the filesystem, it is possible 
that udev loads the wrong driver at system boot. (Driver detection and loading 
based on pci-aliases found in the system).

  Xorg.0.log shows:
  [    22.112] (EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module. 
Please see the
  [    22.112] (EE) NVIDIA(0):     system's kernel log for additional error 
messages and
  [    22.112] (EE) NVIDIA(0):     consult the NVIDIA README for details.
  [    22.112] (EE) NVIDIA(0):  *** Aborting ***
  [    22.112] (EE) NVIDIA(0): Failing initialization of X screen 0

  Dmesg shows:
  [   22.227733] NVRM: API mismatch: the client has the version 304.108, but
  [   22.227735] NVRM: this kernel module has the version 304.88.  Please
  [   22.227735] NVRM: make sure that this kernel module and all NVIDIA driver
  [   22.227736] NVRM: components have the same version.
  [   22.298983] init: lightdm main process (1406) terminated with status 1

  1) Description: Ubuntu 12.04.03 LTS
       Release: 12.04
  2) Installed: 304.108-0ubuntu0.0.1
  3) Correct nvidia kernel module to be loaded at system boot
  4) Depending on which driver is found first on the filesystem the wrong 
nvidia kernel module can be loaded.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: nvidia-304-updates 304.108-0ubuntu0.0.1
  ProcVersionSignature: Ubuntu 3.2.0-57.87-generic 3.2.52
  Uname: Linux 3.2.0-57-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.0.1-0ubuntu17.6
  Architecture: amd64
  Date: Thu Dec 19 17:27:29 2013
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 
(20120423)
  MarkForUpload: True
  ProcEnviron:
   TERM=linux
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: nvidia-graphics-drivers-304-updates
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-304-updates/+bug/1262752/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to