NVIDIA Module Verification Failed (ASUS N56VJ double graphic card: GT 635M + Intel i915)

Hello!

I have an ASUS N56 which has a double graphic card, from NVIDIA and Intel.

I would like to use this laptop with an external HDMI screen only. Before installing any driver, something was displayed in the monitor but not useful at all (like wrong resolution rendering or something)

So I proceed by installing the NVIDIA drivers from this page: SDB:NVIDIA drivers - openSUSE Wiki

I followed the YaST approach and everything seems all right, but after reboot the external monitor is now always black.

Through different posts I think that my problems are:

  1. The module license is not trusted by the kernel, and therefore is not loaded:
dmesg | grep nvidia
[   12.092516] audit: type=1400 audit(1722367812.059:3): apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe" pid=882 comm="apparmor_parser"
[   12.092521] audit: type=1400 audit(1722367812.059:4): apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe//kmod" pid=882 comm="apparmor_parser"
[ 1102.859078] nvidia: loading out-of-tree module taints kernel.
[ 1102.859091] nvidia: module license 'NVIDIA' taints kernel.
[ 1102.859095] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[ 1102.859096] nvidia: module license taints kernel.
[ 1102.955066] nvidia-nvlink: Nvlink Core is being initialized, major device number 237
               NVRM:  visit http://www.nvidia.com/object/unix.html for more
[ 1102.955604] nvidia-nvlink: Unregistered the Nvlink Core, major device number 237
[ 1122.988253] nvidia-nvlink: Nvlink Core is being initialized, major device number 237
               NVRM:  visit http://www.nvidia.com/object/unix.html for more
[ 1122.988703] nvidia-nvlink: Unregistered the Nvlink Core, major device number 237
  1. The Intel card is always loaded, (preventing the NVIDIA card to be loaded?) i915 is active
hwinfo --gfxcard
13: PCI 100.0: 0300 VGA compatible controller (VGA)
  [Created at pci.386]
  Unique ID: VCu0.irabop_ZNOB
  Parent ID: vSkL.rPVqNC3_nn6
  SysFS ID: /devices/pci0000:00/0000:00:01.0/0000:01:00.0
  SysFS BusID: 0000:01:00.0
  Hardware Class: graphics card
  Model: "nVidia GF108M [GeForce GT 635M]"
  Vendor: pci 0x10de "nVidia Corporation"
  Device: pci 0x0de3 "GF108M [GeForce GT 635M]"
  SubVendor: pci 0x1043 "ASUSTeK Computer Inc."
  SubDevice: pci 0x1477
  Revision: 0xa1
  Memory Range: 0xf6000000-0xf6ffffff (rw,non-prefetchable,disabled)
  Memory Range: 0xe0000000-0xefffffff (ro,non-prefetchable,disabled)
  Memory Range: 0xf0000000-0xf1ffffff (ro,non-prefetchable,disabled)
  I/O Ports: 0xe000-0xefff (rw,disabled)
  Memory Range: 0xf7000000-0xf707ffff (ro,non-prefetchable,disabled)
  IRQ: 255 (no events)
  Module Alias: "pci:v000010DEd00000DE3sv00001043sd00001477bc03sc00i00"
  Driver Info #0:
    Driver Status: nouveau is not active
    Driver Activation Cmd: "modprobe nouveau"
  Driver Info #1:
    Driver Status: nvidia_drm is not active
    Driver Activation Cmd: "modprobe nvidia_drm"
  Driver Info #2:
    Driver Status: nvidia is not active
    Driver Activation Cmd: "modprobe nvidia"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #11 (PCI bridge)

22: PCI 02.0: 0300 VGA compatible controller (VGA)
  [Created at pci.386]
  Unique ID: _Znp.ZpuztAB2jLC
  SysFS ID: /devices/pci0000:00/0000:00:02.0
  SysFS BusID: 0000:00:02.0
  Hardware Class: graphics card
  Model: "Intel 3rd Gen Core processor Graphics Controller"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x0166 "3rd Gen Core processor Graphics Controller"
  SubVendor: pci 0x1043 "ASUSTeK Computer Inc."
  SubDevice: pci 0x1477
  Revision: 0x09
  Driver: "i915"
  Driver Modules: "i915"
  Memory Range: 0xf7400000-0xf77fffff (rw,non-prefetchable)
  Memory Range: 0xd0000000-0xdfffffff (ro,non-prefetchable)
  I/O Ports: 0xf000-0xf03f (rw)
  Memory Range: 0x000c0000-0x000dffff (rw,non-prefetchable,disabled)
  IRQ: 27 (66785 events)
  Module Alias: "pci:v00008086d00000166sv00001043sd00001477bc03sc00i00"
  Driver Info #0:
    Driver Status: i915 is active
    Driver Activation Cmd: "modprobe i915"
  Config Status: cfg=new, avail=yes, need=no, active=unknown

:thinking:

So, I don’t know if I should proceed with the installation of NVIDIA_SUSE_Prime or if first I should manage to register the NVIDIA module so the registration does not fail, similar to what is described here from Secureboot (which I tried but I dont understand the reference, so I implemented this command:

mokutil --import /usr/share/nvidia-pubkeys/MOK-nvidia-gfxG0-<driver_version>-<kernel_flavor>.der --root-pw

as

mokutil --import /usr/share/nvidia-pubkeys/MOK-nvidia-gfxG05-470.256.02-lp156.61.1-Linux 6.4.0-150600.21-default.der --root-pw

which failed of course :sweat_smile:

As my goal is to use the HDMI monitor, I don’t care about the Intel i915, so If I could manage to use only the NVIDIA would be great.

Thanks a lot for any help!

Cheers,

How did you chose the driver version? According the Nvidia driver search page, this one needs v390 aka G04 as it is a Fermi card.

Hello,
I choosed it based on a table, that I thought I saw here: Determination_of_driver_version
but I think was lack of attention because there is no reference between cards and drivers there.
Ill try again with the right driver and if problems ill create another post.
Thanks a lot for taking the time and for pointing it out!

I will follow up with the G40 drivers, but cant find them in the repo, I will follow this post https://forums.opensuse.org/t/geforce-gt-730-is-not-recognized-after-installing-proprietary-drivers/177194 , seems from the NVIDIA page the driver is available, although there is a warning in the OpenSUSE instruction page that the driver wont work with the kernel 6.6.x, Leap 15.6 has kernel 6.4, so I will give it a try

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.