NVIDIA-Linux-x86_64-440.44.run - NVIDIA(GPU-0): Failed to initialize the NVIDIA GPU at

Laptop boots fine and works using the intel graphics card.
Unable to get nvidia card working
Any assistance is appreciated.

HP Omen I7 core, centos 8.1.1911

lspci -vnn | grep VGA

00:02.0 VGA compatible controller [0300]: Intel Corporation UHD Graphics 630 (Mobile) [8086:3e9b] (prog-if 00 [VGA controller])
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP107M [GeForce GTX 1050 Ti Mobile] [10de:1c8c] (rev a1) (prog-if 00 [VGA controller])
root omen /root

lsmod |grep -i nvidia

nvidia_drm 49152 0
nvidia_modeset 1114112 1 nvidia_drm
nvidia 20398080 10 nvidia_modeset
ipmi_msghandler 110592 2 ipmi_devintf,nvidia
drm_kms_helper 217088 2 nvidia_drm,i915
drm 524288 11 drm_kms_helper,nvidia_drm,i915,ttm

/etc/X11/xorg.conf

Section “ServerLayout”
Identifier “layout”
Option “AllowNVIDIAGPUScreens”
EndSection

Section “Device”
Identifier “intel”
Driver “modesetting”
EndSection

Section “Device”
Identifier “nvidia”
Driver “nvidia”
EndSection

Section “OutputClass”
Identifier “intel”
MatchDriver “i915”
Driver “modesetting”
EndSection

Section “OutputClass”
Identifier “nvidia”
MatchDriver “nvidia-drm”
Driver “nvidia”
ModulePath “/usr/lib/nvidia/xorg”
ModulePath “/usr/lib/xorg/modules”
EndSection

/var/log/Xorg.0.log

