HP Omen 17-w005np can't initialize GTX 965M - Opensuse

Laptop information:
OMEN by HP Laptop PC - 17-w005np
Specs:
https://support.hp.com/us-en/product/omen-by-hp-17-w000-laptop-pc-series/10862328/model/12261509/document/c05201048

>uname -a
Linux linux-tp01 5.2.14-1-default #1 SMP Tue Sep 10 10:52:01 UTC 2019 (374b0ae) x86_64 x86_64 x86_64 GNU/Linux

SO I followed:
https://en.opensuse.org/SDB:NVIDIA_drivers
https://en.opensuse.org/SDB:NVIDIA_SUSE_Prime

NVIDIA Installed drivers:
https://i.imgur.com/njfBgzE.png

I used to have the G05 drivers but the same happened.

https://i.imgur.com/PXHaucI.png

# lspci | grep VGA
# lscpu | grep Arch
# hwinfo --gfxcard | grep Model
# hwinfo --arch

https://i.imgur.com/lwhNxIZ.png

# lspci | grep VGA
# lscpu | grep Arch

https://i.imgur.com/aklLo6W.png

#prime-select nvidia
#prime-select intel

https://i.imgur.com/OynAZRs.png

dmesg
cat /etc/X11/xorg.conf
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 390.129  (buildmeister@swio-display-x64-rhel04-14)  Tue Jul 23 01:37:59 PDT 2019

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"

    # generated from data in "/etc/sysconfig/mouse"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "IMPS/2"
    Option         "Device" "/dev/input/mice"
    Option         "Emulate3Buttons" "yes"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

https://i.imgur.com/H6hNlhh.png

#nvidia-xconfig -a

https://i.imgur.com/sqJUyBZ.png

