Also experiencing this issue, on a Sony Vaio laptop. The card is an
Nvidia GeForce 8400M GT. It was working under 15.10.

The latest driver in the graphics-drivers PPA, nvidia-364, does not
support the video card:

[  243.591384] NVRM: The NVIDIA GeForce 8400M GT GPU installed in this system is
               NVRM:  supported through the NVIDIA 340.xx Legacy drivers. Please
               NVRM:  visit http://www.nvidia.com/object/unix.html for more
               NVRM:  information.  The 364.19 NVIDIA driver will ignore
               NVRM:  this GPU.  Continuing probe...

The current recommended driver in the graphics-drivers PPA, nvidia-352,
also does not support the card:

[  183.787047] NVRM: The NVIDIA GeForce 8400M GT GPU installed in this system is
               NVRM:  supported through the NVIDIA 340.xx Legacy drivers. Please
               NVRM:  visit http://www.nvidia.com/object/unix.html for more
               NVRM:  information.  The 361.42 NVIDIA driver will ignore
               NVRM:  this GPU.  Continuing probe...

For some reason installing the package nvidia-352 also installs the
package nvidia-361. The one option in the graphics-drivers PPA after the
driver-recommended version 340 but before the PPA-recommended version
352 is 346. Installing nvidia-346 also installs nvidia-352 and
nvidia-361 and so gives the same message as nvidia-352.

The version those later driver versions recommend, 340, seemingly fails
in some way. It apparently does load but then gives the same error
mentioned in the OP. This happens both when I install that version of
the driver manually, either nvidia-340 or nvidia-340-updates, using
`sudo apt-get install nvidia-340` or `sudo apt-get install
nvidia-340-updates`:

[   17.015956] nvidia: module license 'NVIDIA' taints kernel.
[   17.015961] Disabling lock debugging due to kernel taint
[   17.028907] nvidia: module verification failed: signature and/or required 
key missing - tainting kernel
[   17.036538] vgaarb: device changed decodes: 
PCI:0000:01:00.0,olddecodes=io+mem,decodes=none:owns=io+mem
[   17.037284] [drm] Initialized nvidia-drm 0.0.0 20150116 for 0000:01:00.0 on 
minor 0
[   17.037295] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  340.96  Sun Nov  
8 22:33:28 PST 2015
[   17.335519] nvidia_uvm: Loaded the UVM driver, major device number 246
[   17.757950] NVRM: failed to copy vbios to system memory.
[   17.758187] NVRM: RmInitAdapter failed! (0x30:0xffffffff:747)
[   17.758215] NVRM: rm_init_adapter failed for device bearing minor number 0
[   17.758284] NVRM: nvidia_frontend_open: minor 0, module->open() failed, 
error -5

And when I let Ubuntu install it automatically, using `sudo ubuntu-
drivers autoinstall`:

[   20.921331] nvidia: module license 'NVIDIA' taints kernel.
[   20.921336] Disabling lock debugging due to kernel taint
[   20.934363] nvidia: module verification failed: signature and/or required 
key missing - tainting kernel
[   20.941739] vgaarb: device changed decodes: 
PCI:0000:01:00.0,olddecodes=io+mem,decodes=none:owns=io+mem
[   20.942365] [drm] Initialized nvidia-drm 0.0.0 20150116 for 0000:01:00.0 on 
minor 0
[   20.942376] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  340.96  Sun Nov  
8 22:33:28 PST 2015
[   21.141342] nvidia_uvm: Loaded the UVM driver, major device number 246
[   21.414795] NVRM: failed to copy vbios to system memory.
[   21.415032] NVRM: RmInitAdapter failed! (0x30:0xffffffff:747)
[   21.415057] NVRM: rm_init_adapter failed for device bearing minor number 0
[   21.415127] NVRM: nvidia_frontend_open: minor 0, module->open() failed, 
error -5

The last 4 lines happen multiple times in the dmesg log, I guess
whenever something tries to use the nvidia kernel module:

[   17.757950] NVRM: failed to copy vbios to system memory.
[   17.758187] NVRM: RmInitAdapter failed! (0x30:0xffffffff:747)
[   17.758215] NVRM: rm_init_adapter failed for device bearing minor number 0
[   17.758284] NVRM: nvidia_frontend_open: minor 0, module->open() failed, 
error -5

The older driver package nvidia-304 (also reported by ubuntu-drivers as
compatible with the card) seemingly loads fine but then gives a similar
error whenever I execute a program that tries to use it. The alternative
package nvidia-304-updates also does this:

[   20.868063] nvidia: module license 'NVIDIA' taints kernel.
[   20.868070] Disabling lock debugging due to kernel taint
[   20.881968] nvidia: module verification failed: signature and/or required 
key missing - tainting kernel
[   20.889503] vgaarb: device changed decodes: 
PCI:0000:01:00.0,olddecodes=io+mem,decodes=none:owns=io+mem
[   20.889811] [drm] Initialized nvidia-drm 0.0.0 20150116 for 0000:01:00.0 on 
minor 0
[   20.889821] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  304.131  Sun Nov 
 8 21:43:33 PST 2015