[ 38.607] (II) modeset(0): EDID for output DP-1
[ 38.628] (II) modeset(0): EDID for output HDMI-1
[ 38.628] (II) modeset(0): Output eDP-1 connected
[ 38.628] (II) modeset(0): Output DP-1 disconnected
[ 38.628] (II) modeset(0): Output HDMI-1 disconnected
[ 38.628] (II) modeset(0): Using exact sizes for initial modes
[ 38.628] (II) modeset(0): Output eDP-1 using initial mode 1920x1080 +0+0
[ 38.628] (==) modeset(0): Using gamma correction (1.0, 1.0, 1.0)
[ 38.628] (==) modeset(0): DPI set to (96, 96)
[ 38.628] (II) Loading sub module “fb”
[ 38.628] (II) LoadModule: “fb”
[ 38.628] (II) Loading /usr/lib64/xorg/modules/libfb.so
[ 38.628] (II) Module fb: vendor=“X.Org Foundation”
[ 38.628] compiled for 1.20.3, module version = 1.0.0
[ 38.628] ABI class: X.Org ANSI C Emulation, version 0.4
[ 38.628] (==) NVIDIA(G0): Depth 24, (==) framebuffer bpp 32
[ 38.628] (==) NVIDIA(G0): RGB weight 888
[ 38.628] (==) NVIDIA(G0): Default visual is TrueColor
[ 38.628] (==) NVIDIA(G0): Using gamma correction (1.0, 1.0, 1.0)
[ 38.639] () Option “AllowNVIDIAGpuScreens”
[ 38.639] (
) NVIDIA(G0): Enabling 2D acceleration
[ 38.639] (II) Loading sub module “glxserver_nvidia”
[ 38.639] (II) LoadModule: “glxserver_nvidia”
[ 38.639] (II) Loading /usr/lib64/xorg/modules/extensions/libglxserver_nvidia.so
[ 39.520] (II) Module glxserver_nvidia: vendor=“NVIDIA Corporation”
[ 39.520] compiled for 1.6.99.901, module version = 1.0.0
[ 39.520] Module class: X.Org Server Extension
[ 39.520] (II) NVIDIA GLX Module 440.44 Sun Dec 8 03:36:07 UTC 2019
[ 39.535] (II) NVIDIA: The X server does not support PRIME Render Offload.
[ 39.773] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA GPU at PCI:1:0:0. Please
[ 39.773] (EE) NVIDIA(GPU-0): check your system’s kernel log for additional error
[ 39.773] (EE) NVIDIA(GPU-0): messages and refer to Chapter 8: Common Problems in the
[ 39.773] (EE) NVIDIA(GPU-0): README for additional information.
[ 39.773] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA graphics device!
[ 39.773] (EE) NVIDIA(G0): Failing initialization of X screen
[ 39.773] (II) UnloadModule: “nvidia”
[ 39.773] (II) UnloadSubModule: “glxserver_nvidia”
[ 39.773] (II) Unloading glxserver_nvidia
[ 39.773] (II) UnloadSubModule: “wfb”
[ 39.773] (II) UnloadSubModule: “fb”
[ 39.980] (==) modeset(0): Backing store enabled
[ 39.980] (==) modeset(0): Silken mouse enabled
[ 40.127] (II) modeset(0): Initializing kms color map for depth 24, 8 bpc.
[ 40.127] (==) modeset(0): DPMS enabled
[ 40.127] (II) modeset(0): [DRI2] Setup complete
[ 40.127] (II) modeset(0): [DRI2] DRI driver: i965
[ 40.127] (II) modeset(0): [DRI2] VDPAU driver: va_gl
[ 40.127] (II) Initializing extension Generic Event Extension
[ 40.127] (II) Initializing extension SHAPE
[ 40.127] (II) Initializing extension MIT-SHM
[ 40.127] (II) Initializing extension XInputExtension
[ 40.139] (II) Initializing extension XTEST
[ 40.139] (II) Initializing extension BIG-REQUESTS
[ 40.139] (II) Initializing extension SYNC
[ 40.139] (II) Initializing extension XKEYBOARD
[ 40.139] (II) Initializing extension XC-MISC
[ 40.139] (II) Initializing extension XFIXES
[ 40.139] (II) Initializing extension RENDER
[ 40.139] (II) Initializing extension RANDR
[ 40.139] (II) Initializing extension COMPOSITE
[ 40.139] (II) Initializing extension DAMAGE
[ 40.139] (II) Initializing extension MIT-SCREEN-SAVER
[ 40.139] (II) Initializing extension DOUBLE-BUFFER
[ 40.140] (II) Initializing extension RECORD
[ 40.140] (II) Initializing extension DPMS
[ 40.140] (II) Initializing extension Present
[ 40.140] (II) Initializing extension DRI3
[ 40.140] (II) Initializing extension X-Resource
[ 40.140] (II) Initializing extension XVideo
[ 40.140] (II) Initializing extension XVideo-MotionCompensation
[ 40.140] (II) Initializing extension SELinux
[ 40.140] (II) SELinux: Disabled on system
[ 40.140] (II) Initializing extension GLX
[ 40.140] (EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not found)
[ 40.148] (II) AIGLX: Loaded and initialized i965
[ 40.148] (II) GLX: Initialized DRI2 GL provider for screen 0
[ 40.148] (II) Initializing extension XFree86-VidModeExtension
[ 40.148] (II) Initializing extension XFree86-DGA
[ 40.148] (II) Initializing extension XFree86-DRI
[ 40.148] (II) Initializing extension DRI2

dmesg |grep NVIDIA

[ 14.481270] nvidia: module license ‘NVIDIA’ taints kernel.
[ 14.699038] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 440.44 Sun Dec 8 03:38:56 UTC 2019
[ 14.808771] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms 440.44 Sun Dec 8 03:29:48 UTC 2019
nvidia-bug-report.log.gz (361 KB)

Can you please run “sudo nvidia-bug-report.sh” and attach the resulting nvidia-bug-report.log.gz file to your post?

I tried to attach it to the original post, only place I could see where I could attach anything.
Under Attachments says:
[SCANNING…PLEASE WAIT] nvidia-bug-report.log.gz

What am I doing wrong…

Thanks

Looks like it worked. Here’s the root of the problem:

[   44.122684] NVRM: GPU 0000:01:00.0: Failed to copy vbios to system memory.
[   44.122788] NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x30:0xffff:755)
[   44.122805] NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0

Unfortunately, there’s not much to go on there. This could be a system-level problem, so I’d recomend starting by checking with your laptop vendor to see if there’s an updated system BIOS for your laptop.