[OpenSuse] HP Omen 17-w005np can’t initialize GTX 965M

I’ve posted a related topic a while ago (here), back then I couldn’t get it to work, but I did not really needed, tho vsxu running on the intel 530 is not that great.
Recently I’ve working with Blender and Android Studio. Everytime I open Blender and try to render it takes forever and the screen even freezes, watching 1080p videos will also get the screen to freeze from time to time. I always need to set the cpu-frequency to performance mode…

I’ll try to give as much info as I can, the problem is slighty different from the previous post, tho both problems won’t allow it to work. I’ve already tried to contact nvidia through their email(linux-bugs@nvidia.com) a couple of times without any sort of answer from their side.

uname -a
Linux bonobobo 5.9.1-1-default #1 SMP Mon Oct 26 07:02:23 UTC 2020 (435e92d) x86_64 x86_64 x86_64 GNU/Linux

lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)

lspci | grep NVIDIA
01:00.0 3D controller: NVIDIA Corporation GM206M [GeForce GTX 965M] (rev a1)

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: "Hewlett-Packard Company OMEN-17-w001nv"
  Vendor: pci 0x10de "nVidia Corporation"
  Device: pci 0x1427 "GM206M [GeForce GTX 965M]"
  SubVendor: pci 0x103c "Hewlett-Packard Company"
  SubDevice: pci 0x825b "OMEN-17-w001nv"
  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: 0xa4080000-0xa40fffff (ro,non-prefetchable,disabled)
  IRQ: 16 (3 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 active
    Driver Activation Cmd: "modprobe nvidia_drm"
  Driver Info #2:
    Driver Status: nvidia is active
    Driver Activation Cmd: "modprobe nvidia"
  Config Status: cfg=new, 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: "Hewlett-Packard Company OMEN-17-w001nv"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x191b "HD Graphics 530"
  SubVendor: pci 0x103c "Hewlett-Packard Company"
  SubDevice: pci 0x825b "OMEN-17-w001nv"
  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 (114394 events)
  Module Alias: "pci:v00008086d0000191Bsv0000103Csd0000825Bbc03sc00i00"
  Driver Info #0:
    Driver Status: i915 is active
    Driver Activation Cmd: "modprobe i915"
  Config Status: cfg=new, avail=yes, need=no, active=unknown

Primary display adapter: #24

ls -l /dev/nvidia*

crw-rw----+ 1 root video 195,   0 Oct 30 13:26 /dev/nvidia0
crw-rw----+ 1 root video 195, 255 Oct 30 13:26 /dev/nvidiactl
crw-rw----+ 1 root video 195, 254 Oct 30 13:26 /dev/nvidia-modeset

/dev/nvidia-caps:
total 0
cr-------- 1 root root 240, 1 Oct 30 13:53 nvidia-cap1
cr--r--r-- 1 root root 240, 2 Oct 30 13:53 nvidia-cap2

modprobe -D nvidia
install PATH=$PATH:/bin:/usr/bin; if /sbin/modprobe --ignore-install nvidia; then if /sbin/modprobe nvidia_uvm; then if [ ! -c /dev/nvidia-uvm ]; then mknod -m 660 /dev/nvidia-uvm c $(cat /proc/devices | while read major device; do if [ "$device" == "nvidia-uvm" ]; then echo $major; break; fi ; done) 0; chown :video /dev/nvidia-uvm; fi; if [ ! -c /dev/nvidia-uvm-tools ]; then mknod -m 660 /dev/nvidia-uvm-tools c $(cat /proc/devices | while read major device; do if [ "$device" == "nvidia-uvm" ]; then echo $major; break; fi ; done) 1; chown :video /dev/nvidia-uvm-tools; fi; fi; if [ ! -c /dev/nvidiactl ]; then mknod -m 660 /dev/nvidiactl c 195 255; chown :video /dev/nvidiactl; fi; devid=-1; for dev in $(ls -d /sys/bus/pci/devices/*); do vendorid=$(cat $dev/vendor); if [ "$vendorid" == "0x10de" ]; then class=$(cat $dev/class); classid=${class%%00}; if [ "$classid" == "0x0300" -o "$classid" == "0x0302" ]; then devid=$((devid+1)); if [ ! -c /dev/nvidia${devid} ]; then mknod -m 660 /dev/nvidia${devid} c 195 ${devid}; chown :video /dev/nvidia${devid}; fi; fi; fi; done; /sbin/modprobe nvidia_drm; if [ ! -c /dev/nvidia-modeset ]; then mknod -m 660 /dev/nvidia-modeset c 195 254; chown :video /dev/nvidia-modeset; fi; fi NVreg_DynamicPowerManagement=0x01 NVreg_DeviceFileUID=0 NVreg_DeviceFileGID=482 NVreg_DeviceFileMode=0660

lsmod | grep nvidia

nvidia_drm             61440  0
nvidia_modeset       1187840  1 nvidia_drm
nvidia              19775488  4 nvidia_modeset
drm_kms_helper        266240  2 nvidia_drm,i915
drm                   585728  14 drm_kms_helper,nvidia_drm,i915

modinfo nvidia

filename:       /lib/modules/5.9.1-1-default/updates/nvidia.ko
alias:          char-major-195-*
version:        450.80.02
supported:      external
license:        NVIDIA
suserelease:    openSUSE Tumbleweed
srcversion:     64FD5F62568F4AA5B5B96F7
alias:          pci:v000010DEd*sv*sd*bc03sc02i00*
alias:          pci:v000010DEd*sv*sd*bc03sc00i00*
depends:        
retpoline:      Y
name:           nvidia
vermagic:       5.9.1-1-default SMP mod_unload modversions 
parm:           NvSwitchRegDwords:NvSwitch regkey (charp)
parm:           NvSwitchBlacklist:NvSwitchBlacklist=uuid[,uuid...] (charp)
parm:           nv_cap_enable_devfs:Enable (1) or disable (0) nv-caps devfs support. Default: 1 (int)
parm:           NVreg_ResmanDebugLevel:int
parm:           NVreg_RmLogonRC:int
parm:           NVreg_ModifyDeviceFiles:int
parm:           NVreg_DeviceFileUID:int
parm:           NVreg_DeviceFileGID:int
parm:           NVreg_DeviceFileMode:int
parm:           NVreg_InitializeSystemMemoryAllocations:int
parm:           NVreg_UsePageAttributeTable:int
parm:           NVreg_MapRegistersEarly:int
parm:           NVreg_RegisterForACPIEvents:int
parm:           NVreg_EnablePCIeGen3:int
parm:           NVreg_EnableMSI:int
parm:           NVreg_TCEBypassMode:int
parm:           NVreg_EnableStreamMemOPs:int
parm:           NVreg_EnableBacklightHandler:int
parm:           NVreg_RestrictProfilingToAdminUsers:int
parm:           NVreg_PreserveVideoMemoryAllocations:int
parm:           NVreg_DynamicPowerManagement:int
parm:           NVreg_DynamicPowerManagementVideoMemoryThreshold:int
parm:           NVreg_EnableUserNUMAManagement:int
parm:           NVreg_MemoryPoolSize:int
parm:           NVreg_KMallocHeapMaxSize:int
parm:           NVreg_VMallocHeapMaxSize:int
parm:           NVreg_IgnoreMMIOCheck:int
parm:           NVreg_NvLinkDisable:int
parm:           NVreg_EnablePCIERelaxedOrderingMode:int
parm:           NVreg_RegisterPCIDriver:int
parm:           NVreg_RegistryDwords:charp
parm:           NVreg_RegistryDwordsPerDevice:charp
parm:           NVreg_RmMsg:charp
parm:           NVreg_GpuBlacklist:charp
parm:           NVreg_TemporaryFilePath:charp
parm:           NVreg_AssignGpus:charp

nvidia-smi
No devices were found

dmesg | grep ‘NVRM|NVIDIA|nvidia’

[    7.543650] nvidia: loading out-of-tree module taints kernel.
[    7.543662] nvidia: module license 'NVIDIA' taints kernel.
[    7.633774] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[    7.657029] nvidia-nvlink: Nvlink Core is being initialized, major device number 239
[    7.657828] nvidia 0000:01:00.0: enabling device (0000 -> 0003)
[    7.757942] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  450.80.02  Wed Sep 23 01:13:39 UTC 2020
[    7.900652] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  450.80.02  Wed Sep 23 00:48:09 UTC 2020
[    7.910871] [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
[    7.910873] [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:01:00.0 on minor 1
[    9.336812] audit: type=1400 audit(1604064365.368:6): apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe" pid=1019 comm="apparmor_parser"
[    9.337817] audit: type=1400 audit(1604064365.372:7): apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe//kmod" pid=1019 comm="apparmor_parser"
[   46.305647] nvidia 0000:01:00.0: Enabling HDA controller
[   48.225659] nvidia 0000:01:00.0: Enabling HDA controller
[   52.250085] NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x31:0xffff:973)
[   52.250198] NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0
[  231.137699] nvidia 0000:01:00.0: Enabling HDA controller
[  384.065801] nvidia 0000:01:00.0: Enabling HDA controller
[  388.126050] NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x31:0xffff:973)
[  388.126072] NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0
[  541.381710] nvidia 0000:01:00.0: Enabling HDA controller
[  719.809725] nvidia 0000:01:00.0: Enabling HDA controller
[  789.825844] nvidia 0000:01:00.0: Enabling HDA controller
[  793.906177] NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x31:0xffff:973)
[  793.906284] NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0
[ 1031.201856] nvidia 0000:01:00.0: Enabling HDA controller
[ 1168.673735] nvidia 0000:01:00.0: Enabling HDA controller
[ 1172.738263] NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x31:0xffff:973)
[ 1172.738286] NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0
[ 1383.557742] nvidia 0000:01:00.0: Enabling HDA controller
[ 1387.558199] NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x31:0xffff:973)
[ 1387.558226] NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0
[ 1443.201867] nvidia 0000:01:00.0: Enabling HDA controller
[ 1447.202288] NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x31:0xffff:973)
[ 1447.202329] NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0
[ 1482.273759] nvidia 0000:01:00.0: Enabling HDA controller
[ 1486.274116] NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x31:0xffff:973)
[ 1486.274219] NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0
[ 1516.417777] nvidia 0000:01:00.0: Enabling HDA controller
[ 1520.466920] NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x31:0xffff:973)
[ 1520.467028] NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0
[ 1561.985877] nvidia 0000:01:00.0: Enabling HDA controller
[ 1565.986107] NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x31:0xffff:973)
[ 1565.986210] NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0
[ 1581.569720] nvidia 0000:01:00.0: Enabling HDA controller
[ 1585.618258] NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x31:0xffff:973)
[ 1585.618280] NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0
[ 1641.793883] nvidia 0000:01:00.0: Enabling HDA controller
[ 1645.794107] NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x31:0xffff:973)
[ 1645.794210] NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0
[ 1692.673888] nvidia 0000:01:00.0: Enabling HDA controller
[ 1696.674185] NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x31:0xffff:973)
[ 1696.674217] NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0
[ 1801.409893] nvidia 0000:01:00.0: Enabling HDA controller
[ 1805.462367] NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x31:0xffff:973)
[ 1805.462406] NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0
[ 1895.713812] nvidia 0000:01:00.0: Enabling HDA controller
[ 1967.425723] nvidia 0000:01:00.0: Enabling HDA controller
[ 1971.426346] NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x31:0xffff:973)
[ 1971.426399] NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0
[ 2606.977949] nvidia 0000:01:00.0: Enabling HDA controller
[ 2675.045772] nvidia 0000:01:00.0: Enabling HDA controller
[ 2722.341946] nvidia 0000:01:00.0: Enabling HDA controller
[ 3461.697861] nvidia 0000:01:00.0: Enabling HDA controller
[ 3468.353996] nvidia 0000:01:00.0: Enabling HDA controller
[ 3471.489999] nvidia 0000:01:00.0: Enabling HDA controller
[ 3480.421844] nvidia 0000:01:00.0: Enabling HDA controller
[ 3913.889844] nvidia 0000:01:00.0: Enabling HDA controller
[ 3917.890405] NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x31:0xffff:973)
[ 3917.890427] NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0

cat /etc/X11/xorg.conf
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 450.80.02

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"
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BusID          "1:00:00"
EndSection

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

ls -laR /etc/X11

/etc/X11:
total 16
drwxr-xr-x 1 root root  206 Oct 30 13:53 .
drwxr-xr-x 1 root root 5486 Oct 30 11:48 ..
-rw-r--r-- 1 root root   22 Oct 30 13:53 watch.txt
drwxr-xr-x 1 root root   36 Oct 17 18:30 xdm
drwxr-xr-x 1 root root   46 Oct 15 14:12 xinit
-rw-r--r-- 1 root root 1317 Oct 30 13:52 xorg.conf
-rw-r--r-- 1 root root 1317 Oct 30 13:52 xorg.conf.backup
drwxr-xr-x 1 root root   32 Oct 30 13:19 xorg.conf.d
-rw-r--r-- 1 root root  938 Oct  7 04:58 xorg.conf.install
-rw-r--r-- 1 root root    0 Oct 30 13:44 xorg.conf.nvidia-xconfig-original

/etc/X11/xdm:
total 8
drwxr-xr-x 1 root root   36 Oct 17 18:30 .
drwxr-xr-x 1 root root  206 Oct 30 13:53 ..
-rw-r--r-- 1 root root 1641 Oct 14 14:43 xdm-config
-rw-r--r-- 1 root root  820 Oct 14 14:43 Xservers

/etc/X11/xinit:
total 4
drwxr-xr-x 1 root root  46 Oct 15 14:12 .
drwxr-xr-x 1 root root 206 Oct 30 13:53 ..
lrwxrwxrwx 1 root root  41 Oct  7 13:24 xinitrc.common -> ../../../usr/etc/X11/xinit/xinitrc.common
drwxr-xr-x 1 root root 118 Oct 15 14:12 xinitrc.d

/etc/X11/xinit/xinitrc.d:
total 12
drwxr-xr-x 1 root root 118 Oct 15 14:12 .
drwxr-xr-x 1 root root  46 Oct 15 14:12 ..
-rwxr-xr-x 1 root root 199 Sep 30 16:26 50-systemd-user.sh
-rwxr-xr-x 1 root root 172 Aug 25 20:41 libcanberra-gtk-module.sh
-rwxr-xr-x 1 root root  40 Aug 26 01:32 xdg-user-dirs.sh

/etc/X11/xorg.conf.d:
total 4
drwxr-xr-x 1 root root  32 Oct 30 13:19 .
drwxr-xr-x 1 root root 206 Oct 30 13:53 ..
-rw-r--r-- 1 root root 399 Oct  7 05:00 00-keyboard.conf

prime-select nvidia

WARNING: Unable to use the nvidia-cfg library to query NVIDIA hardware.


ERROR: Unable to query GPU information

Reconfiguration failed
Restoring previous configuration: intel

inxi -G

Graphics:  Device-1: Intel HD Graphics 530 driver: i915 v: kernel 
           Device-2: NVIDIA GM206M [GeForce GTX 965M] driver: nvidia v: 450.80.02 
           Device-3: Cheng Uei Precision Industry (Foxlink) HP Wide Vision HD type: USB driver: uvcvideo 
           Display: x11 server: X.Org 1.20.9 driver: modesetting FAILED: nvidia unloaded: fbdev,nouveau,nv,vesa 
           resolution: 1920x1080~60Hz 
           OpenGL: renderer: Mesa DRI Intel HD Graphics 530 (SKL GT2) v: 4.6 Mesa 20.2.1

cat /etc/prime/xorg-intel.conf

Section "ServerLayout"
    Identifier "layout"
    Screen "intel"
EndSection

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

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

cat /etc/prime/xorg-nvidia.conf

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

nvidia-xconfig -a

Using X configuration file: "/etc/X11/xorg.conf".

WARNING: Unable to use the nvidia-cfg library to query NVIDIA hardware.

ERROR: Unable to determine number of GPUs in system; cannot honor '--enable-all-gpus' option.

Backed up file '/etc/X11/xorg.conf' as '/etc/X11/xorg.conf.backup'
New X configuration file written to '/etc/X11/xorg.conf'

nvidia-bug-report.sh
http://www.alunos.ipb.pt/~a37529/NVIDIA_BUGS/nvidia-bug-report.gz

nvidia-bug-report.sh --extra-system-data
http://www.alunos.ipb.pt/~a37529/NVIDIA_BUGS/nvidia-bug-report-extra-sys-data.gz

Thanks in advance

I found out that Nvidia is not supporting the kernel version 5.9, I changed the bootloader default to the 5.8, but I still get the same errors. Here is some more information…

lspci -d 10de: -vvnn

01:00.0 3D controller [0302]: NVIDIA Corporation GM206M [GeForce GTX 965M] [10de:1427] (rev a1)
        DeviceName: NVIDIA N16E-GR
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 16
        Region 0: Memory at a3000000 (32-bit, non-prefetchable) [size=16M]
        Region 1: Memory at 90000000 (64-bit, prefetchable) [size=256M]
        Region 3: Memory at a0000000 (64-bit, prefetchable) [size=32M]
        Region 5: I/O ports at 4000 [size=128]
        Expansion ROM at a4080000 [disabled] [size=512K]
        Capabilities: [60] Power Management version 3
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D3 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
                Address: 0000000000000000  Data: 0000
        Capabilities: [78] Express (v2) Endpoint, MSI 00
                DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency L0s unlimited, L1 <64us
                        ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset- SlotPowerLimit 75.000W
                DevCtl: CorrErr- NonFatalErr- FatalErr- UnsupReq-
                        RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop+
                        MaxPayload 256 bytes, MaxReadReq 512 bytes
                DevSta: CorrErr- NonFatalErr- FatalErr- UnsupReq- AuxPwr- TransPend-
                LnkCap: Port #0, Speed 8GT/s, Width x16, ASPM L0s L1, Exit Latency L0s <1us, L1 <4us
                        ClockPM+ Surprise- LLActRep- BwNot- ASPMOptComp+
                LnkCtl: ASPM L1 Enabled; RCB 64 bytes, Disabled- CommClk+
                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
                LnkSta: Speed 8GT/s (ok), Width x8 (downgraded)
                        TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
                DevCap2: Completion Timeout: Range AB, TimeoutDis+ NROPrPrP- LTR+
                         10BitTagComp- 10BitTagReq- OBFF Via message, ExtFmt- EETLPPrefix-
                         EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit-
                         FRS- TPHComp- ExtTPHComp-
                         AtomicOpsCap: 32bit- 64bit- 128bitCAS-
                DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis- LTR+ OBFF Disabled,
                         AtomicOpsCtl: ReqEn-
                LnkCap2: Supported Link Speeds: 2.5-8GT/s, Crosslink- Retimer- 2Retimers- DRS-
                LnkCtl2: Target Link Speed: 8GT/s, EnterCompliance- SpeedDis-
                         Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
                         Compliance De-emphasis: -6dB
                LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete+ EqualizationPhase1+
                         EqualizationPhase2+ EqualizationPhase3+ LinkEqualizationRequest-
                         Retimer- 2Retimers- CrosslinkRes: unsupported
        Capabilities: [100 v1] Virtual Channel
                Caps:   LPEVC=0 RefClk=100ns PATEntryBits=1
                Arb:    Fixed- WRR32- WRR64- WRR128-
                Ctrl:   ArbSelect=Fixed
                Status: InProgress-
                VC0:    Caps:   PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
                        Arb:    Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
                        Ctrl:   Enable+ ID=0 ArbSelect=Fixed TC/VC=ff
                        Status: NegoPending- InProgress-
        Capabilities: [250 v1] Latency Tolerance Reporting
                Max snoop latency: 71680ns
                Max no snoop latency: 71680ns
        Capabilities: [258 v1] L1 PM Substates
                L1SubCap: PCI-PM_L1.2+ PCI-PM_L1.1+ ASPM_L1.2+ ASPM_L1.1+ L1_PM_Substates+
                          PortCommonModeRestoreTime=255us PortTPowerOnTime=10us
                L1SubCtl1: PCI-PM_L1.2- PCI-PM_L1.1- ASPM_L1.2- ASPM_L1.1-
                           T_CommonMode=0us LTR1.2_Threshold=0ns
                L1SubCtl2: T_PwrOn=10us
        Capabilities: [128 v1] Power Budgeting <?>
        Capabilities: [600 v1] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
        Capabilities: [900 v1] Secondary PCI Express
                LnkCtl3: LnkEquIntrruptEn- PerformEqu-
                LaneErrStat: 0
        Kernel driver in use: nvidia
        Kernel modules: nouveau, nvidia_drm, nvidia

Forgot to post the Xorg log

cat /var/log/Xorg.0.log | grep ‘NVIDIA|nvidia’

[    49.879] (==) Matched nvidia as autoconfigured driver 1
[    49.880] (II) LoadModule: "nvidia"
[    49.880] (II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so
[    49.898] (II) Module nvidia: vendor="NVIDIA Corporation"
[    49.907] (II) NVIDIA dlloader X Driver  450.80.02  Wed Sep 23 00:53:01 UTC 2020
[    49.907] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[    49.907] (II) NOUVEAU driver for NVIDIA chipset families :
[    49.908] (II) NOUVEAU driver for NVIDIA chipset families :
[    50.523] (==) NVIDIA(G0): Depth 24, (==) framebuffer bpp 32
[    50.523] (==) NVIDIA(G0): RGB weight 888
[    50.523] (==) NVIDIA(G0): Default visual is TrueColor
[    50.523] (==) NVIDIA(G0): Using gamma correction (1.0, 1.0, 1.0)
[    50.523] (**) NVIDIA(G0): Enabling 2D acceleration
[    50.523] (II) Loading sub module "glxserver_nvidia"
[    50.523] (II) LoadModule: "glxserver_nvidia"
[    50.523] (II) Loading /usr/lib64/xorg/modules/extensions/libglxserver_nvidia.so
[    50.637] (II) Module glxserver_nvidia: vendor="NVIDIA Corporation"
[    50.637] (II) NVIDIA GLX Module  450.80.02  Wed Sep 23 00:51:32 UTC 2020
[    50.637] (II) NVIDIA: The X server supports PRIME Render Offload.
[    55.963] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA GPU at PCI:1:0:0.  Please
[    55.963] (EE) NVIDIA(GPU-0):     check your system's kernel log for additional error
[    55.963] (EE) NVIDIA(GPU-0):     messages and refer to Chapter 8: Common Problems in the
[    55.963] (EE) NVIDIA(GPU-0):     README for additional information.
[    55.963] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA graphics device!
[    55.963] (EE) NVIDIA(G0): Failing initialization of X screen
[    55.963] (II) UnloadModule: "nvidia"
[    55.963] (II) UnloadSubModule: "glxserver_nvidia"
[    55.963] (II) Unloading glxserver_nvidia
[    56.060] (EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not found)

dmesg -H | grep ‘0000:01:00.0|nvrm|nvidia|NVIDIA’

[  +0.001450] pci 0000:01:00.0: [10de:1427] type 00 class 0x030200
[  +0.000014] pci 0000:01:00.0: reg 0x10: [mem 0xa3000000-0xa3ffffff]
[  +0.000007] pci 0000:01:00.0: reg 0x14: [mem 0x90000000-0x9fffffff 64bit pref]
[  +0.000007] pci 0000:01:00.0: reg 0x1c: [mem 0xa0000000-0xa1ffffff 64bit pref]
[  +0.000004] pci 0000:01:00.0: reg 0x24: [io  0x4000-0x407f]
[  +0.000005] pci 0000:01:00.0: reg 0x30: [mem 0xfff80000-0xffffffff pref]
[  +0.000017] pci 0000:01:00.0: Enabling HDA controller
[  +0.000050] pci 0000:01:00.0: 63.008 Gb/s available PCIe bandwidth, limited by 8.0 GT/s PCIe x8 link at 0000:00:01.0 (capable of 126.016 Gb/s with 8.0 GT/s PCIe x16 link)
[  +0.000004] pci 0000:01:00.0: can't claim BAR 6 [mem 0xfff80000-0xffffffff pref]: no compatible bridge window
[  +0.000003] pci 0000:01:00.0: BAR 6: assigned [mem 0xa4080000-0xa40fffff pref]
[  +0.001766] pci 0000:01:00.1: D0 power state depends on 0000:01:00.0
[  +0.023895] nvidia: loading out-of-tree module taints kernel.
[  +0.000008] nvidia: module license 'NVIDIA' taints kernel.
[  +0.001461] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[  +0.002817] nvidia-nvlink: Nvlink Core is being initialized, major device number 239
[  +0.000479] nvidia 0000:01:00.0: enabling device (0000 -> 0003)
[  +0.099935] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  450.80.02  Wed Sep 23 01:13:39 UTC 2020
[  +0.001430] nvidia-uvm: Loaded the UVM driver, major device number 237.
[  +0.001722] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  450.80.02  Wed Sep 23 00:48:09 UTC 2020
[  +0.018759] [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
[  +0.000002] [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:01:00.0 on minor 1
[  +0.011184] audit: type=1400 audit(1604076042.148:6): apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe" pid=1031 comm="apparmor_parser"
[  +0.000016] audit: type=1400 audit(1604076042.148:7): apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe//kmod" pid=1031 comm="apparmor_parser"
[  +6.561144] nvidia 0000:01:00.0: Enabling HDA controller
[  +1.983859] nvidia 0000:01:00.0: Enabling HDA controller
[  +3.999356] NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x31:0xffff:973)
[  +0.000118] NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0
[Oct30 16:43] nvidia 0000:01:00.0: Enabling HDA controller
[  +4.056265] NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x31:0xffff:973)
[  +0.000088] NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0
[Oct30 16:44] nvidia 0000:01:00.0: Enabling HDA controller
[ +40.480004] nvidia 0000:01:00.0: Enabling HDA controller
[Oct30 16:45] nvidia 0000:01:00.0: Enabling HDA controller
[ +12.576003] nvidia 0000:01:00.0: Enabling HDA controller
[  +5.312002] nvidia 0000:01:00.0: Enabling HDA controller
[  +8.863999] nvidia 0000:01:00.0: Enabling HDA controller
[ +13.056000] nvidia 0000:01:00.0: Enabling HDA controller
[  +4.383994] nvidia 0000:01:00.0: Enabling HDA controller
[Oct30 16:46] nvidia 0000:01:00.0: Enabling HDA controller
[ +16.544015] nvidia 0000:01:00.0: Enabling HDA controller
[ +16.575869] nvidia 0000:01:00.0: Enabling HDA controller
[  +0.000617] nvidia 0000:01:00.0: optimus capabilities: enabled, status dynamic power,  
[  +5.820572] nvidia 0000:01:00.0: Enabling HDA controller
[ +22.013740] nvidia 0000:01:00.0: Enabling HDA controller
[Oct30 16:57] nvidia 0000:01:00.0: Enabling HDA controller
[  +4.765922] nvidia 0000:01:00.0: Enabling HDA controller
[  +4.052227] NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x31:0xffff:973)
[  +0.000024] NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0