(#)nvidia-smi

https://i.imgur.com/zQD3dAR.png (Same error even doing what they say in the print…)

nvidia-settings

https://i.imgur.com/SwMn2tB.png

inxi -G
#hwinfo --gfxcard
17: PCI 100.0: 0302 3D controller                               
  [Created at pci.386]
  Unique ID: VCu0.C4vYvkQe035
  Parent ID: vSkL.ssGVCrpcUlF
  SysFS ID: /devices/pci0000:00/0000:00:01.0/0000:01:00.0
  SysFS BusID: 0000:01:00.0
  Hardware Class: graphics card
  Device Name: "NVIDIA N16E-GR"
  Model: "nVidia GM206M [GeForce GTX 965M]"
  Vendor: pci 0x10de "nVidia Corporation"
  Device: pci 0x1427 "GM206M [GeForce GTX 965M]"
  SubVendor: pci 0x103c "Hewlett-Packard Company"
  SubDevice: pci 0x825b 
  Revision: 0xa1
  Driver: "nvidia"
  Driver Modules: "nvidia"
  Memory Range: 0xa3000000-0xa3ffffff (rw,non-prefetchable)
  Memory Range: 0x90000000-0x9fffffff (ro,non-prefetchable)
  Memory Range: 0xa0000000-0xa1ffffff (ro,non-prefetchable)
  I/O Ports: 0x4000-0x4fff (rw)
  Memory Range: 0xa4000000-0xa407ffff (ro,non-prefetchable,disabled)
  IRQ: 16 (no events)
  Module Alias: "pci:v000010DEd00001427sv0000103Csd0000825Bbc03sc02i00"
  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 active
    Driver Activation Cmd: "modprobe nvidia"
  Config Status: cfg=no, avail=yes, need=no, active=unknown
  Attached to: #12 (PCI bridge)

24: PCI 02.0: 0300 VGA compatible controller (VGA)
  [Created at pci.386]
  Unique ID: _Znp.eW0JZl5DxA3
  SysFS ID: /devices/pci0000:00/0000:00:02.0
  SysFS BusID: 0000:00:02.0
  Hardware Class: graphics card
  Device Name: "Intel Skylake HD Graphics ULT GT2"
  Model: "Intel HD Graphics 530"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x191b "HD Graphics 530"
  SubVendor: pci 0x103c "Hewlett-Packard Company"
  SubDevice: pci 0x825b 
  Revision: 0x06
  Driver: "i915"
  Driver Modules: "i915"
  Memory Range: 0xa2000000-0xa2ffffff (rw,non-prefetchable)
  Memory Range: 0xb0000000-0xbfffffff (ro,non-prefetchable)
  I/O Ports: 0x5000-0x503f (rw)
  Memory Range: 0x000c0000-0x000dffff (rw,non-prefetchable,disabled)
  IRQ: 129 (81505 events)
  Module Alias: "pci:v00008086d0000191Bsv0000103Csd0000825Bbc03sc00i00"
  Driver Info #0:
    Driver Status: i915 is active
    Driver Activation Cmd: "modprobe i915"
  Config Status: cfg=no, avail=yes, need=no, active=unknown

Primary display adapter: #24

Let me know if you need more info. Thanks in advance.

nvidia-bug-report.sh
nvidia-bug-report.sh --safe-mode
nvidia-bug-report.sh --extra-system-data

http://alunos.ipb.pt/~a37529/files/NVIDIA_BUGS/nvidia_gtx965m.zip

Please delete
/etc/X11/xorg.conf
/etc/X11/xorg.conf.d/90-intel.conf
and attach here
/etc/prime/xorg-nvidia.conf
/etc/prime/xorg-intel.conf
those files have to be modified for suse-prime to work.

Done

cat /etc/prime/xorg-nvidia.conf
Section "ServerLayout"
    Identifier "layout"
    Screen "nvidia"
    Inactive "intel"
    Inactive "modesetting"
EndSection

Section "Screen"
    Identifier "intel"
    Device "intel"
EndSection

Section "Device"
    Identifier "intel"
    Driver "intel"
EndSection

Section "Screen"
    Identifier "modesetting"
    Device "modesetting"
EndSection

Section "Device"
    Identifier "modesetting"
    Driver "modesetting"
EndSection

Section "Screen"
    Identifier "nvidia"
    Device "nvidia"
EndSection

Section "Device"
    Identifier "nvidia"
    Driver "nvidia"
    BusID "PCI:X:X:X"
    Option "DPI" "96 x 96"
    Option "AllowEmptyInitialConfiguration"
EndSection
cat /etc/prime/xorg-intel.conf
Section "ServerLayout"
    Identifier "layout"
    Screen "intel"
EndSection

Section "Device"
    Identifier "intel"
    Driver "modesetting"
    BusID "PCI:X:X:X"
EndSection

Section "Screen"
    Identifier "intel"
    Device "intel"
EndSection

Replace /etc/prime/xorg-nvidia.conf with this:

Section "ServerLayout"
    Identifier     "layout"
    Screen      0  "nvidia" 0 0
    Inactive       "intel"
EndSection

Section "Device"
    Identifier     "intel"
    Driver         "modesetting"
    Option         "AccelMethod" "none"
    BusID          "PCI:0:2:0"
EndSection

Section "Device"
    Identifier     "nvidia"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BusID          "PCI:1:0:0"
    Option         "AllowEmptyInitialConfiguration"
EndSection

Section "Screen"
    Identifier     "nvidia"
    Device         "nvidia"
EndSection

In /etc/prime/xorg-intel.conf
change

BusID "PCI:X:X:X"

to

BusID "PCI:0:2:0"

Afterwards, run either
sudo prime-select intel
or
sudo prime-select nvidia
and reboot.
If you still have problems, create a new nvidia-bug-report.log afterwards.

sudo prime-select intel
bbswitch is not installed. NVIDIA card will not be powered off
Driver configured: intel
sudo prime-select nvidia
modprobe: ERROR: could not insert 'nvidia': No such device
modprobe: ERROR: could not insert 'nvidia_drm': Unknown symbol in module, or unknown parameter (see dmesg)

ERROR: Unable to query GPU information

PCI BusID of NVIDIA card could not be detected!
dmesg
[  329.489650] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
[  329.489665] pcieport 0000:00:1c.5: AER: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[  329.489666] pcieport 0000:00:1c.5: AER:   device [8086:a115] error status/mask=00000001/00002000
[  329.489667] pcieport 0000:00:1c.5: AER:    [ 0] RxErr                 
[  413.119829] nvidia-nvlink: Nvlink Core is being initialized, major device number 240
[  413.120049] NVRM: No NVIDIA graphics adapter found!
[  413.151845] nvidia-nvlink: Unregistered the Nvlink Core, major device number 240
[  413.192521] nvidia_modeset: Unknown symbol nv_kthread_q_flush (err -2)
[  413.192595] nvidia_modeset: Unknown symbol nvidia_register_module (err -2)
[  413.192678] nvidia_modeset: Unknown symbol nv_kthread_q_schedule_q_item (err -2)
[  413.192771] nvidia_modeset: Unknown symbol nvidia_get_rm_ops (err -2)
[  413.192868] nvidia_modeset: Unknown symbol nv_kthread_q_item_init (err -2)
[  413.192939] nvidia_modeset: Unknown symbol nv_kthread_q_stop (err -2)
[  413.193004] nvidia_modeset: Unknown symbol nvidia_unregister_module (err -2)
[  413.193106] nvidia_modeset: Unknown symbol nv_kthread_q_init (err -2)

From your old logs:

[  125.744229] NVRM: RmInitAdapter failed! (0x26:0xffff:1123)
[  125.744248] NVRM: rm_init_adapter failed for device bearing minor number 0

doesn’t look good, might be defective hardware. Please try

  • upgrade bios
  • use kernel parameter
    acpi_osi=! acpi_osi=“Windows 2009”
  • check hardware by installing Windows

can you tell me how to do this?

In Windows the GTX worked just fine, back in january. I have the drivers version for the 400+ series, if I install the 600+ drivers, will it make a difference?

You had the same failure with any driver version you installed.
Kernel parameter: [url]https://doc.opensuse.org/documentation/leap/reference/html/book.opensuse.reference/cha.grub2.html#sec.grub2.yast2.config[/url]

That it worked in january is irrelevant for its current function in september.