..
[  149.866402] NVRM: failed to copy vbios to system memory.
[  149.866568] NVRM: RmInitAdapter failed! (0x30:0xffffffff:867)
[  149.866576] NVRM: rm_init_adapter(0) failed

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

Title:
  legacy nvidia drivers fail to work with latest kernel

Status in nvidia-graphics-drivers-304 package in Ubuntu:
  Confirmed
Status in nvidia-graphics-drivers-340 package in Ubuntu:
  Confirmed

Bug description:
  i have a MacBookPro3,1 with a NVIDIA Corporation G84M [GeForce 8600M
  GT] (rev a1) video card. while in ubuntu 15.10 everything worked fine,
  after the upgrade in 16.04 the legacy nvidia-304 drivers do not. the
  X11 fails to start, the relevant lines in the /var/log/Xorg.0.log file
  are

  [  3021.745] (EE) NVIDIA(0): Failed to initialize the NVIDIA GPU at 
PCI:1:0:0.  Please
  [  3021.745] (EE) NVIDIA(0):     check your system's kernel log for 
additional error
  [  3021.745] (EE) NVIDIA(0):     messages and refer to Chapter 8: Common 
Problems in the
  [  3021.745] (EE) NVIDIA(0):     README for additional information.
  [  3021.745] (EE) NVIDIA(0): Failed to initialize the NVIDIA graphics device!
  [  3021.745] (EE) NVIDIA(0): Failing initialization of X screen 0
  [  3021.745] (II) UnloadModule: "nvidia"

  and the journalctl --dmesg gives

  kernel: NVRM: failed to copy vbios to system memory.
  kernel: NVRM: RmInitAdapter failed! (0x30:0xffffffff:867)
  kernel: NVRM: rm_init_adapter(0) failed

  nevertheless, the nvidia kernel module is loaded without a problem.

  i also tried more recent versions of nvidia-X but without success.
  they either fail with the same messages as above or they do not
  support the video card.

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: linux-image-4.4.0-6-generic 4.4.0-6.21
  ProcVersionSignature: Ubuntu 4.4.0-6.21-generic 4.4.1
  Uname: Linux 4.4.0-6-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.20-0ubuntu3
  Architecture: amd64
  AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-path', 
'/dev/snd/hwC0D0', '/dev/snd/pcmC0D2c', '/dev/snd/pcmC0D1c', 
'/dev/snd/pcmC0D1p', '/dev/snd/pcmC0D0c', '/dev/snd/pcmC0D0p', 
'/dev/snd/controlC0', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
  CRDA:
   country AW: DFS-ETSI
        (2402 - 2482 @ 40), (N/A, 20), (N/A)
        (5170 - 5250 @ 80), (N/A, 20), (N/A)
        (5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS
        (5490 - 5710 @ 160), (N/A, 27), (0 ms), DFS
  Date: Fri Feb 19 18:05:07 2016
  HibernationDevice: RESUME=UUID=484d04a2-0891-47bb-b890-ee3ab0189ef7
  InstallationDate: Installed on 2016-02-17 (2 days ago)
  InstallationMedia: Ubuntu-Server 15.10 "Wily Werewolf" - Release amd64 
(20151021)
  MachineType: Apple Inc. MacBookPro3,1
  ProcFB: 0 EFI VGA
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-6-generic.efi.signed 
root=UUID=fddff8cb-9428-47b7-a215-034c4b79c0fe ro
  PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No 
PulseAudio daemon running, or not running as session daemon.
  RelatedPackageVersions:
   linux-restricted-modules-4.4.0-6-generic N/A
   linux-backports-modules-4.4.0-6-generic  N/A
   linux-firmware                           1.156
  SourcePackage: linux
  UpgradeStatus: Upgraded to xenial on 2016-02-17 (1 days ago)
  dmi.bios.date: 03/05/08
  dmi.bios.vendor: Apple Inc.
  dmi.bios.version: MBP31.88Z.0070.B07.0803051658
  dmi.board.asset.tag: Base Board Asset Tag
  dmi.board.name: Mac-F4238BC8
  dmi.board.vendor: Apple Inc.
  dmi.board.version: PVT
  dmi.chassis.asset.tag: Asset Tag#
  dmi.chassis.type: 2
  dmi.chassis.vendor: Apple Inc.
  dmi.chassis.version: Mac-F4238BC8
  dmi.modalias: 
dmi:bvnAppleInc.:bvrMBP31.88Z.0070.B07.0803051658:bd03/05/08:svnAppleInc.:pnMacBookPro3,1:pvr1.0:rvnAppleInc.:rnMac-F4238BC8:rvrPVT:cvnAppleInc.:ct2:cvrMac-F4238BC8:
  dmi.product.name: MacBookPro3,1
  dmi.product.version: 1.0
  dmi.sys.vendor: Apple Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-304/+bug/1547599/+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